/* ============================================================
   GastroSys — style.css
   ============================================================ */

/* TOKENS — ciemny motyw (domyślny) */
:root {
  --green:  #22C990; --green-d:  #17A87A; --green-dim:  rgba(34,201,144,.13);
  --red:    #FF5C5C; --red-dim:   rgba(255,92,92,.13);
  --amber:  #F5A623; --amber-dim: rgba(245,166,35,.13);
  --blue:   #5B9CF6; --blue-dim:  rgba(91,156,246,.13);
  --purple: #B57BF5; --purple-dim:rgba(181,123,245,.13);
  --gold:   #FFD700; --gold-dim:  rgba(255,215,0,.13);

  --bg:      #0F0F0F;
  --surface: #1A1A1A;
  --surf2:   #222222;
  --surf3:   #2A2A2A;
  --border:  rgba(255,255,255,.08);
  --border2: rgba(255,255,255,.04);
  --text:    #F0F0F0;
  --text2:   #888888;
  --text3:   #444444;
  --shadow:  0 1px 3px rgba(0,0,0,.4);
  --shadow-md: 0 4px 16px rgba(0,0,0,.5);

  --r:  12px; --rl: 16px; --rx: 20px;
  --topbar:  52px; --sidebar: 220px; --mobnav: 60px;
  --role-admin:   #B57BF5;
  --role-manager: #F5A623;
  --role-kucharz: #22C990;
  --role-kelner:  #5B9CF6;
}

/* ============================================================
   JASNY MOTYW — kompletny redesign
   ============================================================ */
body.light {
  --bg:       #F0F2F5;
  --surface:  #FFFFFF;
  --surf2:    #F5F7FA;
  --surf3:    #E8ECF2;
  --border:   rgba(0,0,0,.09);
  --border2:  rgba(0,0,0,.05);
  --text:     #111827;
  --text2:    #6B7280;
  --text3:    #9CA3AF;
  --shadow:   0 1px 4px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.04);
  --shadow-md:0 4px 20px rgba(0,0,0,.1), 0 0 0 1px rgba(0,0,0,.04);

  /* Kolory bardziej nasycone dla lepszego kontrastu */
  --green:     #059669; --green-d:  #047857; --green-dim: rgba(5,150,105,.10);
  --red:       #DC2626; --red-dim:  rgba(220,38,38,.10);
  --amber:     #D97706; --amber-dim:rgba(217,119,6,.10);
  --blue:      #2563EB; --blue-dim: rgba(37,99,235,.10);
  --purple:    #7C3AED; --purple-dim:rgba(124,58,237,.10);
  --gold:      #B45309; --gold-dim: rgba(180,83,9,.10);
  --role-admin:   #7C3AED;
  --role-manager: #D97706;
  --role-kucharz: #059669;
  --role-kelner:  #2563EB;
}

/* Jasny motyw — komponenty specyficzne */
body.light .topbar        { box-shadow: 0 1px 0 var(--border), 0 2px 8px rgba(0,0,0,.06); }
body.light .sidebar       { box-shadow: 1px 0 0 var(--border); }
body.light .card          { box-shadow: var(--shadow); border-color: rgba(0,0,0,.07); }
body.light .modal         { box-shadow: 0 20px 60px rgba(0,0,0,.18); }
body.light .btn           { box-shadow: 0 1px 2px rgba(0,0,0,.06); }
body.light .btn:hover     { background: var(--surf3); box-shadow: 0 2px 4px rgba(0,0,0,.1); }
body.light .tbl tr:hover td { background: rgba(0,0,0,.015); }
body.light .tab-btn       { box-shadow: 0 1px 2px rgba(0,0,0,.06); }
body.light .tab-btn.active{ background: var(--text); color: var(--surface); }
body.light .stat-card     { box-shadow: var(--shadow); }
body.light .input         { background: var(--surface); box-shadow: inset 0 1px 3px rgba(0,0,0,.06); }
body.light .input:focus   { box-shadow: 0 0 0 3px rgba(5,150,105,.15), inset 0 1px 3px rgba(0,0,0,.04); }
body.light .worker-pill   { box-shadow: var(--shadow); }
body.light .nav-item.active { background: rgba(5,150,105,.10); color: var(--green); border-color: rgba(5,150,105,.2); }
body.light #toast         { background: #1F2937; color: #F9FAFB; border-color: transparent; box-shadow: 0 4px 16px rgba(0,0,0,.2); }
body.light .overlay       { background: rgba(0,0,0,.45); }
body.light .badge-gray    { background: #E5E7EB; color: #4B5563; }
body.light .time-in       { background: rgba(0,0,0,.05); border-color: rgba(0,0,0,.12); color: var(--text); }
body.light .mobile-nav    { box-shadow: 0 -1px 0 var(--border), 0 -4px 12px rgba(0,0,0,.06); }

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg); color: var(--text);
  font-size: 14px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  height: var(--topbar);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1rem;
  position: sticky; top: 0; z-index: 100; flex-shrink: 0;
}
.topbar-left  { display: flex; align-items: center; gap: 10px; }
.topbar-right { display: flex; align-items: center; gap: 7px; }
.app-logo  { font-size: 20px; }
.app-name  { font-size: 14px; font-weight: 600; }
.user-pill {
  display: flex; align-items: center; gap: 7px;
  background: var(--surf2); border: 1px solid var(--border);
  border-radius: 20px; padding: 4px 12px 4px 6px;
}
.user-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; flex-shrink: 0;
}
.user-name { font-size: 12px; font-weight: 500; }
.user-role { font-size: 11px; color: var(--text2); }
.back-link { color: var(--text2); text-decoration: none; font-size: 18px; transition: color .12s; }
.back-link:hover { color: var(--text); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 16px; border-radius: var(--r);
  font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 500;
  cursor: pointer; border: 1px solid var(--border);
  background: var(--surf2); color: var(--text);
  transition: all .12s; white-space: nowrap; min-height: 40px;
  text-decoration: none;
}
.btn:hover   { background: var(--surf3); }
.btn:active  { transform: scale(.97); }
.btn:disabled{ opacity: .45; cursor: not-allowed; }
.btn-primary { background: var(--green);   color: #fff; border-color: var(--green);   font-weight: 600; }
.btn-primary:hover { background: var(--green-d); border-color: var(--green-d); }
.btn-danger  { color: var(--red); border-color: rgba(220,38,38,.3); background: transparent; }
.btn-danger:hover  { background: var(--red-dim); }
.btn-amber   { background: var(--amber); color: #fff; border-color: var(--amber); font-weight: 600; }
.btn-sm  { padding: 5px 12px; font-size: 12px; min-height: 32px; }
.btn-xs  { padding: 3px 8px;  font-size: 11px; min-height: 26px; }

/* ============================================================
   BADGES
   ============================================================ */
.badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.badge-green { background: var(--green-dim); color: var(--green); }
.badge-red   { background: var(--red-dim);   color: var(--red); }
.badge-amber { background: var(--amber-dim); color: var(--amber); }
.badge-blue  { background: var(--blue-dim);  color: var(--blue); }
.badge-gray  { background: var(--surf2);     color: var(--text2); }

/* ============================================================
   INPUTS
   ============================================================ */
.input {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: var(--r);
  background: var(--surf2); color: var(--text);
  font-family: 'DM Sans', sans-serif; font-size: 14px;
  transition: border-color .15s;
}
.input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(34,201,144,.12); }
.input::placeholder { color: var(--text3); }
select.input { cursor: pointer; }
.input-mono  { font-family: 'DM Mono', monospace; font-size: 16px; font-weight: 600; text-align: right; }
.input-num   { border-color: rgba(245,166,35,.4); }
.input-num:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(245,166,35,.12); }

