/* NEXORA C22 — FAGOS CMS-inspired workspace refinement (visual-only)
 * Keeps NEXORA identity, authorization, clinical alert semantics, form behavior,
 * and database-backed workflows unchanged.
 * Loaded after nexora-ui.css. No external font or JavaScript dependencies.
 */
body.nx-ui {
  --nx-bg: #f4f6f9;
  --nx-ink: #172e3b;
  --nx-muted: #586d7a;
  --nx-line: #e1e7ed;
  --nx-radius: 13px;
  --nx-shadow: 0 2px 10px rgba(20, 44, 59, .035);
  --nx-sidebar: 248px;
  --nx-work-pad: clamp(16px, 2vw, 30px);
  --canvas: #f4f6f9;
  --surface: #fff;
  --line: #e1e7ed;
  --line-strong: #cbd5df;
  --text: #172e3b;
  --muted: #586d7a;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.58;
  background: var(--nx-bg);
  color: var(--nx-ink);
}
body.nx-ui :where(button, input, textarea, select) { font-family: inherit; }
body.nx-ui :where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--nx-brand, #14675f);
  outline-offset: 2px;
}
/* Balanced work canvas and stable two-column layout. */
.nx-ui .app-shell, .nx-ui .platform-shell {
  display: grid;
  grid-template-columns: var(--nx-sidebar) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  min-width: 0;
}
.nx-ui .main, .nx-ui .platform-main { min-width: 0; width: 100%; max-width: none; }
.nx-ui .main, .nx-ui .platform-main > main {
  padding: 22px var(--nx-work-pad) 42px;
  margin-inline: 0;
  max-width: none;
}
.nx-ui .platform-main { display: flex; flex-direction: column; }
.nx-ui .platform-main > main { flex: 1 0 auto; width: 100%; }
.nx-ui .sidebar, .nx-ui .platform-sidebar {
  padding: 17px 12px 10px;
  background: #fff;
  border-inline-end: 1px solid var(--nx-line);
  box-shadow: none;
  scrollbar-width: thin;
  scrollbar-color: #cfdadf transparent;
  overscroll-behavior: contain;
}
.nx-ui .sidebar .nx-brand, .nx-ui .platform-sidebar .nx-brand {
  margin: 0 0 12px;
  padding: 10px 10px 15px;
  border-bottom: 1px solid #edf1f4;
  gap: 11px;
  min-height: 61px;
}
.nx-ui .nx-brand b { font-size: 19px; letter-spacing: .055em; line-height: 1.1; }
.nx-ui .nx-brand small { font-size: 10px; margin-top: 5px; line-height: 1.35; }
.nx-ui .nx-mark { width: 39px; height: 41px; border-radius: 11px; font-size: 23px; flex-shrink: 0; }
.nx-ui .sidebar nav, .nx-ui .platform-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 2px 12px;
  margin: 0;
  min-height: 0;
}
.nx-ui .nx-nav-caption, .nx-ui .sidebar .nx-nav-caption {
  margin: 17px 9px 6px;
  padding: 0 2px;
  font-size: 10px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0;
  color: #718592;
}
.nx-ui .nx-nav-link, .nx-ui .sidebar nav > a, .nx-ui .platform-sidebar nav > a {
  min-height: 40px;
  border-radius: 9px;
  padding: 7px 10px;
  gap: 9px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: #475f6e;
  transition: background-color .14s ease, color .14s ease, border-color .14s ease;
}
.nx-ui .nx-nav-link > span:nth-child(2) { flex: 1; min-width: 0; }
.nx-ui .nx-nav-link:hover, .nx-ui .sidebar nav > a:hover, .nx-ui .platform-sidebar nav > a:hover {
  color: #145e5d;
  background: #f2f7f6;
  border-color: #edf3f2;
}
.nx-ui .nx-nav-link.selected, .nx-ui .sidebar nav > a.active, .nx-ui .sidebar nav > a.selected,
.nx-ui .platform-sidebar nav > a.selected {
  color: #125650;
  background: #e9f3f1;
  border-color: #daece8;
  font-weight: 800;
  box-shadow: inset -3px 0 #176b73;
}
.nx-ui .nx-nav-symbol {
  display: inline-grid;
  place-items: center;
  height: 27px;
  width: 27px;
  min-width: 27px;
  border-radius: 7px;
  background: #f3f6f8;
  color: #5d7381;
  font-size: 13px;
}
.nx-ui .nx-nav-symbol svg { display: block; width: 16px; height: 16px; stroke: currentColor; }
.nx-ui .nx-nav-link.selected .nx-nav-symbol { background: #d8ebe7; color: #12675e; }
.nx-ui .nx-current-dot { width: 5px; height: 5px; }
.nx-ui .sidebar .nav-more > summary { border-radius: 9px; min-height: 39px; }
.nx-ui .sidebar .nav-system-link { padding: 10px 4px 0; margin-top: 7px; border-top: 1px solid #e8edf0; }
.nx-ui .sidebar .nav-system-link a { min-height: 40px; display: flex; align-items: center; justify-content: space-between; }
.nx-ui .nx-account, .nx-ui .sidebar .v56-user {
  margin-top: auto;
  border-top: 1px solid #e9eff2;
  background: #fff;
  padding: 11px 5px 4px;
  gap: 9px;
  bottom: 0;
}
.nx-ui .nx-avatar { border-radius: 9px; background: #e6f0ee; color: #176b73; }
.nx-ui .nx-account strong { color: var(--nx-ink); font-size: 11px; }
.nx-ui .nx-account small { font-size: 10px; }
.nx-ui .sidebar-note { padding: 11px 12px; margin: 10px 3px; font-size: 11px; }
/* Structured top area, deliberately sticky only on desktop workspaces. */
.nx-ui .topbar.v56-topbar, .nx-ui .platform-header {
  position: sticky;
  top: 0;
  z-index: 18;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  margin: 0 0 18px;
  min-height: 79px;
  border: 1px solid #e6ebef;
  border-radius: 12px;
  background: rgba(255,255,255,.975);
  box-shadow: 0 2px 9px rgba(20,44,59,.035);
  backdrop-filter: blur(10px);
}
.nx-ui .platform-header { margin: 0; border-radius: 0; border-inline: 0; border-top: 0; padding: 15px var(--nx-work-pad); }
.nx-ui .topbar.v56-topbar > div:first-child, .nx-ui .platform-header > div:first-child { min-width: 0; }
.nx-ui .topbar h1, .nx-ui .platform-header h1 {
  margin: 2px 0 0;
  font-size: clamp(20px,1.65vw,24px);
  line-height: 1.35;
  color: #182f3d;
  letter-spacing: -.025em;
  font-weight: 800;
}
.nx-ui .page-context, .nx-ui .platform-header .eyebrow {
  display: block;
  margin: 0 0 3px;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 550;
  color: #687f8d;
  max-width: min(82ch, 100%);
}
.nx-ui .top-actions { display: flex; gap: 7px; align-items: center; justify-content: flex-end; flex-wrap: wrap; width: auto; }
.nx-ui .top-actions > * { flex: 0 0 auto; }
.nx-ui .nx-context-bar { display: flex; align-items: center; gap: 8px; justify-content: space-between; padding: 8px 13px; margin: 0 0 11px; border-radius: 9px; font-size: 11px; background: #eaf3f1; border: 1px solid #dae9e5; }
.nx-ui .nx-context-bar a { font-size: 11px; font-weight: 700; }
/* Readable hierarchy and denser professional cards. */
.nx-ui :where(h1,h2,h3) { text-wrap: pretty; }
.nx-ui .panel, .nx-ui .work-section, .nx-ui .queue-section, .nx-ui .patient-section,
.nx-ui .management-block, .nx-ui .currency-card {
  border: 1px solid var(--nx-line);
  border-radius: 13px;
  background: #fff;
  box-shadow: var(--nx-shadow);
}
.nx-ui .panel, .nx-ui .work-section, .nx-ui .queue-section, .nx-ui .patient-section { padding: 17px 19px; margin-bottom: 15px; }
.nx-ui .management-block { padding: 17px 19px; margin-bottom: 15px; }
.nx-ui .panel-head, .nx-ui .section-heading { margin-bottom: 13px; gap: 10px; }
.nx-ui :where(.panel-head,.section-heading) h2 { font-size: 15px; line-height: 1.45; font-weight: 800; margin: 0; }
.nx-ui .section-heading p, .nx-ui .panel-head p { font-size: 11px; margin-top: 4px; line-height: 1.6; }
.nx-ui .page-head { gap: 10px; margin-bottom: 16px; }
.nx-ui .page-head h2 { font-size: 18px; }
.nx-ui .day-greeting, .nx-ui .welcome, .nx-ui .business-control-hero {
  padding: 18px 20px;
  margin-bottom: 14px;
  border-radius: 13px;
  box-shadow: none;
}
.nx-ui .day-greeting h2, .nx-ui .welcome h2 { font-size: 20px; line-height: 1.45; margin: 4px 0; }
.nx-ui .day-greeting p, .nx-ui .welcome p { font-size: 12px; margin: 5px 0 0; }
.nx-ui .stat-grid, .nx-ui .nx-stats, .nx-ui .management-kpi-grid, .nx-ui .reception-kpi-grid {
  gap: 10px;
  margin-bottom: 14px;
}
.nx-ui .stat, .nx-ui .nx-stat, .nx-ui .management-kpi-grid article {
  padding: 14px 15px;
  border: 1px solid var(--nx-line);
  border-radius: 11px;
  background: #fff;
  box-shadow: none;
  min-width: 0;
}
.nx-ui .stat b, .nx-ui .nx-stat strong, .nx-ui .management-kpi-grid article strong {
  font-size: clamp(21px,2vw,27px);
  line-height: 1.2;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.nx-ui .stat span, .nx-ui .nx-stat span, .nx-ui .management-kpi-grid article span { font-size: 11px; line-height: 1.55; }
.nx-ui .grid-2, .nx-ui .snapshot-grid, .nx-ui .portal-grid { gap: 13px; }
.nx-ui .portal-card { padding: 18px; border-radius: 13px; box-shadow: var(--nx-shadow); }
.nx-ui .portal-card h2 { font-size: 16px; margin-block: 12px 6px; }
.nx-ui .portal-card p { min-height: 0; line-height: 1.65; }
/* Tables have predictable row height and remain scrollable, not clipped, on mobile. */
.nx-ui .table-wrap, .nx-ui .table-scroll {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.nx-ui table { border-collapse: separate; border-spacing: 0; width: 100%; }
.nx-ui :where(th,td) { line-height: 1.5; vertical-align: middle; }
.nx-ui table th { padding: 10px 11px; background: #f7f9fb; color: #566c78; font-size: 11px; font-weight: 750; border-bottom: 1px solid #e2e8ed; }
.nx-ui table td { padding: 10px 11px; font-size: 12px; border-bottom: 1px solid #edf1f3; }
.nx-ui table tbody tr:last-child > td { border-bottom: 0; }
.nx-ui table tbody tr:hover > td { background-color: #fafcfb; }
.nx-ui .table-actions { gap: 6px; flex-wrap: wrap; }
.nx-ui .table-actions a { font-size: 11px; }
.nx-ui .badge, .nx-ui .status-text, .nx-ui .count-badge { font-size: 11px; font-weight: 750; }
.nx-ui .pager { margin-top: 10px; }
/* Forms: Filament-like discipline without changing field names or handlers. */
.nx-ui label { font-size: 11px; font-weight: 750; line-height: 1.55; }
.nx-ui :where(input:not([type='checkbox']):not([type='radio']):not([type='hidden']),select,textarea) {
  border-radius: 8px;
  border-color: #d2dce3;
  background: #fff;
  min-height: 40px;
  font-size: 12px;
  box-shadow: none;
}
.nx-ui textarea { line-height: 1.6; }
.nx-ui :where(input,select,textarea):focus { border-color: #31867e; box-shadow: 0 0 0 3px rgba(23,107,115,.1); }
.nx-ui .btn, .nx-ui .button { min-height: 38px; padding: 8px 13px; border-radius: 8px; font-size: 11.5px; font-weight: 750; gap: 6px; }
.nx-ui .btn.small, .nx-ui .button.small { min-height: 34px; }
.nx-ui .form-grid { gap: 12px; }
.nx-ui .form-actions { padding-top: 14px; gap: 8px; }
.nx-ui .filters, .nx-ui .search-row, .nx-ui .reception-toolbar { gap: 9px; }
.nx-ui .filters > *, .nx-ui .search-row > * { min-width: 0; }
.nx-ui .patient-tabs { gap: 5px; margin-bottom: 12px; }
.nx-ui .patient-tabs a { border-radius: 8px; font-size: 11px; }
/* Important medical warning, allergy, audit, state & permission colors remain unchanged. */
.nx-ui .patient-header { border-radius: 13px; padding: 18px 20px; }
.nx-ui .patient-header h2 { font-size: 21px; }
.nx-ui .safety-strip { border-radius: 10px; }
.nx-ui :where(.helper,.scope-label,.review-note) { font-size: 11px; line-height: 1.65; }
.nx-ui .calm-empty, .nx-ui .empty { padding: 21px 15px; }
.nx-ui .nx-developer-footer { font-size: 10.5px; min-height: 44px; padding: 11px 14px; }
/* Large desktops: keep full workspace useful, without oversized empty gutters. */
@media (min-width: 1500px) {
  body.nx-ui { --nx-work-pad: clamp(26px, 2vw, 40px); }
  .nx-ui .app-shell, .nx-ui .platform-shell { grid-template-columns: 256px minmax(0,1fr); }
}
@media (max-width: 1180px) and (min-width: 901px) {
  body.nx-ui { --nx-sidebar: 224px; --nx-work-pad: 18px; }
  .nx-ui .topbar.v56-topbar { align-items: flex-start; }
}
/* Mobile and tablet: ONE off-canvas navigation system (driven by existing nexora-ui.js). */
@media (max-width: 900px) {
  body.nx-ui { --nx-work-pad: 16px; }
  .nx-ui .app-shell, .nx-ui .platform-shell { display: block !important; min-width: 0; }
  .nx-ui .nx-mobile-bar {
    position: sticky; top: 0; z-index: 70; display: flex !important;
    min-height: 60px; padding: 9px 16px; background: #fff;
    border-bottom: 1px solid #e4e9ee; box-shadow: 0 2px 10px rgba(21,43,54,.035);
  }
  .nx-ui .nx-mobile-bar .nx-brand { margin: 0; border: 0; padding: 0; min-height: 0; }
  .nx-ui .nx-mobile-bar .nx-brand b { font-size: 16px; }
  .nx-ui .nx-mobile-bar .nx-brand small { font-size: 10px; }
  .nx-ui .nx-mobile-bar .nx-mark { width: 34px; height: 36px; font-size: 20px; }
  .nx-ui .nx-menu-button { min-height: 40px; }
  .nx-ui .sidebar.v56-sidebar, .nx-ui .platform-sidebar {
    position: fixed !important; inset-block: 0 !important; inset-inline-start: 0 !important;
    inset-inline-end: auto !important; top: 0 !important;
    width: min(318px, 88vw) !important; height: 100dvh !important;
    max-height: 100dvh !important; display: flex !important;
    flex-direction: column !important; align-items: stretch !important;
    grid-template-columns: none !important;
    padding: 17px 12px 10px !important;
    z-index: 1001; visibility: hidden; transform: translateX(110%);
    transition: transform .18s ease, visibility .18s;
  }
  .nx-ui.nx-menu-open .sidebar.v56-sidebar, .nx-ui.nx-menu-open .platform-sidebar {
    visibility: visible !important; transform: translateX(0) !important;
  }
  .nx-ui .sidebar.v56-sidebar .v56-nav, .nx-ui .sidebar.v56-sidebar .nav,
  .nx-ui .platform-sidebar nav {
    display: flex !important; flex-direction: column !important; flex: 1 1 auto;
    grid-template-columns: none !important; max-height: none !important;
    overflow: auto !important; padding: 0 2px 15px !important; margin: 0 !important;
  }
  .nx-ui .sidebar.v56-sidebar .nx-nav-link { width: 100%; }
  .nx-ui .sidebar.v56-sidebar .nav-system-link { display: block !important; flex-shrink: 0; }
  .nx-ui .sidebar.v56-sidebar .nx-account, .nx-ui .platform-sidebar .nx-account {
    display: flex !important; flex-shrink: 0; margin-top: auto;
    padding: 9px 4px 2px;
  }
  .nx-ui .nx-sidebar-close { display: inline-flex; }
  .nx-ui .nx-backdrop { z-index: 1000; }
  .nx-ui .v56-main, .nx-ui .main, .nx-ui .platform-main > main { padding: 15px var(--nx-work-pad) 32px !important; }
  .nx-ui .topbar.v56-topbar, .nx-ui .platform-header {
    position: static; top: auto; min-height: 0; margin-bottom: 13px;
    padding: 14px 15px; backdrop-filter: none; align-items: flex-start;
  }
  .nx-ui .platform-header { border-inline: 0; border-radius: 0; margin: 0; }
  .nx-ui .topbar.v56-topbar { flex-wrap: wrap; }
  .nx-ui .top-actions { justify-content: flex-start; flex-wrap: wrap; }
  .nx-ui .topbar h1, .nx-ui .platform-header h1 { font-size: 21px; }
  .nx-ui .nx-developer-footer { min-height: 42px; }
}
@media (max-width: 640px) {
  body.nx-ui { --nx-work-pad: 12px; }
  .nx-ui .topbar.v56-topbar, .nx-ui .platform-header { padding: 12px; }
  .nx-ui .topbar.v56-topbar > div:first-child { width: 100%; }
  .nx-ui .top-actions { display: flex; width: 100%; gap: 7px; justify-content: flex-start; }
  .nx-ui .top-actions > * { flex: 1 1 auto; width: auto; max-width: 100%; }
  .nx-ui .panel, .nx-ui .work-section, .nx-ui .queue-section,
  .nx-ui .patient-section, .nx-ui .management-block { padding: 13px 12px; border-radius: 10px; }
  .nx-ui .day-greeting, .nx-ui .welcome { padding: 14px; border-radius: 11px; }
  .nx-ui .stat-grid, .nx-ui .nx-stats, .nx-ui .management-kpi-grid { gap: 8px; }
  .nx-ui .form-grid { gap: 10px; }
  .nx-ui .nx-context-bar { flex-wrap: wrap; }
  .nx-ui :where(input:not([type='checkbox']):not([type='radio']):not([type='hidden']),select,textarea) { font-size: 16px; min-height: 44px; }
  .nx-ui .btn, .nx-ui .button { min-height: 42px; }
  .nx-ui .table-wrap, .nx-ui .table-scroll { width: 100%; }
  .nx-ui .patient-header { padding: 14px; }
  .nx-ui .patient-header h2 { font-size: 18px; }
}
@media print {
  .nx-ui .nx-mobile-bar, .nx-ui .sidebar, .nx-ui .platform-sidebar, .nx-ui .top-actions,
  .nx-ui .nx-developer-footer { display: none !important; }
  .nx-ui .app-shell, .nx-ui .platform-shell { display: block !important; }
  .nx-ui .main, .nx-ui .platform-main > main { padding: 0 !important; }
  .nx-ui .topbar.v56-topbar, .nx-ui .platform-header { position: static; box-shadow: none; }
  .nx-ui .panel, .nx-ui .work-section { box-shadow: none !important; break-inside: avoid; }
}
@media (prefers-reduced-motion: reduce) {
  .nx-ui .sidebar.v56-sidebar, .nx-ui .platform-sidebar, .nx-ui .nx-nav-link { transition: none !important; }
}

/* NEXORA Ops-first UX — stage 02: progressive disclosure, no removed links. */
.nx-ui .nav-more.nx-nav-advanced {
  display: block;
  border-top: 1px solid var(--nx-line, #e1e7ed);
  margin: 11px 3px 3px;
  padding: 8px 0 0;
}
.nx-ui .nav-more.nx-nav-advanced > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--nx-muted, #586d7a);
  font-size: 12px;
  font-weight: 700;
  padding: 9px 10px;
  border-radius: 9px;
}
.nx-ui .nav-more.nx-nav-advanced > summary::-webkit-details-marker { display: none; }
.nx-ui .nav-more.nx-nav-advanced > summary:hover,
.nx-ui .nav-more.nx-nav-advanced[open] > summary { color: #176b73; background: #f2f7f6; }
.nx-ui .nx-nav-chevron { display: inline-block; transition: transform .15s ease; }
.nx-ui .nx-nav-advanced[open] .nx-nav-chevron { transform: rotate(180deg); }
.nx-ui .nav-more.nx-nav-advanced > .nx-nav-advanced-links {
  padding: 5px 0 2px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.nx-ui .nav-more.nx-nav-advanced .nx-nav-link { display: flex; align-items: center; padding: 7px 10px; }
.nx-ui .nx-operations-note {
  font-size: 11px;
  line-height: 1.65;
  color: #5b7280;
  border-inline-start: 3px solid #c9d9d7;
  background: #f6f9f9;
  border-radius: 7px;
  padding: 9px 12px;
  margin: 7px 0 16px;
}


/* C22 operational-first: page-level focused workflows, no permission changes. */
.nx-ui .nx-task-rail{display:flex;align-items:stretch;gap:8px;flex-wrap:wrap;margin:0 0 14px;padding:6px;border:1px solid #dbe7e9;background:#f8fbfb;border-radius:12px}
.nx-ui .nx-task-rail>a{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;flex:1 1 138px;min-width:0;max-width:270px;padding:10px 12px;text-decoration:none;border-radius:9px;background:#fff;color:#18465a;border:1px solid #e1eaec;font-size:13px;font-weight:650;line-height:1.3}
.nx-ui .nx-task-rail>a span{display:inline-block;min-width:25px;text-align:center;font-variant-numeric:tabular-nums;padding:3px 7px;border-radius:99px;color:#176c75;background:#e7f2f2;font-size:11px}
.nx-ui .nx-task-rail>a:hover{border-color:#9dbfc2;background:#f3fafa}
.nx-ui .nx-task-rail>a:focus-visible,.nx-ui .nx-work-actions>summary:focus-visible,.nx-ui .nx-advanced-filters>summary:focus-visible{outline:3px solid #4c99ab;outline-offset:2px}
.nx-ui .nx-work-actions{position:relative;display:inline-block;min-width:0}
.nx-ui .nx-work-actions>summary{display:flex;align-items:center;cursor:pointer;list-style:none;min-height:38px;white-space:nowrap}
.nx-ui .nx-work-actions>summary::-webkit-details-marker{display:none}
.nx-ui .nx-work-actions>summary::after{content:'⌄';padding-inline-start:8px;font-weight:700}
.nx-ui .nx-work-actions[open]>summary::after{content:'⌃'}
.nx-ui .nx-work-actions-popover{position:absolute;z-index:45;inset-inline-end:0;top:calc(100% + 6px);min-width:228px;max-width:min(92vw,310px);padding:6px;background:#fff;box-shadow:0 8px 26px rgba(22,54,62,.13);border:1px solid #d9e5e8;border-radius:12px}
.nx-ui .nx-work-actions-popover a{display:block;text-decoration:none;color:#173f52;padding:10px 12px;border-radius:7px;font-size:12px;font-weight:600;line-height:1.5}
.nx-ui .nx-work-actions-popover a:hover,.nx-ui .nx-work-actions-popover a:focus-visible{background:#ecf5f5}
.nx-ui .nx-advanced-filters>summary{cursor:pointer;list-style:none;color:#225465;font-size:13px;font-weight:700;line-height:1.4;padding:8px 2px}
.nx-ui .nx-advanced-filters>summary::-webkit-details-marker{display:none}
.nx-ui .nx-advanced-filters>summary::before{content:'+';font-size:17px;margin-inline-end:8px}
.nx-ui .nx-advanced-filters[open]>summary::before{content:'−'}
.nx-ui .nx-advanced-filters .reception-filter-form{margin-top:12px}
.nx-ui .nx-filter-active{font-weight:500;font-size:11px;color:#a25819;margin-inline-start:6px}
.nx-ui [id^="reception-"],.nx-ui [id^="finance-"],.nx-ui [id^="manager-"]{scroll-margin-top:18px}
@media (max-width:720px){
 .nx-ui .nx-task-rail{gap:6px;padding:6px}
 .nx-ui .nx-task-rail>a{flex:1 1 45%;max-width:none;padding:10px 9px;font-size:12px}
 .nx-ui .nx-work-actions-popover{position:fixed;inset-inline:12px;top:auto;max-width:none;max-height:55vh;overflow-y:auto}
 .nx-ui .nx-work-actions>summary{white-space:normal}
}

.nx-ui .nx-advanced-fields{display:flex;gap:9px;flex-wrap:wrap;margin:9px 0 3px}
.nx-ui .nx-advanced-fields>label{flex:1 1 150px}
.nx-ui .nx-filter-panel .reception-filter-form{align-items:center}
