:root {
  color-scheme: dark;
  font-family: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.5;
  font-size: 16px;
  --bg: #040713;
  --bg-accent: #120b2a;
  --panel-bg: rgba(13, 19, 45, 0.92);
  --panel-border: rgba(116, 61, 253, 0.45);
  --shadow: 0 32px 80px rgba(3, 6, 18, 0.75);

  --text-primary: #f5f8ff;
  --text-muted: #91a2d9;

  --green: #55ff55;
  --pink: #f626af;
  --purple: #713dfd;
  --blue: #1e4fff;

  --code-key: #55ff55;
  --code-operator: #94a4ff;
  --code-string: #ffc36d;
  --code-comment: #6f7ba8;

  /* Legacy tokens mapped to the new palette */
  --surface: var(--panel-bg);
  --surface-alt: rgba(11, 16, 38, 0.9);
  --border: rgba(113, 61, 253, 0.28);
  --border-strong: var(--panel-border);
  --text: var(--text-primary);
  --primary: var(--purple);
  --primary-strong: #5b2ceb;
  --primary-fade: rgba(113, 61, 253, 0.16);
  --danger: #f87171;
  --card-shadow: var(--shadow);
  --badge-bg: rgba(30, 79, 255, 0.15);
  --badge-border: rgba(30, 79, 255, 0.32);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 20%, rgba(246, 38, 175, 0.18), transparent 55%),
    radial-gradient(circle at 85% 10%, rgba(30, 79, 255, 0.22), transparent 60%),
    radial-gradient(circle at 10% 85%, rgba(85, 255, 85, 0.18), transparent 45%),
    linear-gradient(135deg, var(--bg), var(--bg-accent));
  color: var(--text-primary);
}

#app {
  max-width: 980px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}

.app-header h1 {
  font-size: 1.6rem;
  margin: 0;
  letter-spacing: 0.03em;
  background: linear-gradient(120deg, var(--pink), var(--purple), var(--blue));
  -webkit-background-clip: text;
  color: transparent;
}

.card {
  position: relative;
  background: linear-gradient(140deg, rgba(19, 25, 58, 0.95), rgba(9, 13, 32, 0.95));
  border-radius: 1.6rem;
  box-shadow: var(--card-shadow);
  padding: 1.65rem;
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
  overflow: hidden;
  z-index: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border 0.25s ease;
}

.card::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  background: radial-gradient(circle at 20% -20%, rgba(246, 38, 175, 0.22), transparent 55%),
              radial-gradient(circle at 120% 50%, rgba(85, 255, 85, 0.18), transparent 65%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.card:hover,
.card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(5, 10, 30, 0.65), 0 0 30px rgba(113, 61, 253, 0.25);
  border-color: rgba(113, 61, 253, 0.55);
}

.card:hover::after,
.card:focus-within::after {
  opacity: 1;
}

.service-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.2rem;
  align-items: center;
  padding: 1.35rem 1.5rem;
  border-radius: 1.2rem;
  background: rgba(11, 18, 38, 0.75);
  border: 1px solid rgba(113, 61, 253, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border 0.25s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  background: radial-gradient(circle at 20% -20%, rgba(246, 38, 175, 0.2), transparent 55%),
              radial-gradient(circle at 120% 50%, rgba(85, 255, 85, 0.2), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(5, 10, 30, 0.65), 0 0 30px rgba(246, 38, 175, 0.2);
  border-color: rgba(85, 255, 85, 0.52);
}

.service-card:hover::after,
.service-card:focus-visible::after {
  opacity: 1;
}

/* Reusable code panel component */
.code-panel {
  position: relative;
  background: linear-gradient(140deg, rgba(19, 25, 58, 0.95), rgba(9, 13, 32, 0.95));
  border: 1px solid var(--panel-border);
  border-radius: 1.75rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.code-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(15, 20, 44, 0.9);
}

.code-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-right: 0.85rem;
  flex-shrink: 0;
}

.code-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  flex: 1;
}

.dot {
  display: inline-block;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.code-body {
  padding: 1.25rem 1.5rem 1.5rem;
  color: var(--text);
  line-height: 1.55;
}

.form-body {
  font-family: inherit;
  font-size: 1rem;
  background: rgba(12, 16, 32, 0.86);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 0 0 1.75rem 1.75rem;
}

pre,
code {
  font-family: 'Fira Code', 'Fira Mono', 'Source Code Pro', monospace;
}

pre {
  margin: 0;
  background: rgba(12, 16, 32, 0.85);
  border: 1px solid rgba(113, 61, 253, 0.25);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  overflow-x: auto;
}

pre code {
  color: var(--code-key);
  background: none;
  padding: 0;
}

:not(pre) > code {
  background: rgba(113, 61, 253, 0.18);
  color: var(--code-key);
  padding: 0.1rem 0.35rem;
  border-radius: 0.55rem;
}

:not(pre) > code .token.operator,
code .token.operator {
  color: var(--code-operator);
}

:not(pre) > code .token.string,
code .token.string {
  color: var(--code-string);
}

:not(pre) > code .token.comment,
code .token.comment {
  color: var(--code-comment);
}

.hidden {
  display: none !important;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.field span,
.field label {
  font-weight: 600;
  color: var(--text);
}

.field-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem 1.5rem;
  }
}

