/* Complementos para vistas personalizadas de Filament (sin compilar Tailwind). Tokens de design.md §6.2 */
:root { --ns-ink: #111418; --ns-muted: #5B6470; --ns-paper: #FAFAF7; --ns-surface: #FFFFFF; --ns-line: #E4E4DE; --ns-brand: #1F4FD8; --ns-accent: #E4572E; --ns-positive: #1E8E5A; --ns-neutral: #8A94A0; --ns-negative: #C7372F; --ns-warning: #C98A0B; --ns-serif: "Source Serif 4", Georgia, serif; }
.dark { --ns-ink: #E8EAED; --ns-muted: #9AA3AE; --ns-paper: #0F1216; --ns-surface: #171B21; --ns-line: #262B33; --ns-brand: #6C8CFF; --ns-accent: #FF7A52; --ns-positive: #3DBE82; --ns-negative: #F0625A; --ns-warning: #E6B040; }
.ns-serif { font-family: var(--ns-serif); }
.ns-muted { color: var(--ns-muted); }
.ns-small { font-size: 13px; }
.ns-title { font: 600 18px/1.3 var(--ns-serif); color: var(--ns-ink); margin: 0; }
.ns-title-lg { font: 600 22px/1.25 var(--ns-serif); color: var(--ns-ink); margin: 0; }
.ns-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.ns-grid-2 { display: grid; gap: 16px; grid-template-columns: 1fr; }
.ns-grid-3 { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .ns-grid-2 { grid-template-columns: minmax(320px, 2fr) 3fr; } .ns-grid-3 { grid-template-columns: 1fr 1fr 1fr; } }
.ns-card { background: var(--ns-surface); border: 1px solid var(--ns-line); border-radius: 10px; padding: 16px; }
.ns-list { max-height: calc(100vh - 260px); overflow-y: auto; border: 1px solid var(--ns-line); border-radius: 10px; background: var(--ns-surface); }
.ns-list-item { display: block; width: 100%; text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--ns-line); cursor: pointer; background: transparent; color: var(--ns-ink); }
.ns-list-item:hover { background: color-mix(in srgb, var(--ns-brand) 6%, transparent); }
.ns-list-item.is-active { background: color-mix(in srgb, var(--ns-brand) 12%, transparent); box-shadow: inset 3px 0 0 var(--ns-brand); }
.ns-list-item.is-approved { box-shadow: inset 3px 0 0 var(--ns-positive); }
.ns-list-item.is-rejected { opacity: .55; box-shadow: inset 3px 0 0 var(--ns-negative); }
.ns-exec { border-left: 3px solid var(--ns-brand); background: var(--ns-surface); border-radius: 0 10px 10px 0; padding: 12px 16px; }
.ns-exec ul { margin: 0; padding-left: 18px; list-style: disc; }
.ns-exec li { margin: 4px 0; }
.ns-note { border-left: 3px solid var(--ns-accent); background: color-mix(in srgb, var(--ns-accent) 8%, transparent); padding: 8px 12px; border-radius: 0 6px 6px 0; }
.ns-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--ns-neutral) 16%, transparent); color: var(--ns-muted); }
.ns-tone { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; }
.ns-tone::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.ns-tone.positive { color: var(--ns-positive); } .ns-tone.neutral { color: var(--ns-neutral); } .ns-tone.negative { color: var(--ns-negative); }
.ns-badge { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 1px 6px; border-radius: 4px; color: #fff; }
.ns-badge.critical { background: var(--ns-negative); } .ns-badge.high { background: var(--ns-warning); color: #111; }
.ns-tone-bar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: var(--ns-line); }
.ns-tone-bar span { display: block; height: 100%; }
.ns-body { white-space: pre-line; font-size: 14px; line-height: 1.6; max-height: 360px; overflow-y: auto; padding-right: 8px; }
.ns-kbd { display: inline-block; min-width: 22px; padding: 1px 6px; border: 1px solid var(--ns-line); border-bottom-width: 2px; border-radius: 4px; font: 600 12px ui-monospace, monospace; text-align: center; background: var(--ns-surface); }
.ns-shortcuts { position: sticky; bottom: 0; z-index: 10; background: var(--ns-surface); border-top: 1px solid var(--ns-line); padding: 8px 12px; margin-top: 16px; border-radius: 10px; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; color: var(--ns-muted); }
.ns-status-strip { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 12px 16px; border-radius: 10px; border: 1px solid var(--ns-line); background: var(--ns-surface); }
.ns-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.ns-dot.ok { background: var(--ns-positive); } .ns-dot.warn { background: var(--ns-warning); } .ns-dot.bad { background: var(--ns-negative); }
.ns-bar { height: 8px; background: var(--ns-brand); border-radius: 4px; }
.ns-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ns-table td, .ns-table th { padding: 6px 8px; border-bottom: 1px solid var(--ns-line); text-align: left; vertical-align: top; }
.ns-textarea { width: 100%; min-height: 90px; border: 1px solid var(--ns-line); border-radius: 6px; padding: 8px; background: var(--ns-paper); color: var(--ns-ink); font-size: 14px; }
.ns-link { color: var(--ns-brand); }
.ns-empty { text-align: center; padding: 40px 16px; color: var(--ns-muted); }
