/* Workspace tools share the application theme and density. */
.wt-note{font-size:12px;line-height:1.7;color:var(--muted);margin:14px 0;overflow-wrap:anywhere}.wt-product-tools{display:flex;gap:7px;flex-wrap:wrap;margin:-5px 0 20px;align-items:center}.wt-product-tools .btn{font-size:11px;background:var(--surface-subtle)}.wt-count,.wt-filter-count{display:inline-grid;place-items:center;min-width:21px;height:21px;border-radius:20px;background:var(--accent-soft);color:var(--accent);font-size:11px}.wt-filter-chips{display:flex;gap:6px;flex-wrap:wrap;align-items:center;padding:0 18px 14px}.wt-filter-chips>small{color:var(--muted);margin-right:4px}.wt-chip{display:flex;gap:10px;align-items:center;border:1px solid color-mix(in srgb,var(--accent) 20%,var(--border));border-radius:20px;background:var(--accent-soft);color:var(--accent);padding:6px 10px;font:inherit;font-size:11px;cursor:pointer}.wt-filter-rule{display:grid;grid-template-columns:1fr 1fr 1.5fr auto;gap:10px;margin:10px 0}.wt-filter-rule select,.wt-filter-rule input{min-width:0;width:100%}.wt-rules{margin:18px 0}.wt-inline-form{display:flex;gap:14px;align-items:flex-end;flex-wrap:wrap;margin:18px 0}.wt-inline-form .field{flex:1;min-width:160px;margin:0}.wt-inline-form .btn{align-self:flex-end}.wt-guide-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.wt-guide-heading h3{margin:6px 0}.wt-guide-heading small{color:var(--muted)}.wt-step-track{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.wt-step-track button{width:32px;height:32px;border-radius:50%;border:1px solid var(--border);color:var(--muted);background:var(--surface-subtle);cursor:pointer;font:inherit}.wt-step-track .active{background:var(--accent);color:white;border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-soft)}.wt-guide-reason{padding:18px 20px;border-radius:12px;background:var(--accent-soft);border-left:3px solid var(--accent);margin:18px 0}.wt-guide-reason h3{margin:0 0 8px}.wt-guide-reason p{line-height:1.65;font-size:12px;margin:0}.wt-guided-fields{padding:15px 0}.wt-complete{padding:24px;text-align:center}.wt-complete>svg{width:42px;height:42px;color:var(--state-teal)}.wt-complete p{line-height:1.7;color:var(--muted)}.wt-complete .btn{margin:5px}.wt-legend{display:flex;gap:20px;flex-wrap:wrap;font-size:12px;margin:18px 0}.wt-legend .provided{color:var(--state-teal)}.wt-legend .missing{color:var(--state-amber)}.wt-legend .stale{color:var(--state-violet,var(--accent))}.wt-matrix table{min-width:760px;table-layout:auto}.wt-matrix th{white-space:normal;min-width:105px;max-width:190px;font-size:11px}.wt-matrix tbody th{text-align:left;min-width:220px}.wt-matrix tbody th small{display:block;color:var(--muted);padding:4px 10px}.wt-matrix .btn{white-space:normal;text-align:left}.wt-cell{border:0;border-radius:10px;width:100%;min-height:55px;display:grid;place-content:center;gap:4px;color:var(--muted);background:var(--surface-subtle);font:inherit;font-weight:700;cursor:pointer}.wt-cell small{font-size:10px;font-weight:500}.wt-cell.provided{color:var(--state-teal);background:color-mix(in srgb,var(--state-teal) 10%,var(--surface))}.wt-cell.missing{color:var(--state-amber);background:color-mix(in srgb,var(--state-amber) 12%,var(--surface))}.wt-cell.stale{color:var(--state-violet,var(--accent));background:color-mix(in srgb,var(--state-violet,var(--accent)) 12%,var(--surface))}.wt-cell:hover{box-shadow:inset 0 0 0 2px currentColor}.wt-pagination{display:flex;gap:18px;align-items:center;justify-content:flex-end;margin:15px 0;font-size:12px;color:var(--muted)}
.requirement-value-field{position:relative}.wt-field-comment{position:absolute;right:8px;top:8px;z-index:1;border:0;border-radius:20px;display:flex;align-items:center;gap:4px;padding:5px 7px;background:var(--surface);color:var(--accent);cursor:pointer;min-height:28px}.wt-field-comment svg{width:14px;height:14px}.requirement-value-field:has(.wt-field-comment) .technical-fact>h3{padding-right:38px}.wt-thread{border:1px solid var(--border);border-radius:12px;padding:19px;margin:15px 0;background:var(--surface)}.wt-thread header{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:10px}.wt-thread p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.7;margin:12px 0}.wt-thread>small,.wt-reply small{color:var(--muted);font-size:11px}.wt-thread.resolved{background:var(--surface-subtle)}.wt-reply{margin:14px 0 14px 15px;padding:12px 15px;border-left:2px solid var(--accent);background:var(--surface-subtle);border-radius:0 8px 8px 0}.wt-thread form{margin-top:18px}.wt-mentions{margin:12px 0;font-size:12px}.wt-mentions summary,.wt-new-discussion summary{cursor:pointer;color:var(--accent);padding:9px 0}.wt-mentions label,.wt-watch-events label{display:flex;align-items:center;gap:9px;padding:8px 0;font-size:12px}.wt-mentions input,.wt-watch-events input,.wt-product-choice input{width:16px;height:16px;flex:none;accent-color:var(--accent)}.wt-watch-events{border:1px solid var(--border);border-radius:10px;padding:15px 20px;margin:20px 0}.wt-watch-events legend{font-size:12px;color:var(--muted);padding:0 6px}.wt-watch-list small{display:block;color:var(--muted);font-size:11px;line-height:1.6;margin-top:6px}.wt-product-choice{display:flex;gap:12px;align-items:center;border-bottom:1px solid var(--border);padding:14px 8px;font-size:12px}.wt-audience{max-width:740px;margin:20px auto;padding:24px;border:1px solid var(--border);border-radius:14px;background:var(--surface)}.wt-audience>header{display:flex;gap:22px;align-items:center}.wt-audience header img{width:130px;height:130px;object-fit:contain;background:var(--surface-subtle);border-radius:12px}.wt-audience header h2{font-size:24px;margin:8px 0;line-height:1.4}.wt-audience>p{line-height:1.7;white-space:pre-wrap}.wt-audience-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:22px 0}.wt-audience dt{font-size:11px;color:var(--muted)}.wt-audience dd{margin:6px 0;font-size:12px}.wt-graph{display:grid;grid-template-columns:1fr 1fr 1fr;gap:38px;padding:10px 0}.wt-graph>section{min-width:0}.wt-graph h3{font-size:13px;margin:18px 0}.wt-node{position:relative;display:flex;align-items:center;gap:12px;width:100%;text-align:left;font:inherit;font-size:12px;line-height:1.5;padding:15px;background:var(--surface);border:1px solid var(--border);border-radius:12px;color:var(--ink);margin:12px 0;cursor:pointer;overflow-wrap:anywhere}.wt-node:hover{border-color:var(--accent);background:var(--accent-soft)}.wt-node svg{width:20px;height:20px;flex:none;color:var(--accent)}.wt-node>span{flex:1;min-width:0}.wt-node small{display:block;color:var(--muted);margin-top:5px}.wt-graph-center{align-self:center;position:relative}.wt-graph-center:before,.wt-graph-center:after{content:'';position:absolute;top:44%;width:38px;height:2px;background:var(--accent);opacity:.5}.wt-graph-center:before{left:-38px}.wt-graph-center:after{right:-38px}.wt-node-current{flex-direction:column;text-align:center;padding:24px 15px;border:1px solid var(--accent);background:var(--accent-soft);cursor:default}.wt-node-current h3{margin:0}.wt-graph-hint{font-size:11px;line-height:1.6;color:var(--muted);text-align:center}.wt-diff-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0}.wt-diff-grid>section{padding:18px;border:1px solid var(--border);border-radius:12px;background:var(--surface-subtle)}.wt-diff-grid small{color:var(--muted)}.wt-diff-grid h3{margin:9px 0}.wt-diff-grid p{font-size:12px;line-height:1.6;overflow-wrap:anywhere}.wt-template-products{max-height:430px;overflow:auto}.wt-template-product{padding:12px;border:1px solid var(--border);border-radius:10px;margin:10px 0}.wt-template-product summary{cursor:pointer;font-size:12px;padding:8px 0;color:var(--accent)}.wt-template-product table{width:100%;font-size:11px}.wt-template-product td{white-space:pre-wrap;overflow-wrap:anywhere;max-width:220px}.wt-template-product td:last-child{background:var(--accent-soft)}.wt-template-product>label{display:flex;gap:10px;align-items:center}.wt-template-product input{width:16px;height:16px}.wt-template-product small{display:block;color:var(--muted);margin-top:5px}
/* Comfortable is the default; compact changes spacing, never font legibility. */
html[data-density=compact] :is(.table-wrap,.portfolio-table) :is(td,th){padding-top:7px;padding-bottom:7px}html[data-density=compact] :is(.list-row,.wb-data-row,.supplier-linked-row,.wt-product-choice){padding-top:8px;padding-bottom:8px}html[data-density=compact] .dialog .form-grid{row-gap:10px}html[data-density=compact] .dialog .field{margin-bottom:9px}html[data-density=compact] .technical-section-content{padding-top:12px;padding-bottom:12px}html[data-density=compact] .wt-thread{padding:14px;margin:10px 0}html[data-density=compact] .wt-cell{min-height:43px}html[data-density=compact] .wt-node{padding:10px}
@media(max-width:760px){.wt-filter-rule{grid-template-columns:1fr 1fr}.wt-filter-rule>:nth-child(3){grid-column:1}.wt-graph{grid-template-columns:1fr;gap:12px}.wt-graph-center:before,.wt-graph-center:after{display:none}.wt-diff-grid{grid-template-columns:1fr}.wt-audience{padding:14px}.wt-audience header img{width:80px;height:80px}.wt-audience header h2{font-size:19px}.wt-audience-meta{grid-template-columns:1fr}.wt-product-tools{gap:5px}}