input,
select,
textarea {
  font: inherit;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(15, 18, 40, 0.85);
  color: var(--text);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  outline-offset: 0;
  box-shadow: 0 0 0 2px var(--primary);
}

button {
  font: inherit;
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

button.primary {
  background: linear-gradient(135deg, var(--purple), #4a1fe0);
  color: var(--text-primary);
  box-shadow: 0 12px 30px rgba(113, 61, 253, 0.35);
}

button.secondary {
  background: rgba(30, 79, 255, 0.16);
  color: var(--blue);
  border: 1px solid rgba(30, 79, 255, 0.45);
  box-shadow: 0 10px 24px rgba(30, 79, 255, 0.18);
}

button.primary:active,
button.secondary:active {
  transform: translateY(1px);
}

.link-button {
  background: none;
  border: none;
  color: var(--primary);
  padding: 0;
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.icon-button {
  background: rgba(12, 16, 32, 0.7);
  border: 1px solid rgba(113, 61, 253, 0.25);
  border-radius: 0.9rem;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0.35rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  transition: color 0.2s ease, border 0.2s ease, background 0.2s ease;
}

.icon-button i {
  font-size: 1rem;
  pointer-events: none;
}

.icon-button:not([disabled]):hover {
  color: var(--text-primary);
  border-color: rgba(113, 61, 253, 0.45);
  background: rgba(19, 25, 58, 0.9);
}

.icon-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Show password control */
.password-input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.password-input input[type="password"],
.password-input input[type="text"] {
  flex: 1 1 auto;
}

.showpwd {
  min-width: 2.35rem;
  color: var(--text-muted);
}

.showpwd i {
  font-size: 1rem;
  display: block;
}

.error {
  color: var(--danger);
  min-height: 1.2rem;
}

.picker {
  position: relative;
}

.picker-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: rgba(15, 18, 38, 0.8);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
}

.picker-trigger::after {
  content: '▾';
  font-size: 0.75rem;
  color: #6b7280;
}

.picker-open .picker-trigger::after {
  transform: rotate(180deg);
}

.picker-trigger[disabled] {
  cursor: not-allowed;
  opacity: 0.55;
  background: rgba(12, 14, 28, 0.55);
  color: var(--text-muted);
  border-color: rgba(113, 61, 253, 0.2);
}

.picker-panel {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: rgba(10, 14, 32, 0.96);
  border-radius: 16px;
  border: 1px solid var(--border-strong);
  box-shadow: 0 22px 55px rgba(6, 10, 30, 0.55);
  padding: 0.75rem;
  z-index: 30;
}

.picker-search {
  width: 100%;
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  background: rgba(15, 18, 40, 0.85);
  color: var(--text);
}

.picker-list {
  max-height: 220px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(12, 16, 32, 0.85);
}

.picker-option {
  padding: 0.55rem 0.75rem;
  cursor: pointer;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  color: var(--text);
}

.picker-option:last-child {
  border-bottom: none;
}

.picker-option-clear {
  font-style: italic;
  color: var(--text-muted);
}

.picker-option:hover,
.picker-option[aria-selected='true'] {
  background: rgba(113, 61, 253, 0.18);
  color: var(--text);
}

.picker-option-clear:hover {
  color: var(--pink);
}

.picker-status {
  font-size: 0.85rem;
  color: var(--text-muted);
  min-height: 1.2rem;
}

.picker.empty .picker-list {
  border-style: dashed;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.range-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 0.75rem;
  margin: 0.75rem 0 1rem;
}

.range-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.actions button {
  flex: 1 1 160px;
}

.actions button.primary,
.actions button.secondary {
  padding: 0.55rem 1.2rem;
}

.actions button.ghost {
  flex: 0 0 auto;
  padding: 0.6rem 1.1rem;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(145, 162, 217, 0.35);
  box-shadow: none;
}

.actions button.ghost:not([disabled]):hover {
  color: var(--pink);
  border-color: rgba(246, 38, 175, 0.45);
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.list li {
  padding: 0;
  border-radius: 16px;
  background: none;
  border: none;
}

.worklog-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.worklog-day {
  background: linear-gradient(150deg, rgba(18, 24, 52, 0.95), rgba(10, 13, 33, 0.92));
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  overflow: hidden;
  box-shadow: 0 18px 38px rgba(6, 10, 30, 0.45);
}

.worklog-day.locked {
  background: rgba(10, 12, 26, 0.55);
  border-color: rgba(113, 61, 253, 0.2);
}

.worklog-day.locked .worklog-day-toggle:hover {
  background: rgba(113, 61, 253, 0.08);
}

/* Muted look for locked days */
.worklog-day.locked .worklog-day-name,
.worklog-day.locked .worklog-day-name.under {
  color: var(--text-muted);
}

.worklog-day.locked .worklog-day-hours,
.worklog-day.locked .worklog-day-overtime,
.worklog-day.locked .worklog-badge {
  color: var(--text-muted);
  background: rgba(31, 41, 55, 0.28);
  border-color: rgba(113, 61, 253, 0.22);
}

.worklog-day.locked .worklog-card {
  background: rgba(10, 12, 26, 0.35);
  border-color: rgba(113, 61, 253, 0.18);
  box-shadow: none;
}

.worklog-day.locked .worklog-card.offwork {
  background: rgba(20, 16, 35, 0.35);
  border-color: rgba(113, 61, 253, 0.18);
  box-shadow: none;
}

.worklog-day.locked .worklog-ticket,
.worklog-day.locked .worklog-desc {
  color: var(--text-muted);
}

.worklog-day.locked .worklog-edit,
.worklog-day.locked .worklog-delete {
  color: var(--text-muted);
  opacity: 0.6;
}

.worklog-day-toggle {
  width: 100%;
  background: none;
  color: inherit;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: none;
  font-weight: 600;
  text-align: left;
  border-radius: 16px 16px 0 0;
}

.worklog-day-toggle:hover {
  background: rgba(113, 61, 253, 0.12);
}

.worklog-day-label {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.95rem;
  text-transform: capitalize;
}

.worklog-day-name.under {
  color: var(--danger);
}

.worklog-day-hours {
  font-size: 0.82rem;
  color: var(--green);
  font-weight: 600;
  background: rgba(85, 255, 85, 0.12);
  border: 1px solid rgba(85, 255, 85, 0.35);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

.worklog-day-overtime {
  font-size: 0.82rem;
  color: var(--danger);
  font-weight: 600;
  background: rgba(220, 38, 38, 0.18); /* red-600 */
  border: 1px solid rgba(248, 113, 113, 0.45); /* red-400 */
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

.worklog-day-chevron {
  transition: transform 0.2s ease;
}

.worklog-day-chevron.open {
  transform: rotate(180deg);
}

.worklog-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.85rem;
  padding: 0 1rem;
  margin-top: 0;
  border-radius: 0 0 16px 16px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.35s ease, margin 0.35s ease;
}

.worklog-cards.collapsed {
  max-height: 0;
  opacity: 0;
  padding: 0 1rem;
  margin-top: 0;
}

.worklog-cards.expanded {
  max-height: 1600px;
  opacity: 1;
  padding: 0 1rem 1rem;
  margin-top: 0.85rem;
}

.worklog-card {
  background: rgba(14, 18, 40, 0.92);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  box-shadow: 0 12px 28px rgba(6, 10, 30, 0.35);
}

.worklog-card.offwork {
  background: rgba(246, 38, 175, 0.12);
  border-color: rgba(246, 38, 175, 0.45);
  box-shadow: 0 14px 32px rgba(246, 38, 175, 0.28);
}

.worklog-card.offwork .worklog-ticket {
  color: rgba(255, 196, 234, 0.9);
}

.worklog-card.offwork .worklog-desc {
  color: rgba(245, 248, 255, 0.92);
}

.worklog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.worklog-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.worklog-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--badge-border);
  background: var(--badge-bg);
  font-size: 0.75rem;
  color: var(--text);
  letter-spacing: 0.04em;
}

.worklog-badge.id {
  background: rgba(30, 79, 255, 0.18);
  border-color: rgba(30, 79, 255, 0.45);
  color: rgba(189, 212, 255, 0.95);
  font-weight: 600;
}

.worklog-badge.hours {
  background: rgba(85, 255, 85, 0.12);
  border-color: rgba(85, 255, 85, 0.35);
  color: var(--green);
}

.worklog-badge.offwork {
  background: rgba(246, 38, 175, 0.15);
  border-color: rgba(246, 38, 175, 0.35);
  color: rgba(255, 196, 234, 0.95);
}

.worklog-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.worklog-ticket {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.worklog-desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.35;
  color: var(--text);
}

.worklog-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
  flex-shrink: 0;
}

.worklog-edit.icon-button:not([disabled]):hover {
  color: var(--blue);
  border-color: rgba(30, 79, 255, 0.45);
  background: rgba(30, 79, 255, 0.18);
}

.worklog-delete.icon-button:not([disabled]):hover {
  color: #ff7b7b;
  border-color: rgba(248, 113, 113, 0.5);
  background: rgba(248, 113, 113, 0.18);
}

.worklog-empty {
  text-align: center;
  color: var(--text-muted);
  background: rgba(12, 16, 32, 0.8);
  border-radius: 16px;
  border: 1px dashed rgba(113, 61, 253, 0.35);
  padding: 1rem;
}

.info-box {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(30, 79, 255, 0.12);
  border: 1px solid rgba(30, 79, 255, 0.35);
  color: var(--blue);
}

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: rgba(3, 5, 15, 0.78);
  padding: 2.5rem 1.25rem;
  overflow-y: auto;
  z-index: 100;
}

