:root {
  --bg: #f5f1e8;
  --bg-2: #ebe3d5;
  --ink: #1d1a16;
  --muted: #6f655c;
  --card: #fff9f0;
  --line: #d5c9b8;
  --accent: #2d6a4f;
  --accent-2: #3b5b92;
  --section-a: #f4a261;
  --section-b: #e76f51;
  --section-c: #6d597a;
  --absence: #c74d4d;
  --sick: #8b2f2f;
  --overtime: #3b82f6;
  --preholiday: #2f9e44;
  --holiday: #7b2cbf;
  --neutral: #e6dfd3;
  --sheet-shadow: 0 24px 60px rgba(29, 26, 22, 0.15);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, #f9f4ea 0%, var(--bg) 35%, var(--bg-2) 100%);
}

.page {
  max-width: 1680px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding: 28px 32px;
  border-radius: 20px;
  background: linear-gradient(135deg, #fff4dd 0%, #f2e4cf 100%);
  box-shadow: var(--sheet-shadow);
}

body.env-stable .hero {
  background: linear-gradient(135deg, #edf8f2 0%, #d8efe2 100%);
}

body.env-dev .hero {
  background: linear-gradient(135deg, #fff0df 0%, #ffd7b0 100%);
  border: 1px solid #e7b781;
}

.hero h1 {
  font-family: "Newsreader", serif;
  font-weight: 500;
  font-size: 36px;
  margin: 0 0 8px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 8px;
}

.sub {
  margin: 0;
  color: var(--muted);
}

.meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pill {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}
.legend {
  margin: 32px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.audit-panel {
  margin: 0 0 24px;
  background: #fff6e8;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 10px 24px rgba(29, 26, 22, 0.08);
}

.audit-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.audit-head h2 {
  margin: 0;
  font-size: 18px;
}

.audit-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.audit-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.audit-item {
  border: 1px solid var(--line);
  background: #fffaf0;
  border-radius: 12px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.audit-item span {
  color: var(--muted);
  font-size: 12px;
}

.audit-item strong {
  font-size: 20px;
  line-height: 1;
}

.audit-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.legend-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 12px 30px rgba(29, 26, 22, 0.08);
}

.legend-card h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.legend-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 14px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.swatch {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid rgba(29, 26, 22, 0.2);
}

.swatch-absence { background: var(--absence); }
.swatch-sick { background: var(--sick); }
.swatch-overtime { background: var(--overtime); }

.swatch-holiday { background: var(--holiday); }
.swatch-neutral { background: var(--neutral); }

.rules {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}
.sheet {
  background: var(--card);
  border-radius: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--sheet-shadow);
}

.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.sheet-header h2 {
  margin: 0 0 4px;
}

.sheet-header p {
  margin: 0;
  color: var(--muted);
}

.sheet-actions {
  display: flex;
  gap: 10px;
}

.btn {
  border: none;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}

.btn.ghost {
  background: transparent;
  color: var(--accent-2);
  border: 1px solid var(--accent-2);
}

.table-wrap {
  overflow-x: auto;
  padding-bottom: 8px;
}

.presence-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1100px;
}

.presence-table thead th {
  position: sticky;
  top: 0;
  background: #f0e6d7;
  z-index: 2;
}

.presence-table th,
.presence-table td {
  border: 1px solid var(--line);
  padding: 6px 8px;
  text-align: center;
  font-size: 12px;
}

.presence-table .name-col {
  text-align: left;
  min-width: 170px;
  font-weight: 600;
  background: #fbf7ef;
  position: sticky;
  left: 0;
  z-index: 3;
}

.presence-table .section-col {
  min-width: 110px;
  background: #fbf7ef;
  position: sticky;
  left: 170px;
  z-index: 3;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.presence-table .summary-col {
  background: #f2eadc;
  font-weight: 600;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  background: rgba(0, 0, 0, 0.04);
}

.section-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.day-cell {
  position: relative;
  background: #fffdf8;
  overflow: visible;
}

.day-cell.weekend {
  background: #f2efe8;
  color: var(--muted);
}

.day-cell.holiday {
  background: #e9e3f5;
  color: #4c1d95;
}



.day-cell.event-absence {
  background: var(--absence);
  color: #fff;
}

.day-cell.event-sick {
  background: var(--sick);
  color: #fff;
}

.day-cell.event-overtime {
  background: var(--overtime);
  color: #fff;
}

.day-cell.event-preholiday {
  background: var(--preholiday);
  color: #fff;
}

.day-cell.event-holiday {
  background: var(--holiday);
  color: #fff;
}

.week-row td {
  background: #f7f0e3;
  font-weight: 600;
  color: var(--muted);
}

.week-row .name-col {
  font-weight: 500;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .sheet-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

.summary-plus {
  background: #e1f1e6;
  color: #1d4d2d;
  font-weight: 700;
}

.summary-minus {
  background: #fde2e2;
  color: #7f1d1d;
  font-weight: 700;
}

.summary-total {
  background: #efe7d9;
  font-weight: 700;
}

.presence-table thead .summary-plus,
.presence-table thead .summary-minus,
.presence-table thead .summary-total {
  font-size: 12px;
  letter-spacing: 0.08em;
}

.week-total {
  background: #f0e6d7;
  font-weight: 700;
  text-align: center;
  color: #5a4f44;
}

.week-row td {
  border-top: 2px solid #d5c9b8;
}

.sections {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section-block {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffdf7;
  padding: 16px;
  box-shadow: 0 12px 24px rgba(29, 26, 22, 0.08);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
}

.section-badge {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.section-meta {
  font-size: 12px;
  color: var(--muted);
}

.section-total {
  background: #efe7d9;
  font-weight: 700;
}

.section-total .name-col {
  color: #5a4f44;
}

.select {
  min-width: 200px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fffaf0;
  font-weight: 600;
  color: var(--ink);
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 12, 0.45);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(720px, 90vw);
  background: #fff8ee;
  border-radius: 18px;
  border: 1px solid var(--line);
  padding: 24px;
  box-shadow: 0 24px 60px rgba(20, 16, 12, 0.3);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.modal-header h3 {
  margin: 6px 0 0;
  font-size: 20px;
}

.icon-btn {
  border: 1px solid var(--line);
  background: transparent;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
}

.modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
}

.field.full {
  grid-column: 1 / -1;
}

.check-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #2b241f;
}

.bulk-workers-list {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fffdf9;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.bulk-workers-list label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2b241f;
  font-size: 13px;
}

.production-table .day-cell {
  cursor: pointer;
}

.prod-main {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.prod-sub {
  font-size: 11px;
  color: #6f655c;
  line-height: 1.2;
  margin-top: 2px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}

@media (max-width: 700px) {
  .audit-grid {
    grid-template-columns: 1fr 1fr;
  }

  .modal-grid {
    grid-template-columns: 1fr;
  }
}

.switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 46px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  inset: 0;
  background: #d8cbb9;
  border-radius: 999px;
  transition: 0.2s ease;
}

.slider::before {
  content: '';
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: #fff;
  transition: 0.2s ease;
}

.switch input:checked + .slider {
  background: #2d6a4f;
}

.switch input:checked + .slider::before {
  transform: translateX(20px);
}

.hidden {
  display: none;
}

.hint {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.auth-link {
  color: var(--accent-2);
  text-decoration: none;
  font-weight: 600;
}

.auth-link:hover {
  text-decoration: underline;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-card {
  width: min(560px, 100%);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--sheet-shadow);
  padding: 24px;
}

.auth-card h1 {
  margin: 8px 0 8px;
  font-family: "Newsreader", serif;
  font-size: 34px;
  font-weight: 500;
}

.auth-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.auth-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 12px;
}









.table-wrap {
  overflow-x: auto;
  overflow-y: visible;
}

.section-block {
  overflow: visible;
}










/* Tooltip override: force JS tooltip + icon */




/* Final override: remove any legacy tooltip + dot */
.day-cell 
.day-cell 



.note-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid #1d1a16;
  color: #1d1a16;
  background: #fffdf8;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.note-tooltip {
  position: fixed;
  left: 0;
  top: 0;
  opacity: 0;
  pointer-events: none;
  background: #1d1a16;
  color: #fff;
  font-size: 12px;
  padding: 6px 8px;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  max-width: none;
  line-height: 1.4;
  z-index: 1000000;
}

.note-tooltip.visible {
  opacity: 1;
}

.note-tooltip.wrap {
  white-space: normal;
  max-width: 240px;
}

.note-dot {
  position: absolute !important;
  top: 2px !important;
  right: 2px !important;
  margin: 0 !important;
}

.day-cell {
  position: relative !important;
}

.swatch-festivo { background: #e9e3f5; }
.swatch-closure { background: #cbd5e1; }

.swatch-weekend { background: #f2efe8; }
.swatch-festivo { background: #e9e3f5; }
.swatch-closure { background: #f7e7b8; }

.day-cell.closure {
  background: #f7e7b8;
  color: #5a4f44;
}

.print-header {
  margin-bottom: 16px;
}

.print-header h1 {
  margin: 0 0 4px;
  font-size: 20px;
}

.print-header p {
  margin: 0;
  color: #6f655c;
  font-size: 12px;
}

.layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 100vh;
}

.sidebar {
  background: #f2e6d6;
  border-right: 1px solid var(--line);
  padding: 24px 18px;
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
}

body.env-stable .sidebar {
  background: linear-gradient(180deg, #e6f4ea 0%, #d7eadf 100%);
}

body.env-dev .sidebar {
  background: linear-gradient(180deg, #ffe7cf 0%, #ffd8b0 100%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #1d1a16;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.brand-title {
  font-weight: 700;
}

.env-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(29, 26, 22, 0.18);
  background: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1d1a16;
  vertical-align: middle;
}

body.env-dev .env-pill {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(140, 67, 0, 0.25);
  color: #8c4300;
}

body.env-stable .env-pill {
  border-color: rgba(23, 102, 54, 0.25);
  color: #176636;
}

.brand-version {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-sub {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-item {
  text-decoration: none;
  color: var(--ink);
  padding: 8px 10px;
  border-radius: 10px;
  font-weight: 600;
}

.nav-item.active {
  background: #fff;
  border: 1px solid var(--line);
}

.content {
  background: transparent;
}

@media (max-width: 1100px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
}

.nav-section {
  margin: 12px 0 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.manage {
  margin: 24px 0 32px;
  padding: 20px 24px;
  background: #fffaf2;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 16px 32px rgba(29, 26, 22, 0.08);
}

.manage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.manage-header h2 {
  margin: 0 0 6px;
}

.manage-header p {
  margin: 0;
  color: var(--muted);
}

.manage-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 2fr;
  gap: 16px;
}

.manage-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}

.manage-card h3 {
  margin-top: 0;
}

.color-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.color-row input[type=text] {
  flex: 1;
}

.color-palette {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.color-chip {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.color-chip.active {
  box-shadow: 0 0 0 2px #1d1a16;
}

.manage-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.manage-table th,
.manage-table td {
  border-bottom: 1px solid var(--line);
  padding: 10px 8px;
  text-align: left;
}

.swatch-preview {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  margin-right: 6px;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

@media (max-width: 1100px) {
  .manage-grid {
    grid-template-columns: 1fr;
  }
}

.btn.danger {
  background: #c74d4d;
  color: #fff;
  border: none;
}

.btn.ghost.danger {
  background: transparent;
  color: #c74d4d;
  border: 1px solid #c74d4d;
}

.manage-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
}

.filter-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 12px;
  flex: 1;
}

.toolbar-actions {
  display: flex;
  gap: 10px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid transparent;
}

.status-pill.active {
  background: #e7f5ea;
  color: #1f6b3b;
  border-color: #b8e2c4;
}

.status-pill.inactive {
  background: #f3efe9;
  color: #6f6458;
  border-color: #e2d7c8;
}

.field textarea {
  width: 100%;
  min-height: 84px;
  resize: vertical;
}

@media (max-width: 1100px) {
  .manage-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-row {
    grid-template-columns: 1fr;
  }
}

.manage-grid.single {
  grid-template-columns: 1fr;
}

.role-pill {
  margin-top: 6px;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

@media

.empty-state {
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--muted);
  text-align: center;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: #1f2937;
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 2000;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.success {
  background: #1f6b3b;
}

.toast.error {
  background: #c74d4d;
}

.row-inactive {
  opacity: 0.6;
}


.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: #f3efe9;
  color: #5b544c;
  border: 1px solid #e2d7c8;
}

.badge.recurring {
  background: #e7f5ea;
  color: #1f6b3b;
  border-color: #b8e2c4;
}

.badge.specific {
  background: #f3efe9;
  color: #6f6458;
  border-color: #e2d7c8;
}


.drag-cell {
  width: 28px;
}

.drag-handle {
  cursor: grab;
  color: #9b8f84;
  font-weight: 700;
  font-size: 14px;
  display: inline-block;
}

.draggable-row.dragging {
  opacity: 0.5;
}

.draggable-row.drag-over {
  outline: 2px dashed #c9b8a2;
  outline-offset: -2px;
}


.month-nav {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.search-input {
  min-width: 220px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
}

.search-input:focus {
  outline: 2px solid rgba(45, 106, 79, 0.2);
}


.week-row {
  background: #fbf7ef;
}

.week-row .week-total {
  background: #f6efe3;
  font-weight: 600;
}

.week-row.section-total {
  background: #efe4d4;
}

.week-row.section-total .week-total {
  background: #eadcc9;
  font-weight: 700;
}

.summary-col.summary-total {
  font-weight: 700;
}

.summary-col.summary-plus {
  color: #2f9e44;
}

.summary-col.summary-minus {
  color: #c74d4d;
}


.week-row td {
  background: #efe6d7 !important;
  font-weight: 600 !important;
}

.week-row .week-total {
  background: #ead9c5 !important;
  font-weight: 700 !important;
}

.week-row.section-total td {
  background: #e3d1ba !important;
  font-weight: 700 !important;
  color: #3f352b !important;
}

.week-row.section-total .name-col {
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.summary-col.summary-total {
  background: #e6d6bf !important;
  font-weight: 800 !important;
}

.summary-col.summary-plus {
  background: #dff3e5 !important;
  font-weight: 700 !important;
}

.summary-col.summary-minus {
  background: #fde0e0 !important;
  font-weight: 700 !important;
}


.total-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #d9e2f2;
  color: #2f3f5d;
  font-weight: 800;
  letter-spacing: 0.02em;
}



.week-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f0e1cf;
  color: #6b4a2b;
  font-weight: 700;
  font-size: 11px;
}



.day-cell.out-assignment {
  background: #e6e0d6;
  color: #9c948a;
}


.day-cell.out-assignment::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, rgba(0,0,0,0.08), rgba(0,0,0,0.08) 4px, transparent 4px, transparent 8px);
  opacity: 0.45;
  pointer-events: none;
}
