/* ================= LAGER IB – Design ================= */
:root {
  --bg: #0a0c10;
  --bg-2: #0f1218;
  --surface: #14171e;
  --surface-2: #1a1e27;
  --surface-3: #222734;
  --border: #262c38;
  --border-2: #323a4a;
  --text: #eceef3;
  --text-2: #b9c0cf;
  --muted: #7f889c;
  --accent: #3b82f6;
  --accent-2: #60a5fa;
  --accent-bg: rgba(59, 130, 246, .12);
  --green: #22c55e;
  --green-bg: rgba(34, 197, 94, .12);
  --red: #ef4444;
  --red-bg: rgba(239, 68, 68, .12);
  --amber: #f59e0b;
  --amber-bg: rgba(245, 158, 11, .13);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --side-w: 248px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font: 15px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
a { color: var(--accent-2); }
h1, h2, h3, h4 { margin: 0; font-weight: 650; letter-spacing: -.01em; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.center { text-align: center; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pos { color: var(--green); }
.neg { color: var(--red); }
.warn { color: var(--amber); }

/* ---------- Marke ---------- */
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  font-weight: 800; letter-spacing: .02em; color: #fff; font-size: 15px;
  background: linear-gradient(145deg, #1e293b, #0b1220);
  border: 1.5px solid var(--accent); box-shadow: 0 0 0 4px var(--accent-bg);
}
.brand-mark.big { width: 64px; height: 64px; font-size: 24px; border-radius: 18px; }

/* ---------- Boot / Login ---------- */
.boot { position: fixed; inset: 0; display: grid; place-content: center; justify-items: center; gap: 22px; }
.spinner { width: 26px; height: 26px; border: 3px solid var(--border-2); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.login { min-height: 100%; display: grid; place-items: center; padding: 24px;
  background: radial-gradient(800px 400px at 50% -10%, rgba(59,130,246,.18), transparent 70%), var(--bg); }
.login-card { width: 100%; max-width: 380px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 28px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.login-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 8px; }
.login-brand h1 { font-size: 22px; letter-spacing: .04em; }
.login-brand p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.login-error { color: var(--red); min-height: 1em; margin: 0; font-size: 13.5px; }

/* ---------- Formulare ---------- */
label { display: grid; gap: 6px; font-size: 13px; color: var(--text-2); font-weight: 500; }
input, select, textarea {
  width: 100%; background: var(--bg-2); color: var(--text); border: 1px solid var(--border-2);
  border-radius: var(--radius-sm); padding: 10px 12px; font: inherit; font-size: 15px; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-bg); }
input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); padding: 0; }
input[type="color"] { padding: 3px; height: 42px; cursor: pointer; }
textarea { min-height: 70px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237f889c' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 16px; padding-right: 34px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); cursor: pointer; }
.form-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .full { grid-column: 1 / -1; }
.hint { font-size: 12px; color: var(--muted); font-weight: 400; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--border-2);
  background: var(--surface-2); color: var(--text); border-radius: var(--radius-sm); padding: 9px 14px;
  font: inherit; font-size: 14px; font-weight: 550; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, transform .05s; }
.btn:hover { background: var(--surface-3); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn svg { width: 17px; height: 17px; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: #2f6fd8; }
.btn.success { background: var(--green); border-color: var(--green); color: #04140a; }
.btn.danger { background: var(--red-bg); border-color: rgba(239,68,68,.4); color: #fca5a5; }
.btn.danger.solid { background: var(--red); color: #fff; border-color: var(--red); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn.ghost:hover { background: var(--surface-2); }
.btn.small { padding: 6px 10px; font-size: 13px; }
.btn.block { width: 100%; padding: 12px; }
.icon-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; border: 1px solid transparent;
  background: transparent; color: var(--text-2); cursor: pointer; }
.icon-btn:hover { background: var(--surface-3); color: var(--text); }
.icon-btn.danger:hover { color: var(--red); background: var(--red-bg); }
.icon-btn svg { width: 18px; height: 18px; }

/* ---------- Layout ---------- */
.app { min-height: 100%; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--side-w); background: var(--bg-2); border-right: 1px solid var(--border);
  display: flex; flex-direction: column; padding: 18px 14px; z-index: 40; }
.side-brand { display: flex; gap: 12px; align-items: center; padding: 4px 6px 18px; border-bottom: 1px solid var(--border); margin-bottom: 12px; }
.side-brand strong { display: block; letter-spacing: .05em; }
.side-brand span { display: block; }
.nav { display: grid; gap: 2px; overflow-y: auto; }
.nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--text-2);
  text-decoration: none; font-weight: 500; font-size: 14.5px; position: relative; }
.nav a:hover { background: var(--surface); color: var(--text); }
.nav a.active { background: var(--accent-bg); color: #fff; }
.nav a.active svg { color: var(--accent-2); }
.nav .badge { margin-left: auto; }
.side-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sync { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); }
.sync i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.sync.ok i { background: var(--green); box-shadow: 0 0 0 3px var(--green-bg); }
.sync.err i { background: var(--red); }

.main-wrap { margin-left: var(--side-w); min-height: 100vh; }
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 14px 28px;
  background: rgba(10, 12, 16, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.topbar h2 { font-size: 19px; }
.top-actions { margin-left: auto; display: flex; gap: 8px; }
.menu-btn { display: none; }
.view { padding: 24px 28px 48px; max-width: 1400px; outline: none; }
.scrim { display: none; }
.bottom-nav { display: none; }

/* ---------- Karten / Kennzahlen ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; min-width: 0; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.card-head h3 { font-size: 15.5px; }
.grid { display: grid; gap: 16px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.wide-left { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.stack { display: grid; gap: 16px; }
.kpis { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 16px 14px; position: relative; overflow: hidden; min-width: 0; }
.kpi .lbl { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; font-weight: 550; text-transform: uppercase; letter-spacing: .04em; }
.kpi .lbl svg { width: 16px; height: 16px; color: var(--accent-2); }
.kpi .val { font-size: 25px; font-weight: 700; margin-top: 8px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kpi .sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.kpi.accent { border-color: rgba(59,130,246,.35); background: linear-gradient(160deg, rgba(59,130,246,.12), var(--surface) 60%); }
.kpi.good .val { color: var(--green); }
.kpi.bad .val { color: var(--red); }
.chart-box { position: relative; height: 280px; }
.chart-box.small { height: 230px; }
.section-gap { height: 16px; }

/* ---------- Toolbar / Chips ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.toolbar .grow { flex: 1 1 220px; min-width: 0; }
.toolbar select, .toolbar input { width: auto; }
.toolbar .grow input { width: 100%; }
.search { position: relative; }
.search svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted); }
.search input { padding-left: 36px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips.scroll::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border-2);
  background: var(--surface); color: var(--text-2); font-size: 13px; font-weight: 550; cursor: pointer; white-space: nowrap; }
.chip:hover { border-color: var(--muted); }
.chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip .count { opacity: .7; font-weight: 500; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.seg { display: inline-flex; background: var(--bg-2); border: 1px solid var(--border-2); border-radius: 10px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; color: var(--text-2); padding: 7px 12px; border-radius: 8px; font: inherit; font-size: 13px; font-weight: 550; cursor: pointer; }
.seg button.active { background: var(--surface-3); color: #fff; }

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; background: var(--surface-3); color: var(--text-2); }
.badge.blue { background: var(--accent-bg); color: var(--accent-2); }
.badge.green { background: var(--green-bg); color: #4ade80; }
.badge.red { background: var(--red-bg); color: #f87171; }
.badge.amber { background: var(--amber-bg); color: #fbbf24; }

/* ---------- Tabellen ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600;
  padding: 11px 12px; border-bottom: 1px solid var(--border); background: var(--surface); position: sticky; top: 0; white-space: nowrap; }
th.sortable { cursor: pointer; user-select: none; }
th.sortable:hover { color: var(--text); }
td { padding: 11px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(255,255,255,.015); }
td.actions { white-space: nowrap; text-align: right; }
@media (min-width: 861px) {
  .table-wrap td.actions { position: sticky; right: 0; background: var(--surface); box-shadow: -10px 0 12px -8px rgba(0,0,0,.6); }
  .table-wrap th:last-child:empty { position: sticky; right: 0; z-index: 2; }
  .table-wrap.cards th, .table-wrap.cards td { padding-left: 9px; padding-right: 9px; }
}
td.actions .icon-btn { width: 31px; height: 31px; }
.prod-cell { display: flex; align-items: center; gap: 11px; min-width: 190px; }
.prod-cell strong { display: block; font-weight: 600; }
.thumb { width: 42px; height: 42px; border-radius: 9px; object-fit: cover; background: var(--surface-3); flex-shrink: 0; display: grid; place-items: center; color: var(--muted); font-weight: 700; font-size: 14px; border: 1px solid var(--border); }
.thumb.lg { width: 96px; height: 96px; border-radius: 14px; font-size: 26px; }
tr.low td:first-child { box-shadow: inset 3px 0 0 var(--amber); }
tr.out td:first-child { box-shadow: inset 3px 0 0 var(--red); }
.empty { text-align: center; color: var(--muted); padding: 34px 16px; }
.empty svg { width: 34px; height: 34px; margin-bottom: 8px; opacity: .6; }

/* Liste (kompakt) */
.list { display: grid; }
.list-item { display: flex; align-items: center; gap: 12px; padding: 11px 2px; border-bottom: 1px solid var(--border); min-width: 0; }
.list-item:last-child { border-bottom: 0; }
.list-item .main { flex: 1; min-width: 0; }
.list-item .main strong { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-item .main span { display: block; font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Verkaufen ---------- */
.pick-list { display: grid; gap: 8px; max-height: 520px; overflow-y: auto; padding-right: 2px; }
.pick { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-2); cursor: pointer; text-align: left; color: inherit; font: inherit; width: 100%; }
.pick:hover { border-color: var(--accent); }
.pick:disabled { opacity: .45; cursor: not-allowed; border-color: var(--border); }
.pick .main { flex: 1; min-width: 0; }
.pick .main strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-line { display: grid; grid-template-columns: 84px minmax(0, 1fr) minmax(70px, auto) 34px; grid-template-areas: "name name name name" "qty price lt x"; gap: 8px 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.cart-line > :nth-child(1) { grid-area: name; } .cart-line > :nth-child(2) { grid-area: qty; } .cart-line > :nth-child(3) { grid-area: price; }
.cart-line > :nth-child(4) { grid-area: lt; } .cart-line > :nth-child(5) { grid-area: x; }
.cart-line .fl { display: block; font-size: 11px; color: var(--muted); margin-bottom: 3px; }
.cart-line label { gap: 0; }
.cart-line input { padding: 8px 9px; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 4px; font-size: 15px; }
.cart-total strong { font-size: 26px; font-variant-numeric: tabular-nums; }

/* ---------- Kategorien ---------- */
.cat-row { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.cat-row .main { flex: 1; min-width: 0; }
.cat-row .swatch { width: 14px; height: 38px; border-radius: 6px; flex-shrink: 0; }
.cat-row .order { display: grid; gap: 2px; }
.cat-row .order .icon-btn { width: 28px; height: 22px; }

/* ---------- Bild-Upload ---------- */
.img-drop { display: flex; align-items: center; gap: 14px; }
.img-drop img { width: 96px; height: 96px; object-fit: cover; border-radius: 14px; border: 1px solid var(--border); }
.img-drop .ph { width: 96px; height: 96px; border-radius: 14px; border: 1.5px dashed var(--border-2); display: grid; place-items: center; color: var(--muted); }

/* ---------- Kalkulation ---------- */
.calc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.calc div { background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
.calc span { display: block; font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.calc strong { font-size: 17px; font-variant-numeric: tabular-nums; }

/* ---------- Modal ---------- */
.modal-back { position: fixed; inset: 0; z-index: 100; background: rgba(3, 5, 9, .7); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: grid; place-items: center; padding: 18px; animation: fade .15s ease; }
.modal { width: 100%; max-width: 560px; max-height: calc(100vh - 36px); overflow-y: auto; background: var(--surface); border: 1px solid var(--border-2);
  border-radius: 18px; box-shadow: var(--shadow); animation: pop .18s ease; }
.modal.wide { max-width: 760px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 20px 6px; }
.modal-head h3 { font-size: 17px; }
.modal-body { padding: 12px 20px 6px; display: grid; gap: 14px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 20px 20px; flex-wrap: wrap; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.info-box { background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; font-size: 14px; display: grid; gap: 6px; }
.info-box .row { display: flex; justify-content: space-between; gap: 10px; }
.info-box.warn { border-color: rgba(245,158,11,.4); background: var(--amber-bg); }

/* ---------- Toasts ---------- */
.toasts { position: fixed; right: 18px; bottom: 18px; z-index: 200; display: grid; gap: 10px; max-width: min(380px, calc(100vw - 36px)); }
.toast { background: var(--surface-2); border: 1px solid var(--border-2); border-left: 4px solid var(--accent); border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow); font-size: 14px; animation: pop .2s ease; }
.toast.ok { border-left-color: var(--green); }
.toast.err { border-left-color: var(--red); }

/* ---------- Responsive ---------- */
@media (min-width: 861px) and (max-width: 1500px) { .hide-l { display: none; } }
@media (max-width: 1200px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .grid.wide-left, .grid.two { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .sidebar { transform: translateX(-100%); transition: transform .22s ease; box-shadow: var(--shadow); width: 280px; padding-bottom: calc(18px + var(--safe-b)); }
  .app.nav-open .sidebar { transform: none; }
  .app.nav-open .scrim { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 35; }
  .main-wrap { margin-left: 0; padding-bottom: calc(70px + var(--safe-b)); }
  .menu-btn { display: inline-grid; }
  .topbar { padding: 10px 14px; padding-top: max(10px, env(safe-area-inset-top)); }
  .topbar h2 { font-size: 17px; }
  .top-actions .btn .lbl { display: none; }
  .view { padding: 16px 14px 32px; }
  .kpi .val { font-size: 21px; }
  .kpi { padding: 13px; }
  .grid.three { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .chart-box { height: 230px; }
  .bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    background: rgba(15, 18, 24, .95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--border); padding-bottom: var(--safe-b); }
  .bottom-nav a { display: grid; justify-items: center; gap: 3px; padding: 9px 2px 8px; color: var(--muted); text-decoration: none; font-size: 10.5px; font-weight: 600; }
  .bottom-nav a.active { color: var(--accent-2); }
  .bottom-nav svg { width: 22px; height: 22px; }

  /* Tabellen werden zu Karten */
  .table-wrap.cards { border: 0; background: transparent; overflow: visible; }
  .cards table, .cards thead, .cards tbody, .cards tr, .cards td { display: block; width: 100%; }
  .cards thead { display: none; }
  .cards tr { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 6px 12px; margin-bottom: 10px; }
  .cards td { border: 0; padding: 6px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: right; }
  .cards td::before { content: attr(data-l); color: var(--muted); font-size: 12.5px; text-align: left; flex-shrink: 0; }
  .cards td.first { display: block; text-align: left; padding: 8px 0; border-bottom: 1px solid var(--border); margin-bottom: 4px; }
  .cards td.first::before { content: none; }
  .cards td.actions { justify-content: flex-end; border-top: 1px solid var(--border); margin-top: 4px; padding-top: 8px; flex-wrap: wrap; }
  .cards td.actions::before { content: none; }
  .cards td.hide-m { display: none; }
  .cards tr.low { box-shadow: inset 3px 0 0 var(--amber); }
  .cards tr.out { box-shadow: inset 3px 0 0 var(--red); }
  .cards tr.low td:first-child, .cards tr.out td:first-child { box-shadow: none; }
  .calc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .modal-back { place-items: end center; padding: 0; }
  .modal { max-width: 100%; border-radius: 18px 18px 0 0; max-height: 92vh; padding-bottom: var(--safe-b); }
  .toasts { left: 14px; right: 14px; bottom: calc(80px + var(--safe-b)); max-width: none; }
}
@media (max-width: 380px) {
  .kpis { grid-template-columns: minmax(0, 1fr); }
}
@media print {
  .sidebar, .topbar, .bottom-nav, .toolbar, td.actions { display: none !important; }
  .main-wrap { margin: 0; }
  body { background: #fff; color: #000; }
}
