
/* 18.10.2026 — Akceptacje: „Do decyzji” + „Zasady”. Kolory wyłącznie z tokenów motywu. */
.nxa-view [hidden]{display:none!important}
#view-approvals.nxa-view>.panel-head>button{display:none!important}
#view-approvals.nxa-view{padding-bottom:150px}
.nxa-ui{display:grid;gap:14px;min-width:0;color:var(--theme-text,var(--text,#111))}
.nxa-tabs{display:flex;gap:6px;flex-wrap:wrap}
.nxa-tabs button{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--theme-line,var(--line,#ddd));background:transparent;color:inherit;border-radius:10px;padding:8px 14px;cursor:pointer;font-weight:600;font-size:14px}
.nxa-tabs button[aria-selected="true"]{background:var(--theme-accent,var(--accent,#222));color:var(--theme-accent-contrast,#fff);border-color:transparent}
.nxa-tabs button:focus-visible,.nxa-seg button:focus-visible,.nxa-filters button:focus-visible,.nxa-later summary:focus-visible{outline:2px solid var(--theme-accent,#222);outline-offset:2px}
.nxa-count{min-width:20px;height:20px;padding:0 6px;border-radius:999px;font-size:11.5px;line-height:20px;text-align:center;background:var(--theme-accent-contrast,#fff);color:var(--theme-accent,#222)}
.nxa-tabs button[aria-selected="false"] .nxa-count{background:var(--theme-accent,#222);color:var(--theme-accent-contrast,#fff)}
.nxa-pane{display:grid;gap:12px;min-width:0}
.nxa-bar{display:flex;align-items:center;justify-content:space-between;gap:10px 16px;flex-wrap:wrap;padding:10px 12px;border-radius:12px;background:var(--theme-surface-2,rgba(127,127,127,.08))}
.nxa-bar p{margin:0;font-size:13.5px;color:var(--theme-text,inherit)}
.nxa-filters{display:inline-flex;flex-wrap:wrap;gap:4px}
.nxa-filters button{border:1px solid transparent;background:transparent;color:var(--theme-muted,#666);border-radius:8px;padding:6px 10px;font-size:13px;cursor:pointer}
.nxa-filters button[aria-pressed="true"]{border-color:var(--theme-line,#ddd);background:var(--theme-surface,#fff);color:var(--theme-text,#111);font-weight:600}
.nxa-history{margin-left:auto}
.nxa-list{display:grid;gap:8px;min-width:0}
.nxa-ico{width:34px;height:34px;flex:0 0 34px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:var(--theme-surface-2,rgba(127,127,127,.1));color:var(--theme-text,#111)}
.nxa-ico svg{width:18px;height:18px}
.nxa-item{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 14px;border:1px solid var(--theme-line,#ddd);border-radius:12px;background:var(--theme-surface,#fff);min-width:0}
.nxa-item-main{min-width:0;display:grid;gap:3px}
.nxa-item-top{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}
.nxa-item-top strong{font-size:14px;line-height:1.35;overflow-wrap:anywhere}
.nxa-item p{margin:0;font-size:13px;line-height:1.45;color:var(--theme-muted,#666);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.nxa-item small{font-size:12px;color:var(--theme-muted,#777);overflow-wrap:anywhere}
.nxa-state{font-size:11.5px;font-weight:600;padding:2px 8px;border-radius:999px;white-space:nowrap;background:var(--theme-surface-3,rgba(127,127,127,.14));color:var(--theme-muted,#555)}
.nxa-state-wait{background:var(--theme-accent-soft,rgba(127,127,127,.16));color:var(--theme-text,#111)}
.nxa-state-warn{background:color-mix(in srgb,#d97706 18%,var(--theme-surface,#fff));color:var(--theme-text,#111)}
.nxa-state-ok{background:color-mix(in srgb,#16a34a 16%,var(--theme-surface,#fff));color:var(--theme-text,#111)}
.nxa-item-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.nxa-item-actions button{font-size:13px;padding:7px 12px;white-space:nowrap}
.nxa-empty{padding:28px 16px;text-align:center;font-size:13.5px;color:var(--theme-muted,#666);border:1px dashed var(--theme-line,#ddd);border-radius:12px}
.nxa-more{margin:4px 0 0;font-size:12.5px;color:var(--theme-muted,#666);text-align:center}
.nxa-all{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.nxa-all>span{font-size:13px;color:var(--theme-muted,#666)}
.nxa-note{margin:0;font-size:13px;color:var(--theme-muted,#666)}
.nxa-group{border:1px solid var(--theme-line,#ddd);border-radius:12px;background:var(--theme-surface,#fff);padding:4px 14px;margin-bottom:12px}
.nxa-group:last-child{margin-bottom:0}
.nxa-group h4{margin:10px 0 2px;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--theme-muted,#666)}
.nxa-rule{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 0;border-top:1px solid var(--theme-line,#e5e5e5);min-width:0}
.nxa-group h4+.nxa-rule{border-top:0}
.nxa-rule-copy{display:grid;gap:2px;min-width:0}
.nxa-rule-copy strong{font-size:14px}
.nxa-rule-copy span{font-size:13px;line-height:1.4;color:var(--theme-muted,#666)}
.nxa-warn{font-style:normal;font-size:12px;font-weight:600;color:var(--theme-text,#111);background:color-mix(in srgb,#d97706 18%,transparent);border-radius:6px;padding:1px 6px;justify-self:start;margin-top:3px}
.nxa-seg{display:inline-flex;border:1px solid var(--theme-line,#ddd);border-radius:10px;overflow:hidden;background:var(--theme-input,transparent)}
.nxa-seg button{border:0;border-radius:0;background:transparent;color:var(--theme-muted,#666);font-size:13px;padding:7px 12px;min-height:34px;white-space:nowrap;cursor:pointer;box-shadow:none}
.nxa-seg button+button{border-left:1px solid var(--theme-line,#ddd)}
.nxa-seg button:not(:disabled):hover{background:var(--theme-hover,rgba(127,127,127,.1));color:var(--theme-text,#111)}
.nxa-seg button:disabled{cursor:not-allowed;opacity:.6}
.nxa-seg .nxa-m-auto[aria-pressed="true"]{background:var(--theme-accent,#222);color:var(--theme-accent-contrast,#fff);font-weight:600;opacity:1}
.nxa-seg .nxa-m-approval[aria-pressed="true"]{background:var(--theme-surface-3,rgba(127,127,127,.18));color:var(--theme-text,#111);font-weight:600;opacity:1}
.nxa-seg .nxa-m-blocked[aria-pressed="true"]{background:color-mix(in srgb,#dc2626 20%,var(--theme-surface,#fff));color:var(--theme-text,#111);font-weight:600;opacity:1}
.nxa-later{border:1px dashed var(--theme-line,#ddd);border-radius:12px;padding:0 14px}
.nxa-later summary{display:flex;align-items:center;gap:12px;padding:12px 0;cursor:pointer;list-style:none}
.nxa-later summary::-webkit-details-marker{display:none}
.nxa-later summary::after{content:'';margin-left:auto;width:8px;height:8px;border-right:1.6px solid var(--theme-muted,#666);border-bottom:1.6px solid var(--theme-muted,#666);transform:rotate(45deg);transition:transform .15s}
.nxa-later[open] summary::after{transform:rotate(-135deg)}
.nxa-later summary>span:nth-child(2){display:grid;gap:2px;min-width:0}
.nxa-later summary strong{font-size:14px}
.nxa-later summary small{font-size:12.5px;line-height:1.4;color:var(--theme-muted,#666)}
.nxa-later .nxa-ico{color:var(--theme-muted,#666)}
.nxa-later ul{list-style:none;margin:0 0 12px;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px 18px}
.nxa-later li{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;align-items:center;color:var(--theme-muted,#666)}
.nxa-later li div{display:grid;gap:1px;min-width:0}
.nxa-later li strong{font-size:13px;color:var(--theme-text,#111);font-weight:600}
.nxa-later li span{font-size:12px;line-height:1.35}
@media (max-width:720px){
 .nxa-bar{flex-direction:column;align-items:stretch}
 .nxa-history{margin-left:0}
 .nxa-item{grid-template-columns:34px minmax(0,1fr)}
 .nxa-item-actions{grid-column:1/-1;justify-content:flex-start}
 .nxa-rule{grid-template-columns:34px minmax(0,1fr)}
 .nxa-rule .nxa-seg,.nxa-all .nxa-seg{grid-column:1/-1;display:flex;width:100%}
 .nxa-seg button{flex:1 1 0;padding:8px 6px;white-space:normal;line-height:1.2}
 .nxa-later ul{grid-template-columns:1fr}
}

