/* ==========================================================================
   NovoCircle — docs.css
   Layout and components for the AI Power Tools for Sparx EA documentation
   (/ai-power-tools/sparx-ea/docs/). Loaded only on docs pages, after
   styles.css, and built on its tokens (brand colors, system font stack).
   Markup contract: src/content/ai-power-tools/sparx-ea/docs/_contract/04-*.md §5
   Everything here works with JavaScript off; docs.js only adds profile
   filtering, search and small conveniences.
   ========================================================================== */

.ncd {
	--ncd-maxw: 1480px;
	--ncd-side: 272px;
	--ncd-toc: 232px;
	--ncd-top: 72px;              /* height of whatever is pinned at the top; docs.js updates it */
	--ncd-accent: var(--sky);
	--ncd-who-ai: var(--blue);
	--ncd-who-aipt: #4f8a1b;
	--ncd-who-you: #b86400;
	--ncd-who-engine: #5b4fc4;
	--ncd-who-aicu: #0f7fb0;
	--ncd-no: #b3261e;
	--ncd-no-050: #fdecea;
	--ncd-warn: #8a5a00;
	--ncd-warn-050: #fff6e0;
	background: var(--bg);
}

/* ---------------------------------------------------------------- docs header */
.ncd-header { background: linear-gradient(180deg, #e4f5fd 0%, #f4fbfe 100%); border-bottom: 1px solid var(--line); }
/* Wider screens: the site header scrolls away and the docs bar stays pinned at the top.
   docs.js sets --ncd-top to the bar's height. Phones keep the pinned site header. */
@media (min-width: 901px) {
	.page-docs .nc-header { position: relative; }
	.ncd-header { position: sticky; top: 0; z-index: 90; }
}
@media (min-width: 901px) and (max-width: 1240px) {
	/* keep the bar on one row: the release is also in the footer strip */
	.ncd-header__version { display: none; }
	.ncd-profile__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.ncd-search { width: 220px; }
}
.ncd-header__inner {
	max-width: var(--ncd-maxw); margin: 0 auto; padding: 14px 24px;
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
}
.ncd-header__brand { font-weight: 800; color: var(--ink); font-size: 1.05rem; letter-spacing: -.01em; }
.ncd-header__brand:hover { text-decoration: none; color: var(--blue); }
.ncd-header__docs { color: var(--ncd-accent); }
.ncd-header__version {
	font-size: .78rem; font-weight: 700; color: var(--blue-700); background: #fff;
	border: 1px solid #cfe6f6; border-radius: 999px; padding: 3px 10px;
}
.ncd-header__tools { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }

/* profile selector */
.ncd-profile { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .88rem; }
.ncd-profile__label { font-weight: 650; color: var(--ink-2); }
.ncd-profile__select {
	font: inherit; font-size: .88rem; padding: 7px 30px 7px 12px; border: 1px solid #c9d3df; border-radius: 10px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%233a4452'/%3E%3C/svg%3E") no-repeat right 11px center;
	-webkit-appearance: none; appearance: none; color: var(--ink); max-width: 100%;
}
.ncd-profile__custom { display: flex; flex-wrap: wrap; gap: 4px 12px; border: 0; margin: 0; padding: 0; }
.ncd-profile__custom[hidden] { display: none; }
.ncd-profile__custom label { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-2); }

/* search (Pagefind UI) */
.ncd-search { position: relative; width: 300px; max-width: 100%;
	--pagefind-ui-scale: .74; --pagefind-ui-primary: var(--blue); --pagefind-ui-text: var(--ink);
	--pagefind-ui-background: #fff; --pagefind-ui-border: #c9d3df; --pagefind-ui-tag: var(--sky-050);
	--pagefind-ui-border-width: 1px; --pagefind-ui-border-radius: 10px; --pagefind-ui-font: var(--font); }
.ncd-search[hidden] { display: none; }
.ncd-search .pagefind-ui__drawer {
	position: absolute; right: 0; top: calc(100% + 6px); z-index: 120; width: min(680px, calc(100vw - 32px));
	max-height: min(70vh, 640px); overflow: auto; background: #fff; border: 1px solid var(--line);
	border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px 18px 14px;
}
.ncd-search .pagefind-ui__search-input { font-weight: 500; }
.ncd-search.is-closed .pagefind-ui__drawer { display: none; }
.ncd-search .pagefind-ui__result-title { font-weight: 700; }

/* ---------------------------------------------------------------- shell */
.ncd-shell {
	max-width: var(--ncd-maxw); margin: 0 auto; padding: 0 24px;
	display: grid; grid-template-columns: var(--ncd-side) minmax(0, 1fr); gap: 0 40px; align-items: start;
}
.ncd-menu-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.ncd-menu-button { display: none; }

/* ---------------------------------------------------------------- sidebar */
.ncd-sidebar {
	position: sticky; top: calc(var(--ncd-top) + 1px); max-height: calc(100vh - var(--ncd-top) - 1px);
	overflow-y: auto; overscroll-behavior: contain; padding: 22px 6px 32px 0; border-right: 1px solid var(--line);
	font-size: .9rem; line-height: 1.4;
}
.ncd-nav__list { list-style: none; margin: 0; padding: 0; }
.ncd-nav__list .ncd-nav__list { margin: 2px 0 6px 10px; padding-left: 10px; border-left: 1px solid var(--line); }
.ncd-nav__item { margin: 1px 0; }
.ncd-nav__item--top { margin-bottom: 8px; }
.ncd-nav__link {
	display: block; padding: 5px 10px; border-radius: 8px; color: var(--ink-2);
	transition: background var(--ease), color var(--ease);
}
.ncd-nav__link:hover { background: var(--bg-soft); color: var(--ink); text-decoration: none; }
.ncd-nav__link.is-current { background: var(--sky-050); color: var(--blue-700); font-weight: 700; box-shadow: inset 3px 0 0 var(--ncd-accent); }
.ncd-nav__link--section { font-weight: 750; color: var(--ink); }
.ncd-nav__link--group { font-weight: 650; }
.ncd-nav__link.is-dimmed { opacity: .45; }
.ncd-nav__link.is-dimmed::after { content: " · not on your client"; font-size: .75rem; font-weight: 500; white-space: nowrap; }

.ncd-nav details > summary { list-style: none; display: flex; align-items: center; cursor: pointer; border-radius: 8px; }
.ncd-nav details > summary::-webkit-details-marker { display: none; }
.ncd-nav details > summary::before {
	content: ""; flex: 0 0 auto; width: 7px; height: 7px; margin: 0 2px 0 6px;
	border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
	transform: rotate(-45deg); transition: transform var(--ease);
}
.ncd-nav details[open] > summary::before { transform: rotate(45deg); }
.ncd-nav details > summary > .ncd-nav__link { flex: 1 1 auto; }
.ncd-nav__item--section { margin-top: 4px; }

/* ---------------------------------------------------------------- main column */
.ncd-main { min-width: 0; padding: 22px 0 56px; }
.ncd-main > .nc-breadcrumb { margin-bottom: 14px; }

.ncd-content {
	display: grid; grid-template-columns: minmax(0, 1fr) var(--ncd-toc); gap: 0 44px; align-items: start;
}
.ncd-content > .ncd-toc { grid-column: 2; grid-row: 1; }
.ncd-content > .ncd-article { grid-column: 1; grid-row: 1; }
.ncd-content:not(:has(.ncd-toc)) { grid-template-columns: minmax(0, 1fr); }

/* "applies to" badges */
.ncd-applies { display: grid; gap: 8px; margin: 0 0 22px; padding: 12px 14px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.ncd-applies__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.ncd-applies__label { font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); min-width: 76px; }
.ncd-applies__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ncd-pill {
	display: inline-flex; align-items: baseline; gap: 6px; font-size: .8rem; line-height: 1.3;
	padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2);
}
.ncd-pill__name { font-weight: 700; color: var(--ink); }
.ncd-pill[data-value="full"] .ncd-pill__value, .ncd-pill[data-value="required"] .ncd-pill__value { color: #3d7413; }
.ncd-pill[data-value="ui-by-you"] .ncd-pill__value, .ncd-pill[data-value="improves"] .ncd-pill__value { color: var(--blue-700); }
.ncd-pill[data-value="partial"] .ncd-pill__value, .ncd-pill[data-value="tbc"] .ncd-pill__value { color: var(--ncd-warn); }
.ncd-pill[data-value="no"] .ncd-pill__value { color: var(--ncd-no); }
.ncd-pill.is-mine { border-color: var(--ncd-accent); box-shadow: 0 0 0 2px var(--sky-050); background: var(--sky-050); }
.ncd-pill.is-lacking { border-color: #f0c27a; background: var(--ncd-warn-050); }

/* profile banner */
.ncd-banner { margin: 0 0 20px; padding: 13px 16px; border-radius: var(--radius-sm); border: 1px solid; font-size: .95rem; }
.ncd-banner[hidden] { display: none; }
.ncd-banner strong { display: block; margin-bottom: 2px; }
.ncd-banner p { margin: 0; }
.ncd-banner--no { background: var(--ncd-no-050); border-color: #f2b8b5; color: #5c1612; }
.ncd-banner--tbc, .ncd-banner--partial { background: var(--ncd-warn-050); border-color: #f0d28a; color: #4d3500; }

/* on this page */
.ncd-toc {
	position: sticky; top: calc(var(--ncd-top) + 22px); max-height: calc(100vh - var(--ncd-top) - 44px); overflow-y: auto;
	font-size: .84rem; line-height: 1.4; padding-left: 14px; border-left: 1px solid var(--line);
}
.ncd-toc__title { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.ncd-toc__list { list-style: none; margin: 0; padding: 0; }
.ncd-toc__item { margin: 0 0 6px; }
.ncd-toc__item--l2 { padding-left: 12px; }
.ncd-toc__item--l3 { padding-left: 24px; }
.ncd-toc a { color: var(--ink-2); }
.ncd-toc a:hover, .ncd-toc a.is-active { color: var(--blue); }

/* ---------------------------------------------------------------- article */
.ncd-article { min-width: 0; font-size: 1rem; line-height: 1.68; color: var(--ink); overflow-wrap: break-word; }
.ncd-article h1, .ncd-article h2, .ncd-article h3, .ncd-article h4, .ncd-article h5 { scroll-margin-top: calc(var(--ncd-top) + 16px); }
.ncd-article h1 { font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.45rem); margin: 0 0 18px; line-height: 1.15; }
.ncd-article h2 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.65rem); margin: 2.1em 0 .6em; padding-top: .6em; border-top: 1px solid var(--line); }
.ncd-article h1 + h2 { border-top: 0; padding-top: 0; margin-top: 1em; }
.ncd-article h3 { font-size: 1.2rem; margin: 1.8em 0 .5em; letter-spacing: -.01em; }
.ncd-article h4 { font-size: 1.04rem; margin: 1.5em 0 .4em; letter-spacing: 0; }
.ncd-article h5, .ncd-article h6 { font-size: .98rem; margin: 1.3em 0 .4em; }
.ncd-article p, .ncd-article ul, .ncd-article ol { margin: 0 0 1em; }
.ncd-article ul, .ncd-article ol { padding-left: 1.4em; }
.ncd-article li { margin: .3em 0; }
.ncd-article li > ul, .ncd-article li > ol { margin: .3em 0; }
.ncd-article a { text-decoration: underline; text-decoration-color: rgba(27,117,187,.35); text-underline-offset: 2px; }
.ncd-article a:hover { text-decoration-color: currentColor; }
.ncd-article hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.ncd-article code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; font-size: .86em;
	background: #f1f4f8; border: 1px solid #e3e8ef; border-radius: 5px; padding: .08em .35em; overflow-wrap: anywhere;
}
.ncd-article pre { background: #0e1726; color: #e3eaf3; border-radius: var(--radius-sm); padding: 14px 16px; overflow-x: auto; font-size: .88rem; line-height: 1.5; margin: 0 0 1.2em; }
.ncd-article pre code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; overflow-wrap: normal; }
.ncd-article blockquote { margin: 0 0 1.2em; padding: 12px 16px; border-left: 4px solid var(--line); background: var(--bg-soft); border-radius: 0 10px 10px 0; }

/* call-outs */
.ncd-callout { margin: 0 0 1.3em; padding: 13px 16px 1px; border-radius: 10px; border: 1px solid #cfe2f3; border-left: 4px solid var(--blue); background: var(--blue-050); }
.ncd-callout--important { border-color: #f5d3a6; border-left-color: var(--orange); background: var(--orange-050); }
.ncd-callout--limitation { border-color: #f2c9c6; border-left-color: var(--ncd-no); background: #fdf3f2; }
.ncd-callout > :last-child { margin-bottom: 12px; }

/* tables: horizontally scrollable when wider than the column, never squashed */
.ncd-article table {
	display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
	border-collapse: collapse; margin: 0 0 1.4em; font-size: .9rem; line-height: 1.5;
	border: 1px solid var(--line); border-radius: 10px;
}
.ncd-article th, .ncd-article td { padding: 9px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); min-width: 8em; }
.ncd-article th { background: var(--bg-soft); font-weight: 700; color: var(--ink); white-space: nowrap; }
.ncd-article tbody tr:last-child td { border-bottom: 0; }
.ncd-article tbody tr:nth-child(even) td { background: #fbfcfe; }
.ncd-article td:first-child { min-width: 9em; }
.ncd-article tr[id] td:first-child code { font-weight: 650; }
.ncd-article td:first-child code { white-space: nowrap; overflow-wrap: normal; }   /* keep identifiers whole; the table scrolls */
.ncd-article tr:target td { background: var(--sky-050); }
/* where it runs: the reader's surface */
.ncd-where tr.is-mine td { background: var(--sky-050) !important; }
.ncd-where tr.is-mine td:first-child { box-shadow: inset 4px 0 0 var(--ncd-accent); font-weight: 700; }
.ncd-where tr[data-value="no"] td:first-child::after { content: " ✕"; color: var(--ncd-no); }
/* capability table: "Without it" for capabilities the reader lacks */
.ncd-caps tr.is-lacking td:last-child { background: var(--ncd-warn-050) !important; box-shadow: inset 4px 0 0 var(--orange); font-weight: 600; }

/* step badges: who does the step */
.ncd-who {
	display: inline-block; font-size: .74em; font-weight: 750; line-height: 1.35; letter-spacing: .01em;
	padding: .08em .55em; border-radius: 999px; vertical-align: .08em; white-space: nowrap;
	color: #fff; background: var(--ncd-who-ai);
}
strong > .ncd-who { font-weight: 750; }
.ncd-who[data-who="aipt"] { background: var(--ncd-who-aipt); }
.ncd-who[data-who="you"] { background: var(--ncd-who-you); }
.ncd-who[data-who="engine"] { background: var(--ncd-who-engine); }
.ncd-who[data-who="ai-cu"] { background: linear-gradient(90deg, var(--ncd-who-ai) 0%, var(--ncd-who-you) 100%); white-space: normal; }
.ncd-who[data-who="ai-cu"][data-resolved="ai"] { background: var(--ncd-who-ai); }
.ncd-who[data-who="ai-cu"][data-resolved="you"] { background: var(--ncd-who-you); }
.ncd-who.is-unavailable { background: #fff; color: var(--ncd-no); box-shadow: inset 0 0 0 1.5px var(--ncd-no); text-decoration: line-through; }
.ncd-who__note { font-size: .78em; font-weight: 650; color: var(--ncd-no); margin-left: .35em; }

/* related + previous/next */
.ncd-related { margin: 36px 0 0; padding: 16px 18px; background: var(--bg-soft); border-radius: var(--radius-sm); font-size: .92rem; }
.ncd-related__title { font-weight: 800; margin: 0 0 6px; }
.ncd-related ul { margin: 0; padding-left: 1.2em; }
.ncd-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 44px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.ncd-pager__link {
	display: flex; flex-direction: column; gap: 3px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px;
	transition: border-color var(--ease), box-shadow var(--ease);
}
.ncd-pager__link:hover { text-decoration: none; border-color: var(--ncd-accent); box-shadow: var(--shadow-sm); }
.ncd-pager__link--next { text-align: right; grid-column: 2; }
.ncd-pager__label { font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ncd-pager__title { font-weight: 700; color: var(--ink); }

/* footer strip */
.ncd-footer { background: var(--bg-soft); border-top: 1px solid var(--line); }
.ncd-footer__inner {
	max-width: var(--ncd-maxw); margin: 0 auto; padding: 16px 24px; display: flex; flex-wrap: wrap;
	justify-content: space-between; gap: 8px 24px; font-size: .88rem; color: var(--ink-2);
}
.ncd-footer__inner a { font-weight: 650; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1240px) {
	/* "On this page" moves above the article */
	.ncd-content { grid-template-columns: minmax(0, 1fr); }
	.ncd-content > .ncd-toc, .ncd-content > .ncd-article { grid-column: 1; grid-row: auto; }
	.ncd-toc {
		position: static; max-height: 260px; margin: 0 0 24px; padding: 12px 16px;
		border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
	}
	.ncd-toc__list { columns: 2 220px; column-gap: 28px; }
	.ncd-toc__item { break-inside: avoid; }
}

@media (max-width: 900px) {
	.ncd-shell { grid-template-columns: minmax(0, 1fr); padding: 0 16px; }
	.ncd-header__inner { padding: 12px 16px; }
	.ncd-header__tools { margin-left: 0; width: 100%; }
	.ncd-search { width: 100%; }
	.ncd-menu-button {
		display: inline-flex; align-items: center; gap: 10px; margin: 14px 0 0; padding: 9px 14px;
		border: 1px solid #c9d3df; border-radius: 10px; background: #fff; font-weight: 700; font-size: .92rem; cursor: pointer;
		justify-self: start;
	}
	.ncd-menu-button__icon, .ncd-menu-button__icon::before, .ncd-menu-button__icon::after {
		display: block; width: 16px; height: 2px; background: var(--ink); border-radius: 2px; position: relative;
	}
	.ncd-menu-button__icon::before, .ncd-menu-button__icon::after { content: ""; position: absolute; left: 0; }
	.ncd-menu-button__icon::before { top: -5px; }
	.ncd-menu-button__icon::after { top: 5px; }
	.ncd-menu-toggle:focus-visible + .ncd-menu-button { outline: 3px solid var(--sky); outline-offset: 2px; }
	.ncd-menu-toggle:checked + .ncd-menu-button { background: var(--sky-050); border-color: var(--ncd-accent); }
	.ncd-sidebar {
		display: none; position: static; max-height: none; overflow: visible; border: 1px solid var(--line);
		border-radius: var(--radius-sm); margin: 10px 0 0; padding: 12px 10px; background: #fff; box-shadow: var(--shadow);
	}
	.ncd-menu-toggle:checked ~ .ncd-sidebar { display: block; }
	.ncd-main { padding-top: 16px; }
}

@media (max-width: 560px) {
	.ncd-article { font-size: .98rem; }
	.ncd-pager { grid-template-columns: 1fr; }
	.ncd-pager__link--next { grid-column: 1; }
	.ncd-applies__label { min-width: 0; width: 100%; }
	.ncd-article th { white-space: normal; }
	.ncd-article th, .ncd-article td { min-width: 10.5em; }
	.ncd-footer__inner { padding: 14px 16px; }
}

@media print {
	.ncd-header, .ncd-sidebar, .ncd-menu-button, .ncd-toc, .ncd-pager, .ncd-banner { display: none !important; }
	.ncd-shell { display: block; }
}

/* ---------------------------------------------------------------- "In this section" index (category pages) */
.ncd-index { margin: 6px 0 36px; }
.ncd-article .ncd-index__title {
	font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
	border: 0; padding: 0; margin: 0 0 10px;
}
.ncd-index__wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid #d6e6f2; border-radius: 12px; box-shadow: var(--shadow-sm); }
.ncd-article .ncd-index__table {
	display: table; width: 100%; max-width: none; margin: 0; border: 0; border-radius: 0;
	border-collapse: collapse; font-size: .92rem; line-height: 1.45;
}
.ncd-article .ncd-index__table thead th {
	background: #e4f5fd; color: var(--ink); font-size: .74rem; font-weight: 800; letter-spacing: .06em;
	text-transform: uppercase; padding: 10px 14px; border-bottom: 1px solid #cfe6f6; white-space: nowrap;
}
.ncd-article .ncd-index__table td, .ncd-article .ncd-index__table tbody th { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.ncd-article .ncd-index__table tbody tr:last-child > * { border-bottom: 0; }
.ncd-article .ncd-index__table tbody tr:nth-child(even) td { background: transparent; }
.ncd-article .ncd-index__table tbody th[scope="row"] { min-width: 12em; font-weight: 700; background: none; white-space: normal; }
.ncd-article .ncd-index__table tbody th[scope="row"] a { text-decoration: none; color: var(--blue-700); }
.ncd-article .ncd-index__table tbody th[scope="row"] a:hover { text-decoration: underline; }
.ncd-article .ncd-index__table td:nth-child(2) { min-width: 16em; color: var(--ink-2); }
.ncd-article .ncd-index__table tbody tr:hover > * { background: #f7fbfe; }
/* group rows */
.ncd-article .ncd-index__group th {
	background: var(--bg-soft) !important; padding: 12px 14px 8px; font-weight: 400; color: var(--ink-2);
	border-top: 1px solid #d6e6f2; white-space: normal;
}
.ncd-article .ncd-index__group a { font-weight: 800; color: var(--ink); text-decoration: none; margin-right: 6px; }
.ncd-article .ncd-index__group a:hover { color: var(--blue); }
.ncd-article .ncd-index__group span { font-size: .86rem; }
/* the group row spans the whole table: keep its text inside the visible part when the table scrolls sideways */
.ncd-index__groupin { position: sticky; left: 14px; max-width: min(38rem, calc(100vw - 72px)); }
/* where-it-runs matrix */
.ncd-article .ncd-index__table thead th.ncd-index__surface { text-align: center; min-width: 6.5em; }
.ncd-article .ncd-index__table .ncd-index__cell { text-align: center; white-space: nowrap; min-width: 6.5em; font-size: .8rem; font-weight: 700; vertical-align: middle; }
.ncd-index__cell[data-value="full"] { color: #3d7413; }
.ncd-index__cell[data-value="ui-by-you"] { color: var(--blue-700); }
.ncd-index__cell[data-value="partial"], .ncd-index__cell[data-value="tbc"] { color: var(--ncd-warn); }
.ncd-index__cell[data-value="no"] { color: var(--ncd-no); }
.ncd-article .ncd-index__table .is-mine { background: var(--sky-050) !important; }
.ncd-article .ncd-index__table thead th.is-mine { box-shadow: inset 0 -3px 0 var(--ncd-accent); }
.ncd-article .ncd-index__table tr.is-dimmed > :not(.is-mine) { opacity: .5; }
.ncd-index__legend { font-size: .8rem; color: var(--muted); margin: 10px 2px 0; line-height: 1.5; }
@media (max-width: 560px) {
	.ncd-article .ncd-index__table tbody th[scope="row"] { min-width: 9.5em; }
	.ncd-article .ncd-index__table td:nth-child(2) { min-width: 14em; }
}
