@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');
/* WorkHub · InvenTree 1.5.2 · wspólny system dla wszystkich widoków */
:root {
  --wh-ink:#1c2b37; --wh-muted:#687c8b; --wh-accent:#c96f25; --wh-line:#dce5e9;
  --mantine-font-family:'DM Sans','Segoe UI',Arial,sans-serif !important;
  --mantine-font-family-headings:'Manrope','Segoe UI',Arial,sans-serif !important;
  --mantine-radius-default:8px !important;
  --mantine-primary-color-filled:#c96f25 !important;
  --mantine-primary-color-filled-hover:#ad561a !important;
  --mantine-primary-color-light:#f8ebdd !important;
  --mantine-primary-color-light-hover:#f3ddc5 !important;
  --mantine-primary-color-light-color:#9e511b !important;
  --mantine-primary-color-contrast:#fff !important;
  --mantine-color-indigo-0:#fff6eb !important; --mantine-color-indigo-1:#ffecd5 !important;
  --mantine-color-indigo-2:#fbd5ad !important; --mantine-color-indigo-3:#f5ba7b !important;
  --mantine-color-indigo-4:#eca154 !important; --mantine-color-indigo-5:#df8739 !important;
  --mantine-color-indigo-6:#c96f25 !important; --mantine-color-indigo-7:#ad561a !important;
  --mantine-color-indigo-8:#874114 !important; --mantine-color-indigo-9:#612e0f !important;
  --mantine-color-indigo-filled:#c96f25 !important; --mantine-color-indigo-filled-hover:#ad561a !important;
  --mantine-color-indigo-light:#f8ebdd !important; --mantine-color-indigo-light-hover:#f3ddc5 !important;
  --mantine-color-indigo-light-color:#9e511b !important;
}
:root,[data-mantine-color-scheme='light'] {
  --mantine-color-body:#f3f6f7 !important; --mantine-color-text:#1c2b37 !important;
  --mantine-color-default:#fff !important; --mantine-color-default-border:#dce5e9 !important;
  --mantine-color-gray-0:#fafcfc !important; --mantine-color-gray-1:#f0f4f6 !important;
  --mantine-color-gray-2:#e1e8ec !important; --mantine-color-gray-3:#ccd8df !important;
  --mantine-color-anchor:#a75a20 !important;
}
[data-mantine-color-scheme='dark'] {
  --wh-ink:#edf3f6; --wh-muted:#a2b6c4; --wh-line:#354955;
  --mantine-color-body:#111e28 !important; --mantine-color-text:#edf3f6 !important;
  --mantine-color-default:#1b2c38 !important; --mantine-color-default-border:#354955 !important;
  --mantine-primary-color-filled:#e59649 !important; --mantine-primary-color-filled-hover:#f1ac69 !important;
  --mantine-primary-color-light:#3c2d23 !important; --mantine-primary-color-light-color:#f4b777 !important;
  --mantine-color-indigo-light:#3c2d23 !important; --mantine-color-indigo-light-color:#f4b777 !important;
  --mantine-color-anchor:#f4b777 !important;
}
html { color-scheme:light; } html[data-mantine-color-scheme='dark'] { color-scheme:dark; }
body { letter-spacing:.005em; }
body.workhub-app { background-image:radial-gradient(ellipse at 8% 0%,#e9eef0 0,transparent 55%); }
[data-mantine-color-scheme='dark'] body.workhub-app { background-image:radial-gradient(ellipse at 8% 0%,#1a2c37 0,transparent 55%); }
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible { outline:2px solid #dc8b41; outline-offset:3px; }
.mantine-Title-root { font-family:var(--mantine-font-family-headings); letter-spacing:-.035em; }
.mantine-Text-root { line-height:1.5; }
body.workhub-app .mantine-Text-root[data-variant='gradient'] {
  background:none !important; color:var(--wh-ink) !important; -webkit-text-fill-color:currentColor !important;
  font-family:var(--mantine-font-family-headings); font-weight:800; letter-spacing:-.025em;
}
/* Główna nawigacja i wszystkie moduły */
body.workhub-app ._1jb1pko0 {
  background:linear-gradient(115deg,#10212d,#213541 78%,#2a3b47) !important;
  border-bottom:1px solid #f2ae6340 !important; box-shadow:0 5px 22px #10243121;
  padding:8px 0 0; margin-bottom:22px;
}
body.workhub-app ._1jb1pko2 { padding:0 20px 10px; }
body.workhub-app ._1jb1pko2 > .mantine-Group-root { flex-wrap:nowrap; gap:20px; }
body.workhub-app ._1jb1pko2 .mantine-Group-root { gap:10px; }
body.workhub-app ._1jb1pko2 .mantine-ActionIcon-root { color:#dce8ef !important; }
body.workhub-app ._1jb1pko2 .mantine-ActionIcon-root:hover { background:#ffffff16 !important; color:#fff !important; }
body.workhub-app ._1jb1pko2 .mantine-Text-root { color:#dce8ef; }
body.workhub-app ._1jb1pko2 .mantine-Tabs-list { border:0; gap:3px; }
body.workhub-app ._1jb1pko2 .mantine-Tabs-tab { color:#b8cad5 !important; border:0 !important; border-radius:8px; padding:12px 15px; font-size:14px; }
body.workhub-app ._1jb1pko2 .mantine-Tabs-tab:hover { background:#ffffff12 !important; color:#fff !important; }
body.workhub-app ._1jb1pko2 .mantine-Tabs-tab[data-active] { background:linear-gradient(#fac17b,#e59a4a) !important; color:#24323b !important; box-shadow:0 4px 12px #07121944,inset 0 1px 0 #fff5; }
body.workhub-app ._1jb1pko2 .mantine-Tabs-tab a { color:inherit !important; font-weight:700; }
body.workhub-app ._1jb1pko2 img[alt='InvenTree Logo'] { width:142px; max-width:142px; height:39px; object-fit:contain; }
body.workhub-app ._1jb1pko0 .mantine-Alert-root { border-radius:8px; }
body.workhub-app ._1jb1pko0 .mantine-Alert-root .mantine-Text-root { color:var(--mantine-color-text) !important; }
body.workhub-app ._1jb1pko0 .mantine-Alert-root a { color:var(--mantine-color-anchor) !important; }
body.workhub-app ._1jb1pko0 .mantine-Alert-title { font-size:12px; }
body.workhub-app ._1jb1pko0 .mantine-Alert-message { font-size:12px; }
/* Karty, widoki szczegółów i pulpity */
body.workhub-app .mantine-Paper-root,body.workhub-app .mantine-Card-root {
  border-color:var(--wh-line); border-radius:12px; box-shadow:0 6px 22px #132a3809,inset 0 1px 0 #ffffff18;
}
body.workhub-app .mantine-Card-root { background:var(--mantine-color-default); }
body.workhub-app .mantine-Tabs-list { border-color:var(--wh-line); gap:3px; }
body.workhub-app .mantine-Tabs-tab[data-active] { color:var(--mantine-primary-color-light-color); border-color:#ce7c36; font-weight:700; }
body.workhub-app .mantine-Tabs-tab { border-radius:7px 7px 0 0; }
.mantine-Badge-root { border-radius:6px; font-weight:700; letter-spacing:.02em; }
.mantine-Alert-root { border-radius:10px; }
.mantine-Divider-root { border-color:var(--wh-line); }
.mantine-Accordion-item { border-color:var(--wh-line); }
.mantine-Accordion-control { border-radius:8px; font-weight:600; }
/* Operacje, formularze, dialogi i menu */
.mantine-Button-root { border-radius:8px; font-weight:700; letter-spacing:.01em; transition:box-shadow .15s,background .15s; }
.mantine-Button-root[data-variant='filled']:not([data-disabled]) { box-shadow:0 3px 8px #172c3518,inset 0 1px 0 #ffffff26; }
.mantine-ActionIcon-root { border-radius:7px; }
.mantine-Input-input,.mantine-Select-input,.mantine-Textarea-input { border-radius:8px; border-color:var(--wh-line); }
.mantine-Input-input:focus,.mantine-Select-input:focus,.mantine-Textarea-input:focus { border-color:#d98c45; box-shadow:0 0 0 3px #e9944022; }
.mantine-Input-label { font-weight:700; }
.mantine-Input-description { color:var(--wh-muted); }
.mantine-Modal-content,.mantine-Drawer-content,.mantine-Popover-dropdown,.mantine-Menu-dropdown { border-radius:12px; border:1px solid var(--wh-line); }
.mantine-Modal-header,.mantine-Drawer-header { border-bottom:1px solid var(--wh-line); }
.mantine-Modal-title,.mantine-Drawer-title { font-family:var(--mantine-font-family-headings); font-weight:800; }
.mantine-Menu-item { border-radius:7px; padding:10px 12px; }
.mantine-Menu-label { color:var(--wh-muted); letter-spacing:.05em; font-weight:700; }
/* Dane operacyjne: czytelne liczby, spokojne nagłówki, zachowane statusy */
.mantine-Table-table,.mantine-datatable-table { font-variant-numeric:tabular-nums; }
.mantine-Table-th,.mantine-datatable-header th {
  background:#eef3f5; color:#506674; font-size:12px; font-weight:800; letter-spacing:.025em;
  border-color:var(--wh-line); padding-top:12px; padding-bottom:12px;
}
[data-mantine-color-scheme='dark'] .mantine-Table-th,[data-mantine-color-scheme='dark'] .mantine-datatable-header th { background:#243945; color:#c2d2dc; }
.mantine-Table-tr:hover,.mantine-datatable-table tbody tr:hover { background:#fbf4eb; }
[data-mantine-color-scheme='dark'] .mantine-Table-tr:hover,[data-mantine-color-scheme='dark'] .mantine-datatable-table tbody tr:hover { background:#2d3c46; }
.mantine-Table-td,.mantine-datatable-table td { border-color:var(--wh-line); }
.mantine-datatable-empty-state { color:var(--wh-muted); }
.mantine-Pagination-control { border-radius:7px; }
.mantine-Pagination-control[data-active] { background:#c96f25; border-color:#c96f25; }
/* Wysuwane panele pozostają jasne: formularze, wyszukiwanie, import i podgląd */
body.workhub-app .mantine-Drawer-content { background:var(--mantine-color-body); color:var(--wh-ink); }
body.workhub-app .mantine-Drawer-content .mantine-NavLink-root { color:var(--wh-ink); border-radius:8px; }
body.workhub-app .mantine-Drawer-content .mantine-NavLink-root[data-active] { background:var(--mantine-primary-color-light); color:var(--mantine-primary-color-light-color); }
body.workhub-app .mantine-Drawer-content img[alt='InvenTree Logo'] { width:172px; height:47px; object-fit:contain; background:#1b2d39; padding:4px 8px; border-radius:8px; }
/* Pulpit bez fikcyjnych danych */
.workhub-welcome { display:flex; justify-content:space-between; align-items:center; gap:24px; padding:26px 30px; margin:0 0 20px; border:1px solid #d9e3e8; border-left:4px solid #dd8c42; border-radius:12px; background:linear-gradient(110deg,#fff,#f7f9fa); box-shadow:0 8px 26px #1c35450a; }
.workhub-welcome small { display:block; color:#a3602c; font-size:10px; font-weight:800; letter-spacing:.2em; margin-bottom:7px; }
.workhub-welcome h1 { color:var(--wh-ink); font:800 26px var(--mantine-font-family-headings); letter-spacing:-.04em; margin:0 0 5px; }
.workhub-welcome p { color:var(--wh-muted); margin:0; font-size:14px; }
.workhub-shortcuts { display:flex; gap:8px; flex-wrap:wrap; }
.workhub-shortcuts a { color:#465f70; text-decoration:none; font-size:13px; font-weight:700; border:1px solid #d9e4e9; background:#fff; padding:10px 14px; border-radius:8px; box-shadow:0 2px 4px #172a3705; }
.workhub-shortcuts a:hover { border-color:#dda36f; color:#9f571f; background:#fff8ee; }
[data-mantine-color-scheme='dark'] .workhub-welcome { background:linear-gradient(110deg,#203440,#182b37); border-color:#38505e; border-left-color:#dd8c42; }
[data-mantine-color-scheme='dark'] .workhub-shortcuts a { background:#263c49; color:#d0dee6; border-color:#405968; }
.workhub-footer { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:auto; padding:16px 24px; border-top:1px solid var(--wh-line); }
.workhub-footer > span { font-size:11px; color:var(--wh-muted); letter-spacing:.025em; }
.workhub-stamp { display:flex; align-items:center; gap:10px; color:#f1f7fa; text-decoration:none; padding:7px 11px; border-radius:6px; background:linear-gradient(155deg,#263c49,#132631); border:1px solid #46606e; box-shadow:inset 0 1px 0 #ffffff29,0 3px 6px #11243015; }
.workhub-stamp b { font-size:10px; letter-spacing:.1em; }
.workhub-stamp i { display:block; font-style:normal; color:#ebba80; font-size:8px; letter-spacing:.1em; }
.workhub-stamp em { font:800 22px var(--mantine-font-family-headings); color:#f5b56c; border-right:1px solid #ffffff25; padding-right:10px; font-style:normal; }
/* Logowanie, odzyskiwanie dostępu, MFA i rejestracja */
body.workhub-auth { background:#14232d url('/static/workhub/workhub-splash.svg?v=20260930e') left top/auto 100vh fixed no-repeat; }
body.workhub-auth #root { min-height:100vh; padding:0; }
body.workhub-auth .mantine-BackgroundImage-root { min-height:100vh; background-image:none !important; background-color:transparent !important; }
body.workhub-auth #root > .mantine-Center-root,body.workhub-auth .mantine-BackgroundImage-root > .mantine-Center-root { justify-content:center; min-height:100vh; padding:32px 0; }
body.workhub-auth .mantine-Container-root { transform:translateX(16.6667vw); }
body.workhub-auth .mantine-Container-root { max-width:470px; width:100%; padding:0; margin:0 !important; }
body.workhub-auth .mantine-Paper-root { background:#fafbfcf7 !important; color:#21323e !important; border:1px solid #ffffffb3 !important; border-radius:16px; min-width:0 !important; width:100%; padding:34px !important; box-shadow:0 28px 70px #06162178,inset 0 1px 0 #fff; backdrop-filter:blur(18px); }
body.workhub-auth .mantine-Paper-root::before { content:'WORKHUB / BY ONSYS'; display:block; margin-bottom:22px; color:#a7642d; font:800 10px var(--mantine-font-family-headings); letter-spacing:.2em; }
body.workhub-auth .mantine-Paper-root .mantine-Text-root,body.workhub-auth .mantine-Paper-root .mantine-Input-label,body.workhub-auth .mantine-Paper-root .mantine-Input-description { color:#344955 !important; }
body.workhub-auth .mantine-Paper-root > .mantine-Stack-root > .mantine-Text-root[data-variant='gradient'] { background:none !important; color:#1c2e3a !important; -webkit-text-fill-color:#1c2e3a !important; font:800 25px var(--mantine-font-family-headings); letter-spacing:-.04em; }
body.workhub-auth .mantine-Input-input { background:#fff !important; border-color:#cbd7df !important; color:#1c2e3a !important; min-height:44px; }
body.workhub-auth .mantine-Input-input::placeholder { color:#82939f !important; }
body.workhub-auth .mantine-Input-section { color:#607684 !important; }
body.workhub-auth .mantine-Button-root { min-height:43px; }
body.workhub-auth .mantine-Anchor-root { color:#9f571f !important; }
body.workhub-auth .mantine-Divider-root { border-color:#dce4e9 !important; }
body.workhub-auth .mantine-ActionIcon-root { color:#b2c7d4 !important; }
@media(max-width:1450px) { body.workhub-app ._1jb1pko2 > .mantine-Group-root > .mantine-Text-root { display:none; } }
@media(max-width:1120px) {
  body.workhub-app ._1jb1pko2 .mantine-Tabs-root { display:none; }
  body.workhub-app ._1jb1pko2 { padding:0 14px 8px; }
  body.workhub-auth { background-image:radial-gradient(ellipse at 15% 0%,#354653,#101f29 70%); }
  body.workhub-auth #root::before { content:''; position:absolute; top:38px; left:28px; width:180px; height:53px; background:url('/static/workhub/workhub-logo-light.svg?v=20260930e') left center/contain no-repeat; }
  body.workhub-auth #root > .mantine-Center-root,body.workhub-auth .mantine-BackgroundImage-root > .mantine-Center-root { justify-content:center; padding:106px 24px 30px; }
  .workhub-welcome { align-items:flex-start; flex-direction:column; gap:16px; }
}
@media(max-width:600px) {
  body.workhub-app ._1jb1pko2 img[alt='InvenTree Logo'] { width:110px; max-width:110px; height:31px; }
  body.workhub-app ._1jb1pko2 > .mantine-Group-root { gap:8px; }
  body.workhub-app ._1jb1pko2 .mantine-Group-root { gap:5px; }
  body.workhub-app ._1jb1pko0 { margin-bottom:14px; }
  body.workhub-auth #root > .mantine-Center-root,body.workhub-auth .mantine-BackgroundImage-root > .mantine-Center-root { padding:104px 16px 26px; }
  body.workhub-auth .mantine-Paper-root { padding:26px !important; border-radius:12px; }
  .workhub-welcome { padding:20px; }
  .workhub-welcome h1 { font-size:23px; }
  .workhub-shortcuts { width:100%; }
  .workhub-shortcuts a { flex:1; text-align:center; padding:9px 10px; }
  .workhub-footer { padding:14px 16px; }
  .workhub-footer > span { max-width:160px; font-size:10px; }
  .mantine-Modal-content,.mantine-Drawer-content { border-radius:0; }
}
@media(prefers-reduced-motion:reduce) { .mantine-Button-root { transition:none; } }