#p13 { min-width: 0; }
.dv-source-kicker { margin: 0; color: #315a82; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.dv-source-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.dv-source-settings { color: var(--muted); font-size: 12px; }
.dv-source-settings summary, .dv-source-workbook-detail summary, .dv-source-files-detail summary { cursor: pointer; color: #315a82; }
.dv-source-settings summary { padding: 5px 9px; border: 1px solid var(--line); border-radius: 6px; background: #f8fbff; }
.dv-source-settings .dv-actions { margin-top: 9px; justify-content: flex-end; }
.dv-source-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dv-source-card { min-width: 0; min-height: 124px; padding: 11px 13px; border: 1px solid #d8e3ef; border-radius: 8px; background: #fbfdff; }
.dv-source-card-head { display: flex; justify-content: space-between; gap: 8px; color: #475467; font-size: 12px; }
.dv-source-card strong { display: block; margin-top: 8px; color: #173d68; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.dv-source-card small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.45; overflow-wrap: anywhere; }
.dv-source-files-detail { margin-top: 6px; font-size: 11px; line-height: 1.45; }
.dv-source-files-detail summary { color: var(--muted); }
.dv-source-files-detail small { max-height: 34px; overflow: auto; }
.dv-source-state { flex-shrink: 0; border-radius: 12px; padding: 2px 7px; background: #edf2f8; color: #667085; font-size: 11px; }
.dv-source-state[data-state="ready"] { background: #edf9f0; color: #126b33; }
.dv-source-workbook-detail { margin-top: 8px; padding-top: 7px; border-top: 1px solid var(--line); font-size: 12px; }
.dv-source-workbook-detail .dv-source-files { margin-top: 7px; }
.dv-cross-source { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; }
.dv-cross-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.dv-cross-hint { color: var(--muted); font-size: 12px; }
.dv-cross-docs { margin-top: 4px; }
.dv-handover-table { table-layout: fixed; }
.dv-order-reference { margin-top: 8px; padding: 8px 10px; border-left: 3px solid #3b82f6; background: #f3f7fd; border-radius: 4px; }
.dv-order-reference strong { font-size: 12px; }
.dv-technical-remark { margin-top: 8px; color: #64748b; }
.dv-handover-table th:nth-child(1) { width: 23%; }
.dv-handover-table th:nth-child(2) { width: 23%; }
.dv-handover-table th:nth-child(3) { width: 36%; }
.dv-handover-table th:nth-child(4) { width: 18%; }
.dv-handover-table td { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
.dv-handover-table details { margin-top: 8px; }
.dv-handover-table .dv-actions { margin-top: 10px; }
.dv-binding-search { display: grid; gap: 8px; font-size: 13px; }
.dv-binding-search input { padding: 10px; border: 1px solid var(--line); border-radius: 5px; min-width: 0; }
.dv-binding-rows { max-height: 48vh; overflow: auto; }
.dv-binding-row { display: flex; align-items: flex-start; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.dv-binding-row input { flex: 0 0 18px; width: 18px; min-height: 18px; margin-top: 3px; }
.dv-binding-row span { min-width: 0; overflow-wrap: anywhere; }
.dv-binding-row small { display: block; color: var(--muted); line-height: 1.6; margin-top: 4px; }
.dv-handover-evidence { padding: 12px 14px; background: #f0f6fc; border-bottom: 1px solid var(--line); font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.dv-handover-evidence p { margin: 4px 0 8px; }
.dv-cross-comparison-panel { padding: 0; overflow: hidden; }
.dv-cross-comparison-panel > .dv-head { padding: 16px 18px; border-bottom: 1px solid var(--line); }
.dv-cross-comparison-panel > .dv-hint { padding: 0 18px; }
.dv-cross-filters { margin-top: 0; padding: 10px 18px 12px; border-bottom: 1px solid var(--line); }
.dv-comparison-pages { justify-content: center; padding: 10px 18px 16px; }
.dv-cross-comparison { min-width: 1060px; table-layout: fixed; }
.dv-cross-comparison th:nth-child(1) { width: 17%; }
.dv-cross-comparison th:nth-child(2) { width: 9%; }
.dv-cross-comparison th:nth-child(3) { width: 19%; }
.dv-cross-comparison th:nth-child(4) { width: 20%; }
.dv-cross-comparison th:nth-child(5) { width: 23%; }
.dv-cross-comparison th:nth-child(6) { width: 12%; }
.dv-cross-comparison td { white-space: normal; overflow-wrap: anywhere; word-break: break-word; }
.dv-cross-comparison details { margin-top: 7px; }
.dv-cross-comparison details p { margin: 6px 0 0; line-height: 1.65; }
.dv-cross-issues { margin-top: 7px; font-size: 11px; line-height: 1.55; }
.dv-cross-issues summary { cursor: pointer; color: #315a82; }
.dv-cross-issues ul { margin: 5px 0 0; padding-left: 18px; }
.dv-cross-issues li { margin-top: 4px; }
.dv-cross-issues li small { margin-top: 2px; }
.dv-cross-comparison small { display: block; margin-top: 5px; color: var(--muted); line-height: 1.55; }
.dv-cross-outcome { display: inline-block; border-radius: 12px; padding: 3px 8px; background: #edf2f8; color: #475467; font-size: 11px; white-space: nowrap; }
.dv-cross-outcome[data-outcome="passed"] { background: #edf9f0; color: #126b33; }
.dv-cross-outcome[data-outcome="failed"] { background: #fff1ed; color: #a63814; }
.dv-cross-outcome[data-outcome="missing"], .dv-badge[data-tone="missing"] { background: #fff0f0; color: #b42318; border: 1px solid #f2c2bd; }
.dv-cross-outcome[data-outcome="conflict"], .dv-cross-outcome[data-outcome="pending"] { background: #fff8e7; color: #8b5b13; }
.dv-severity[data-tone="suspected"] { background: #fff5e5; color: #945316; border: 1px solid #edcf9c; }
.dv-difference-categories { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 14px; margin: 12px 0; background: #fff8ef; border: 1px solid #efdfc7; border-radius: 8px; }
.dv-difference-categories > strong { font-size: 13px; color: #78522c; }
.dv-difference-categories .dv-filters { margin: 0; }
.dv-candidate-evidence > div { margin-top: 9px; padding-top: 8px; border-top: 1px dashed var(--line); }
.dv-candidate-evidence button { margin-top: 6px; }
.dv-cross-outcome[data-outcome="ignored"], .dv-badge[data-tone="ignored"] { background: #edf0f3; color: #667085; border: 1px solid #d8dee7; }
.dv-handover-table tr[data-handover-scope="ignored"] td { background: #f8f9fb; }
.dv-technical-supplements { margin-top: 10px; padding: 10px 12px; border: 1px solid #dce5ef; border-radius: 6px; background: #f8fbff; font-size: 12px; }
.dv-technical-supplements summary { cursor: pointer; color: #315a82; }
.dv-technical-supplements article { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.dv-technical-supplements article:last-child { border-bottom: 0; }
.dv-technical-supplements article > small { display: block; margin-top: 5px; color: var(--muted); line-height: 1.6; }
.dv-technical-supplements article p { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; }
.dv-cross-more { padding: 0 18px 16px; }
.dv-issue-pages { justify-content: center; padding: 6px 0 4px; }
.dv-stack { display: grid; gap: 18px; }
.dv-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 20px; min-width: 0; }
.dv-head, .dv-actions, .dv-tabs, .dv-filter { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dv-head { justify-content: space-between; }
.dv-head h3, .dv-head h4 { margin: 0; }
.dv-head p { margin: 8px 0 0; }
.dv-tabs { border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.dv-tabs button[aria-selected="true"] { color: white; background: var(--blue); border-color: var(--blue); }
.dv-notice { padding: 12px 16px; background: #edf4ff; color: #234978; border: 1px solid #c6d8f2; border-radius: 6px; overflow-wrap: anywhere; }
.dv-notice[data-tone="error"] { background: #fff1ed; color: #9b3516; border-color: #efc1b3; }
.dv-hint { color: var(--muted); font-size: 13px; line-height: 1.7; margin: 10px 0; }
.dv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.dv-grid label { font-size: 13px; }
.dv-grid select, .dv-grid input, .dv-grid textarea, .dv-filter select, .dv-filter input, .dv-actions select { width: 100%; min-width: 0; font: inherit; padding: 9px; border: 1px solid var(--line); border-radius: 5px; background: white; color: var(--ink); }
.dv-actions select { width: auto; max-width: 480px; }
.dv-grid .dv-wide { grid-column: 1 / -1; }
.dv-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.dv-stats.dv-stats-cross { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.dv-cross-overview-note { margin: -9px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.dv-stat { padding: 16px; border: 1px solid var(--line); border-radius: 9px; background: white; box-shadow: 0 2px 8px #10325a06; }
.dv-stat span { color: var(--muted); font-size: 13px; }
.dv-stat strong { display: block; font-size: 26px; margin-top: 8px; }
.dv-stat[data-tone="error"] strong { color: var(--red); }
.dv-stat[data-tone="warning"] strong { color: var(--amber); }
.dv-stat[data-tone="passed"] strong { color: var(--green); }
.dv-stat small { display: block; color: var(--muted); margin-top: 8px; font-size: 12px; line-height: 1.6; }
.dv-overview-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; }
.dv-overview-heading h4 { margin: 0; font-size: 16px; color: #173d68; }
.dv-overview-heading > span { color: var(--muted); font-size: 12px; }
.dv-reference-overview { border-top: 3px solid #5788ba; }
.dv-reference-overview > .dv-hint { margin: 8px 0 16px; }
.dv-reference-overview .dv-stat { box-shadow: none; padding: 12px; background: #f8fafd; }
.dv-reference-statuses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.dv-reference-statuses .dv-status { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 8px; }
.dv-reference-statuses .dv-empty { grid-column: 1 / -1; padding: 16px; }
.dv-rule-gaps { margin: 6px 0 0; padding-left: 18px; color: #8b5b13; font-size: 12px; line-height: 1.7; }
.dv-table-wrap { overflow: auto; max-height: 600px; border: 1px solid var(--line); border-radius: 6px; }
.dv-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 820px; }
.dv-table th { background: #f1f5fb; position: sticky; top: 0; z-index: 1; text-align: left; }
.dv-table th, .dv-table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.dv-table td { max-width: 380px; overflow-wrap: anywhere; }
.dv-table td small { display: block; margin-top: 5px; line-height: 1.6; color: var(--muted); }
.dv-table tr.dv-selected td { background: #fff5dc; }
.dv-badge { display: inline-block; white-space: nowrap; border-radius: 5px; padding: 4px 8px; background: #edf2f8; color: #475467; font-size: 12px; }
.dv-badge[data-tone="passed"] { background: #edf9f0; color: #126b33; }
.dv-badge[data-tone="failed"], .dv-badge[data-tone="error"], .dv-badge[data-tone="config_error"] { background: #fff1ed; color: #a63814; }
.dv-badge[data-tone="missing_data"] { background: #fff8e7; color: #8b5b13; }
.dv-empty { padding: 32px 18px; text-align: center; color: var(--muted); line-height: 1.8; }
.dv-rule { padding: 15px 0; border-bottom: 1px solid var(--line); }
.dv-rule:last-child { border-bottom: 0; }
.dv-rule small { display: block; color: var(--muted); margin-top: 6px; }
.dv-check { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; }
.dv-check input, .dv-table input[type="checkbox"] { width: 16px; min-height: 16px; height: 16px; }
.dv-review { width: 180px; min-width: 0; font: inherit; padding: 8px 10px; color: var(--ink); border: 1px solid var(--line); border-radius: 6px; background: white; }
.dv-dialog { width: min(820px, calc(100vw - 32px)); border: 1px solid var(--line); border-radius: 10px; padding: 24px; color: var(--ink); max-height: 88vh; overflow: auto; }
.dv-dialog::backdrop { background: #18202f80; }
.dv-dialog .dv-head { margin-bottom: 20px; }
.dv-dialog .dv-actions { justify-content: flex-end; margin-top: 20px; }
.dv-dialog textarea { min-height: 90px; }
.dv-paste { width: 100%; min-height: 230px; font: 13px/1.6 Consolas, monospace; }
.dv-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; gap: 10px; }
#p13 button:focus-visible, .dv-dialog button:focus-visible { outline: 3px solid #8bb7ff; outline-offset: 2px; }
.dv-intro { border: 0; padding: 0 0 2px; background: transparent; }
.dv-intro h3 { font-size: 23px; color: #173d68; }
.dv-intro p { font-size: 14px; line-height: 1.6; }
.dv-source { padding: 16px 18px; }
.dv-source-files { display: flex; gap: 12px; margin-top: 16px; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.dv-source-files > span { color: var(--muted); flex-shrink: 0; }
.dv-source-files strong { font-weight: 600; }
.dv-source-meta { display: flex; gap: 8px 18px; flex-wrap: wrap; color: var(--muted); font-size: 12px; line-height: 1.7; margin-top: 6px; }
.dv-source-help { color: var(--muted); font-size: 12px; margin-top: 10px; }
.dv-source-help summary { cursor: pointer; width: fit-content; }
.dv-results { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.dv-result-panel { padding: 0; overflow: hidden; border-radius: 10px; }
.dv-result-head { padding: 16px 18px; border-bottom: 1px solid var(--line); }
.dv-result-head h4 { display: flex; align-items: center; gap: 8px; margin: 0; color: #173d68; font-size: 16px; }
.dv-result-head .dv-hint { margin: 8px 0 0; font-size: 12px; }
.dv-count { font-size: 12px; font-weight: 600; line-height: 1.5; color: #315a82; background: #eaf3ff; border-radius: 20px; padding: 2px 8px; }
.dv-filters { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.dv-filters button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid var(--line); background: white; border-radius: 6px; color: #475467; font: inherit; font-size: 12px; cursor: pointer; }
.dv-filters button span { font-variant-numeric: tabular-nums; }
.dv-filters button[aria-pressed="true"] { background: #174f87; border-color: #174f87; color: white; }
.dv-blocker-summary { margin: 14px 0; padding: 12px 14px; border: 1px solid #f3dfb6; border-radius: 8px; background: #fffcf4; }
.dv-blocker-summary > div:first-child { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.dv-blocker-summary strong { color: #775014; font-size: 13px; }
.dv-blocker-summary small { color: var(--muted); font-size: 12px; }
.dv-blocker-summary .dv-filters { margin-top: 10px; }
.dv-pending-detail { margin-top: 8px; font-size: 12px; line-height: 1.6; }
.dv-pending-detail > strong { color: #8b5b13; font-weight: 600; }
.dv-table .dv-pending-detail .dv-needed { color: #775014; }
.dv-related-assemblies, .dv-drawing-evidence { margin-top: 8px; font-size: 12px; }
.dv-corresponding-drawings { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px; margin-top: 8px; font-size: 12px; line-height: 1.6; }
.dv-corresponding-drawings > span:first-child { color: var(--muted); }
.dv-corresponding-drawings a, .dv-drawing-evidence a { color: #245e9b; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.dv-corresponding-drawings a:focus-visible, .dv-drawing-evidence a:focus-visible { outline: 3px solid #8bb7ff; outline-offset: 2px; }
.dv-related-assemblies summary, .dv-drawing-evidence summary { color: #315a82; cursor: pointer; }
.dv-related-assemblies > div, .dv-drawing-evidence > div { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.dv-related-assemblies > div:last-child, .dv-drawing-evidence > div:last-child { border-bottom: 0; }
.dv-issues { padding: 12px; background: #f8fafc; }
.dv-issue-card { border: 1px solid #dbe5ef; border-left: 4px solid #175cd3; border-radius: 8px; background: white; overflow: hidden; margin-bottom: 12px; min-width: 0; }
.dv-issue-card:last-child { margin-bottom: 0; }
.dv-issue-card[data-severity="blocker"] { border-left-color: #d92d20; }
.dv-issue-card[data-severity="warning"], .dv-issue-card[data-severity="missing_data"] { border-left-color: #f79009; }
.dv-issue-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; padding: 13px 14px; border-bottom: 1px solid #edf1f5; }
.dv-issue-head h5 { flex: 1; min-width: 120px; margin: 0; color: #344054; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.dv-severity { flex-shrink: 0; border-radius: 20px; font-size: 11px; font-weight: 700; padding: 3px 8px; color: #175cd3; background: #eff8ff; }
.dv-severity[data-tone="blocker"] { background: #fff1f0; color: #b42318; }
.dv-severity[data-tone="warning"], .dv-severity[data-tone="missing_data"] { background: #fff8e7; color: #8b5b13; }
.dv-reviewed { font-size: 11px; color: var(--muted); }
.dv-issue-rule { flex-basis: 100%; font-size: 12px; line-height: 1.6; color: #475467; overflow-wrap: anywhere; }
.dv-issue-rule span { color: var(--muted); font-size: 11px; margin-left: 5px; }
.dv-issue-locations { padding: 11px 14px; background: #fbfcfe; border-bottom: 1px solid #edf1f5; }
.dv-section-label { font-size: 11px; color: var(--muted); font-weight: 600; line-height: 1.6; margin-bottom: 5px; overflow-wrap: anywhere; }
.dv-issue-item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; align-items: start; padding: 7px 0; border-bottom: 1px dashed #e7edf4; }
.dv-issue-item:last-child { border-bottom: 0; }
.dv-row-badge { color: #174f87; background: #eef4fb; font-size: 11px; line-height: 1.6; padding: 2px 5px; border-radius: 20px; text-align: center; }
.dv-item-identity { font-size: 12px; line-height: 1.7; color: #344054; overflow-wrap: anywhere; }
.dv-item-identity strong { margin-right: 8px; }
.dv-item-code, .dv-item-identity small { color: var(--muted); font-size: 11px; }
.dv-item-identity small { display: block; margin-top: 3px; }
.dv-evidence { display: inline-block; color: #9a4c08; background: #fff8e7; border: 1px solid #fedf89; padding: 1px 6px; border-radius: 4px; font-size: 11px; margin-left: 7px; }
.dv-issue-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 12px 14px; }
.dv-fact { border-radius: 6px; padding: 10px; min-width: 0; }
.dv-fact p { margin: 0; font-size: 12px; line-height: 1.7; color: #344054; font-weight: 600; overflow-wrap: anywhere; }
.dv-fact small { display: block; margin-top: 5px; color: #475467; font-size: 11px; line-height: 1.7; }
.dv-actual { border: 1px solid #ffd5d0; background: #fff5f4; }
.dv-actual .dv-section-label { color: #b42318; }
.dv-issue-card[data-severity="missing_data"] .dv-actual { border-color: #fedf89; background: #fffaeb; }
.dv-issue-card[data-severity="missing_data"] .dv-actual .dv-section-label { color: #8b5b13; }
.dv-expected { border: 1px solid #c7e5ff; background: #eff8ff; }
.dv-expected .dv-section-label { color: #175cd3; }
.dv-conflict-fact { border: 1px solid #fedf89; background: #fffaeb; }
.dv-issue-next { margin: 0; padding: 0 14px 12px; font-size: 12px; line-height: 1.7; color: #475467; }
.dv-finding { margin-top: 10px; padding: 10px; border: 1px solid #f3d2c9; border-radius: 6px; background: #fff9f7; font-size: 12px; line-height: 1.6; }
.dv-finding[data-kind="conflict"], .dv-finding[data-kind="missing_data"] { border-color: #ecd9a4; background: #fffaf0; }
.dv-finding > strong { display: block; color: #7f3625; }
.dv-finding[data-kind="conflict"] > strong { color: #825c12; }
.dv-finding dl { margin: 7px 0; }
.dv-finding dl > div { display: flex; flex-wrap: wrap; gap: 2px 8px; padding: 3px 0; }
.dv-finding dt { color: #667085; }
.dv-finding dd { margin: 0; font-weight: 600; color: #344054; overflow-wrap: anywhere; }
.dv-table .dv-finding .dv-finding-next { margin-top: 6px; padding-top: 6px; border-top: 1px solid #e5ddd6; }
.dv-issue-footer { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 0 14px 13px; }
.dv-issue-footer .dv-review { flex: 1 1 140px; font-size: 12px; }
.dv-statuses { padding: 0 18px; }
.dv-status { padding: 15px 0; border-bottom: 1px dashed #dbe5ef; }
.dv-status:last-child { border-bottom: 0; }
.dv-status-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dv-status-head small { font-size: 10px; color: var(--muted); overflow-wrap: anywhere; }
.dv-status h5 { margin: 9px 0 5px; color: #344054; font-size: 13px; line-height: 1.6; }
.dv-status p { margin: 0; font-size: 12px; color: #475467; line-height: 1.7; overflow-wrap: anywhere; }
.dv-status-meta { color: var(--muted); font-size: 11px; line-height: 1.7; margin-top: 6px; }
.dv-status .dv-assumption { color: #8b5b13; background: #fffaeb; padding: 7px 9px; margin-top: 8px; border-radius: 5px; font-size: 11px; }
.dv-status-more { padding: 12px 0 16px; border-top: 1px dashed #dbe5ef; }
.dv-empty strong { display: block; margin-bottom: 7px; color: #344054; }
@media (max-width: 1200px) { .dv-results { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1000px) { .dv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dv-stats, .dv-stats.dv-stats-cross { grid-template-columns: repeat(3, minmax(0, 1fr)); } .dv-source-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .dv-panel { padding: 14px; } .dv-grid { grid-template-columns: minmax(0, 1fr); } .dv-stats, .dv-stats.dv-stats-cross { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dv-actions select { width: 100%; } .dv-intro, .dv-result-panel { padding: 0; } .dv-issue-facts { grid-template-columns: minmax(0, 1fr); } .dv-source-files { flex-direction: column; gap: 3px; } .dv-source-cards { grid-template-columns: minmax(0, 1fr); } .dv-source-card small { min-height: 0; } .dv-stat { padding: 12px; } }
@media (max-width: 620px) { .dv-reference-statuses { grid-template-columns: minmax(0, 1fr); } }

/* Capability paths stay actionable; project evidence opens only on request. */
.dv-capabilities { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.dv-capabilities button { min-width: 0; display: grid; grid-template-columns: 22px 1fr; align-items: center; gap: 8px; padding: 13px 10px; border: 1px solid #d8e3ef; border-radius: 8px; color: #173d68; background: #f7faff; text-align: left; cursor: pointer; font: inherit; }
.dv-capabilities button:hover:not(:disabled) { background: #edf4ff; border-color: #7598c7; }
.dv-capabilities button:disabled { cursor: not-allowed; opacity: .55; }
.dv-capabilities strong { font-size: 14px; }
.dv-capabilities small { grid-column: 1 / -1; font-size: 11px; line-height: 1.5; color: #52657e; }
.dv-step-number { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; color: #3458a5; background: #e5ecff; font-size: 12px; font-weight: 700; }
#p13 button:focus-visible, #p13 summary:focus-visible { outline: 3px solid #769bf1; outline-offset: 3px; }
.dv-source-kicker { font-size: 16px; letter-spacing: 0; }
.dv-source-card { min-height: 0; }
.dv-source-card-head { align-items: center; }
.dv-source-card-head strong { margin: 0; font-size: 14px; }
.dv-source-purpose { margin: 7px 0 12px; color: #52657e; font-size: 12px; }
.dv-source-count { color: #52657e; font-size: 12px; }
.dv-source-files-detail small { max-height: none; }
.dv-cross-overview .dv-stats { margin-top: 14px; }
.dv-cross-overview .dv-stat { padding: 12px; box-shadow: none; }
.dv-cross-overview .dv-cross-overview-note { margin: 12px 0 0; }
.dv-cross-overview .dv-stat small, .dv-reference-overview .dv-stat small { font-size: 11px; }
.dv-reference-overview { border-top-width: 1px; }
.dv-reference-actions { margin-top: 10px; }
.dv-reference-actions .dv-hint { margin: 0; }
.dv-disclosure > summary { padding: 13px 0; cursor: pointer; color: #173d68; font-size: 14px; font-weight: 600; }
.dv-disclosure > summary > span { margin-left: 12px; font-size: 12px; font-weight: 400; color: #52657e; }
.dv-disclosure[open] > summary { border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.dv-project-details { margin-top: 10px; border-top: 1px solid var(--line); }
.dv-project-details > summary { padding-bottom: 0; font-size: 12px; }
.dv-project-details[open] > summary { padding-bottom: 12px; }
.dv-comparison-details, .dv-result-panel.dv-disclosure { padding: 0; }
.dv-comparison-details > summary, .dv-result-panel.dv-disclosure > summary { padding: 18px; }
.dv-comparison-details[open] > summary, .dv-result-panel.dv-disclosure[open] > summary { margin-bottom: 0; }
.dv-comparison-details .dv-cross-comparison-panel { border: 0; }
.dv-highlight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.dv-highlight { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 16px; border: 1px solid #d8e3ef; border-radius: 8px; background: #fbfdff; }
.dv-highlight-label { color: #315a82; font-size: 15px; font-weight: 700; }
.dv-highlight > p { font-size: 12px; line-height: 1.65; color: #52657e; margin: 8px 0 14px; }
.dv-highlight-example { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.dv-highlight .dv-finding { width: 100%; box-sizing: border-box; margin: 12px 0; }
.dv-highlight .dv-finding dd { font-size: 17px; }
.dv-highlight .dv-finding-next { display: none; }
.dv-highlight > button { margin-top: auto; }
.dv-highlight-empty { font-size: 13px; line-height: 1.7; color: #52657e; padding: 12px 0; }
.dv-issue-locations > summary { cursor: pointer; padding: 12px 14px; color: #315a82; font-size: 12px; }
.dv-issue-locations[open] > .dv-section-label { padding: 0 14px; }
[id^="dvRequirement-"]:focus { outline: 2px solid #7196d5; outline-offset: -2px; }
#dvSourcePanel, #dvCrossOverview, #dvReferenceDetails, #dvHighlights, #dvComparisonDetails, #dvReviewDetails { scroll-margin-top: 18px; }
@media (max-width: 1100px) { .dv-capabilities { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 850px) { .dv-highlight-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 620px) { .dv-capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dv-disclosure > summary > span { display: block; margin: 5px 0 0; line-height: 1.6; } .dv-source-toolbar { align-items: flex-start; flex-wrap: wrap; } }

.dv-quantity-settings summary { cursor: pointer; font-weight: 650; }
.dv-quantity-settings .dv-grid { margin-top: 12px; }
.dv-quantity-summary { margin: 10px 0; padding: 10px; border-left: 3px solid #97a6b3; background: #f4f7f9; border-radius: 5px; overflow-wrap: anywhere; }
.dv-quantity-summary[data-tone="warning"] { border-color: #c47d28; background: #fff8ee; }
.dv-quantity-summary[data-tone="success"] { border-color: #388567; background: #f0f8f4; }
.dv-quantity-summary p { margin: 5px 0; line-height: 1.6; }
.dv-quantity-override { margin: 10px 0; }
.dv-quantity-override label { display: grid; gap: 4px; margin: 8px 0; }
.dv-quantity-override input, .dv-quantity-override select { width: 100%; min-width: 0; }