/* ============================================================
   FORM
   ============================================================ */
.form-field { margin-bottom: 14px; }
.form-field:last-child { margin-bottom: 0; }
.form-label {
  display: block; font-size: 11px; font-weight: 600;
  color: var(--text2); margin-bottom: 7px;
  text-transform: uppercase; letter-spacing: .06em;
}
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media(max-width:500px) { .form-grid-2 { grid-template-columns: 1fr; } }
.error-msg {
  background: var(--red-dim); color: var(--red);
  border: 1px solid rgba(220,38,38,.2); border-radius: var(--r);
  padding: 9px 14px; font-size: 13px; margin-bottom: 12px; display: none;
}

/* ============================================================
   CARD
   ============================================================ */
.card        { background: var(--surface); border: 1px solid var(--border); border-radius: var(--rl); overflow: hidden; }
.card-body   { padding: 1.25rem; }
.card-header { padding: 12px 16px; background: var(--surf2); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.card-title  { font-size: 14px; font-weight: 600; }

/* ============================================================
   TABLE
   ============================================================ */
.tbl         { width: 100%; border-collapse: collapse; }
.tbl th      { text-align: left; padding: 9px 14px; font-size: 11px; font-weight: 600; color: var(--text2); text-transform: uppercase; letter-spacing: .05em; border-bottom: 1px solid var(--border); background: var(--surf2); }
.tbl td      { padding: 11px 14px; border-bottom: 1px solid var(--border2); }
.tbl tr:last-child td { border-bottom: none; }
.tbl tr:hover td { background: rgba(0,0,0,.015); }

/* ============================================================
   SECTION
   ============================================================ */
.sec-header  { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; flex-wrap: wrap; gap: 8px; }
.sec-title   { font-size: 17px; font-weight: 700; }
.sec-label   { font-size: 11px; font-weight: 600; color: var(--text2); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }

/* ============================================================
   STATS
   ============================================================ */
.stats-grid  { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px,1fr)); gap: 10px; margin-bottom: 1.25rem; }
.stat-card   { background: var(--surface); border: 1px solid var(--border); border-radius: var(--rl); padding: .875rem 1.25rem; }
.stat-label  { font-size: 11px; color: var(--text2); margin-bottom: 5px; }
.stat-value  { font-size: 22px; font-weight: 700; font-family: 'DM Mono', monospace; }

/* ============================================================
   PROGRESS
   ============================================================ */
.progress      { background: var(--surf2); border-radius: 6px; height: 6px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 6px; transition: width .3s; }
.progress-bar  { background: var(--surf2); border-radius: 4px; height: 4px; margin-top: 8px; overflow: hidden; }

/* ============================================================
   AVATAR
   ============================================================ */
.avatar { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }

/* ============================================================
   MODAL
   ============================================================ */
.overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.65);
  display: none; align-items: center; justify-content: center;
  z-index: 300; backdrop-filter: blur(4px); padding: 1rem;
}
.overlay.open { display: flex; }
.modal {
  background: var(--surface); border-radius: var(--rx);
  border: 1px solid var(--border); padding: 1.75rem;
  width: 480px; max-width: 100%;
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
  animation: modalIn .15s ease;
  max-height: 90vh; overflow-y: auto;
}
@keyframes modalIn { from { opacity:0; transform:translateY(-8px) scale(.97) } to { opacity:1; transform:none } }
.modal-title  { font-size: 17px; font-weight: 700; margin-bottom: 1.25rem; }
.modal-footer { display: flex; gap: 8px; justify-content: flex-end; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border); }

/* ============================================================
   EMPTY
   ============================================================ */
.empty      { text-align: center; padding: 3rem; color: var(--text3); }
.empty-icon { font-size: 36px; margin-bottom: 12px; }

/* ============================================================
   TOAST
   ============================================================ */
#toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--surf3); border: 1px solid var(--border); color: var(--text);
  padding: 10px 20px; border-radius: var(--rl); font-size: 14px;
  z-index: 999; opacity: 0; transition: opacity .2s;
  white-space: nowrap; pointer-events: none;
  box-shadow: var(--shadow-md);
}