.modal-content {
  max-width: 520px;
  width: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 3rem);
  overflow: hidden;
  border-radius: 1.75rem;
  background: none;
  border: none;
  box-shadow: none;
}

.modal-content.code-panel {
  max-width: 520px;
}

.modal-content.code-panel:focus-within {
  /* keep shadow and add subtle inner ring without breaking the radius */
  box-shadow: 0 25px 60px rgba(6, 10, 30, 0.55), 0 0 0 2px rgba(113, 61, 253, 0.45) inset;
}

.modal-header {
  margin-bottom: 0;
  padding-right: 1rem;
}

.modal-header .code-title {
  color: var(--text-primary);
  font-size: 1.05rem;
}

.modal-close {
  margin-left: auto;
  color: var(--text-muted);
  border-color: rgba(113, 61, 253, 0.25);
  background: rgba(12, 16, 32, 0.6);
}

.modal-close:not([disabled]):hover {
  color: var(--pink);
  border-color: rgba(246, 38, 175, 0.45);
  background: rgba(246, 38, 175, 0.16);
}

.modal-message {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.modal-body .actions {
  margin: 0;
  justify-content: flex-end;
  gap: 0.75rem;
}

@media (max-width: 540px) {
  .modal-content {
    max-height: none;
    height: auto;
  }
}

@media (max-width: 640px) {
  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .actions button {
    flex: 1 1 auto;
    width: 100%;
  }

  .worklog-cards {
    grid-template-columns: 1fr;
    padding: 0 0.85rem 0.85rem;
  }
}

body.modal-open {
  overflow: hidden;
}

/* Keep modal corners visible when inputs are focused */
.modal-content input:focus,
.modal-content select:focus,
.modal-content textarea:focus {
  outline: none;
  outline-offset: 0;
  box-shadow: 0 0 0 2px var(--primary) inset;
}

.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, rgba(113, 61, 253, 0.92), rgba(30, 79, 255, 0.92));
  color: var(--text-primary);
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  box-shadow: 0 16px 38px rgba(6, 10, 30, 0.45);
  z-index: 120;
}

