/* Плотность портала. Палитра, шрифты и таблицы — нативные токены ReUI из @authportal/ui/globals.css. */ /* Ячейки таблиц как в MikrotikManager: py-3, поля первой и последней колонки pl-5 / pr-4. */ html [data-slot='data-grid-table'] :is(th, td) { padding-block: 0.75rem; } html [data-slot='data-grid-table'] :is(th, td):first-child { padding-inline-start: 1.25rem; } html [data-slot='data-grid-table'] :is(th, td):last-child { padding-inline-end: 1rem; } html[data-density='compact'] [data-slot='data-grid-table'] :is(th, td) { padding-block: 0.25rem; } html[data-density='compact'] [data-slot='sidebar-inset'] > div:last-child { gap: 0.75rem; } /* Видимый фокус и reduced motion — как в макете MikrotikManager v2. */ html [data-slot='sidebar-wrapper'] :focus-visible, html #main-content :focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; } @media (prefers-reduced-motion: reduce) { html #main-content *, html [data-slot='sidebar-wrapper'] * { animation: none !important; transition: none !important; } }