/* ============================================================
   TABS
   ============================================================ */
.tab-bar  { display: flex; gap: 4px; flex-wrap: wrap; padding: 1rem 1rem 0; flex-shrink: 0; }
.tab-btn  { padding: 7px 16px; border-radius: 20px; font-size: 13px; font-weight: 500; cursor: pointer; border: 1px solid var(--border); background: var(--surf2); color: var(--text2); font-family: 'DM Sans', sans-serif; transition: all .12s; }
.tab-btn.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.tab-btn:hover  { color: var(--text); }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
  width: var(--sidebar);
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  padding: 8px 0; flex-shrink: 0;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0; /* kluczowe dla flex overflow */
}
@media(max-width:767px) { .sidebar { display: none; } }
.nav-section { padding: 8px 16px 4px; font-size: 10px; font-weight: 700; color: var(--text3); text-transform: uppercase; letter-spacing: .08em; }
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: var(--r); margin: 1px 8px;
  cursor: pointer; color: var(--text2); transition: all .12s;
  border: 1px solid transparent; text-decoration: none;
  font-family: 'DM Sans', sans-serif; font-size: 13px;
}
.nav-item:hover  { background: var(--surf2); color: var(--text); }
.nav-item.active { background: var(--green-dim); color: var(--green); border-color: rgba(34,201,144,.2); font-weight: 600; }
.nav-item.disabled { opacity: .35; cursor: not-allowed; pointer-events: none; }
.nav-icon  { font-size: 17px; width: 22px; text-align: center; flex-shrink: 0; }
.nav-label { font-size: 13px; font-weight: 500; flex: 1; }
.nav-badge { background: var(--surf3); color: var(--text3); font-size: 10px; font-weight: 600; padding: 1px 7px; border-radius: 20px; }
.sidebar-divider { height: 1px; background: var(--border); margin: 8px 14px; }

/* ============================================================
   MOBILE NAV — większe touch targety
   ============================================================ */
.mobile-nav { display: none; background: var(--surface); border-top: 1px solid var(--border); flex-shrink: 0; }
@media(max-width:767px) { .mobile-nav { display: flex; height: var(--mobnav); } }
.mob-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-size: 10px; color: var(--text2); cursor: pointer; border: none; background: transparent;
  padding: 4px; font-family: 'DM Sans', sans-serif; text-decoration: none; transition: color .12s;
  font-weight: 500;
}
.mob-btn.active { color: var(--green); }
.mob-icon { font-size: 22px; line-height: 1; }

/* ============================================================
   LAYOUT
   ============================================================ */
.app-shell { display: flex; flex-direction: column; height: 100vh; overflow: hidden; }
.app-body  { display: flex; flex: 1; overflow: hidden; }
.content   { flex: 1; overflow-y: auto; }
.page      { padding: 1.25rem; max-width: 1100px; margin: 0 auto; }
@media(max-width:767px) { .page { padding: .875rem; padding-bottom: calc(var(--mobnav) + .5rem); } }

/* ============================================================
   MONTH NAV
   ============================================================ */
.month-nav  { display: flex; align-items: center; gap: 8px; }
.mnav-btn   { background: var(--surf2); border: 1px solid var(--border); color: var(--text); border-radius: var(--r); padding: 7px 14px; font-size: 14px; cursor: pointer; transition: background .12s; }
.mnav-btn:hover { background: var(--surf3); }
.mnav-label { font-size: 14px; font-weight: 600; min-width: 150px; text-align: center; }

/* ============================================================
   GRAFIK
   ============================================================ */
.week-grid { display: grid; gap: 6px; align-items: start; overflow-x: auto; }
.day-header { text-align: center; padding: 8px 4px; border-radius: var(--r); background: var(--surf2); border: 1px solid var(--border); margin-bottom: 6px; }
.day-num    { font-size: 20px; font-weight: 700; font-family: 'DM Mono', monospace; }
.day-name   { font-size: 10px; text-transform: uppercase; letter-spacing: .05em; color: var(--text2); }
.day-count  { font-size: 11px; margin-top: 3px; }
.day-today .day-header   { border-color: var(--green); background: var(--green-dim); }
.day-today .day-num      { color: var(--green); }
.day-weekend .day-header { border-color: rgba(245,166,35,.3); }
.day-weekend .day-num    { color: var(--amber); }

.drop-zone  { border-radius: var(--rl); border: 2px solid transparent; min-height: 40px; transition: all .15s; }
.drop-zone.drag-over { border-color: var(--green); background: var(--green-dim); }
.sec-row    { margin-bottom: 6px; }
.sec-head   { display: flex; align-items: center; justify-content: space-between; padding: 5px 8px; border-radius: 8px; margin-bottom: 4px; }
.sec-staff  { font-size: 10px; font-weight: 700; padding: 1px 5px; border-radius: 10px; font-family: 'DM Mono', monospace; }
.sec-ok   { background: var(--green-dim); color: var(--green); }
.sec-warn { background: var(--red-dim);   color: var(--red); }

.shift-chip  { display: flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 9px; margin-bottom: 3px; font-size: 12px; font-weight: 500; }
.shift-times { display: flex; align-items: center; gap: 3px; margin-top: 2px; }
.time-in {
  background: rgba(0,0,0,.2); border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px; color: inherit; font-family: 'DM Mono', monospace;
  font-size: 11px; padding: 2px 4px; width: 50px; text-align: center;
}
.time-in:focus { outline: none; border-color: rgba(255,255,255,.4); }
.del-btn { background: none; border: none; cursor: pointer; color: inherit; opacity: .5; font-size: 13px; padding: 0 2px; line-height: 1; }
.del-btn:hover { opacity: 1; }

