:root {
  --nt-obsidian: #131518;
  --nt-lime: #a8ed42;
  --nt-paper: #f5f5f2;
  --nt-graphite: #343a40;
  --nt-green: #527a22;
  --nt-blue: #3b82f6;
  --nt-amber: #f59e0b;
  --nt-red: #ef4444;
  --nt-link: #2455a4;
}
:root[data-theme="dark"] { --nt-link: #a8c9ff; }
.nt-post { max-width: 48rem; margin-inline: auto; overflow-wrap: anywhere; }
.nt-post > * + * { margin-block-start: 1.5rem; }
.nt-post h2, .nt-post h3 { line-height: 1.25; letter-spacing: -.025em; }
.nt-post a { color: var(--nt-link); }
.nt-post figure { margin-inline: 0; }
.nt-post :is(.nt-summary,.nt-insight,.nt-view,.nt-card) { background: var(--panel); border: 1px solid var(--line); padding: clamp(.85rem, 2vw, 1.4rem); }
.nt-post :is(.nt-summary,.nt-insight) { border-inline-start: .35rem solid var(--nt-green); }
:root[data-theme="dark"] .nt-post :is(.nt-summary,.nt-insight) { border-inline-start-color: var(--nt-lime); }
.nt-post .nt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: .75rem; }
.nt-post .nt-table { overflow-x: auto; }
.nt-post table { width: 100%; border-collapse: collapse; }
.nt-post :is(th, td) { padding: .55rem; border-bottom: 1px solid var(--line); text-align: start; }
.nt-post .nt-circle { display: block; width: 6rem; color: var(--nt-green); }
:root[data-theme="dark"] .nt-post .nt-circle { color: var(--nt-lime); }
.nt-post .nt-timeline { border-inline-start: 2px solid var(--nt-green); padding-inline-start: 2rem; }
.nt-post .nt-timeline li { margin-block: .65rem; }
.nt-post .nt-rating { width: min(100%, 18rem); accent-color: var(--nt-green); }
.nt-post details { padding: .6rem; border-bottom: 1px solid var(--line); }
.nt-post .nt-post-footer { background: transparent; color: var(--text); border-top: 1px solid var(--line); padding-block: .8rem; }
[data-motion~="reveal"] .nt-circle.motion-revealed circle:last-child { animation: nt-ring 650ms ease-out; }
@keyframes nt-ring { from { stroke-dasharray: 0 100; } }
[data-motion~="reveal"] .nt-insight.motion-revealed { animation: nt-insight 480ms ease-out; }
@keyframes nt-insight { from { box-shadow: 0 0 0 .25rem var(--nt-lime); } }
@media (prefers-reduced-motion: reduce) {
  .nt-post *, .nt-post *::before, .nt-post *::after { animation: none !important; }
}
