1031 lines
66 KiB
CSS
1031 lines
66 KiB
CSS
.entityHeading > span,
|
|
.inspectorHeading > span {
|
|
color: var(--mn-faint); font-size: 12px; font-weight: 500; line-height: 18px;
|
|
}
|
|
.memoryHeaderActions { display: flex; align-items: center; gap: 8px; }
|
|
.memoryHeaderActions > button { white-space: nowrap; }
|
|
.workspaceErrorReveal { flex: 0 0 auto; }
|
|
.asyncRegion { position: relative; min-width: 0; }
|
|
.asyncResults { position: relative; min-width: 0; min-height: 120px; }
|
|
.asyncPlaceholder { position: relative; display: grid; min-height: 520px; place-items: center; border: .5px solid var(--mn-card-line); border-radius: var(--dsw-radius-lg); color: var(--mn-faint); }
|
|
.muted { padding: 16px 0; color: var(--mn-faint); font-size: 13px; }
|
|
|
|
/* Read sources: one compact row per active space, as DSH settings cards. */
|
|
.readSources { display: grid; gap: 8px; margin: 0 0 16px; padding: 14px 18px; border: .5px solid var(--mn-card-line); border-radius: var(--dsw-radius-lg); }
|
|
.readSourcesCompact {
|
|
display: flex;
|
|
min-width: 0;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 8px 10px;
|
|
margin: 0 0 12px;
|
|
padding: 2px 0;
|
|
}
|
|
.readSourcesCompactTitle {
|
|
flex: 0 0 auto;
|
|
color: var(--mn-faint);
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
line-height: 18px;
|
|
white-space: nowrap;
|
|
}
|
|
.readSourcesCompactList {
|
|
display: flex;
|
|
min-width: 0;
|
|
flex: 1 1 auto;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 6px 8px;
|
|
}
|
|
.readSourcePill {
|
|
display: inline-flex;
|
|
max-width: 100%;
|
|
min-height: 26px;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 2px 10px;
|
|
border: .5px solid var(--mn-line);
|
|
border-radius: 999px;
|
|
corner-shape: round;
|
|
background: var(--mn-fill);
|
|
color: var(--mn-text);
|
|
font-size: 12px;
|
|
line-height: 18px;
|
|
}
|
|
.readSourcePill > strong {
|
|
overflow: hidden;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.readSourcePill > small {
|
|
color: var(--mn-muted);
|
|
font-size: 11px;
|
|
white-space: nowrap;
|
|
}
|
|
.readSourcePill > em {
|
|
color: var(--mn-faint);
|
|
font-size: 11px;
|
|
font-style: normal;
|
|
font-variant-numeric: tabular-nums;
|
|
white-space: nowrap;
|
|
}
|
|
.srOnlyHeading {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
margin: 0;
|
|
overflow: hidden;
|
|
clip: rect(0 0 0 0);
|
|
clip-path: inset(50%);
|
|
white-space: nowrap;
|
|
}
|
|
.readSourcePill > .providerBadge {
|
|
padding: 0 6px;
|
|
background: var(--mn-layer-1);
|
|
font-size: 10px;
|
|
line-height: 16px;
|
|
}
|
|
.readSourcePill[data-mode="projection"] .readSourceSignal,
|
|
.readSourcePill[data-mode="enumerable"] .readSourceSignal { background: var(--mn-success); }
|
|
.readSourcePill[data-mode="query-only"] .readSourceSignal { background: var(--mn-warn); }
|
|
.readSourcePill[data-status="unavailable"] .readSourceSignal { background: var(--mn-danger); }
|
|
.readSourcePill[data-status="unsupported"] .readSourceSignal,
|
|
.readSourcePill[data-status="empty"] .readSourceSignal,
|
|
.readSourcePill[data-status="loading"] .readSourceSignal { background: var(--mn-idle); }
|
|
.readSources > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
|
|
.readSources > header > div { display: grid; gap: 2px; }
|
|
.readSources > header strong { font-size: 13px; font-weight: 500; line-height: 20px; }
|
|
.readSources > header p { max-width: 92ch; margin: 0; color: var(--mn-faint); font-size: 12px; line-height: 18px; }
|
|
.readSources > header > button { min-height: 28px; flex: 0 0 auto; border: .5px solid var(--mn-line-strong); border-radius: var(--dsw-radius-sm); padding: 0 10px; color: var(--mn-text); background: transparent; font-size: 12px; line-height: 18px; cursor: pointer; }
|
|
.readSources > header > button:hover { background: var(--mn-hover); }
|
|
.readSources > header > button[data-selected] { border-color: transparent; background: var(--mn-fill); }
|
|
.readSources > div { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 8px; }
|
|
.readSourceCard,
|
|
.bodyCard,
|
|
.metadataList > label { border: .5px solid var(--mn-card-line); border-radius: var(--dsw-radius-md); color: var(--mn-text); background: transparent; }
|
|
.readSourceCard { display: grid; min-width: 0; min-height: 56px; grid-template-columns: 6px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 10px 8px 12px; text-align: left; }
|
|
button.readSourceCard { cursor: pointer; }
|
|
button.readSourceCard:hover { background: var(--mn-hover); }
|
|
.readSourceCard[data-selected] { border-color: var(--mn-field-line); background: var(--mn-fill); }
|
|
/* StateDot: success, idle, warning or error; no halo. */
|
|
.readSourceSignal { width: 6px; height: 6px; border-radius: 50%; corner-shape: round; background: var(--mn-success); }
|
|
.readSourceCard[data-mode="projection"] .readSourceSignal,
|
|
.readSourceCard[data-mode="enumerable"] .readSourceSignal { background: var(--mn-success); }
|
|
.readSourceCard[data-mode="query-only"] .readSourceSignal { background: var(--mn-warn); }
|
|
.readSourceCard[data-status="unavailable"] .readSourceSignal { background: var(--mn-danger); }
|
|
.readSourceCard[data-status="unsupported"] .readSourceSignal,
|
|
.readSourceCard[data-status="empty"] .readSourceSignal { background: var(--mn-idle); }
|
|
.readSourceCard[data-status="unsupported"] { color: var(--mn-faint); }
|
|
.readSourceIdentity,
|
|
.readSourceState { display: grid; min-width: 0; gap: 2px; }
|
|
.readSourceIdentity strong { overflow: hidden; font-size: 13px; font-weight: 500; line-height: 20px; text-overflow: ellipsis; white-space: nowrap; }
|
|
.readSourceMeta { display: flex; min-width: 0; align-items: center; gap: 6px; }
|
|
.readSourceMeta > small { overflow: hidden; color: var(--mn-faint); font-size: 12px; line-height: 18px; text-overflow: ellipsis; white-space: nowrap; }
|
|
.readSourceState { justify-items: end; text-align: right; }
|
|
.readSourceState em { width: fit-content; flex-shrink: 0; padding: 1px 8px; border-radius: 999px; corner-shape: round; color: var(--mn-muted); background: var(--mn-fill); font-size: 11px; font-style: normal; font-weight: 500; line-height: 17px; white-space: nowrap; }
|
|
.readSourceCard[data-status="unsupported"] .readSourceState em { border: .5px solid var(--mn-field-line); color: var(--mn-faint); background: transparent; }
|
|
.readSourceState small { color: var(--mn-faint); font-size: 11px; line-height: 14px; white-space: nowrap; }
|
|
|
|
.bodyDirectory { position: relative; margin-bottom: 14px; padding: 0; border: 0; }
|
|
.bodyDirectoryHeader { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 10px; }
|
|
.bodyDirectoryHeader > div:first-child { min-width: 0; flex: 1 1 240px; }
|
|
.bodyDirectoryHeader h3 { margin: 0; font-size: 13px; font-weight: 500; line-height: 20px; }
|
|
.bodyDirectoryHeader p { margin: 2px 0 0; color: var(--mn-faint); font-size: 12px; line-height: 18px; }
|
|
.bodyDirectoryPath { display: block; max-width: 100%; margin-top: 4px; overflow: hidden; color: var(--mn-faint); font-size: 11px; line-height: 16px; text-overflow: ellipsis; white-space: nowrap; }
|
|
.bodyDirectoryControls { display: flex; flex: 0 0 auto; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
|
|
.bodyDirectoryControls > strong { display: inline-flex; align-items: center; height: 24px; flex: 0 0 auto; padding: 0 9px; border-radius: 999px; corner-shape: round; color: var(--mn-muted); background: var(--mn-fill); font-size: 11px; font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
|
|
.syncFreshnessPill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
height: 24px;
|
|
padding: 0 9px;
|
|
border: .5px solid var(--mn-line);
|
|
border-radius: 999px;
|
|
corner-shape: round;
|
|
color: var(--mn-faint);
|
|
background: transparent;
|
|
font-size: 11px;
|
|
line-height: 1;
|
|
font-variant-numeric: tabular-nums;
|
|
white-space: nowrap;
|
|
}
|
|
.syncFreshnessSpinner {
|
|
width: 10px;
|
|
height: 10px;
|
|
flex: none;
|
|
border: 1.5px solid color-mix(in srgb, var(--mn-faint) 28%, transparent);
|
|
border-top-color: var(--mn-muted);
|
|
border-radius: 50%;
|
|
corner-shape: round;
|
|
animation: mnemon-spin .85s linear infinite;
|
|
}
|
|
.bodyGrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)); gap: 8px; }
|
|
.bodyDirectoryEmpty { grid-column: 1 / -1; min-height: 96px; display: flex; align-items: center; justify-content: center; gap: 12px; border-radius: var(--dsw-radius-md); color: var(--mn-muted); background: var(--mn-block-fill, var(--mn-fill)); }
|
|
.bodyDirectoryEmpty > span { color: var(--mn-faint); font-size: 24px; }
|
|
.bodyDirectoryEmpty strong { display: block; color: var(--mn-text); font-weight: 500; }
|
|
.bodyDirectoryEmpty p { margin: 2px 0 0; color: var(--mn-faint); font-size: 12px; }
|
|
.bodyCard { --mn-body-accent: var(--mn-success); min-width: 0; padding: 14px 16px; transition: border-color .16s, background-color .16s; }
|
|
.bodyCard:not([data-active]) { background: var(--mn-fill); border-color: transparent; }
|
|
.bodyCard[data-reconnectable] { cursor: pointer; }
|
|
.bodyCard[data-reconnectable]:hover { border-color: var(--mn-field-line); }
|
|
.bodyCard[data-reconnectable]:focus-visible { outline: var(--dsw-focus-ring-width, 2px) solid var(--mn-focus); outline-offset: 2px; }
|
|
.bodySignal { width: 6px; height: 6px; border-radius: 50%; corner-shape: round; background: var(--mn-idle); }
|
|
.bodyCard[data-active] .bodySignal { background: var(--mn-body-accent); }
|
|
.bodyCard:not([data-healthy]) .bodySignal { background: var(--mn-danger); }
|
|
.bodyCard[data-status-loading] .bodySignal { background: var(--mn-idle); }
|
|
.bodyCard[data-reconnecting] .bodySignal { box-sizing: border-box; width: 8px; height: 8px; border: 1.5px solid color-mix(in srgb, var(--mn-faint) 25%, transparent); border-top-color: var(--mn-faint); background: transparent; animation: mnemon-spin .9s linear infinite; }
|
|
.bodyHealth { color: var(--mn-success); font-size: 12px; line-height: 18px; }
|
|
.bodyCard:not([data-healthy]) .bodyHealth { color: var(--mn-danger); }
|
|
.bodyCard[data-status-loading] .bodyHealth { color: var(--mn-faint); }
|
|
.mnemonDefaultBadge { width: fit-content; flex-shrink: 0; padding: 1px 8px; border-radius: 999px; corner-shape: round; color: var(--mn-accent); background: color-mix(in srgb, var(--mn-accent) 10%, transparent); font-size: 11px; font-weight: 500; line-height: 17px; white-space: nowrap; }
|
|
.newSpaceBadge { width: fit-content; flex-shrink: 0; padding: 1px 8px; border-radius: 999px; corner-shape: round; color: var(--mn-accent); background: color-mix(in srgb, var(--mn-accent) 10%, transparent); font-size: 11px; font-weight: 500; line-height: 17px; white-space: nowrap; }
|
|
/* What asking the Providers again found: one row, as a write receipt reads. */
|
|
.rediscoveryNotice { display: flex; min-width: 0; align-items: flex-start; gap: 8px 12px; margin: 0 0 12px; padding: 10px 12px; border-radius: var(--dsw-radius-md); background: var(--dsw-alias-bg-module-platform); }
|
|
.rediscoveryNotice > div { display: grid; flex: 1 1 auto; min-width: 0; gap: 2px; }
|
|
.rediscoveryNotice p { margin: 0; color: var(--dsw-alias-label-secondary); font-size: 13px; line-height: 20px; overflow-wrap: anywhere; }
|
|
.rediscoveryNotice p[data-failed] { color: var(--mn-danger); }
|
|
.rediscoveryNotice > button { flex: none; }
|
|
/* DSH Tag, neutral tone: the Provider is a fact, not a status. */
|
|
.providerBadge { display: inline-flex; width: fit-content; max-width: 100%; flex: 0 0 auto; align-items: center; justify-content: center; padding: 1px 8px; overflow: hidden; border-radius: 999px; corner-shape: round; color: var(--mn-muted); background: var(--mn-fill); font-size: 11px; font-weight: 500; line-height: 17px; text-align: center; text-overflow: ellipsis; vertical-align: middle; white-space: nowrap; }
|
|
|
|
/* Provider hues identify spaces in the graph only. */
|
|
.providerBadge,
|
|
.readSourceCard,
|
|
.bodyCard,
|
|
.metadataList > label,
|
|
.graphNode { --mn-provider-color: #64748b; }
|
|
.providerBadge[data-provider="mnemon-native"],
|
|
.readSourceCard[data-provider="mnemon-native"],
|
|
.bodyCard[data-provider="mnemon-native"],
|
|
.metadataList > label[data-provider="mnemon-native"],
|
|
.graphNode[data-provider="mnemon-native"] { --mn-provider-color: #64748b; }
|
|
.providerBadge[data-provider="openviking"],
|
|
.readSourceCard[data-provider="openviking"],
|
|
.bodyCard[data-provider="openviking"],
|
|
.metadataList > label[data-provider="openviking"],
|
|
.graphNode[data-provider="openviking"] { --mn-provider-color: #3b82d0; }
|
|
.providerBadge[data-provider="honcho"],
|
|
.readSourceCard[data-provider="honcho"],
|
|
.bodyCard[data-provider="honcho"],
|
|
.metadataList > label[data-provider="honcho"],
|
|
.graphNode[data-provider="honcho"] { --mn-provider-color: #c44fcf; }
|
|
.providerBadge[data-provider="mem0"],
|
|
.readSourceCard[data-provider="mem0"],
|
|
.bodyCard[data-provider="mem0"],
|
|
.metadataList > label[data-provider="mem0"],
|
|
.graphNode[data-provider="mem0"] { --mn-provider-color: #8b5cf6; }
|
|
.providerBadge[data-provider="hindsight"],
|
|
.readSourceCard[data-provider="hindsight"],
|
|
.bodyCard[data-provider="hindsight"],
|
|
.metadataList > label[data-provider="hindsight"],
|
|
.graphNode[data-provider="hindsight"] { --mn-provider-color: #0891b2; }
|
|
.providerBadge[data-provider="holographic"],
|
|
.readSourceCard[data-provider="holographic"],
|
|
.bodyCard[data-provider="holographic"],
|
|
.metadataList > label[data-provider="holographic"],
|
|
.graphNode[data-provider="holographic"] { --mn-provider-color: #6366d9; }
|
|
.providerBadge[data-provider="retaindb"],
|
|
.readSourceCard[data-provider="retaindb"],
|
|
.bodyCard[data-provider="retaindb"],
|
|
.metadataList > label[data-provider="retaindb"],
|
|
.graphNode[data-provider="retaindb"] { --mn-provider-color: #d08a28; }
|
|
.providerBadge[data-provider="byterover"],
|
|
.readSourceCard[data-provider="byterover"],
|
|
.bodyCard[data-provider="byterover"],
|
|
.metadataList > label[data-provider="byterover"],
|
|
.graphNode[data-provider="byterover"] { --mn-provider-color: #0f9a83; }
|
|
.providerBadge[data-provider="supermemory"],
|
|
.readSourceCard[data-provider="supermemory"],
|
|
.bodyCard[data-provider="supermemory"],
|
|
.metadataList > label[data-provider="supermemory"],
|
|
.graphNode[data-provider="supermemory"] { --mn-provider-color: #df4d72; }
|
|
.bodyCardActions { display: flex; align-items: center; gap: 8px; }
|
|
.bodyCreateForm { display: flex; min-width: 0; flex-shrink: 0; flex-direction: column; gap: 16px; padding-top: 0; padding-bottom: 4px; }
|
|
.createSection { display: grid; min-width: 0; flex-shrink: 0; gap: 12px; padding: 14px 16px; border: .5px solid var(--mn-card-line); border-radius: var(--dsw-radius-lg); }
|
|
.createSectionHeading { display: flex; align-items: flex-start; gap: 10px; }
|
|
.createSectionHeading > span { display: grid; min-width: 22px; height: 22px; flex: 0 0 auto; place-items: center; padding: 0 6px; border-radius: 999px; corner-shape: round; color: var(--mn-muted); background: var(--mn-fill); font-size: 11px; font-weight: 500; line-height: 1; }
|
|
.createSectionHeading > div { display: grid; min-width: 0; gap: 2px; }
|
|
.createSectionHeading strong { color: var(--mn-text); font-size: 14px; font-weight: 500; line-height: 22px; }
|
|
.createSectionHeading small { color: var(--mn-faint); font-size: 12px; line-height: 18px; }
|
|
.createIdentityGrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: stretch; }
|
|
.createIdentityGrid > label { align-content: start; }
|
|
.createIdentityGrid textarea { min-height: 72px; }
|
|
.strategyForm { display: flex; min-width: 0; flex-shrink: 0; flex-direction: column; gap: 16px; padding-top: 0; padding-bottom: 4px; }
|
|
.strategyLoading { position: relative; display: flex; min-height: 88px; align-items: center; justify-content: center; border-radius: var(--dsw-radius-md); color: var(--mn-faint); background: var(--mn-fill); font-size: 12px; }
|
|
.strategyLoading .sectionSpinner { top: 10px; right: 10px; }
|
|
/* Choice tiles, as the DSH appearance choice: hairline, filled when selected. */
|
|
.placementMode { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; border: 0; }
|
|
.placementMode legend { margin-bottom: 6px; color: var(--mn-muted); font-size: 12px; font-weight: 500; line-height: 18px; }
|
|
.placementMode label { position: relative; display: grid; min-width: 0; grid-template-columns: 16px minmax(0, 1fr); align-items: center; gap: 10px; padding: 12px; border: .5px solid var(--mn-line-strong); border-radius: var(--dsw-radius-md); cursor: pointer; transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease; }
|
|
.placementMode label:hover { background: var(--mn-hover); }
|
|
.placementMode label[data-selected] { border-color: var(--mn-field-line); background: var(--mn-fill); }
|
|
.placementMode label[data-disabled] { cursor: not-allowed; opacity: .5; }
|
|
.placementMode input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
|
|
.placementMode span { display: grid; gap: 2px; }
|
|
.placementMode strong { color: var(--mn-text); font-size: 13px; font-weight: 500; line-height: 20px; }
|
|
.placementMode strong em { margin-left: 6px; padding: 1px 8px; border-radius: 999px; corner-shape: round; color: var(--mn-muted); background: var(--mn-fill); font-size: 11px; font-style: normal; font-weight: 500; line-height: 17px; }
|
|
.placementMode small { color: var(--mn-faint); font-size: 12px; line-height: 18px; }
|
|
.placementPolicy { display: grid; min-width: 0; flex-shrink: 0; gap: 10px; margin: 0; padding: 14px 16px; border: .5px solid var(--mn-card-line); border-radius: var(--dsw-radius-md); }
|
|
.placementPolicyHeading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
|
|
.placementPolicyHeading > div { display: grid; gap: 2px; }
|
|
.placementPolicyHeading strong { font-size: 13px; font-weight: 500; line-height: 20px; }
|
|
.placementPolicyHeading small { color: var(--mn-faint); font-size: 12px; line-height: 18px; }
|
|
.placementPolicyHeading > span { flex: 0 0 auto; padding: 1px 8px; border-radius: 999px; corner-shape: round; color: var(--mn-muted); background: var(--mn-fill); font-size: 11px; font-weight: 500; line-height: 17px; }
|
|
.placementPromptField { display: grid; min-width: 0; gap: 6px; color: var(--mn-muted); font-size: 12px; font-weight: 500; line-height: 18px; }
|
|
.placementRuleGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
|
|
.capabilityRules { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; border: 0; }
|
|
.capabilityRules legend { width: 100%; margin-bottom: 4px; color: var(--mn-faint); font-size: 12px; line-height: 18px; }
|
|
.capabilityRules label { position: relative; display: flex; width: fit-content; align-items: center; gap: 6px; min-height: 28px; padding: 0 10px; border: .5px solid var(--mn-line-strong); border-radius: var(--dsw-radius-sm); color: var(--mn-muted); font-size: 12px; cursor: pointer; transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease; }
|
|
.capabilityRules label:hover { background: var(--mn-hover); }
|
|
.capabilityRules label[data-selected] { border-color: var(--mn-field-line); color: var(--mn-text); background: var(--mn-fill); }
|
|
.capabilityRules label[data-disabled] { cursor: not-allowed; opacity: .5; }
|
|
.capabilityRules input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
|
|
.placementCandidates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
|
|
.placementCandidates > span,
|
|
.placementCandidates > label { position: relative; display: grid; min-width: 0; grid-template-columns: 28px minmax(0, 1fr) 16px; align-items: center; gap: 10px; padding: 8px 10px; border: .5px solid var(--mn-line-strong); border-radius: var(--dsw-radius-md); transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease; }
|
|
.placementCandidates > label { cursor: pointer; }
|
|
.placementCandidates > label:hover { background: var(--mn-hover); }
|
|
.placementCandidates > [data-selected] { border-color: var(--mn-field-line); background: var(--mn-fill); }
|
|
.placementCandidates > label[data-disabled] { cursor: not-allowed; opacity: .5; }
|
|
.placementCandidates input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
|
|
.placementCandidates > span > span:not(.candidateIcon),
|
|
.placementCandidates > label > span:not(.candidateIcon) { display: grid; min-width: 0; gap: 2px; }
|
|
.placementCandidates strong { color: var(--mn-text); font-size: 13px; font-weight: 500; line-height: 20px; }
|
|
.placementCandidates small { color: var(--mn-faint); font-size: 12px; line-height: 18px; }
|
|
.providerChoice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; border: 0; }
|
|
.providerChoice legend { margin-bottom: 6px; color: var(--mn-muted); font-size: 12px; font-weight: 500; line-height: 18px; }
|
|
.providerChoice label { position: relative; display: grid; min-width: 0; grid-template-columns: 32px minmax(0, 1fr) 16px; align-items: center; gap: 10px; padding: 10px 12px; border: .5px solid var(--mn-line-strong); border-radius: var(--dsw-radius-md); cursor: pointer; transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease; }
|
|
.providerChoice label:hover { background: var(--mn-hover); }
|
|
.providerChoice label[data-native] { grid-column: 1 / -1; }
|
|
.providerChoice label[data-selected] { border-color: var(--mn-field-line); background: var(--mn-fill); }
|
|
.providerChoice label[data-disabled] { cursor: not-allowed; opacity: .5; }
|
|
.providerChoice input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
|
|
.providerChoice span { display: grid; gap: 2px; }
|
|
.providerChoice strong { color: var(--mn-text); font-size: 13px; font-weight: 500; line-height: 20px; }
|
|
.providerChoice strong em { margin-left: 6px; padding: 1px 8px; border-radius: 999px; corner-shape: round; color: var(--mn-muted); background: var(--mn-fill); font-size: 11px; font-style: normal; font-weight: 500; line-height: 17px; }
|
|
.providerChoice label[data-selected] strong em { background: var(--mn-layer-1); }
|
|
.providerChoice small { display: -webkit-box; overflow: hidden; color: var(--mn-faint); font-size: 12px; line-height: 18px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
|
|
/* Provider marks, as the DSH plugin icon tile. */
|
|
.providerChoiceIcon,
|
|
.candidateIcon,
|
|
.providerFieldIcon { display: grid; box-sizing: border-box; place-items: center; overflow: hidden; border: .5px solid var(--mn-line-strong); background: var(--mn-layer-1); }
|
|
.providerChoiceIcon { width: 32px; height: 32px; border-radius: var(--dsw-radius-sm); padding: 4px; }
|
|
.candidateIcon { width: 28px; height: 28px; border-radius: var(--dsw-radius-sm); padding: 4px; }
|
|
.providerFieldIcon { width: 32px; height: 32px; flex: 0 0 auto; border-radius: var(--dsw-radius-sm); padding: 4px; }
|
|
.providerChoiceIcon > img,
|
|
.providerChoiceIcon > svg,
|
|
.candidateIcon > img,
|
|
.candidateIcon > svg,
|
|
.providerFieldIcon > img,
|
|
.providerFieldIcon > svg { display: block; width: 100%; height: 100%; border-radius: 4px; object-fit: contain; }
|
|
/* Radio and check marks, as the DSH Checkbox: brand fill when selected. */
|
|
.choiceControl { position: relative; display: grid; width: 16px; height: 16px; box-sizing: border-box; flex: 0 0 auto; place-items: center; border: 1px solid var(--mn-field-line); border-radius: 4px; background: var(--mn-layer-1); transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease; }
|
|
.choiceControl[data-kind='radio'] { border-radius: 50%; corner-shape: round; }
|
|
[data-selected] > .choiceControl { border-color: var(--dsw-alias-brand-primary); background: var(--dsw-alias-brand-primary); }
|
|
[data-selected] > .choiceControl[data-kind='check']::after { width: 7px; height: 4px; border-bottom: 1.5px solid var(--dsw-alias-label-primary-foreground); border-left: 1.5px solid var(--dsw-alias-label-primary-foreground); content: ''; transform: translateY(-1px) rotate(-45deg); }
|
|
[data-selected] > .choiceControl[data-kind='radio']::after { width: 6px; height: 6px; border-radius: 50%; corner-shape: round; content: ''; background: var(--dsw-alias-label-primary-foreground); }
|
|
/* Keyboard focus only: a dialog that focuses its first choice on open shows no ring. */
|
|
.placementMode label:has(input:focus-visible),
|
|
.providerChoice label:has(input:focus-visible),
|
|
.capabilityRules label:has(input:focus-visible),
|
|
.placementCandidates label:has(input:focus-visible) { outline: var(--dsw-focus-ring-width, 2px) solid var(--mn-focus); outline-offset: 1px; }
|
|
.providerFields { display: grid; min-width: 0; flex-shrink: 0; gap: 10px; padding: 12px 14px; border: .5px solid var(--mn-card-line); border-radius: var(--dsw-radius-md); }
|
|
.providerFieldHeading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
|
|
.providerFieldIdentity { display: flex; min-width: 0; align-items: center; gap: 10px; }
|
|
.providerFieldIdentity > div { display: grid; min-width: 0; gap: 2px; }
|
|
.providerFieldHeading strong { color: var(--mn-text); font-size: 13px; font-weight: 500; line-height: 20px; }
|
|
.providerFieldHeading small { color: var(--mn-faint); font-size: 12px; line-height: 18px; }
|
|
.providerFieldHeading > span { flex: 0 0 auto; padding: 1px 8px; border-radius: 999px; corner-shape: round; color: var(--mn-muted); background: var(--mn-fill); font-size: 11px; font-weight: 500; line-height: 17px; }
|
|
.providerFields details { min-width: 0; }
|
|
.providerFields summary { width: fit-content; color: var(--mn-muted); cursor: pointer; font-size: 12px; line-height: 18px; }
|
|
.providerFields summary:hover { color: var(--mn-text); }
|
|
.providerEnableRow { display: flex; min-width: 0; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 8px; }
|
|
.providerEnableHint { display: block; margin-top: 8px; color: var(--mn-faint); font-size: 12px; line-height: 18px; }
|
|
.providerEnableRow .providerEnableHint { margin-top: 0; }
|
|
.providerEnableLink { appearance: none; border: 0; border-radius: var(--dsw-radius-xs, 4px); padding: 0; color: var(--dsw-alias-state-business-primary, var(--mn-accent)); background: transparent; font: inherit; font-size: 12px; font-weight: 500; line-height: 18px; cursor: pointer; }
|
|
.providerEnableLink:hover { text-decoration: underline; text-underline-offset: 2px; }
|
|
.providerEnableLink:focus-visible { outline: var(--dsw-focus-ring-width, 2px) solid var(--mn-focus); outline-offset: 2px; }
|
|
.providerAdvancedGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
|
|
.providerFieldControl .providerSecretClear { display: flex; align-items: center; gap: 6px; color: var(--mn-muted); cursor: pointer; font-size: 12px; font-weight: 400; }
|
|
.providerWriteHint { display: block; margin-top: 4px; color: var(--mn-faint); font-size: 12px; line-height: 18px; }
|
|
.placementReceipt { display: flex; min-width: 0; align-items: flex-start; gap: 8px; margin: 8px 0; padding: 8px 10px; border-radius: var(--dsw-radius-sm); color: var(--mn-muted); background: var(--mn-fill); }
|
|
.placementReceipt > span { flex: 0 0 auto; font-size: 12px; }
|
|
.placementReceipt > div { display: grid; min-width: 0; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; }
|
|
.placementReceipt strong,
|
|
.placementReceipt small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.placementReceipt strong { color: var(--mn-text); font-size: 12px; font-weight: 500; line-height: 18px; }
|
|
.placementReceipt small { color: var(--mn-faint); font-size: 11px; line-height: 18px; }
|
|
.placementReceipt p { grid-column: 1 / -1; margin: 0; overflow: hidden; color: var(--mn-faint); font-size: 12px; line-height: 18px; text-overflow: ellipsis; white-space: nowrap; }
|
|
.bodyCard > p { min-height: 18px; margin: 8px 0; color: var(--mn-muted); font-size: 13px; line-height: 20px; }
|
|
.bodyCard footer { display: flex; min-width: 0; flex-wrap: nowrap; gap: 4px 12px; padding-top: 8px; overflow: hidden; border-top: .5px solid var(--mn-line); color: var(--mn-faint); font-size: 12px; line-height: 18px; }
|
|
.bodyFooterBlock { display: block; min-width: 0; flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.bodyFooterGrow { flex: 1 1 auto; }
|
|
|
|
/* Settings sections rendered inside ComponentPage (outside .shell). */
|
|
.smoothChevron { transition: transform 160ms var(--ds-ease-in-out, cubic-bezier(.4, 0, .2, 1)); }
|
|
.embeddingManagedBody { display: flex; min-width: 0; flex-direction: column; gap: 12px; padding-top: 4px; }
|
|
.settingsSection { border-top: .5px solid var(--dsw-alias-border-l2); padding-top: 16px; }
|
|
.settingsPolicy,
|
|
.settingsRecall {
|
|
--mn-layer-1: var(--dsw-alias-bg-layer-1);
|
|
--mn-layer-2: var(--dsw-alias-bg-layer-2);
|
|
--mn-fill: var(--dsw-alias-bg-module-platform);
|
|
--mn-block-fill: var(--dsw-alias-bg-module-platform);
|
|
--mn-input: var(--dsw-alias-bg-layer-3, var(--dsw-alias-bg-layer-1));
|
|
--mn-text: var(--dsw-alias-label-primary);
|
|
--mn-muted: var(--dsw-alias-label-secondary);
|
|
--mn-faint: var(--dsw-alias-label-tertiary);
|
|
--mn-caption: var(--dsw-alias-label-caption);
|
|
--mn-line: var(--dsw-alias-border-l2);
|
|
--mn-line-strong: var(--dsw-alias-border-l3);
|
|
--mn-field-line: var(--dsw-alias-border-l4);
|
|
--mn-card-line: var(--dsw-alias-settings-card-stroke);
|
|
--mn-accent: var(--dsw-alias-state-business-primary);
|
|
--mn-hover: var(--dsw-alias-interactive-bg-hover);
|
|
--mn-pressed: var(--dsw-alias-interactive-bg-active);
|
|
--mn-danger: var(--dsw-alias-state-error-primary);
|
|
--mn-success: var(--dsw-alias-state-success-primary);
|
|
--mn-warn: var(--dsw-alias-state-warn-primary);
|
|
--mn-idle: var(--dsw-alias-state-idle-primary);
|
|
--mn-focus: var(--dsw-focus-ring-color, var(--dsw-alias-state-business-primary));
|
|
}
|
|
.settingsPolicyBody { display: flex; min-width: 0; flex-direction: column; gap: 12px; margin-top: 8px; }
|
|
.settingsPolicyToggle {
|
|
display: flex;
|
|
width: calc(100% + 16px);
|
|
min-width: 0;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
margin: 0 -8px;
|
|
padding: 9px 8px;
|
|
border: 0;
|
|
border-radius: var(--dsw-radius-md, 8px);
|
|
color: var(--dsw-alias-label-primary);
|
|
background: transparent;
|
|
font: inherit;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
transition: background-color 140ms ease;
|
|
}
|
|
.settingsPolicyToggle:hover { background: var(--dsw-alias-interactive-bg-hover); }
|
|
.settingsPolicyToggle:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--dsw-focus-ring-color, var(--dsw-alias-state-business-primary)); }
|
|
.settingsPolicyHeading { display: grid; min-width: 0; gap: 2px; }
|
|
.settingsPolicyHeading strong { font-size: 14px; font-weight: 400; line-height: 22px; }
|
|
.settingsPolicyHeading small { color: var(--dsw-alias-label-tertiary); font-size: 12px; font-weight: 400; line-height: 18px; }
|
|
.settingsPolicyMeta { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; color: var(--dsw-alias-label-tertiary); }
|
|
.settingsProvidersBadge {
|
|
grid-column: 2;
|
|
grid-row: 1;
|
|
align-self: center;
|
|
justify-self: end;
|
|
border: .5px solid var(--dsw-alias-border-l2);
|
|
padding: 1px 8px;
|
|
border-radius: 999px;
|
|
corner-shape: round;
|
|
color: var(--dsw-alias-label-secondary);
|
|
background: var(--dsw-alias-bg-module-platform);
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
line-height: 17px;
|
|
font-variant-numeric: tabular-nums;
|
|
white-space: nowrap;
|
|
}
|
|
.settingsPolicyBadge {
|
|
border: .5px solid var(--dsw-alias-border-l2);
|
|
padding: 1px 8px;
|
|
border-radius: 999px;
|
|
corner-shape: round;
|
|
color: var(--dsw-alias-label-secondary);
|
|
background: var(--dsw-alias-bg-module-platform);
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
line-height: 17px;
|
|
font-variant-numeric: tabular-nums;
|
|
white-space: nowrap;
|
|
}
|
|
.settingsPolicy[data-open] .settingsPolicyToggle .smoothChevron,
|
|
.settingsRecall[data-open] .settingsPolicyToggle .smoothChevron { transform: rotate(180deg); }
|
|
.settingsPolicy .placementPromptField { color: var(--dsw-alias-label-primary); font-size: 13px; line-height: 20px; }
|
|
.settingsPolicy textarea {
|
|
width: 100%;
|
|
min-width: 0;
|
|
box-sizing: border-box;
|
|
border: .5px solid var(--dsw-alias-border-l4);
|
|
border-radius: var(--dsw-radius-md, 8px);
|
|
outline: none;
|
|
padding: 8px 12px;
|
|
color: var(--dsw-alias-label-primary);
|
|
background: var(--dsw-alias-bg-layer-3, var(--dsw-alias-bg-base));
|
|
font: inherit;
|
|
font-size: 13px;
|
|
font-weight: 400;
|
|
line-height: 20px;
|
|
resize: vertical;
|
|
}
|
|
.settingsPolicy textarea::placeholder { color: var(--dsw-alias-label-dimmed); }
|
|
.settingsPolicy textarea:focus-visible { border-color: var(--dsw-alias-state-business-primary); }
|
|
.settingsPolicy textarea:disabled { opacity: .5; }
|
|
.settingsRows { display: flex; min-width: 0; flex-direction: column; }
|
|
.settingsRows > :last-child { border-bottom: 0; }
|
|
.settingsRow {
|
|
display: flex;
|
|
min-width: 0;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px 16px;
|
|
padding: 14px 0;
|
|
border-bottom: .5px solid var(--dsw-alias-border-l2);
|
|
}
|
|
.settingsRowCopy { display: flex; min-width: 0; flex: 1 1 auto; flex-direction: column; gap: 2px; }
|
|
.settingsRowCopy strong,
|
|
.settingsRowCopy label { color: var(--dsw-alias-label-primary); font-size: 14px; font-weight: 400; line-height: 22px; }
|
|
.settingsRowCopy small { color: var(--dsw-alias-label-tertiary); font-size: 12px; line-height: 18px; overflow-wrap: anywhere; }
|
|
.settingsRowControl { display: flex; min-width: 0; flex: 0 0 auto; align-items: center; justify-content: flex-end; gap: 8px; }
|
|
.settingsSelector {
|
|
appearance: none;
|
|
display: inline-flex;
|
|
max-width: 280px;
|
|
height: 36px;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 0 14px;
|
|
border: 0;
|
|
border-radius: var(--dsw-radius-md, 8px);
|
|
color: var(--dsw-alias-label-primary);
|
|
background: var(--dsw-alias-bg-module-platform);
|
|
font: inherit;
|
|
font-size: 14px;
|
|
line-height: 22px;
|
|
white-space: nowrap;
|
|
cursor: pointer;
|
|
transition: background-color 120ms ease, color 120ms ease;
|
|
}
|
|
.settingsSelector > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
|
|
.settingsSelector > svg { flex: none; color: var(--dsw-alias-label-tertiary); }
|
|
.settingsSelector:hover:not(:disabled),
|
|
.settingsSelector[aria-expanded='true'] { background: var(--dsw-alias-interactive-bg-hover); }
|
|
.settingsSelector:active:not(:disabled) { background: var(--dsw-alias-interactive-bg-active); }
|
|
.settingsSelector:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--dsw-focus-ring-color, var(--dsw-alias-state-business-primary)); }
|
|
.settingsSelector:disabled { cursor: default; opacity: .4; }
|
|
.settingsSelectMenu { min-width: 220px; }
|
|
.settingsSelectOption { display: grid; min-width: 0; gap: 1px; white-space: normal; }
|
|
.settingsSelectOption > small { color: var(--dsw-alias-label-tertiary); font-size: 12px; line-height: 18px; overflow-wrap: anywhere; }
|
|
.settingsNumberInput {
|
|
width: 128px;
|
|
height: 34px;
|
|
box-sizing: border-box;
|
|
border: .5px solid var(--dsw-alias-border-l4);
|
|
border-radius: var(--dsw-radius-md, 8px);
|
|
outline: none;
|
|
padding: 0 10px;
|
|
color: var(--dsw-alias-label-primary);
|
|
background: var(--dsw-alias-bg-layer-3, var(--dsw-alias-bg-base));
|
|
font: inherit;
|
|
font-size: 13px;
|
|
line-height: 20px;
|
|
text-align: right;
|
|
font-variant-numeric: tabular-nums;
|
|
transition: border-color 120ms ease;
|
|
}
|
|
.settingsNumberInput:focus-visible { border-color: var(--dsw-alias-state-business-primary); }
|
|
.settingsNumberInput[aria-invalid='true'] { border-color: var(--dsw-alias-state-error-primary); }
|
|
.settingsNumberInput:disabled { cursor: default; opacity: .5; }
|
|
|
|
.graphLayout { display: grid; min-height: 520px; grid-template-columns: minmax(0, 1fr) minmax(240px, 280px); gap: 12px; }
|
|
.graphPanel,
|
|
.graphInspector { border: .5px solid var(--mn-card-line); border-radius: var(--dsw-radius-lg); }
|
|
.graphPanel { position: relative; min-width: 0; overflow: hidden; }
|
|
.graphToolbar,
|
|
.graphFooter { display: flex; min-height: 44px; align-items: center; justify-content: space-between; gap: 16px; padding: 0 14px; color: var(--mn-faint); font-size: 12px; line-height: 18px; }
|
|
.graphToolbar { border-bottom: .5px solid var(--mn-line); }
|
|
.graphToolbar > div:first-child { display: flex; align-items: center; gap: 8px; }
|
|
.graphToolbarRight { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 12px; }
|
|
.graphModeToggle {
|
|
--seg-index: 0;
|
|
position: relative;
|
|
display: inline-grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
align-items: center;
|
|
gap: 2px;
|
|
padding: 3px;
|
|
border-radius: var(--dsw-radius-sm, 6px);
|
|
background: var(--mn-hover);
|
|
}
|
|
.graphModeToggle[data-view="3d"] { --seg-index: 1; }
|
|
.graphModeToggle::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 3px;
|
|
left: 3px;
|
|
width: calc((100% - 8px) / 2);
|
|
height: calc(100% - 6px);
|
|
box-sizing: border-box;
|
|
border: .5px solid var(--mn-line);
|
|
border-radius: var(--dsw-radius-xs, 4px);
|
|
background: var(--mn-layer-1);
|
|
box-shadow: var(--dsw-elevation-soft);
|
|
transform: translateX(calc(var(--seg-index) * (100% + 2px)));
|
|
transition: transform 160ms cubic-bezier(.22, 1, .36, 1);
|
|
pointer-events: none;
|
|
}
|
|
.graphModeToggle button {
|
|
position: relative;
|
|
z-index: 1;
|
|
display: inline-flex;
|
|
min-width: 34px;
|
|
height: 24px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 0;
|
|
border-radius: var(--dsw-radius-xs, 4px);
|
|
padding: 0 9px;
|
|
color: var(--mn-muted);
|
|
background: transparent;
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
line-height: 1;
|
|
cursor: pointer;
|
|
transition: color 140ms ease;
|
|
}
|
|
.graphModeToggle button:hover { color: var(--mn-text); }
|
|
.graphModeToggle button[data-active] { color: var(--mn-text); }
|
|
.graphModeToggle button:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--mn-focus); }
|
|
.graphToolbar small { color: var(--mn-faint); font-variant-numeric: tabular-nums; }
|
|
.liveDot { width: 6px; height: 6px; border-radius: 50%; corner-shape: round; background: var(--mn-success); }
|
|
.graphLegend { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px 12px; }
|
|
.graphLegend span { display: inline-flex; align-items: center; gap: 6px; }
|
|
.graphLegend span::before { width: 14px; height: 2px; border-radius: 2px; content: ""; background: var(--edge-color); }
|
|
.graphLegend [data-edge="temporal"] { --edge-color: color-mix(in srgb, var(--dsw-alias-label-secondary, var(--mn-muted)) 72%, #87909f); }
|
|
.graphLegend [data-edge="scope"] { --edge-color: color-mix(in srgb, var(--dsw-alias-label-secondary, var(--mn-muted)) 78%, #708199); }
|
|
.graphLegend [data-edge="scope"]::before { background: repeating-linear-gradient(90deg, var(--edge-color) 0 4px, transparent 4px 7px); }
|
|
.graphLegend [data-edge="semantic"] { --edge-color: color-mix(in srgb, var(--dsw-alias-state-business-primary, var(--mn-accent)) 82%, #4d7cfe); }
|
|
.graphLegend [data-edge="causal"] { --edge-color: #f07667; }
|
|
.graphLegend [data-edge="entity"] { --edge-color: #25b383; }
|
|
.graphViewport { position: relative; min-height: clamp(390px, 42vw, 560px); overflow: hidden; }
|
|
.graphCanvasControls {
|
|
position: absolute;
|
|
z-index: 2;
|
|
top: 10px;
|
|
right: 10px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 2px;
|
|
padding: 4px;
|
|
border: .5px solid var(--mn-line);
|
|
border-radius: var(--dsw-radius-md);
|
|
background: var(--dsw-specific-menu, var(--mn-layer-2));
|
|
box-shadow: var(--dsw-elevation-soft);
|
|
backdrop-filter: var(--dsw-menu-backdrop-filter);
|
|
}
|
|
.graphCanvasControls span {
|
|
display: inline-flex;
|
|
height: 26px;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 0 8px;
|
|
border-right: .5px solid var(--mn-line);
|
|
margin-right: 2px;
|
|
color: var(--mn-faint);
|
|
font-size: 12px;
|
|
line-height: 1;
|
|
white-space: nowrap;
|
|
}
|
|
.graphCanvasControls span i { width: 6px; height: 6px; border-radius: 50%; corner-shape: round; background: var(--mn-accent); }
|
|
.graphCanvasControls button {
|
|
display: inline-flex;
|
|
min-width: 28px;
|
|
height: 26px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 0;
|
|
border-radius: var(--dsw-radius-sm);
|
|
padding: 0 9px;
|
|
color: var(--mn-muted);
|
|
background: transparent;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
line-height: 1;
|
|
white-space: nowrap;
|
|
cursor: pointer;
|
|
transition: background-color 120ms ease, color 120ms ease;
|
|
}
|
|
.graphCanvasControls button:hover { color: var(--mn-text); background: var(--mn-hover); }
|
|
.graphCanvasControls button[data-active] { color: var(--mn-text); background: var(--mn-fill); }
|
|
.graphCanvasControls button:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--mn-focus); }
|
|
.graphSvg { display: block; width: 100%; height: clamp(390px, 42vw, 560px); touch-action: pan-y pinch-zoom; user-select: none; }
|
|
.graphCanvas { display: block; width: 100%; height: clamp(390px, 42vw, 560px); outline: none; touch-action: none; user-select: none; cursor: grab; }
|
|
.graphCanvas:focus-visible { outline: 2px solid var(--mn-accent); outline-offset: -2px; }
|
|
.graphNodePicker {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
min-width: 0;
|
|
padding: 8px 14px;
|
|
border-top: .5px solid var(--mn-line);
|
|
background: color-mix(in srgb, var(--mn-fill) 38%, transparent);
|
|
color: var(--mn-faint);
|
|
font-size: 12px;
|
|
line-height: 18px;
|
|
}
|
|
.graphNodePicker > span { flex: 0 0 auto; font-weight: 500; white-space: nowrap; }
|
|
.graphNodePicker select {
|
|
appearance: none;
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
max-width: 340px;
|
|
height: 30px;
|
|
padding: 0 30px 0 10px;
|
|
border: .5px solid var(--mn-line-strong);
|
|
border-radius: var(--dsw-radius-sm, 6px);
|
|
color: var(--mn-text);
|
|
background-color: var(--mn-layer-1);
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%2381858C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
|
|
background-repeat: no-repeat;
|
|
background-position: right 10px center;
|
|
background-size: 12px 12px;
|
|
font: inherit;
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
transition: border-color 120ms ease, background-color 120ms ease;
|
|
}
|
|
.graphNodePicker select:hover:not(:disabled) { border-color: var(--mn-field-line); }
|
|
.graphNodePicker select:focus-visible { outline: none; border-color: var(--mn-focus); box-shadow: 0 0 0 2px color-mix(in srgb, var(--mn-focus) 25%, transparent); }
|
|
.graphNodePicker select:disabled { cursor: default; opacity: .5; }
|
|
.graphCanvas[data-hover] { cursor: pointer; }
|
|
.graphCanvas[data-dragging] { cursor: grabbing; }
|
|
.graphBackdrop { fill: var(--dsw-alias-bg-layer-1, var(--mn-layer-1)); }
|
|
.graphGridLine { stroke: var(--dsw-alias-border-l2, var(--mn-line)); stroke-width: .6; opacity: .65; }
|
|
.graphEdge { fill: none; stroke: color-mix(in srgb, var(--dsw-alias-label-secondary, var(--mn-muted)) 72%, #87909f); stroke-width: 1.05; opacity: .44; vector-effect: non-scaling-stroke; }
|
|
.graphEdge[data-edge="scope"] { stroke: color-mix(in srgb, var(--dsw-alias-label-secondary, var(--mn-muted)) 78%, #708199); stroke-dasharray: 4 5; opacity: .4; }
|
|
.graphEdge[data-edge="semantic"] { stroke: color-mix(in srgb, var(--dsw-alias-state-business-primary, var(--mn-accent)) 82%, #4d7cfe); opacity: .6; }
|
|
.graphEdge[data-edge="causal"] { stroke: #f07667; opacity: .64; }
|
|
.graphEdge[data-edge="entity"] { stroke: #25b383; stroke-width: 1.45; opacity: .82; }
|
|
.graphNode { --node: #8290a8; outline: none; cursor: grab; touch-action: none; }
|
|
.graphNode[data-dragging] { cursor: grabbing; }
|
|
.graphNode[data-category="decision"] { --node: #ef8354; }
|
|
.graphNode[data-category="preference"] { --node: #a879e1; }
|
|
.graphNode[data-category="fact"] { --node: #4d7cfe; }
|
|
.graphNode[data-category="insight"] { --node: #19a77d; }
|
|
.graphNode[data-category="context"] { --node: #d8a624; }
|
|
.graphNode[data-kind="space"] { --node: var(--mn-provider-color); }
|
|
.graphNode[data-kind="entity"] { --node: #2b9db9; }
|
|
.nodeHalo { fill: color-mix(in srgb, var(--node) 20%, var(--dsw-alias-bg-layer-1, var(--mn-layer-1))); stroke: color-mix(in srgb, var(--node) 68%, var(--dsw-alias-bg-layer-1, var(--mn-layer-1))); stroke-width: 1.5; transition: r .16s; }
|
|
.nodeCore { fill: var(--node); }
|
|
.nodeLabel { fill: color-mix(in srgb, var(--dsw-alias-label-primary, var(--mn-text)) 78%, var(--dsw-alias-label-secondary, var(--mn-muted))); font: 11px var(--mn-sans); pointer-events: auto; }
|
|
.nodeBodyLabel { fill: var(--dsw-alias-label-secondary, var(--mn-muted)); font: 500 11px var(--mn-sans); pointer-events: auto; }
|
|
.graphSvg[data-density="sparse"] .nodeLabel { font-size: 12px; }
|
|
.graphNode:hover .nodeHalo,
|
|
.graphNode:focus .nodeHalo,
|
|
.graphNode[data-selected] .nodeHalo { fill: color-mix(in srgb, var(--node) 30%, var(--dsw-alias-bg-layer-1, var(--mn-layer-1))); stroke: var(--node); }
|
|
.graphNode[data-selected] .nodeLabel { fill: var(--dsw-alias-label-primary, var(--mn-text)); font-weight: 500; }
|
|
.graphPanel[data-quiet] .graphLegend { display: none; }
|
|
.graphSvg[data-quiet] .graphNode { --node: var(--dsw-alias-label-secondary, var(--mn-muted)); }
|
|
.graphSvg[data-quiet] .graphNode[data-selected] { --node: var(--dsw-alias-state-business-primary, var(--mn-accent)); }
|
|
.graphSvg[data-quiet] .graphNode[data-dimmed] { opacity: .4; }
|
|
.graphSvg[data-quiet] .graphNode:hover,
|
|
.graphSvg[data-quiet] .graphNode:focus { opacity: 1; }
|
|
.graphSvg[data-quiet] .nodeHalo { filter: none; }
|
|
.graphSvg[data-quiet] .graphEdge { stroke: var(--dsw-alias-label-tertiary, var(--mn-faint)); stroke-width: .85; stroke-dasharray: none; opacity: .46; pointer-events: none; }
|
|
.graphSvg[data-quiet] .graphEdge[data-dimmed] { opacity: .2; }
|
|
.graphSvg[data-quiet] .nodeLabel,
|
|
.graphSvg[data-quiet] .nodeBodyLabel { visibility: hidden; pointer-events: none; }
|
|
.graphSvg[data-quiet] .graphNode:hover text,
|
|
.graphSvg[data-quiet] .graphNode:focus text,
|
|
.graphSvg[data-quiet] .graphNode[data-selected] text { visibility: visible; }
|
|
.graphFooter { min-height: 40px; border-top: .5px solid var(--mn-line); color: var(--mn-faint); }
|
|
.graphInspector { min-width: 0; min-height: calc(clamp(390px, 42vw, 560px) + 84px); overflow: hidden; padding: 16px 18px; }
|
|
.inspectorEmpty { display: flex; height: 100%; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
|
|
.inspectorLogo { width: 48px; height: 48px; margin-bottom: 12px; border-radius: var(--dsw-radius-lg); opacity: .72; }
|
|
.inspectorEmpty h3 { margin: 6px 0 2px; font-size: 14px; font-weight: 500; line-height: 22px; }
|
|
.inspectorEmpty p { margin: 0; color: var(--mn-faint); font-size: 12px; line-height: 18px; }
|
|
.inspectorHeading { display: flex; align-items: center; justify-content: space-between; }
|
|
.inspectorHeading button { display: grid; width: 28px; height: 28px; place-items: center; border: 0; border-radius: var(--dsw-radius-sm); color: var(--mn-muted); background: transparent; cursor: pointer; }
|
|
.inspectorHeading button:hover { background: var(--mn-hover); }
|
|
.inspectorChips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 20px; }
|
|
.categoryChip { display: inline-flex; flex-shrink: 0; padding: 1px 8px; border-radius: 999px; corner-shape: round; color: var(--mn-muted); background: var(--mn-fill); font-size: 11px; font-weight: 500; line-height: 17px; white-space: nowrap; }
|
|
.inspectorTitleRow { display: flex; min-width: 0; align-items: flex-start; gap: 8px; margin: 12px 0 20px; }
|
|
.inspectorTitle { display: -webkit-box; min-width: 0; flex: 1; margin: 0; overflow: hidden; font-size: 14px; font-weight: 400; line-height: 22px; overflow-wrap: anywhere; white-space: pre-wrap; -webkit-box-orient: vertical; -webkit-line-clamp: 6; }
|
|
.inspectorEye { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; border: .5px solid var(--mn-line-strong); border-radius: var(--dsw-radius-sm); color: var(--mn-muted); background: transparent; cursor: pointer; transition: color .15s, background-color .15s; }
|
|
.inspectorEye:hover { color: var(--mn-text); background: var(--mn-hover); }
|
|
.inspectorMeta { margin: 0; }
|
|
.inspectorMeta > div { display: grid; gap: 2px; padding: 10px 0; border-top: .5px solid var(--mn-line); }
|
|
.inspectorMeta dt { color: var(--mn-faint); font-size: 12px; line-height: 18px; }
|
|
.inspectorMeta dd { margin: 0; overflow-wrap: anywhere; color: var(--mn-muted); font-size: 13px; line-height: 20px; }
|
|
.inspectorActions { display: grid; gap: 8px; margin-top: 20px; }
|
|
.previewContent { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--mn-text); font-size: 14px; line-height: 22px; }
|
|
|
|
/* Search: a DSH Input-style query field over harmonized 34px controls. */
|
|
.searchBar { margin-bottom: 16px; padding: 14px 16px; border: .5px solid var(--mn-card-line); border-radius: var(--dsw-radius-lg); }
|
|
.queryField { width: 100%; min-height: 34px; height: 34px; border-radius: var(--dsw-radius-md, 8px); }
|
|
.queryField input { min-height: 34px; }
|
|
.searchChoice { display: inline-flex; min-width: 0; align-items: center; gap: 8px; }
|
|
.searchChoice > span { flex: 0 0 auto; color: var(--mn-faint); font-size: 12px; line-height: 18px; white-space: nowrap; }
|
|
.searchChoice button[aria-haspopup='menu'] { min-width: 124px; min-height: 34px; height: 34px; border-radius: var(--dsw-radius-md, 8px); font-size: 13px; line-height: 20px; }
|
|
.searchControls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 12px; padding-top: 12px; }
|
|
.searchFilters { display: flex; min-width: 0; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
|
|
.searchActions { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; margin-left: auto; }
|
|
.searchActions > button { min-height: 34px; height: 34px; border-radius: var(--dsw-radius-md, 8px); }
|
|
.agentAnswer { margin-bottom: 16px; padding: 16px 18px; border: .5px solid var(--mn-card-line); border-radius: var(--dsw-radius-lg); }
|
|
.agentAnswerHeading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
|
|
.agentAnswerHeading span { color: var(--mn-faint); font-size: 12px; font-weight: 500; line-height: 18px; }
|
|
.agentAnswerHeading h3 { margin: 2px 0 0; font-size: 14px; font-weight: 500; line-height: 22px; }
|
|
.agentAnswerHeading > code { color: var(--mn-faint); font-size: 11px; }
|
|
.agentAnswer > p { margin: 12px 0; white-space: pre-wrap; color: var(--mn-text); font-size: 14px; line-height: 22px; }
|
|
.agentCitations { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 10px; border-top: .5px solid var(--mn-line); }
|
|
.agentCitations small { color: var(--mn-faint); font-size: 12px; line-height: 18px; }
|
|
.agentCitations span { max-width: 100%; overflow: hidden; padding: 1px 8px; border-radius: 999px; corner-shape: round; color: var(--mn-muted); background: var(--mn-fill); font-size: 12px; line-height: 18px; text-overflow: ellipsis; white-space: nowrap; }
|
|
.fieldWide { display: grid; gap: 6px; color: var(--mn-muted); font-size: 12px; font-weight: 500; line-height: 18px; }
|
|
.supervisedForm textarea:focus { border-color: var(--mn-accent); }
|
|
.singleColumn { width: 100%; max-width: 980px; margin-inline: auto; }
|
|
.resultLayout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: 16px; align-items: start; }
|
|
.results,
|
|
.relatedPane,
|
|
.entityResults { min-width: 0; }
|
|
.relatedPane { position: sticky; top: 12px; max-height: calc(100vh - 230px); max-height: calc(100dvh - 230px); overflow: auto; padding: 16px 18px; border: .5px solid var(--mn-card-line); border-radius: var(--dsw-radius-lg); scroll-margin-top: 14px; -webkit-overflow-scrolling: touch; }
|
|
.relatedSource { margin: 0 0 12px; padding: 10px 12px; border-radius: var(--dsw-radius-sm); color: var(--mn-muted); background: var(--mn-fill); font-size: 13px; line-height: 20px; }
|
|
|
|
.insightCard { min-width: 0; margin-bottom: 8px; padding: 16px 18px; border: .5px solid var(--mn-card-line); border-radius: var(--dsw-radius-lg); transition: background-color .15s, border-color .15s; }
|
|
.insightCard:hover { background: color-mix(in srgb, var(--mn-hover) 50%, transparent); }
|
|
.cardTop { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
|
|
.badges,
|
|
.tags,
|
|
.entities { display: flex; flex-wrap: wrap; gap: 6px; }
|
|
.badge { flex-shrink: 0; padding: 1px 8px; border-radius: 999px; corner-shape: round; color: var(--mn-muted); background: var(--mn-fill); font-size: 11px; font-weight: 500; line-height: 17px; white-space: nowrap; }
|
|
.id { color: var(--mn-faint); font-size: 11px; }
|
|
.content { margin: 10px 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 22px; }
|
|
.tags { color: var(--mn-accent); font-size: 12px; line-height: 18px; }
|
|
.entities { margin-top: 8px; }
|
|
.entities span { flex-shrink: 0; padding: 1px 8px; border: .5px solid var(--mn-field-line); border-radius: 999px; corner-shape: round; color: var(--mn-faint); font-size: 11px; font-weight: 500; line-height: 17px; white-space: nowrap; }
|
|
.cardActions { display: flex; min-height: 32px; align-items: center; justify-content: flex-end; gap: 4px; margin-top: 10px; border-top: .5px solid var(--mn-line); padding-top: 8px; }
|
|
|
|
.entityLayout { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 16px; align-items: start; }
|
|
.entityRail { position: sticky; top: 0; padding: 14px; border: .5px solid var(--mn-card-line); border-radius: var(--dsw-radius-lg); }
|
|
.entitySearch { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; }
|
|
.entitySearch input { min-width: 0; }
|
|
.entitySearch > button { min-height: 34px; border-radius: var(--dsw-radius-md, 8px); }
|
|
.entityHeading { display: flex; align-items: center; justify-content: space-between; margin: 16px 4px 6px; }
|
|
.entityHeading small { color: var(--mn-faint); font-size: 12px; font-variant-numeric: tabular-nums; }
|
|
.entityList { display: grid; gap: 2px; }
|
|
.entityList button { display: flex; min-height: 32px; align-items: center; justify-content: space-between; gap: 10px; border: 0; border-radius: var(--dsw-radius-sm); padding: 0 10px; color: var(--mn-muted); background: transparent; cursor: pointer; text-align: left; }
|
|
.entityList button:hover,
|
|
.entityList button[aria-pressed="true"] { color: var(--mn-text); background: var(--mn-hover); }
|
|
.entityList button[aria-pressed="true"] { background: var(--mn-fill); }
|
|
.entityList button > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.entityList strong { flex: 0 0 auto; color: var(--mn-faint); font-size: 12px; font-weight: 400; font-variant-numeric: tabular-nums; white-space: nowrap; }
|
|
.entityResults > .emptyState { min-height: 360px; }
|
|
.entitySection { min-width: 0; }
|
|
.entitySection + .entitySection { margin-top: 24px; }
|
|
/* A section keeps its height while it loads, so the one below does not jump. */
|
|
.entitySectionBody { min-height: 116px; }
|
|
.entityQuiet { margin: 0 0 8px; padding: 12px 2px; color: var(--mn-faint); font-size: 13px; line-height: 20px; }
|
|
.entityRetry { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
|
|
.entityRelatedHead { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
|
|
.entityRelatedHead > div:first-child { flex: 1; min-width: 0; }
|
|
.entityRelatedHead > button { flex: none; margin-top: 2px; }
|
|
.insightSkeleton { position: relative; display: grid; min-height: 108px; align-content: start; gap: 12px; overflow: hidden; margin-bottom: 8px; padding: 16px 18px; border: .5px solid var(--mn-card-line); border-radius: var(--dsw-radius-lg); }
|
|
.insightSkeleton > span { display: block; height: 10px; border-radius: 999px; corner-shape: round; background: var(--mn-fill); }
|
|
.insightSkeleton > span:nth-child(1) { width: 36%; }
|
|
.insightSkeleton > span:nth-child(2) { width: 94%; }
|
|
.insightSkeleton > span:nth-child(3) { width: 68%; }
|
|
.entityRailSkeleton { position: relative; display: block; height: 32px; overflow: hidden; border-radius: var(--dsw-radius-sm); background: color-mix(in srgb, var(--mn-fill) 55%, transparent); }
|
|
.insightSkeleton::after,
|
|
.entityRailSkeleton::after { position: absolute; inset: 0; content: ""; background: linear-gradient(105deg, transparent 20%, color-mix(in srgb, var(--mn-text) 5%, transparent) 45%, transparent 70%); transform: translateX(-120%); animation: entity-skeleton-sweep 1.2s ease-in-out infinite; pointer-events: none; }
|
|
@keyframes entity-skeleton-sweep { to { transform: translateX(120%); } }
|
|
.readSourceCard[data-status="loading"] .readSourceSignal { background: var(--mn-idle); }
|
|
|
|
.supervisedComposer { overflow: hidden; border: .5px solid var(--mn-card-line); border-radius: var(--dsw-radius-lg); }
|
|
.supervisedForm { padding: 16px 18px; }
|
|
.candidateHeading { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
|
|
.candidateHeading > label { color: var(--mn-text); font-size: 13px; font-weight: 500; line-height: 20px; }
|
|
.supervisedForm textarea { width: 100%; resize: vertical; border: .5px solid var(--mn-field-line); border-radius: var(--dsw-radius-md); outline: 0; padding: 10px 12px; color: var(--mn-text); background: var(--mn-input); font-size: 14px; line-height: 22px; }
|
|
.sessionHint { margin: 8px 0 0; color: var(--mn-danger); font-size: 12px; line-height: 18px; }
|
|
.fieldWide { grid-column: 1 / -1; }
|
|
.advancedWrite { border-top: .5px solid var(--mn-line); }
|
|
.advancedWrite summary { display: flex; min-height: 56px; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 16px; cursor: pointer; list-style: none; }
|
|
.advancedWrite summary:hover { background: var(--mn-hover); }
|
|
.advancedWrite summary::-webkit-details-marker { display: none; }
|
|
.advancedWrite summary > span:first-child { display: grid; gap: 2px; }
|
|
.advancedWrite summary strong { font-size: 13px; font-weight: 500; line-height: 20px; }
|
|
.advancedWrite summary small { color: var(--mn-faint); font-size: 12px; line-height: 18px; }
|
|
.advancedWriteIndicator { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; color: var(--mn-faint); font-size: 12px; line-height: 18px; }
|
|
.advancedWriteChevron { flex: 0 0 auto; transition: transform 160ms var(--ds-ease-in-out, cubic-bezier(.4, 0, .2, 1)); }
|
|
.advancedWrite[open] summary { border-bottom: .5px solid var(--mn-line); }
|
|
.advancedWrite[open] .advancedWriteToggleText { display: none; }
|
|
.advancedWrite[open] .advancedWriteChevron { transform: rotate(180deg); }
|
|
.manualForm { padding: 4px 16px 16px; }
|
|
.manualActions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; }
|
|
.manualActions p { max-width: 520px; margin: 0; color: var(--mn-faint); font-size: 12px; line-height: 18px; }
|
|
|
|
.listToolbar { display: grid; grid-template-columns: minmax(0, 1fr) 180px auto; align-items: center; gap: 8px; padding: 14px 18px; border: .5px solid var(--mn-card-line); border-radius: var(--dsw-radius-lg); }
|
|
.listToolbar > * { min-width: 0; }
|
|
.listToolbar button[aria-haspopup='menu'] { min-height: 34px; height: 34px; border-radius: var(--dsw-radius-md, 8px); font-size: 13px; line-height: 20px; }
|
|
.listToolbar > button { min-height: 34px; border-radius: var(--dsw-radius-md, 8px); }
|
|
.listNotice { margin: 10px 2px 16px; color: var(--mn-faint); font-size: 12px; line-height: 18px; }
|
|
.listNotice span { margin-right: 8px; padding: 1px 8px; border-radius: 999px; corner-shape: round; color: var(--mn-success); background: color-mix(in srgb, var(--mn-success) 10%, transparent); font-size: 11px; font-weight: 500; line-height: 17px; }
|
|
.memoryList { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-items: start; }
|
|
.memoryList .insightCard { height: 100%; margin: 0; }
|
|
.modalFooterNote { max-width: 54ch; margin: 0 auto 0 0; color: var(--mn-faint); font-size: 12px; line-height: 18px; }
|
|
.metadataDialog { display: grid; gap: 12px; }
|
|
.metadataToolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--mn-faint); font-size: 12px; line-height: 18px; }
|
|
.metadataToolbar > span { display: flex; min-width: 0; align-items: center; gap: 8px; }
|
|
.metadataToolbar em { padding: 1px 8px; border-radius: 999px; corner-shape: round; color: var(--mn-muted); background: var(--mn-fill); font-size: 11px; font-style: normal; font-weight: 500; line-height: 17px; font-variant-numeric: tabular-nums; }
|
|
.metadataList { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
|
|
.metadataEmpty { grid-column: 1 / -1; padding: 20px; border-radius: var(--dsw-radius-md); color: var(--mn-faint); background: var(--mn-fill); font-size: 12px; text-align: center; }
|
|
.metadataList > label { position: relative; display: grid; min-width: 0; min-height: 76px; grid-template-columns: 16px minmax(0, 1fr); align-items: start; gap: 10px; padding: 12px; cursor: pointer; }
|
|
.metadataList > label:hover { background: var(--mn-hover); }
|
|
.metadataList > label[data-selected] { border-color: var(--mn-field-line); background: var(--mn-fill); }
|
|
.metadataList > label[data-refreshing] { overflow: hidden; }
|
|
.metadataList > label[data-refreshing]::after { position: absolute; inset: 0; content: ""; background: linear-gradient(105deg, transparent 20%, color-mix(in srgb, var(--mn-accent) 10%, transparent) 45%, transparent 70%); transform: translateX(-120%); animation: mnemon-metadata-sweep .9s ease-in-out infinite; pointer-events: none; }
|
|
.metadataList > label[data-refreshed] { animation: mnemon-metadata-refreshed .9s ease-out; }
|
|
.metadataList > label[data-failed] { border-color: color-mix(in srgb, var(--mn-danger) 40%, transparent); }
|
|
.metadataList > label > input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
|
|
.metadataList > label > span { display: grid; min-width: 0; gap: 4px; }
|
|
.metadataList strong { overflow: hidden; font-size: 13px; font-weight: 500; line-height: 20px; text-overflow: ellipsis; white-space: nowrap; }
|
|
.metadataList small { display: -webkit-box; overflow: hidden; color: var(--mn-faint); font-size: 12px; line-height: 18px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
|
|
.metadataList > label > span > span { display: flex; min-width: 0; align-items: center; gap: 6px; }
|
|
.metadataList code { overflow: hidden; color: var(--mn-faint); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
|
|
.metadataTaskStatus { min-width: 0; overflow: hidden; font-size: 12px; line-height: 18px; text-overflow: ellipsis; white-space: nowrap; }
|
|
.metadataTaskStatus[data-status='running'] { color: var(--mn-faint); }
|
|
.metadataTaskStatus[data-status='success'] { color: var(--mn-success); }
|
|
.metadataTaskStatus[data-status='error'] { color: var(--mn-danger); }
|
|
|
|
@container mnemon-workbench (max-width: 1020px) {
|
|
.graphLayout { position: relative; display: block; min-height: 380px; }
|
|
.graphInspector { position: static; width: auto; min-height: 0; margin-top: 12px; overflow: visible; box-shadow: none; }
|
|
.graphInspector[data-empty] { display: none; }
|
|
.resultLayout { grid-template-columns: 1fr; }
|
|
.relatedPane { position: static; grid-row: 1; max-height: none; }
|
|
.memoryList { grid-template-columns: 1fr; }
|
|
}
|
|
|
|
@media (max-width: 1020px) {
|
|
.graphLayout { position: relative; display: block; min-height: 380px; }
|
|
.graphInspector { position: static; width: auto; min-height: 0; margin-top: 12px; overflow: visible; box-shadow: none; }
|
|
.graphInspector[data-empty] { display: none; }
|
|
.resultLayout { grid-template-columns: 1fr; }
|
|
.relatedPane { position: static; grid-row: 1; max-height: none; }
|
|
.memoryList { grid-template-columns: 1fr; }
|
|
}
|
|
|
|
@container mnemon-workbench (max-width: 760px) {
|
|
.asyncPlaceholder { min-height: 380px; }
|
|
.entityLayout { grid-template-columns: 1fr; }
|
|
.entityRail { position: static; }
|
|
.searchControls { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
|
|
.searchFilters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
|
|
.searchActions { margin-left: 0; }
|
|
.searchActions > button { flex: 1; }
|
|
.listToolbar { grid-template-columns: 1fr; }
|
|
.bodyDirectoryHeader { display: grid; grid-template-columns: minmax(0, 1fr); }
|
|
.bodyDirectoryHeader > div { min-width: 0; }
|
|
.bodyDirectoryPath { max-width: 100%; }
|
|
.bodyDirectoryControls { flex-wrap: wrap; justify-content: flex-start; }
|
|
.graphViewport { min-height: 360px; }
|
|
.graphSvg,
|
|
.graphCanvas { height: 390px; }
|
|
.graphCanvasControls { right: 8px; top: 8px; }
|
|
.graphCanvasControls span { display: none; }
|
|
}
|
|
|
|
@media (max-width: 760px) {
|
|
.asyncPlaceholder { min-height: 380px; }
|
|
.metadataList { grid-template-columns: 1fr; }
|
|
.modalFooterNote { max-width: none; margin: 0; }
|
|
.modal .supervisedForm textarea { min-height: clamp(130px, 30vh, 210px); }
|
|
.entityLayout { grid-template-columns: 1fr; }
|
|
.manualActions { align-items: stretch; flex-direction: column; }
|
|
.entityRail { position: static; }
|
|
.searchControls { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
|
|
.searchFilters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
|
|
.searchActions { margin-left: 0; }
|
|
.searchActions > button { flex: 1; }
|
|
.listToolbar { grid-template-columns: 1fr; }
|
|
.bodyDirectoryHeader { display: grid; grid-template-columns: minmax(0, 1fr); }
|
|
.bodyDirectoryHeader > div { min-width: 0; }
|
|
.bodyDirectoryPath { max-width: 100%; }
|
|
.bodyDirectoryControls { flex-wrap: wrap; justify-content: flex-start; }
|
|
.createIdentityGrid,
|
|
.placementMode,
|
|
.placementRuleGrid,
|
|
.placementCandidates,
|
|
.providerChoice,
|
|
.providerAdvancedGrid { grid-template-columns: 1fr; }
|
|
.graphViewport { min-height: 360px; }
|
|
.graphSvg,
|
|
.graphCanvas { height: 390px; }
|
|
.graphCanvasControls { right: 8px; top: 8px; }
|
|
.graphCanvasControls span { display: none; }
|
|
}
|
|
|
|
@media (max-width: 520px) {
|
|
.memoryHeaderActions { width: 100%; }
|
|
.memoryHeaderActions > button { flex: 1 1 0; justify-content: center; }
|
|
.bodyDirectoryControls { width: 100%; justify-content: flex-start; }
|
|
.bodyDirectoryControls > strong { margin-right: auto; }
|
|
.syncFreshnessPill:not([data-loading]) { display: none; }
|
|
.cardTop { align-items: flex-start; flex-direction: column; }
|
|
.cardActions { align-items: stretch; flex-wrap: wrap; }
|
|
.cardActions button { flex: 1; }
|
|
.searchFilters { grid-template-columns: 1fr; }
|
|
.settingsNumberInput { width: 96px; }
|
|
.graphNodePicker { flex-wrap: wrap; }
|
|
.graphNodePicker select { max-width: none; width: 100%; }
|
|
}
|
|
|
|
@supports (height: 100dvh) {
|
|
@media (max-width: 760px) {
|
|
.modal .supervisedForm textarea { min-height: clamp(130px, 30dvh, 210px); }
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1020px) and (max-height: 760px) {
|
|
.graphViewport { min-height: 300px; }
|
|
.graphSvg,
|
|
.graphCanvas { height: 300px; }
|
|
}
|
|
|
|
@keyframes inlineExpand {
|
|
from { opacity: 0; translate: 0 -4px; }
|
|
to { opacity: 1; translate: 0 0; }
|
|
}
|
|
|
|
.inlineExpand {
|
|
animation: inlineExpand 160ms var(--dsw-ease-out, cubic-bezier(0.22, 1, 0.36, 1));
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.bodyCard,
|
|
.insightCard,
|
|
.nodeHalo,
|
|
.inspectorEye,
|
|
.choiceControl,
|
|
.placementMode label,
|
|
.providerChoice label,
|
|
.capabilityRules label,
|
|
.placementCandidates > label,
|
|
.smoothChevron,
|
|
.settingsPolicyToggle,
|
|
.settingsNumberInput,
|
|
.graphModeToggle::before,
|
|
.graphModeToggle button,
|
|
.graphCanvasControls button,
|
|
.graphNodePicker select,
|
|
.advancedWriteChevron {
|
|
transition: none;
|
|
}
|
|
.inlineExpand,
|
|
.syncFreshnessSpinner,
|
|
.bodyCard[data-reconnecting] .bodySignal,
|
|
.insightSkeleton::after,
|
|
.entityRailSkeleton::after,
|
|
.metadataList > label[data-refreshing]::after,
|
|
.metadataList > label[data-refreshed] {
|
|
animation: none;
|
|
}
|
|
}
|