@font-face{font-family:'Plus Jakarta Sans';src:url('../fonts/PlusJakartaSans-Variable.ttf') format('truetype');font-weight:200 800;font-display:swap}
:root{font-family:'Plus Jakarta Sans',sans-serif;color:#41403e;background:#f9f8f6;font-size:14px;font-weight:500;line-height:20px;--accent:#2eb0c0;--border:#d5d4d2}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit;color:inherit;letter-spacing:0}button,a,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:2px solid #2eb0c0;outline-offset:3px}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}a{color:inherit;text-decoration:none}
.sidebar{position:fixed;inset:0 auto 0 0;width:220px;background:#fff;border:1px solid var(--border);padding:24px 20px;overflow:auto;z-index:3}.brand{display:flex;gap:12px;align-items:center;font-size:24px;line-height:24px;font-weight:700;letter-spacing:-.4px;color:#24221f}.brand strong{display:block;color:var(--accent)}.brand-icon{display:grid;place-items:center;width:44px;height:44px;border:1px solid #178794;border-radius:3px;background:linear-gradient(130deg,#2eb0c0,#1595a5);color:#ceeff3;box-shadow:inset 0 0 3px #ffffff80}.brand-icon svg{width:33px;height:33px;filter:drop-shadow(1px 2px 1px #126b7780)}.sidebar-rule{height:1px;background:#0000001a;margin:24px 0}.nav-label{font-size:10px;line-height:16px;color:#737271;margin:0 10px 8px}.nav-group{display:flex;gap:10px;align-items:center;padding:12px 8px;background:#f9f8f6;border-radius:4px;font-weight:600;font-size:12px;line-height:18px}.nav-group .chevron{margin-left:auto;width:6px;height:6px}.sidebar nav{display:grid;margin:12px 0 0 18px;border-left:1px solid #f3f1ee;gap:20px;padding:6px 0 0 16px;font-size:12px;line-height:18px;color:#737271}.sidebar nav a{font-weight:700;color:#24221f}.chevron{display:inline-block;width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);flex-shrink:0}.chevron.up{transform:rotate(225deg)}
.topbar{height:64px;margin-left:220px;background:white;border-bottom:1px solid #0000001a;display:flex;align-items:center;justify-content:flex-end;padding:0 28px}.account{display:flex;align-items:center;gap:16px;text-align:right;font-size:14px;line-height:20px}.account small{display:block;font-size:12px;line-height:18px;color:#737271}.avatar{display:grid;place-items:center;background:#ceeff3;color:#2eb0c0;border:1px solid #2eb0c030;border-radius:4px;width:38px;height:38px}.mobile-brand,.menu-toggle{display:none}main{margin-left:220px;padding:44px 28px;min-width:0}.heading-row{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:32px}h1{font-size:24px;line-height:32px;font-weight:700;letter-spacing:-.4px;color:#24221f;margin:0}h2{font-size:20px;line-height:28px;font-weight:600;margin:0;color:#24221f}.legend{display:flex;gap:16px;flex-shrink:0;font-size:12px;color:#737271}.legend span{display:flex;align-items:center;gap:6px}.legend i{width:14px;height:14px;border-radius:50%;border:1px solid}.incoming{background:#fee4e2;border-color:#f0443855!important}.outgoing{background:#e5fbec;border-color:#16b36455!important}
.filters{display:grid;grid-template-columns:minmax(220px,1.25fr) repeat(2,minmax(150px,1fr));gap:12px;max-width:680px;margin:0 0 24px}.search-field,.select-field{display:flex;align-items:center;position:relative;border:1px solid var(--border);background:#fff;border-radius:4px;min-width:0;height:42px}.search-field{padding:0 12px;gap:8px;color:#737271}.search-field svg{width:20px;height:20px}.search-field input{width:100%;min-width:0;border:0;background:transparent;outline-offset:0;font-size:12px;line-height:18px}.select-field select{appearance:none;width:100%;height:100%;padding:0 30px 0 12px;border:0;background:none;font-size:12px;color:#737271}.select-field .chevron{position:absolute;right:14px;top:14px;pointer-events:none}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.period,.period>div{display:flex;align-items:center;gap:8px}.period{color:#737271}.period label{position:relative;display:flex;align-items:center;color:#2eb0c0}.period select{appearance:none;border:0;background:transparent;color:#2eb0c0;font-weight:700;padding:5px 20px 5px 0;max-width:100%}.period .chevron{position:absolute;right:4px;top:11px;pointer-events:none}.download{display:flex;align-items:center;justify-content:center;gap:4px;min-height:36px;padding:6px 10px;background:transparent;border:1px solid #2eb0c0;color:#2eb0c0;font-weight:700;font-size:12px;white-space:nowrap}.download svg{width:16px;height:16px}.download:hover{background:#ceeff3}
.table-wrap{overflow:auto;border:1px solid var(--border);border-radius:4px;background:white;scrollbar-width:thin}table{border-collapse:separate;border-spacing:0;min-width:1500px;width:100%;font-size:12px;line-height:18px;text-align:left}th{padding:10px 12px;background:#f9f8f6;border-bottom:1px solid var(--border);font-weight:600;color:#737271;white-space:nowrap}td{padding:14px 12px;background:#e5fbec;border-top:12px solid white;border-bottom:12px solid white;white-space:nowrap}td:first-child{border-left:12px solid white}td:last-child{border-right:12px solid white}.description{min-width:280px;max-width:300px;white-space:normal}.text-link{background:none;border:0;padding:0;text-decoration:underline;text-underline-offset:3px;text-align:left;font-size:inherit;line-height:inherit}.badge{display:inline-block;background:#fff1cf;color:#d89c00;font-size:10px;line-height:16px;font-weight:600;padding:1px 8px;border-radius:4px;white-space:nowrap}.empty-value{display:block;padding:8px 16px;background:#f3f1ee;border:1px solid #d5d4d2;border-radius:3px;color:#737271}.material-card{display:none}.no-results{padding:24px 16px;background:white;border:1px solid var(--border);border-radius:4px;text-align:center;font-size:12px;color:#737271}.download-status{font-size:10px;line-height:16px;color:#737271;margin:8px 0}.download-status:empty{display:none}[hidden]{display:none!important}.muted{color:#a4a3a2}
dialog{width:min(420px,calc(100% - 32px));padding:20px;border:1px solid var(--border);border-radius:8px;background:white;color:#41403e;font-size:14px;line-height:20px}dialog::backdrop{background:#24221f55}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.close-dialog{font-size:24px;border:0;background:none}.dialog-header h2{font-size:16px;line-height:24px}dialog dt{font-size:12px;color:#737271}dialog dd{margin:0 0 12px;font-weight:600}
@media(max-width:1100px){.heading-row{align-items:flex-start;flex-direction:column;gap:12px}.filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.search-field{grid-column:1/-1}}
@media(min-width:481px) and (max-width:760px){.sidebar{width:132px;padding:16px 10px}.brand{font-size:20px;line-height:20px;gap:8px}.brand-icon{width:32px;height:34px}.brand-icon svg{width:26px;height:26px}.nav-group{gap:6px;padding:8px 4px;font-size:10px;line-height:16px}.nav-group svg{width:18px}.nav-group .chevron{display:none}.sidebar nav{margin-left:6px;padding-left:10px;font-size:10px;line-height:16px}.topbar{margin-left:132px;padding:0 16px;height:54px}.account{font-size:12px;gap:10px}.account small{font-size:10px}.avatar{width:30px;height:30px}main{margin-left:132px;padding:24px 16px}.heading-row{margin-bottom:20px}h1{font-size:20px;line-height:28px;letter-spacing:0}.legend{font-size:10px;gap:10px}.legend i{width:10px;height:10px}.toolbar{align-items:flex-end}.period{align-items:flex-start;flex-direction:column;gap:0;font-size:12px}.desktop-colon{display:none}.download{padding:6px}.download svg{display:none}}
@media(max-width:480px){.sidebar{display:none;position:fixed;top:76px;width:min(280px,100%);box-shadow:8px 8px 24px #24221f15}.sidebar.is-open{display:block}.sidebar>.brand,.sidebar-rule{display:none}.topbar{height:76px;margin-left:0;padding:12px 16px;justify-content:space-between}.mobile-brand{display:flex;font-size:24px;line-height:24px}.account{display:none}.menu-toggle{display:grid;place-items:center;border:0;background:none;padding:8px}.menu-toggle svg{width:28px;height:28px}main{margin-left:0;padding:16px 12px 20px}.heading-row{margin-bottom:24px}h1{font-size:16px;line-height:24px;font-weight:700;letter-spacing:0}.legend{display:none}.filters{gap:10px 12px;margin-bottom:10px}.search-field,.select-field{height:40px}.search-field input,.select-field select{font-size:14px;line-height:20px}.search-field{padding:0 10px}.search-field svg{width:22px;height:22px}.toolbar{align-items:flex-end;margin-bottom:10px;gap:8px}.period{display:block;font-size:10px;line-height:16px}.period>div{gap:6px}.period select{font-size:14px;line-height:20px;padding-top:3px;padding-bottom:3px}.period .chevron{top:9px}.desktop-colon{display:none}.download{height:36px;font-size:12px;border-radius:4px;padding:6px 12px}.download svg{display:none}.table-wrap{display:none}.material-card{display:block;border:1px solid var(--border);border-top:12px solid #e5fbec;border-radius:4px;background:white;box-shadow:0 -1px 0 #16b36455;overflow:hidden}.card-heading{padding:12px;border-top:1px solid var(--border)}.card-title{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.card-title h2{font-size:14px;line-height:20px;font-weight:700}.card-heading p{font-size:10px;line-height:16px;color:#737271;margin:4px 0 0}.card-heading strong{color:#24221f;margin-left:4px;font-weight:600}.badge{font-size:10px;line-height:16px;padding:0 6px}dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0}.material-card dl>div{padding:12px;min-height:64px;border-top:1px solid var(--border)}.material-card dl>div:nth-child(even){border-left:1px solid var(--border)}dt{font-size:10px;line-height:16px;color:#737271}dd{font-size:14px;line-height:20px;font-weight:700;color:#24221f;margin:6px 0 0;overflow-wrap:anywhere}dialog dl{display:block}}
@media(max-width:310px){.card-title{flex-direction:column;gap:4px}.download{padding:6px;font-size:10px}.period select{font-size:12px}.select-field select{font-size:12px;padding-left:8px}.search-field input{font-size:12px}}
/* Full desktop composition, proportioned to the supplied AldiPro reference. */
@media (min-width: 481px) {
  .sidebar { width: 17.5%; padding: 24px; }
  .sidebar-rule { margin: 24px 0; }
  .nav-label { margin-top: 24px; }
  .nav-group { font-size: 14px; line-height: 20px; padding: 12px; }
  .sidebar nav { font-size: 12px; line-height: 18px; gap: 24px; }
  .topbar { margin-left: 17.5%; height: 60px; padding-right: 6%; }
  main { margin-left: 17.5%; padding: 56px 5.5vw 40px 24px; }
  .heading-row { flex-direction: row; align-items: center; gap: 20px; margin-bottom: 32px; }
  h1 { font-size: 20px; line-height: 28px; letter-spacing: 0; }
  .legend { gap: 16px; font-size: 12px; }
  .filters { grid-template-columns: 1.23fr 1fr 1fr; max-width: 598px; gap: 12px; margin-bottom: 24px; }
  .search-field { grid-column: auto; }
  .search-field, .select-field { height: 40px; }
  .toolbar { margin-bottom: 16px; }
  .download { min-height: 32px; }
  .table-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 54%);
    overflow: hidden;
    border-color: #d5d4d2;
    align-items: start;
  }
  .material-table-scroll {
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: #d5d4d2 #f9f8f6;
  }
  .material-table-scroll:focus-visible { outline-offset: -2px; }
  .material-table-pinned {
    position: sticky;
    right: 0;
    min-width: 0;
    z-index: 1;
    background: white;
    border-left: 4px solid #d5d4d2;
  }
  .table-wrap table { table-layout: fixed; min-width: 0; }
  .table-wrap .material-table { width: 1386px; }
  .table-wrap .material-status-table { width: 100%; }
  .table-wrap th {
    height: 42px;
    padding: 8px;
    vertical-align: middle;
  }
  .table-wrap td {
    height: 92px;
    padding: 10px 8px;
    vertical-align: middle;
  }
  .material-table th, .material-table td { text-align: center; }
  .material-table th:nth-child(5), .material-table td:nth-child(5),
  .material-table th:nth-child(6), .material-table td:nth-child(6) { text-align: left; }
  .material-table .description { min-width: 0; max-width: none; }
  .material-status-table th {
    white-space: normal;
    font-size: 12px;
    line-height: 18px;
    text-align: center;
    overflow-wrap: anywhere;
  }
  .material-status-table td {
    background: white;
    text-align: center;
    white-space: normal;
    border-left: 0;
    border-right: 0;
  }
  .material-status-table .empty-value {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 4px;
    line-height: 18px;
    overflow-wrap: anywhere;
  }
  .stock-value {
    display: block;
    border-radius: 4px;
    background: #ebe9e5;
    line-height: 18px;
  }
  .material-status-table .badge { padding: 1px 4px; white-space: normal; }
  main::after { content: ''; display: block; margin-top: 12px; border-top: 1px solid #0000001a; }
}
@media (min-width: 481px) and (max-width: 1150px) {
  .table-wrap th { height: 72px; }
  .material-status-table th { padding: 6px 3px; }
  .material-status-table td { padding-inline: 3px; }
  .heading-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .sidebar { padding: 16px 12px; }
  .nav-group { font-size: 12px; padding: 8px 4px; }
  .nav-group svg { width: 18px; }
  .nav-group .chevron { display: none; }
  .sidebar nav { margin-left: 4px; padding-left: 10px; }
}
.mobile-navigation { display: none; }
@media (max-width: 480px) {
  body.menu-open { overflow: hidden; }
  body.menu-open .topbar { position: fixed; inset: 0 0 auto; z-index: 4; }
  .sidebar.is-open {
    inset: 76px 0 0;
    width: 100%;
    padding: 16px 12px 32px;
    border: 0;
    box-shadow: none;
    overscroll-behavior: contain;
  }
  .sidebar > .nav-label, .sidebar > .nav-group, .sidebar > nav { display: none; }
  .mobile-navigation { display: flex; flex-direction: column; }
  .mobile-profile { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
  .mobile-profile .avatar { width: 46px; height: 46px; flex-shrink: 0; }
  .mobile-profile .avatar svg { width: 28px; height: 28px; }
  .mobile-profile h2 { font-size: 16px; line-height: 24px; font-weight: 700; color: #41403e; margin-bottom: 4px; }
  .mobile-profile p { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; font-size: 12px; line-height: 18px; color: #737271; }
  .mobile-profile p span + span { border-left: 1px solid #d5d4d2; padding-left: 8px; }
  .mobile-home, .mobile-warehouse-toggle {
    display: flex; align-items: center; gap: 14px; min-height: 44px;
    padding: 8px 12px; font-size: 14px; line-height: 20px; font-weight: 600;
    background: transparent; border: 0; text-align: left; width: 100%;
  }
  .mobile-home { margin-bottom: 0; }
  .mobile-home svg, .mobile-warehouse-toggle svg { color: #0c0b0a; }
  .mobile-warehouse-toggle .chevron { margin-left: auto; width: 6px; height: 6px; }
  .sidebar .mobile-warehouse-links {
    display: grid; gap: 18px; margin: 14px 0 0; padding: 0 16px 0 48px;
    border: 0; font-size: 12px; line-height: 18px; color: #737271;
  }
  .mobile-warehouse-links strong { font-weight: 600; color: #41403e; }
  .sidebar .mobile-warehouse-links a { color: #737271; font-weight: 500; }
  .mobile-logout {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    margin-top: 46px; width: 100%; min-height: 48px;
    border: 1px solid #f04438; border-radius: 6px; background: white;
    color: #f04438; font-size: 16px; line-height: 24px; font-weight: 600;
  }
  .mobile-logout:hover { background: #fee4e2; }
}
.mobile-filter-trigger { display: none; }
.filter-sheet {
  position: fixed;
  inset: auto 0 0;
  width: 100%;
  max-width: none;
  max-height: 66dvh;
  margin: 0;
  padding: 0;
  border: 1px solid #ededed;
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  background: #fff;
  color: #41403e;
  overflow: hidden;
}
.filter-sheet[open] { display: flex; flex-direction: column; }
.filter-sheet::backdrop { background: rgb(0 0 0 / 40%); }
body.filter-open { overflow: hidden; }
.filter-sheet-header { flex-shrink: 0; text-align: center; padding: 0 20px 28px; }
.filter-sheet-close { display: grid; place-items: center; width: 100%; height: 40px; border: 0; padding: 0; background: transparent; }
.filter-sheet-close span { width: 80px; height: 6px; border-radius: 8px; background: #ebe9e5; }
.filter-sheet-header h2 { font-size: 16px; line-height: 24px; font-weight: 700; margin: 6px 0 0; color: #41403e; }
.filter-sheet-options { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 18px max(20px, env(safe-area-inset-bottom)); scrollbar-width: thin; scrollbar-color: #a4a3a2 transparent; }
.filter-sheet-option { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 53px; padding: 14px 16px; background: white; border: 0; border-bottom: 1px solid rgb(0 0 0 / 7%); text-align: left; font-size: 12px; line-height: 18px; font-weight: 600; }
.filter-sheet-option .chevron { transform: rotate(-45deg); width: 8px; height: 8px; }
.filter-sheet-option:hover, .filter-sheet-option:focus-visible { background: #f9f8f6; }
.filter-sheet-option[aria-pressed="true"] { color: #24221f; }
@media (max-width: 480px) {
  .select-field select { display: none; }
  .mobile-filter-trigger { display: flex; align-items: center; width: 100%; height: 100%; padding: 0 30px 0 12px; border: 0; border-radius: inherit; background: transparent; color: #737271; text-align: left; min-width: 0; font-size: 14px; line-height: 20px; }
  .mobile-filter-trigger span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (max-width: 310px) { .mobile-filter-trigger { font-size: 12px; padding-left: 8px; } }
@media (min-width: 481px) {
  .select-field select { display: none; }
  .mobile-filter-trigger {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    min-width: 0;
    padding: 0 32px 0 12px;
    border: 0;
    border-radius: inherit;
    background: white;
    color: #24221f;
    text-align: left;
    font-size: 12px;
    line-height: 18px;
  }
  .mobile-filter-trigger span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .select-field:has(.desktop-filter-dropdown) { z-index: 5; }
  .desktop-filter-dropdown {
    position: absolute;
    z-index: 5;
    top: calc(100% + 8px);
    left: -1px;
    right: -1px;
    max-height: 270px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid #d5d4d2;
    border-radius: 3px;
    background: white;
    box-shadow: 0 3px 7px rgb(36 34 31 / 12%);
    scrollbar-width: thin;
    scrollbar-color: #a4a3a2 #f9f8f6;
  }
  .desktop-filter-option {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid rgb(0 0 0 / 7%);
    background: white;
    color: #41403e;
    text-align: left;
    font-size: 12px;
    line-height: 18px;
    font-weight: 600;
  }
  .desktop-filter-option:last-child { border-bottom: 0; }
  .desktop-filter-option:hover, .desktop-filter-option:focus-visible { background: #f3f1ee; outline-offset: -2px; }
}
@keyframes filter-sheet-slide-in {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
@keyframes filter-sheet-slide-out {
  from { transform: translateY(0); }
  to { transform: translateY(100%); }
}
@keyframes filter-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes filter-backdrop-out {
  from { opacity: 1; }
  to { opacity: 0; }
}
.filter-sheet[open] { animation: filter-sheet-slide-in 300ms cubic-bezier(.22, 1, .36, 1) both; }
.filter-sheet[open]::backdrop { animation: filter-backdrop-in 240ms ease-out both; }
.filter-sheet[open].is-closing { animation: filter-sheet-slide-out 220ms cubic-bezier(.4, 0, 1, 1) both; pointer-events: none; }
.filter-sheet[open].is-closing::backdrop { animation: filter-backdrop-out 220ms ease-in both; }
@media (prefers-reduced-motion: reduce) {
  .filter-sheet[open], .filter-sheet[open]::backdrop { animation: none; }
}
/* Period controls share the filter panels while retaining their teal text style. */
.period-field { position: relative; min-width: 0; }
.period .period-field select { display: none; }
.period .period-field .mobile-filter-trigger {
  width: auto;
  height: auto;
  min-height: 30px;
  padding: 4px 22px 4px 0;
  background: transparent;
  color: #2eb0c0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
}
.period .period-field > .chevron { top: 10px; color: #2eb0c0; }
.period-field:has(.desktop-filter-dropdown) { z-index: 5; }
.period-field .desktop-filter-dropdown { left: 0; right: auto; min-width: 140px; }
@media (max-width: 310px) {
  .period .period-field .mobile-filter-trigger { font-size: 12px; }
}