.worker-pill {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 10px; background: var(--surf2); border: 1px solid var(--border);
  border-radius: 10px; cursor: grab; font-size: 13px; font-weight: 500;
  margin-bottom: 4px; user-select: none; transition: all .12s;
}
.worker-pill:hover   { background: var(--surf3); }
.worker-pill.dragging{ opacity: .4; }
.workers-panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--rl); padding: 12px;
  position: sticky; top: 0;
  max-height: calc(100vh - 130px); overflow-y: auto;
  width: 160px; flex-shrink: 0;
}

/* ============================================================
   INWENTARYZACJA
   ============================================================ */
.inv-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 16px; border-bottom: 1px solid var(--border2);
  transition: background .1s;
}
.inv-row:last-child { border-bottom: none; }
.inv-name { font-size: 15px; font-weight: 500; }
.inv-sub  { font-size: 12px; color: var(--text3); margin-top: 2px; }
.inv-input {
  width: 88px; padding: 9px 10px;
  border: 1.5px solid var(--border); border-radius: var(--r);
  background: var(--surf2); color: var(--text);
  font-family: 'DM Mono', monospace; font-size: 17px; font-weight: 600; text-align: center;
  transition: border-color .15s;
}
.inv-input:focus  { outline: none; border-color: var(--green); }
.inv-input.changed{ border-color: var(--green); background: var(--green-dim); color: var(--green); }

/* SAVE BAR */
.save-bar { position: sticky; bottom: 0; background: var(--bg); border-top: 1px solid var(--border); padding: .75rem 1rem; z-index: 10; }

/* ============================================================
   JASNY MOTYW — OVERRIDES SPECIFYCZNE
   ============================================================ */

/* Pola godzin w grafiku — białe tło, czarny tekst */
body.light .time-in {
  background: #FFFFFF;
  border: 1.5px solid rgba(0,0,0,.2);
  color: #111827;
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
}
body.light .time-in:focus {
  border-color: var(--green);
  outline: none;
}

