/* @novatrix/ui premium 3.3.4 — shared identity, action semantics retained. */
:root, [data-ntx-product] {
  --ntx-bg:#101827;--ntx-surface:#172235;--ntx-raised:#213149;
  --ntx-text:#f2f6fc;--ntx-muted:#b9c8dc;--ntx-border:#465a75;
  --ntx-accent:#9ac2ff;--ntx-primary:#2667cb;--ntx-focus:#9ac2ff;
  --ntx-positive:#81dbac;--ntx-negative:#ffacb6;--ntx-warning:#edcc88;
  --ntx-confirm:#137047;--ntx-destructive:#b42334;
  --bg:var(--ntx-bg);--surface:var(--ntx-surface);--text:var(--ntx-text);--muted:var(--ntx-muted);--line:var(--ntx-border);--border:var(--ntx-border);--accent:var(--ntx-accent);
  --canvas:var(--ntx-bg);--surface-soft:var(--ntx-raised);--ink:var(--ntx-text);--line-strong:var(--ntx-border);--ntx-control-border:var(--ntx-muted);--accent-ink:var(--ntx-accent);--teal:var(--ntx-accent);--mint:var(--ntx-accent);--teal-soft:color-mix(in srgb,var(--ntx-accent) 12%,var(--ntx-surface));
}
html[data-ntx-theme="claro"],html[data-ntx-theme="claro"] [data-ntx-product],.light:not([data-ntx-theme="escuro"]) {
  --ntx-bg:#f4f7fc;--ntx-surface:#fff;--ntx-raised:#eaf0fa;
  --ntx-text:#17253e;--ntx-muted:#4c5f79;--ntx-border:#c4cfdf;
  --ntx-accent:#1856ad;--ntx-primary:#1856ad;--ntx-focus:#1856ad;
  --ntx-positive:#137047;--ntx-negative:#b42334;--ntx-warning:#805619;
}
html[data-ntx-theme="escuro"] img:is(.ntx-product-mark,.product-avatar,.brand__mark,[src*="-premium.png"]){filter:brightness(0) invert(1)}
img:is(.ntx-product-mark,.product-avatar,.brand__mark,[src*="-premium.png"]){object-fit:contain!important;border:0!important;box-shadow:none!important;background:transparent!important;border-radius:0!important;padding:2px}
[data-ntx-action="destructive"]{background:var(--ntx-destructive)!important;border-color:var(--ntx-destructive)!important;color:#fff!important}
[data-ntx-action="confirm"]{background:var(--ntx-confirm)!important;border-color:var(--ntx-confirm)!important;color:#fff!important}
[data-ntx-action]:focus-visible{outline:3px solid var(--ntx-focus);outline-offset:3px}
[data-ntx-action]:disabled{opacity:.55;cursor:not-allowed}
@media(forced-colors:active){[data-ntx-action]{border:1px solid ButtonText!important}img:is(.ntx-product-mark,.product-avatar,.brand__mark,[src*="-premium.png"]){filter:none!important}}

.ntx-shell :is(.ntx-action-danger,button.danger,button[data-danger],.ntx-action-cancel){background:var(--ntx-destructive)!important;border-color:var(--ntx-destructive)!important;color:#fff!important}
.ntx-shell :is(button[type="submit"],.contract-workspace__primary-action,.admin-workspace__button--primary):not([data-ntx-action="destructive"]):not(.danger){background:var(--ntx-confirm)!important;border-color:var(--ntx-confirm)!important;color:#fff!important}

.ntx-shell{--bg:var(--ntx-bg);--surface:var(--ntx-surface);--text:var(--ntx-text);--muted:var(--ntx-muted);--border:var(--ntx-border);--accent:var(--ntx-accent)}
html[data-ntx-theme="escuro"] svg image[href*="premium.png"]{filter:brightness(0) invert(1)}
:root,html[data-ntx-theme="claro"],html[data-ntx-theme="escuro"]{--teal-strong:var(--ntx-primary);--blue:var(--ntx-accent);--blue-soft:color-mix(in srgb,var(--ntx-accent) 10%,var(--ntx-surface));--brand:var(--ntx-primary);--brand-dark:var(--ntx-primary);--focus:var(--ntx-focus)}
.ntx-shell :is(.nav.active,.sidebar nav button.active){color:var(--ntx-accent);background:color-mix(in srgb,var(--ntx-accent) 10%,var(--ntx-surface));border-color:var(--ntx-accent)}

.ntx-shell :is(.ntx-action-primary,button.primary):not([data-ntx-action="destructive"]):not(.danger){background:var(--ntx-confirm)!important;border-color:var(--ntx-confirm)!important;color:#fff!important}

html[data-ntx-theme="claro"],html[data-ntx-theme="escuro"],[data-ntx-product]{--accent-ink:var(--ntx-accent);--mint:var(--ntx-accent);--teal:var(--ntx-accent);--teal-strong:var(--ntx-primary);--teal-soft:color-mix(in srgb,var(--ntx-accent) 12%,var(--ntx-surface));--brand-dark:var(--ntx-primary);--line-strong:var(--ntx-border)}

/* Institutional NTX blue: restrained variants, never separate product color families. */
[data-ntx-product="ATHENA"]{--ntx-accent:#adc9ed;--ntx-primary:#245ba7}
[data-ntx-product="HERMES"]{--ntx-accent:#adc7e2;--ntx-primary:#235b93}
html[data-ntx-theme="claro"] [data-ntx-product="ATHENA"]{--ntx-accent:#245ba7;--ntx-primary:#245ba7}
html[data-ntx-theme="claro"] [data-ntx-product="HERMES"]{--ntx-accent:#235b93;--ntx-primary:#235b93}
.ntx-shell{font-size:1rem;line-height:1.5}
.ntx-shell h1{font-size:clamp(1.75rem,2.4vw,2.25rem);line-height:1.2;letter-spacing:-.025em;font-weight:750}
.ntx-shell h2{font-size:1.375rem;line-height:1.35;font-weight:700}
.ntx-shell h3{font-size:1.125rem;line-height:1.4;font-weight:650}
.ntx-shell :is(label,.ntx-form label){font-size:.9375rem;line-height:1.5;font-weight:600}
.ntx-shell :is(button,.ntx-action,.ntx-tabs a,.ntx-tabs button){font-size:.9375rem;line-height:1.45}
.ntx-shell :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:1rem;line-height:1.5;min-height:44px}
.ntx-shell :is(.secondary,.primary,.ntx-action){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px;border-radius:10px}
.ntx-shell :is(.secondary,.ntx-action:not(.ntx-action-primary)){border:1px solid var(--ntx-control-border);background:var(--ntx-surface)}
.ntx-shell :is(.ntx-table,.tabela-central) table{font-size:.9375rem;line-height:1.5}
.ntx-shell :is(.ntx-table,.tabela-central) :is(td,th){padding:14px 16px;vertical-align:middle}
.ntx-shell :is(.ntx-table,.tabela-central) th{font-size:.875rem;font-weight:650;background:var(--ntx-raised);color:var(--ntx-text);text-align:left}
.ntx-shell :is(.ntx-table,.tabela-central) tbody tr:hover{background:color-mix(in srgb,var(--ntx-accent) 4%,var(--ntx-surface))}
.ntx-shell .ntx-tabs{gap:8px;border-bottom:1px solid var(--ntx-border);padding-bottom:8px;margin-bottom:24px;flex-wrap:wrap}
.ntx-shell .ntx-tabs :is(a,button){min-height:44px;border-radius:8px;padding:10px 16px}
.ntx-shell .ntx-tabs [aria-current="page"]{background:var(--ntx-raised);color:var(--ntx-accent);font-weight:700}
.ntx-shell :is(.ntx-action-cancel,button[type="button"].secondary){color:var(--ntx-text)!important;background:var(--ntx-surface)!important;border-color:var(--ntx-control-border)!important}
.ntx-shell .service .item-product{font-size:.875rem;letter-spacing:.025em}
.ntx-shell .service h3{font-size:1.125rem;margin-block:8px 0}
.ntx-shell .service :is(.status,.open-link){font-size:.9375rem}
.ntx-shell .service .open-link{font-weight:650;min-height:44px;display:inline-flex;align-items:center;gap:8px}
.ntx-shell .service-heading{display:flex;align-items:center;gap:14px;min-width:0}
.ntx-shell .service-symbol{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:color-mix(in srgb,var(--service-accent,var(--ntx-accent)) 10%,var(--ntx-surface));color:var(--service-accent,var(--ntx-accent));flex-shrink:0}
.ntx-shell .service{border-color:var(--ntx-border);padding:20px;gap:16px}
.ntx-shell .service h3 button{font:inherit;text-align:left;padding:0}
.ntx-shell :is(.ntx-topbar,.ntx-breadcrumb,.org){font-size:.9375rem}
.ntx-shell .ntx-topbar{gap:16px}
.ntx-shell .icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;gap:8px}
@media(max-width:780px){.ntx-shell .service{padding:16px}.ntx-shell .service-symbol{width:40px;height:40px}.ntx-shell h1{font-size:1.75rem}}

/* Access is navigation, distinct from confirm and destructive operations. */
.ntx-shell [data-ntx-action="access"]{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px;border-radius:10px;background:#1856ad!important;border:1px solid #1856ad!important;color:#fff!important;text-decoration:none;font-weight:650}
.ntx-shell [data-ntx-action="access"]:hover{background:#12478f!important;border-color:#12478f!important}

/* Match compact-control specificity so essential data stays readable. */
.ntx-shell :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea){font-size:1rem;line-height:1.5}
.ntx-shell select option{font-size:1rem;line-height:1.5}
@supports(appearance:base-select){.ntx-shell select::picker(select){font-size:1rem;line-height:1.5}}

/* Actions remain subordinate to headings; grid layouts must not stretch them. */
.ntx-shell :is(button.primary,button.secondary,a.primary,a.secondary,.ntx-action){width:fit-content;max-width:100%;justify-self:start;font-size:.9375rem;line-height:1.45}

/* Product symbols retain their original shape and use the institutional monochrome. */
html[data-ntx-theme="claro"] img[src*="-premium.png"]{filter:brightness(0) saturate(100%) invert(27%) sepia(62%) saturate(1640%) hue-rotate(189deg) brightness(87%) contrast(91%)}
html[data-ntx-theme="escuro"] img[src*="-premium.png"]{filter:brightness(0) invert(1);opacity:.94}

html[data-ntx-theme="claro"] svg image[href*="premium.png"]{filter:brightness(0) saturate(100%) invert(27%) sepia(62%) saturate(1640%) hue-rotate(189deg) brightness(87%) contrast(91%)}