button.danger {
  background: linear-gradient(140deg, #dc2626, #7f1d1d);
  color: #fee2e2;
  border: 1px solid rgba(248, 113, 113, 0.4);
  box-shadow: 0 10px 24px rgba(220, 38, 38, 0.35);
}

button.danger:active {
  transform: translateY(1px);
}

button.danger:disabled {
  background: rgba(220, 38, 38, 0.35);
  color: rgba(254, 242, 242, 0.8);
  box-shadow: none;
}

@media (max-width: 640px) {
  #app {
    padding: 1rem;
  }

  .card {
    padding: 1.1rem;
  }

  .actions {
    flex-direction: column;
  }

  h1 {
    width: 100%;
  }

  button {
    width: 100%;
  }
}

/* Strong overrides to ensure locked day muted palette wins over specific badge/card styles */
.worklog-day.locked .worklog-day-name,
.worklog-day.locked .worklog-day-name.under {
  color: var(--text-muted) !important;
}
.worklog-day.locked .worklog-ticket,
.worklog-day.locked .worklog-desc {
  color: var(--text-muted) !important;
}
.worklog-day.locked .worklog-badge,
.worklog-day.locked .worklog-day-hours,
.worklog-day.locked .worklog-day-overtime {
  color: var(--text-muted) !important;
  background: rgba(31, 41, 55, 0.28) !important;
  border-color: rgba(113, 61, 253, 0.22) !important;
}
.worklog-day.locked .worklog-card,
.worklog-day.locked .worklog-card.offwork {
  background: rgba(10, 12, 26, 0.35) !important;
  border-color: rgba(113, 61, 253, 0.18) !important;
  box-shadow: none !important;
}