/* Karty zmian (shift-chip) — wyraźniejsze sekcje */
body.light .shift-chip {
  border: 1px solid rgba(0,0,0,.1);
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

/* Kolumny dni — jaśniejsze i wyraźniejsze */
body.light .drop-zone {
  background: rgba(0,0,0,.02);
  border-radius: var(--rl);
}
body.light .drop-zone.drag-over {
  background: var(--green-dim);
  border-color: var(--green);
}

/* Worker pills — wyraźny border */
body.light .worker-pill {
  border: 1.5px solid rgba(0,0,0,.12);
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
body.light .worker-pill:hover {
  background: var(--surf3);
  border-color: var(--green);
}

/* Sekcje SUSHI/KUCHNIA/SALA — wyraźniejsze */
body.light .sec-head {
  background: rgba(0,0,0,.03);
  border: 1px solid rgba(0,0,0,.06);
}
body.light .sec-ok  { background: rgba(5,150,105,.12); color: #065F46; }
body.light .sec-warn { background: rgba(220,38,38,.12); color: #991B1B; }

/* Nagłówki dni — lepszy kontrast */
body.light .day-header {
  background: #FFFFFF;
  border: 1.5px solid rgba(0,0,0,.1);
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
body.light .day-today .day-header {
  background: rgba(5,150,105,.08);
  border-color: var(--green);
}
body.light .day-weekend .day-header {
  background: rgba(217,119,6,.06);
}

/* Tabele w jasnym motywie */
body.light .tbl th {
  background: #F3F4F6;
  color: #374151;
  font-weight: 700;
  border-bottom: 2px solid rgba(0,0,0,.1);
}
body.light .tbl td {
  border-bottom-color: rgba(0,0,0,.06);
}
body.light .tbl tr:hover td {
  background: rgba(5,150,105,.04);
}

/* Inwentarz — wyraźniejsze pola */
body.light .inv-row:hover {
  background: rgba(0,0,0,.02);
}
body.light .inv-val-btn {
  background: #FFFFFF;
  border: 2px solid rgba(0,0,0,.12);
  color: #111827;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
body.light .inv-val-btn.active {
  border-color: var(--green);
  background: rgba(5,150,105,.08);
  color: var(--green);
}
body.light .inv-val-btn.filled {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(37,99,235,.06);
}

/* Numpad inwentarza */
body.light #inv-numpad {
  background: #FFFFFF;
  border-top: 2px solid var(--green);
  box-shadow: 0 -4px 20px rgba(0,0,0,.12);
}
body.light .inv-nkey {
  background: #F9FAFB;
  color: #111827;
  border: 1px solid rgba(0,0,0,.08);
}
body.light .inv-nkey:active { background: #E5E7EB; }
body.light .inv-nkey.nk-ok  { background: var(--green); color: #FFFFFF; }

/* Tabs aktywna zakładka w module */
body.light .tab-btn.active {
  background: #111827;
  color: #FFFFFF;
  border-color: #111827;
}

/* Notatki w grafiku */
body.light input[placeholder*="notatka"] {
  background: rgba(0,0,0,.04);
  border-color: rgba(0,0,0,.1);
  color: #374151;
}

/* Panel podglądu koszty */
body.light details > summary {
  color: var(--text2);
}
body.light details[open] > summary {
  color: var(--text);
}

/* Mobile nav active indicator */
body.light .mob-btn.active {
  color: var(--green);
  font-weight: 700;
}

/* Save bar */
body.light .save-bar {
  background: rgba(240,242,245,.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(0,0,0,.1);
}

/* Grafik planowanie — komórki */
body.light .plan-editor {
  border-color: var(--green);
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
}

/* Loading */
body.light .loading {
  color: var(--text3);
}

/* Progress bar */
body.light .progress-bar  { background: #E5E7EB; }
body.light .progress      { background: #E5E7EB; }


/* =====================================================================
   GASTROSYS — MOTYW "PRO" v3  (wklejone na końcu style.css)
   Wyraźne odświeżenie: zaokrąglenia, warstwowe karty z cieniem,
   stonowana paleta. Aby cofnąć — usuń wszystko od tej linii w dół.
   ===================================================================== */

/* ---- 1. PALETA + KSZTAŁT — MOTYW CIEMNY (domyślny) ---- */
:root {
  --green:#2FC392; --green-d:#23A77B; --green-dim:rgba(47,195,146,.16);
  --red:#EC6A62;    --red-dim:rgba(236,106,98,.15);
  --amber:#E6A93F;  --amber-dim:rgba(230,169,63,.15);
  --blue:#5FA0DC;   --blue-dim:rgba(95,160,220,.15);
  --purple:#A18CEC; --purple-dim:rgba(161,140,236,.16);
  --gold:#DDB85F;   --gold-dim:rgba(221,184,95,.16);

  /* warstwowe, ciepłe tła — wyraźnie odróżnialne od czerni */
  --bg:#0C100E;
  --surface:#1A231E;
  --surf2:#212B25;
  --surf3:#2B362F;
  --border:rgba(255,255,255,.10);
  --border2:rgba(255,255,255,.05);
  --text:#ECF1ED;
  --text2:#9DAAA1;
  --text3:#69766D;

  --shadow:0 1px 2px rgba(0,0,0,.35), 0 10px 26px rgba(0,0,0,.30);
  --shadow-md:0 18px 48px rgba(0,0,0,.50);

  /* wyraźniejsze zaokrąglenia */
  --r:14px; --rl:20px; --rx:26px;

  --role-admin:#A18CEC; --role-manager:#E6A93F; --role-kucharz:#2FC392; --role-kelner:#5FA0DC;
}

/* ---- 2. PALETA — MOTYW JASNY ---- */
body.light {
  --green:#13855E; --green-d:#0E6E4D; --green-dim:rgba(19,133,94,.10);
  --red:#BC433D;    --red-dim:rgba(188,67,61,.10);
  --amber:#B9791A;  --amber-dim:rgba(185,121,26,.11);
  --blue:#2C6BAE;   --blue-dim:rgba(44,107,174,.10);
  --purple:#6A55C0; --purple-dim:rgba(106,85,192,.10);
  --gold:#A9842C;   --gold-dim:rgba(169,132,44,.10);

  --bg:#EEF1EC;
  --surface:#FFFFFF;
  --surf2:#F4F7F2;
  --surf3:#E9EDE6;
  --border:rgba(20,40,30,.10);
  --border2:rgba(20,40,30,.05);
  --text:#1B231E;
  --text2:#5C675F;
  --text3:#9099 8F;
  --text3:#90998F;

  --shadow:0 1px 3px rgba(27,35,30,.07), 0 6px 20px rgba(27,35,30,.06);
  --shadow-md:0 18px 48px rgba(27,35,30,.14);

  --role-admin:#6A55C0; --role-manager:#B9791A; --role-kucharz:#13855E; --role-kelner:#2C6BAE;
}

/* ---- 3. SZLIF KOMPONENTÓW (oba motywy) ---- */

/* Topbar — czysty, z subtelną linią */
.topbar { box-shadow:0 1px 0 var(--border); }
.app-name { font-weight:700; letter-spacing:-.015em; }

/* Karty — wyraźna warstwa z cieniem (to daje efekt „nowości") */
.card, .stat-card, .workers-panel {
  background:var(--surface);
  border:1px solid var(--border);
  box-shadow:var(--shadow);
}
.card-header { background:transparent; }
.stat-value { letter-spacing:-.02em; font-weight:700; }
.sec-title  { letter-spacing:-.015em; }
.sec-label, .form-label { letter-spacing:.06em; }

/* Przyciski — pełniejsze, czytelne */
.btn { font-weight:600; }
.btn-primary { background:var(--green); border-color:var(--green); color:#fff; }
.btn-primary:hover { background:var(--green-d); border-color:var(--green-d); }

/* Pola — pierścień focus w nowej zieleni */
.input:focus { border-color:var(--green); box-shadow:0 0 0 3px var(--green-dim); }
.inv-input:focus, .time-in:focus { border-color:var(--green); }

/* Nawigacja — aktywny element */
.nav-item.active { background:var(--green-dim); color:var(--green); border-color:transparent; }
.mob-btn.active  { color:var(--green); }

/* Grafik — dzień dzisiejszy */
.day-today .day-header { background:var(--green-dim); border-color:var(--green); }
.day-today .day-num    { color:var(--green); }

/* Zakładki */
.tab-btn.active { background:var(--text); color:var(--surface); border-color:var(--text); }

/* Statystyki — równe odstępy */
.stat-card { padding:1rem 1.25rem; }

/* Modal / toast — głębszy cień */
.modal { box-shadow:var(--shadow-md); }
#toast { box-shadow:var(--shadow-md); }

/* Tabela — delikatniejszy hover */
.tbl th { background:var(--surf2); }


/* =====================================================================
   GASTROSYS — IKONY LINIOWE (zamiast emoji)  ·  bez zmian w HTML
   Technika: ukrywamy emoji (font-size:0) i wstawiamy ikonę SVG jako
   maskę, która dziedziczy kolor tekstu (hover/aktywny/oba motywy OK).
   Aby cofnąć — usuń całą tę sekcję.
   ===================================================================== */

/* bazowy pseudo-element ikony */
.nav-icon, .mob-icon, .mod-icon { font-size:0 !important; line-height:0; }
.nav-icon::after, .mob-icon::after, .mod-icon::after {
  content:""; display:inline-block; background-color:currentColor;
  -webkit-mask: var(--ic) center / contain no-repeat;
          mask: var(--ic) center / contain no-repeat;
}
.nav-icon::after { width:20px; height:20px; }
.mob-icon::after { width:23px; height:23px; }
.mod-icon { margin-bottom:12px; }
.mod-icon::after { width:30px; height:30px; }

.nav-item[href^="index.html"] .nav-icon, .mob-btn[href^="index.html"] .mob-icon{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%227.5%22%20height%3D%227.5%22%20rx%3D%221.6%22%2F%3E%3Crect%20x%3D%2213.5%22%20y%3D%223%22%20width%3D%227.5%22%20height%3D%227.5%22%20rx%3D%221.6%22%2F%3E%3Crect%20x%3D%2213.5%22%20y%3D%2213.5%22%20width%3D%227.5%22%20height%3D%227.5%22%20rx%3D%221.6%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%2213.5%22%20width%3D%227.5%22%20height%3D%227.5%22%20rx%3D%221.6%22%2F%3E%3C%2Fsvg%3E");}
.nav-item[href^="zamowienia.html"] .nav-icon, .mob-btn[href^="zamowienia.html"] .mob-icon{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%2220%22%20r%3D%221.4%22%2F%3E%3Ccircle%20cx%3D%2218%22%20cy%3D%2220%22%20r%3D%221.4%22%2F%3E%3Cpath%20d%3D%22M2.5%203.5h2.3l2.2%2011.2a1.6%201.6%200%200%200%201.6%201.3h8.3a1.6%201.6%200%200%200%201.6-1.3L20.5%207H5.4%22%2F%3E%3C%2Fsvg%3E");}
.nav-item[href^="grafik.html"] .nav-icon, .mob-btn[href^="grafik.html"] .mob-icon{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%224.5%22%20width%3D%2218%22%20height%3D%2216%22%20rx%3D%222.5%22%2F%3E%3Cpath%20d%3D%22M3%209.2h18M8%202.5v4M16%202.5v4%22%2F%3E%3C%2Fsvg%3E");}
.nav-item[href^="panel.html"] .nav-icon, .mob-btn[href^="panel.html"] .mob-icon{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228%22%20r%3D%224%22%2F%3E%3Cpath%20d%3D%22M4.5%2020.5a7.5%207.5%200%200%201%2015%200%22%2F%3E%3C%2Fsvg%3E");}
.nav-item[href^="napiwki.html"] .nav-icon, .mob-btn[href^="napiwki.html"] .mob-icon{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cellipse%20cx%3D%2212%22%20cy%3D%226.2%22%20rx%3D%227%22%20ry%3D%223%22%2F%3E%3Cpath%20d%3D%22M5%206.2v5.6c0%201.66%203.13%203%207%203s7-1.34%207-3V6.2M5%2011.8v5.6c0%201.66%203.13%203%207%203s7-1.34%207-3v-5.6%22%2F%3E%3C%2Fsvg%3E");}
.nav-item[href^="utarg.html"] .nav-icon, .mob-btn[href^="utarg.html"] .mob-icon{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2021h18%22%2F%3E%3Crect%20x%3D%225%22%20y%3D%2211%22%20width%3D%223.4%22%20height%3D%227%22%20rx%3D%221%22%2F%3E%3Crect%20x%3D%2210.3%22%20y%3D%226%22%20width%3D%223.4%22%20height%3D%2212%22%20rx%3D%221%22%2F%3E%3Crect%20x%3D%2215.6%22%20y%3D%2214%22%20width%3D%223.4%22%20height%3D%224%22%20rx%3D%221%22%2F%3E%3C%2Fsvg%3E");}
.nav-item[href^="finanse.html"] .nav-icon, .mob-btn[href^="finanse.html"] .mob-icon{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3.5%2016.5l5.5-5.5%203.5%203.5%207-7.5%22%2F%3E%3Cpath%20d%3D%22M14%207h5.5v5.5%22%2F%3E%3C%2Fsvg%3E");}
.nav-item[href^="koszty.html"] .nav-icon, .mob-btn[href^="koszty.html"] .mob-icon{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%203.5v17l2-1.2%202%201.2%202-1.2%202%201.2%202-1.2%202%201.2v-17l-2%201.2-2-1.2-2%201.2-2-1.2-2%201.2z%22%2F%3E%3Cpath%20d%3D%22M9%208.5h6M9%2012.5h6%22%2F%3E%3C%2Fsvg%3E");}
.nav-item[href^="todos.html"] .nav-icon, .mob-btn[href^="todos.html"] .mob-icon{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223.5%22%20y%3D%223.5%22%20width%3D%2217%22%20height%3D%2217%22%20rx%3D%223.5%22%2F%3E%3Cpath%20d%3D%22M8%2012l2.8%202.8L16.5%209%22%2F%3E%3C%2Fsvg%3E");}
.nav-item[href^="rezerwacje.html"] .nav-icon, .mob-btn[href^="rezerwacje.html"] .mob-icon{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%224.5%22%20width%3D%2218%22%20height%3D%2216%22%20rx%3D%222.5%22%2F%3E%3Cpath%20d%3D%22M3%209.2h18M8%202.5v4M16%202.5v4M8.5%2014.5l2.2%202.2%204-4.2%22%2F%3E%3C%2Fsvg%3E");}
.nav-item[href^="rezerwacja.html"] .nav-icon, .mob-btn[href^="rezerwacja.html"] .mob-icon{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M3%2012h18M12%203c2.6%202.7%202.6%2015.3%200%2018M12%203c-2.6%202.7-2.6%2015.3%200%2018%22%2F%3E%3C%2Fsvg%3E");}
.nav-item[href^="pos.html"] .nav-icon, .mob-btn[href^="pos.html"] .mob-icon{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%224%22%20width%3D%2218%22%20height%3D%2212.5%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8.5%2020.5h7M12%2016.5v4%22%2F%3E%3C%2Fsvg%3E");}
.nav-item[href^="help.html"] .nav-icon, .mob-btn[href^="help.html"] .mob-icon{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M9.3%209.2a2.9%202.9%200%200%201%205.5%201.2c0%201.9-2.8%202.4-2.8%203.9%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2217.2%22%20r%3D%22.6%22%2F%3E%3C%2Fsvg%3E");}
.nav-item[href^="wiedza.html"] .nav-icon, .mob-btn[href^="wiedza.html"] .mob-icon{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%204.8A2.6%202.6%200%200%201%206.6%202.2H20v17.4H6.6A2.6%202.6%200%200%200%204%2022.2z%22%2F%3E%3Cpath%20d%3D%22M4%2019.6A2.6%202.6%200%200%201%206.6%2017H20%22%2F%3E%3C%2Fsvg%3E");}
.nav-item[href^="komunikaty.html"] .nav-icon, .mob-btn[href^="komunikaty.html"] .mob-icon{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20.5%2011.5a7.7%207.7%200%200%201-11%206.9L4%2020l1.6-5A7.7%207.7%200%201%201%2020.5%2011.5z%22%2F%3E%3C%2Fsvg%3E");}
.nav-icon{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%227.5%22%20height%3D%227.5%22%20rx%3D%221.6%22%2F%3E%3Crect%20x%3D%2213.5%22%20y%3D%223%22%20width%3D%227.5%22%20height%3D%227.5%22%20rx%3D%221.6%22%2F%3E%3Crect%20x%3D%2213.5%22%20y%3D%2213.5%22%20width%3D%227.5%22%20height%3D%227.5%22%20rx%3D%221.6%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%2213.5%22%20width%3D%227.5%22%20height%3D%227.5%22%20rx%3D%221.6%22%2F%3E%3C%2Fsvg%3E");}
.mob-icon{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%227.5%22%20height%3D%227.5%22%20rx%3D%221.6%22%2F%3E%3Crect%20x%3D%2213.5%22%20y%3D%223%22%20width%3D%227.5%22%20height%3D%227.5%22%20rx%3D%221.6%22%2F%3E%3Crect%20x%3D%2213.5%22%20y%3D%2213.5%22%20width%3D%227.5%22%20height%3D%227.5%22%20rx%3D%221.6%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%2213.5%22%20width%3D%227.5%22%20height%3D%227.5%22%20rx%3D%221.6%22%2F%3E%3C%2Fsvg%3E");}

/* kafelki modułów — ikona + kolor akcentu po href */
.mod-card[href^="index.html"] .mod-icon{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%227.5%22%20height%3D%227.5%22%20rx%3D%221.6%22%2F%3E%3Crect%20x%3D%2213.5%22%20y%3D%223%22%20width%3D%227.5%22%20height%3D%227.5%22%20rx%3D%221.6%22%2F%3E%3Crect%20x%3D%2213.5%22%20y%3D%2213.5%22%20width%3D%227.5%22%20height%3D%227.5%22%20rx%3D%221.6%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%2213.5%22%20width%3D%227.5%22%20height%3D%227.5%22%20rx%3D%221.6%22%2F%3E%3C%2Fsvg%3E");}
.mod-card[href^="zamowienia.html"] .mod-icon{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%2220%22%20r%3D%221.4%22%2F%3E%3Ccircle%20cx%3D%2218%22%20cy%3D%2220%22%20r%3D%221.4%22%2F%3E%3Cpath%20d%3D%22M2.5%203.5h2.3l2.2%2011.2a1.6%201.6%200%200%200%201.6%201.3h8.3a1.6%201.6%200%200%200%201.6-1.3L20.5%207H5.4%22%2F%3E%3C%2Fsvg%3E");}
.mod-card[href^="grafik.html"] .mod-icon{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%224.5%22%20width%3D%2218%22%20height%3D%2216%22%20rx%3D%222.5%22%2F%3E%3Cpath%20d%3D%22M3%209.2h18M8%202.5v4M16%202.5v4%22%2F%3E%3C%2Fsvg%3E");}
.mod-card[href^="panel.html"] .mod-icon{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228%22%20r%3D%224%22%2F%3E%3Cpath%20d%3D%22M4.5%2020.5a7.5%207.5%200%200%201%2015%200%22%2F%3E%3C%2Fsvg%3E");}
.mod-card[href^="napiwki.html"] .mod-icon{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cellipse%20cx%3D%2212%22%20cy%3D%226.2%22%20rx%3D%227%22%20ry%3D%223%22%2F%3E%3Cpath%20d%3D%22M5%206.2v5.6c0%201.66%203.13%203%207%203s7-1.34%207-3V6.2M5%2011.8v5.6c0%201.66%203.13%203%207%203s7-1.34%207-3v-5.6%22%2F%3E%3C%2Fsvg%3E");}
.mod-card[href^="utarg.html"] .mod-icon{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2021h18%22%2F%3E%3Crect%20x%3D%225%22%20y%3D%2211%22%20width%3D%223.4%22%20height%3D%227%22%20rx%3D%221%22%2F%3E%3Crect%20x%3D%2210.3%22%20y%3D%226%22%20width%3D%223.4%22%20height%3D%2212%22%20rx%3D%221%22%2F%3E%3Crect%20x%3D%2215.6%22%20y%3D%2214%22%20width%3D%223.4%22%20height%3D%224%22%20rx%3D%221%22%2F%3E%3C%2Fsvg%3E");}
.mod-card[href^="finanse.html"] .mod-icon{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3.5%2016.5l5.5-5.5%203.5%203.5%207-7.5%22%2F%3E%3Cpath%20d%3D%22M14%207h5.5v5.5%22%2F%3E%3C%2Fsvg%3E");}
.mod-card[href^="koszty.html"] .mod-icon{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%203.5v17l2-1.2%202%201.2%202-1.2%202%201.2%202-1.2%202%201.2v-17l-2%201.2-2-1.2-2%201.2-2-1.2-2%201.2z%22%2F%3E%3Cpath%20d%3D%22M9%208.5h6M9%2012.5h6%22%2F%3E%3C%2Fsvg%3E");}
.mod-card[href^="todos.html"] .mod-icon{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223.5%22%20y%3D%223.5%22%20width%3D%2217%22%20height%3D%2217%22%20rx%3D%223.5%22%2F%3E%3Cpath%20d%3D%22M8%2012l2.8%202.8L16.5%209%22%2F%3E%3C%2Fsvg%3E");}
.mod-card[href^="rezerwacje.html"] .mod-icon{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%224.5%22%20width%3D%2218%22%20height%3D%2216%22%20rx%3D%222.5%22%2F%3E%3Cpath%20d%3D%22M3%209.2h18M8%202.5v4M16%202.5v4M8.5%2014.5l2.2%202.2%204-4.2%22%2F%3E%3C%2Fsvg%3E");}
.mod-card[href^="rezerwacja.html"] .mod-icon{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M3%2012h18M12%203c2.6%202.7%202.6%2015.3%200%2018M12%203c-2.6%202.7-2.6%2015.3%200%2018%22%2F%3E%3C%2Fsvg%3E");}
.mod-card[href^="pos.html"] .mod-icon{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%224%22%20width%3D%2218%22%20height%3D%2212.5%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8.5%2020.5h7M12%2016.5v4%22%2F%3E%3C%2Fsvg%3E");}
.mod-card[href^="help.html"] .mod-icon{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M9.3%209.2a2.9%202.9%200%200%201%205.5%201.2c0%201.9-2.8%202.4-2.8%203.9%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2217.2%22%20r%3D%22.6%22%2F%3E%3C%2Fsvg%3E");}
.mod-card[href^="wiedza.html"] .mod-icon{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%204.8A2.6%202.6%200%200%201%206.6%202.2H20v17.4H6.6A2.6%202.6%200%200%200%204%2022.2z%22%2F%3E%3Cpath%20d%3D%22M4%2019.6A2.6%202.6%200%200%201%206.6%2017H20%22%2F%3E%3C%2Fsvg%3E");}
.mod-card[href^="komunikaty.html"] .mod-icon{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20.5%2011.5a7.7%207.7%200%200%201-11%206.9L4%2020l1.6-5A7.7%207.7%200%201%201%2020.5%2011.5z%22%2F%3E%3C%2Fsvg%3E");}
.mod-card[href^="zamowienia.html"] .mod-icon{color:var(--green);}
.mod-card[href^="grafik.html"] .mod-icon{color:var(--amber);}
.mod-card[href^="panel.html"] .mod-icon{color:var(--blue);}
.mod-card[href^="napiwki.html"] .mod-icon{color:var(--amber);}
.mod-card[href^="utarg.html"] .mod-icon{color:var(--purple);}
.mod-card[href^="finanse.html"] .mod-icon{color:var(--green);}
.mod-card[href^="koszty.html"] .mod-icon{color:var(--red);}
.mod-card[href^="komunikaty.html"] .mod-icon{color:var(--green);}
.mod-card[href^="wiedza.html"] .mod-icon{color:var(--purple);}
.mod-card[href^="rezerwacja.html"] .mod-icon{color:var(--purple);}
.mod-card[href^="panel.html#dyspozycje"] .mod-icon{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%224%22%20width%3D%2214%22%20height%3D%2217%22%20rx%3D%222.4%22%2F%3E%3Cpath%20d%3D%22M9%204.2a1.6%201.6%200%200%201%201.6-1.6h2.8A1.6%201.6%200%200%201%2015%204.2V5a1%201%200%200%201-1%201h-4a1%201%200%200%201-1-1z%22%2F%3E%3Cpath%20d%3D%22M9%2011h6M9%2014.5h6%22%2F%3E%3C%2Fsvg%3E");}
.mod-card[href^="panel.html#rozliczenie"] .mod-icon{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2021h18%22%2F%3E%3Crect%20x%3D%225%22%20y%3D%2211%22%20width%3D%223.4%22%20height%3D%227%22%20rx%3D%221%22%2F%3E%3Crect%20x%3D%2210.3%22%20y%3D%226%22%20width%3D%223.4%22%20height%3D%2212%22%20rx%3D%221%22%2F%3E%3Crect%20x%3D%2215.6%22%20y%3D%2214%22%20width%3D%223.4%22%20height%3D%224%22%20rx%3D%221%22%2F%3E%3C%2Fsvg%3E");color:var(--purple);}
.mod-card[href^="panel.html#ustawienia"] .mod-icon{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%223%22%2F%3E%3Cpath%20d%3D%22M19.4%2013a1.7%201.7%200%200%200%20.3%201.9l.1.1a2%202%200%201%201-2.8%202.8l-.1-.1a1.7%201.7%200%200%200-2.9%201.2v.2a2%202%200%201%201-4%200v-.1a1.7%201.7%200%200%200-2.9-1.2l-.1.1a2%202%200%201%201-2.8-2.8l.1-.1a1.7%201.7%200%200%200-1.2-2.9H3a2%202%200%201%201%200-4h.1a1.7%201.7%200%200%200%201.2-2.9l-.1-.1a2%202%200%201%201%202.8-2.8l.1.1a1.7%201.7%200%200%200%201.9.3%201.7%201.7%200%200%200%201-1.5V3a2%202%200%201%201%204%200v.1a1.7%201.7%200%200%200%201%201.5%201.7%201.7%200%200%200%201.9-.3l.1-.1a2%202%200%201%201%202.8%202.8l-.1.1a1.7%201.7%200%200%200-.3%201.9%201.7%201.7%200%200%200%201.5%201H21a2%202%200%201%201%200%204h-.1a1.7%201.7%200%200%200-1.5%201z%22%2F%3E%3C%2Fsvg%3E");}
.mod-icon{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%227.5%22%20height%3D%227.5%22%20rx%3D%221.6%22%2F%3E%3Crect%20x%3D%2213.5%22%20y%3D%223%22%20width%3D%227.5%22%20height%3D%227.5%22%20rx%3D%221.6%22%2F%3E%3Crect%20x%3D%2213.5%22%20y%3D%2213.5%22%20width%3D%227.5%22%20height%3D%227.5%22%20rx%3D%221.6%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%2213.5%22%20width%3D%227.5%22%20height%3D%227.5%22%20rx%3D%221.6%22%2F%3E%3C%2Fsvg%3E");}
