:root { --nl-side: 260px; --nl-bg: #f4f6fb; --nl-line: #e3e8f0; --nl-ink: #1c2434; }
body { background: var(--nl-bg); color: var(--nl-ink); font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.nl-shell { display: flex; min-height: 100vh; }
.nl-side { width: var(--nl-side); flex: 0 0 var(--nl-side); background: #fff; border-right: 1px solid var(--nl-line); padding: 18px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; }
.nl-brand a { display: block; text-decoration: none; color: var(--nl-ink); margin-bottom: 14px; }
.nl-brand strong { display: block; font-size: 1.05rem; }
.nl-brand small { color: #6b7587; }
.nl-sec { font-size: .72rem; font-weight: 700; letter-spacing: .06em; color: #8a93a5; margin: 16px 8px 6px; }
.nl-link { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: #364152; text-decoration: none; font-size: .94rem; width: 100%; }
.nl-link:hover { background: #f0f3f9; color: #1e5fbf; }
.nl-link.active { background: #e8f0fd; color: #1e5fbf; font-weight: 600; }
.nl-user { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--nl-line); }
.nl-main { flex: 1; min-width: 0; padding: 28px 32px; }
.nl-auth { max-width: 440px; margin: 8vh auto; padding: 0 16px; }
.nl-card { border-radius: 14px; box-shadow: 0 6px 24px rgba(28, 36, 52, .06); }
.card { border-color: var(--nl-line); border-radius: 12px; }
.card-header { border-color: var(--nl-line); }
.nl-stat { height: 100%; }
.nl-ico { width: 44px; height: 44px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem; }
.nl-actions { white-space: nowrap; }
.nl-actions form { display: inline; }
.nl-step { display: inline-flex; width: 24px; height: 24px; border-radius: 50%; background: #e8f0fd; color: #1e5fbf; font-weight: 700; font-size: .8rem; align-items: center; justify-content: center; margin-right: 6px; }
.nl-groups { max-height: 190px; overflow-y: auto; background: #fff; }
.nl-legend li { margin-bottom: 4px; }
.nl-savebar { position: sticky; bottom: 0; background: rgba(244, 246, 251, .95); padding: 12px 0; border-top: 1px solid var(--nl-line); z-index: 5; }
.nl-hours { display: flex; align-items: flex-end; gap: 4px; height: 180px; }
.nl-hour { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; }
.nl-hour span { font-size: .7rem; color: #8a93a5; margin-top: 4px; }
.nl-bar { width: 100%; background: #4d8ae6; border-radius: 4px 4px 0 0; min-height: 2px; }
.nl-foot { color: #8a93a5; font-size: .8rem; margin-top: 32px; }
.table > :not(caption) > * > * { padding-top: .6rem; padding-bottom: .6rem; }
.dropdown-menu form { display: block; }
.dropdown-menu .dropdown-item { border-radius: 6px; }
.jodit-container { border-radius: 8px; }
@media (max-width: 900px) {
  .nl-shell { display: block; }
  .nl-side { position: static; width: auto; height: auto; border-right: 0; border-bottom: 1px solid var(--nl-line); }
  .nl-main { padding: 18px 14px; }
}
