.mesai-wrap {
  max-width: 720px;
  margin: 0 auto 40px;
  padding: 0 16px 24px;
  box-sizing: border-box;
}

.mesai-period {
  margin: 0 0 16px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-left: 4px solid #dc2626;
  border-radius: 12px;
}
html.sleek-shell:not(.sleek-cream) body.page-mesai .mesai-period {
  color: #FF6B6B !important;
  background: rgba(255, 107, 107, 0.2) !important;
  border: 1px solid rgba(255, 107, 107, 0.3) !important;
  border-left: 1px solid rgba(255, 107, 107, 0.3) !important;
  border-radius: 1.5rem;
  text-align: center;
  font-size: 11px;
}

.mesai-card {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 16px;
  padding: 18px 18px 20px;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.mesai-card h2 {
  margin: 0 0 6px;
  font-size: 18px;
  color: #0f172a;
}

.mesai-label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: #0f172a;
  margin-bottom: 6px;
}

.mesai-req { color: #e31e24; }

.mesai-hint {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.45;
  color: #64748b;
}

.mesai-select,
.mesai-picker input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #dbe3ec;
  background: #f8fafc;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 16px;
  color: #0f172a;
}

.mesai-select:focus,
.mesai-picker input:focus {
  outline: none;
  border-color: #e31e24;
  box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.12);
}

.mesai-picker {
  position: relative;
  scroll-margin-top: 100px;
  scroll-margin-bottom: 260px;
}

.mesai-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 20;
  max-height: 260px;
  overflow: auto;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.mesai-suggest button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14px;
  color: #0f172a;
}

.mesai-suggest button:hover,
.mesai-suggest button.is-active {
  background: #e31e24;
  color: #fff;
}

.mesai-suggest .muted {
  display: block;
  font-size: 12px;
  opacity: 0.75;
}

.mesai-suggest .mesai-empty {
  padding: 12px 14px;
  font-size: 13px;
  color: #64748b;
}

.mesai-chips {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0;
}

.mesai-chip {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
}

.mesai-chip-body {
  min-width: 0;
  flex: 1;
}

.mesai-chip strong {
  display: block;
  font-size: 14px;
  color: #0f172a;
}

.mesai-chip-meta {
  display: block;
  font-size: 12px;
  color: #64748b;
}

.mesai-chip-remove {
  border: 0;
  background: transparent;
  color: #e31e24;
  font-weight: 700;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 4px 6px;
}

.mesai-days-edit {
  margin: 10px 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}
.mesai-days-edit-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  user-select: none;
}
.mesai-days-edit-toggle input {
  width: 18px;
  height: 18px;
  accent-color: #e31e24;
}
.mesai-days-edit-hint {
  margin: 8px 0 0;
}
.mesai-days-edit-panels {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mesai-days-edit-row {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
}
.mesai-days-edit-row h4 {
  margin: 0 0 4px;
  font-size: 14px;
  color: #0f172a;
}
.mesai-days-edit-row .mesai-days-edit-meta {
  margin: 0 0 8px;
  font-size: 12px;
  color: #64748b;
}
.mesai-days-edit .daygrid {
  margin-top: 4px;
}
.mesai-days-edit .day-toggle {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}
.mesai-days-edit .day-toggle.weekend {
  background: #334155;
  border-color: #1e293b;
  color: #f8fafc;
}
.mesai-days-edit .day-toggle.on {
  background: linear-gradient(135deg, #e31e24, #f97316);
  border-color: transparent;
  color: #fff;
}
.mesai-days-edit .day-toggle.nobet-mark {
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  border-color: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  cursor: default;
}
.mesai-days-edit .day-toggle.nobet-mark.on {
  background: linear-gradient(135deg, #7c3aed, #f97316);
}
.mesai-legend-nobet { color: #7c3aed; font-weight: 600; }
.mesai-legend-mesai { color: #ea580c; font-weight: 600; }

.mesai-ybu-window {
  margin: 10px 0 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
}
.mesai-ybu-window .mesai-label {
  margin: 0 0 8px;
  color: #0f172a;
}
.mesai-ybu-window-opts {
  display: grid;
  gap: 8px;
}
.mesai-ybu-window-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #dbe3ec;
  border-radius: 10px;
  background: #f8fafc;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  user-select: none;
}
.mesai-ybu-window-opt input {
  width: 18px;
  height: 18px;
  accent-color: #e31e24;
  flex-shrink: 0;
}
.mesai-ybu-window-opt:has(input:checked) {
  border-color: #e31e24;
  background: #fff7f7;
  box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.12);
}
.mesai-ybu-window .mesai-hint {
  margin: 8px 0 0;
  color: #475569;
}

.mesai-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #b45309;
  background: #fef3c7;
  vertical-align: middle;
}

.mesai-badge--ah {
  color: #1d4ed8;
  background: #dbeafe;
}

.mesai-extras-grid {
  display: grid;
  gap: 14px;
}

.mesai-workmode {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
}
.mesai-workmode-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #dbe3ec;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  user-select: none;
}
.mesai-workmode-opt input {
  width: 18px;
  height: 18px;
  accent-color: #e31e24;
  flex-shrink: 0;
}
.mesai-workmode-opt:has(input:checked) {
  border-color: #e31e24;
  box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.12);
  background: #fff7f7;
}

.mesai-extra-field .mesai-label {
  margin-bottom: 6px;
}

.mesai-extra-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.mesai-unused {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #475569;
  cursor: pointer;
  user-select: none;
}

.mesai-unused input {
  width: 16px;
  height: 16px;
  accent-color: #e31e24;
}

.mesai-ertesi-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 12px;
  color: #475569;
  flex-wrap: wrap;
}

.mesai-ertesi-input,
.mesai-extra-input {
  width: 88px;
  box-sizing: border-box;
  border: 1px solid #dbe3ec;
  background: #fff;
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 16px;
  color: #0f172a;
}

.mesai-extra-input:disabled {
  opacity: 0.45;
  background: #f1f5f9;
}

.mesai-ertesi-input:focus,
.mesai-extra-input:focus {
  outline: none;
  border-color: #e31e24;
  box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.12);
}

.mesai-calc-btn {
  width: 100%;
  border: 0;
  border-radius: 14px;
  background: #e31e24;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mesai-calc-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.mesai-calc-btn--icap { background: #b91c1c; }

.mesai-result {
  margin-top: 14px;
  border-top: 1px solid #e2e8f0;
  padding-top: 14px;
}

.mesai-totals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.mesai-stat {
  background: #f8fafc;
  border-radius: 12px;
  padding: 10px 12px;
}

.mesai-stat b {
  display: block;
  font-size: 18px;
  color: #0f172a;
}

.mesai-stat small {
  color: #64748b;
  font-size: 12px;
}

.mesai-money {
  background: #fff5f5;
  border: 1px solid #fecaca;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.mesai-money .net {
  font-size: 22px;
  font-weight: 800;
  color: #e31e24;
}

.mesai-person {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
  margin-top: 8px;
}

.mesai-person h3 {
  margin: 0 0 6px;
  font-size: 14px;
}

.mesai-person table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.mesai-person td {
  padding: 3px 0;
  color: #475569;
}

.mesai-person td:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.mesai-err {
  color: #b91c1c;
  font-size: 13px;
  margin-top: 8px;
}
.mesai-err--title {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.admin-ot-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin: 10px 0;
}
.admin-ot-table th,
.admin-ot-table td {
  border-bottom: 1px solid #e2e8f0;
  padding: 6px 4px;
  text-align: left;
  vertical-align: middle;
}
.admin-ot-table input[type="text"],
.admin-ot-table input[type="number"],
.admin-ot-table input[type="date"] {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  html.sleek-shell:not(.sleek-cream) .mesai-card {
    background: rgba(23, 21, 59, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
  }
  html.sleek-shell:not(.sleek-cream) .mesai-card h2,
  html.sleek-shell:not(.sleek-cream) .mesai-label,
  html.sleek-shell:not(.sleek-cream) .mesai-chip strong { color: #fff; }
  html.sleek-shell:not(.sleek-cream) .mesai-hint,
  html.sleek-shell:not(.sleek-cream) .mesai-chip-meta,
  html.sleek-shell:not(.sleek-cream) .mesai-ertesi-row,
  html.sleek-shell:not(.sleek-cream) .mesai-unused { color: rgba(255, 255, 255, 0.62); }
  html.sleek-shell:not(.sleek-cream) .mesai-select,
  html.sleek-shell:not(.sleek-cream) .mesai-picker input,
  html.sleek-shell:not(.sleek-cream) .mesai-ertesi-input,
  html.sleek-shell:not(.sleek-cream) .mesai-extra-input {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
    color: #fff;
  }
  html.sleek-shell:not(.sleek-cream) .mesai-extra-input:disabled {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.35);
  }
  html.sleek-shell:not(.sleek-cream) .mesai-chip {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
  }
  html.sleek-shell:not(.sleek-cream) .mesai-days-edit {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
  }
  html.sleek-shell:not(.sleek-cream) .mesai-days-edit-toggle { color: #fff; }
  html.sleek-shell:not(.sleek-cream) .mesai-days-edit-row {
    background: rgba(15, 12, 41, 0.45);
    border-color: rgba(255, 255, 255, 0.12);
  }
  html.sleek-shell:not(.sleek-cream) .mesai-days-edit-row h4 { color: #fff; }
  html.sleek-shell:not(.sleek-cream) .mesai-days-edit-row .mesai-days-edit-meta { color: rgba(255, 255, 255, 0.55); }
  html.sleek-shell:not(.sleek-cream) .mesai-days-edit .day-toggle {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    color: #fff;
  }
  html.sleek-shell:not(.sleek-cream) .mesai-days-edit .day-toggle.weekend {
    background: #1e293b;
    border-color: #0f172a;
    color: #f8fafc;
  }
  html.sleek-shell:not(.sleek-cream) .mesai-days-edit .day-toggle.on {
    background: linear-gradient(135deg, #e31e24, #f97316);
    color: #fff;
  }
  html.sleek-shell:not(.sleek-cream) .mesai-days-edit .day-toggle.nobet-mark {
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
    color: #fff;
  }
  html.sleek-shell:not(.sleek-cream) .mesai-days-edit .day-toggle.nobet-mark.on {
    background: linear-gradient(135deg, #7c3aed, #f97316);
  }
  html.sleek-shell:not(.sleek-cream) .mesai-legend-nobet { color: #c4b5fd; }
  html.sleek-shell:not(.sleek-cream) .mesai-legend-mesai { color: #fdba74; }
  html.sleek-shell:not(.sleek-cream) .mesai-stat {
    background: rgba(255, 255, 255, 0.06);
  }
  html.sleek-shell:not(.sleek-cream) .mesai-stat b { color: #fff; }
  html.sleek-shell:not(.sleek-cream) .mesai-money {
    background: rgba(227, 30, 36, 0.16);
    border-color: rgba(227, 30, 36, 0.35);
  }
  html.sleek-shell:not(.sleek-cream) .mesai-person {
    border-color: rgba(255, 255, 255, 0.12);
  }
  html.sleek-shell:not(.sleek-cream) .mesai-person h3 { color: #fff; }
  html.sleek-shell:not(.sleek-cream) .mesai-person td { color: rgba(255, 255, 255, 0.72); }
  html.sleek-shell:not(.sleek-cream) .mesai-result { border-top-color: rgba(255, 255, 255, 0.12); }
}

.mesai-notice-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  box-sizing: border-box;
  background: rgba(8, 6, 24, 0.72);
}
.mesai-notice-overlay[hidden] { display: none !important; }
.mesai-notice-card {
  width: min(420px, 100%);
  background: #17153B;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  padding: 22px 20px 18px;
  color: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.mesai-notice-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.mesai-notice-card p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}
.mesai-notice-card p strong {
  color: #F9A8D4;
  font-weight: 800;
}
.mesai-notice-ok {
  width: 100%;
  margin-top: 6px;
  border: none;
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(135deg, #D8B4FE, #C084FC);
  color: #1A103C;
}

/* Ekran görüntüsünde görünen IP / kullanıcı filigranı — çakışmadan boşlukları doldurur */
.mesai-watermark {
  position: fixed;
  inset: -30%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  transform: rotate(-28deg);
}
.mesai-watermark.is-front {
  z-index: 8;
}
.mesai-watermark-layer {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 0;
}
.mesai-watermark-layer--shift {
  transform: translate(12%, 7%);
}
.mesai-watermark-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  align-items: center;
  gap: 28px;
  padding: 0 12px;
  box-sizing: border-box;
}
.mesai-watermark-row span {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: #fff;
  opacity: 0.12;
  text-align: center;
}
.mesai-watermark.is-front .mesai-watermark-row span {
  opacity: 0.18;
}

/* Sonuç kutularında neredeyse görünmez iz (ref satırı yok) */
.mesai-stat,
.mesai-money,
.mesai-person,
.mesai-totals {
  position: relative;
}
.mesai-stealth-dust {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  line-height: 1.2;
  color: #fff;
  opacity: 0.028;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  white-space: nowrap;
  overflow: hidden;
  text-align: center;
  z-index: 0;
}

/* Net satırı: yükseklik ikiye bölünür — üst + alt iki enine viewBox */
.mesai-ip-band {
  position: relative;
  display: inline-block;
  max-width: 100%;
  vertical-align: baseline;
  line-height: 1.05;
  color: inherit;
  z-index: 2;
  overflow: hidden;
}
.mesai-person h3 .mesai-ip-band,
.mesai-chip-body strong .mesai-ip-band {
  display: inline-block;
  max-width: calc(100% - 8px);
}
.mesai-stat b .mesai-ip-band {
  display: inline-block;
}
.mesai-ip-band-face {
  position: relative;
  z-index: 1;
}
.mesai-ip-band-fill {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  align-items: stretch;
  gap: 0;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
  opacity: var(--ip-glyph-opacity, 0.5);
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}
.mesai-ip-band-row {
  display: block;
  width: 100%;
  flex: 1 1 50%;
  min-height: 0;
  height: 50%;
  overflow: hidden;
}

/* İsim harfleri (küçük glif) — aynı üst/alt iki bant */
.mesai-ip-letter {
  position: relative;
  display: inline-block;
  vertical-align: baseline;
  line-height: 1;
  color: inherit;
  z-index: 2;
  overflow: hidden;
}
.mesai-ip-letter-face {
  position: relative;
  z-index: 1;
}
.mesai-ip-letter-fill {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  align-items: stretch;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
  opacity: var(--ip-glyph-opacity, 0.5);
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}
.mesai-ip-letter-fill .mesai-ip-band-row {
  display: block;
  width: 100%;
  flex: 1 1 50%;
  min-height: 0;
  height: 50%;
  overflow: hidden;
}
.mesai-ip-letter--net .mesai-ip-band-fill,
.mesai-ip-letter--digit .mesai-ip-band-fill,
.mesai-ip-letter--name .mesai-ip-letter-fill,
html.sleek-shell .mesai-ip-band-fill,
html.sleek-shell .mesai-ip-letter-fill {
  opacity: var(--ip-glyph-opacity, 0.5);
}
.mesai-person h3,
.mesai-money .net,
.mesai-chip-body strong {
  position: relative;
  z-index: 2;
}

.mesai-stealth-dust {
  white-space: nowrap;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  letter-spacing: 0.02em;
}

html.sleek-shell.sleek-cream body.page-mesai .mesai-wrap {
  max-width: none;
  margin: 0 auto 40px;
  padding: 0 20px 28px;
  box-sizing: border-box;
}
html.sleek-shell.sleek-cream body.page-mesai .mesai-card {
  background: #fff !important;
  border: 1px solid rgba(235, 220, 199, 0.55) !important;
  border-radius: 28px;
  color: #2D3436 !important;
  box-shadow:
    0 10px 28px rgba(45, 52, 54, 0.06),
    0 0 32px rgba(78, 205, 196, 0.14) !important;
}
html.sleek-shell.sleek-cream body.page-mesai .mesai-card h2,
html.sleek-shell.sleek-cream body.page-mesai .mesai-card h3,
html.sleek-shell.sleek-cream body.page-mesai .mesai-label,
html.sleek-shell.sleek-cream body.page-mesai .cream-field-head h3 {
  color: #2D3436 !important;
}
html.sleek-shell.sleek-cream body.page-mesai .mesai-hint,
html.sleek-shell.sleek-cream body.page-mesai .cream-field-sub {
  color: #636E72 !important;
}
html.sleek-shell.sleek-cream body.page-mesai .mesai-period {
  color: #e11d48 !important;
  background: #FFF1F0 !important;
  border: 0 !important;
  border-left: 0 !important;
  border-radius: 24px;
  text-align: center;
}
html.sleek-shell.sleek-cream body.page-mesai .mesai-select,
html.sleek-shell.sleek-cream body.page-mesai .mesai-picker input,
html.sleek-shell.sleek-cream body.page-mesai .mesai-ertesi-input,
html.sleek-shell.sleek-cream body.page-mesai .mesai-extra-input {
  background: #F0E6D6 !important;
  border: 1px solid rgba(235, 220, 199, 0.5) !important;
  color: #2D3436 !important;
  border-radius: 999px;
}
html.sleek-shell.sleek-cream body.page-mesai .mesai-workmode-opt {
  background: #F0E6D6 !important;
  border: 1px solid rgba(235, 220, 199, 0.45) !important;
  color: #2D3436 !important;
  box-shadow: none !important;
  border-radius: 999px;
}
html.sleek-shell.sleek-cream body.page-mesai .mesai-workmode-opt:has(input:checked) {
  background: rgba(78, 205, 196, 0.16) !important;
  border: 2px solid rgba(78, 205, 196, 0.4) !important;
  box-shadow: none !important;
  color: #2D3436 !important;
}
html.sleek-shell.sleek-cream body.page-mesai .mesai-workmode-opt input {
  accent-color: #4ECDC4;
}

html.sleek-shell.sleek-cream body.page-mesai .mesai-picker input {
  background: #fff !important;
  border: 1px solid rgba(235, 220, 199, 0.85) !important;
  color: #2D3436 !important;
  box-shadow: 0 8px 24px rgba(45, 52, 54, 0.04);
}
html.sleek-shell.sleek-cream body.page-mesai .mesai-picker input::placeholder {
  color: #8b8174 !important;
  opacity: 1;
}
html.sleek-shell.sleek-cream body.page-mesai .mesai-suggest {
  background: #fff !important;
  border: 1px solid rgba(235, 220, 199, 0.85) !important;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(45, 52, 54, 0.12);
}
html.sleek-shell.sleek-cream body.page-mesai .mesai-suggest button {
  color: #2D3436 !important;
  background: transparent !important;
}
html.sleek-shell.sleek-cream body.page-mesai .mesai-suggest button:hover,
html.sleek-shell.sleek-cream body.page-mesai .mesai-suggest button.is-active {
  background: rgba(78, 205, 196, 0.16) !important;
  color: #2D3436 !important;
}
html.sleek-shell.sleek-cream body.page-mesai .mesai-suggest .muted,
html.sleek-shell.sleek-cream body.page-mesai .mesai-suggest .mesai-empty {
  color: #4b5563 !important;
  opacity: 1;
}

html.sleek-shell.sleek-cream body.page-mesai .mesai-result {
  background: transparent;
  border: 0;
  color: #2D3436;
}
html.sleek-shell.sleek-cream body.page-mesai .mesai-stat {
  background: #FAF5EB !important;
  border: 1px solid rgba(235, 220, 199, 0.7);
}
html.sleek-shell.sleek-cream body.page-mesai .mesai-stat b {
  color: #2D3436 !important;
}
html.sleek-shell.sleek-cream body.page-mesai .mesai-stat small {
  color: #4b5563 !important;
  font-weight: 700;
}
html.sleek-shell.sleek-cream body.page-mesai .mesai-money {
  background: #FFF1F0 !important;
  border: 1px solid #f9c6c6 !important;
  color: #2D3436 !important;
}
html.sleek-shell.sleek-cream body.page-mesai .mesai-money > div,
html.sleek-shell.sleek-cream body.page-mesai .mesai-money .net {
  color: #be123c !important;
}
html.sleek-shell.sleek-cream body.page-mesai .mesai-person {
  background: #fff !important;
  border-color: rgba(235, 220, 199, 0.8) !important;
  color: #2D3436 !important;
}
html.sleek-shell.sleek-cream body.page-mesai .mesai-person h3 {
  color: #2D3436 !important;
}
html.sleek-shell.sleek-cream body.page-mesai .mesai-person td {
  color: #4b5563 !important;
}

html.sleek-shell.sleek-cream body.page-mesai .mesai-watermark {
  z-index: 0;
}
html.sleek-shell.sleek-cream body.page-mesai .mesai-watermark.is-front {
  z-index: 8;
}
html.sleek-shell.sleek-cream body.page-mesai .mesai-watermark-row span {
  color: #2D3436;
  opacity: 0.055;
}
html.sleek-shell.sleek-cream body.page-mesai .mesai-watermark.is-front .mesai-watermark-row span {
  opacity: 0.12;
  mix-blend-mode: multiply;
}
html.sleek-shell.sleek-cream body.page-mesai .mesai-stealth-dust {
  color: #2D3436;
  opacity: 0.045;
}
html.sleek-shell.sleek-cream body.page-mesai .mesai-ip-band-fill,
html.sleek-shell.sleek-cream body.page-mesai .mesai-ip-letter-fill {
  opacity: 0.16;
}

.mesai-tax-box {
  margin: 14px 0 16px;
  padding: 14px 14px 16px;
  border-radius: 20px;
  background: #f8fafc;
  border: 1px solid #e8edf3;
  box-sizing: border-box;
}
.mesai-tax-box h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #0f172a;
}
.mesai-tax-box .mesai-hint {
  margin-bottom: 12px;
}
.mesai-tax-fields,
.mesai-tax-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.mesai-tax-fields {
  margin-top: 4px;
}
.mesai-tax-fields[hidden],
.mesai-tax-field[hidden],
#taxAutoWrap[hidden],
#taxManualWrap[hidden] {
  display: none !important;
}
.mesai-tax-input {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid #dbe3ec;
  background: #fff;
  border-radius: 14px;
  font-size: 16px;
  line-height: 1.3;
  color: #0f172a;
}
.mesai-tax-input:focus {
  outline: none;
  border-color: #e31e24;
  box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.12);
}

html.sleek-shell.sleek-cream body.page-mesai .mesai-tax-box {
  background: #FAF5EB;
  border: 1px solid rgba(235, 220, 199, 0.75);
}
html.sleek-shell.sleek-cream body.page-mesai .mesai-tax-box h3 {
  color: #2D3436 !important;
}
html.sleek-shell.sleek-cream body.page-mesai .mesai-tax-input {
  width: 100% !important;
  max-width: none !important;
  min-height: 48px;
  padding: 12px 16px !important;
  border-radius: 16px !important;
  background: #F0E6D6 !important;
  border: 1px solid rgba(235, 220, 199, 0.5) !important;
  color: #2D3436 !important;
  font-weight: 700;
}

html.sleek-shell.sleek-cream.has-cream-chrome body.page-mesai .container.mesai-wrap,
html.sleek-shell.sleek-cream body.page-mesai .container.mesai-wrap {
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box;
}

html.sleek-shell:not(.sleek-cream) body.page-mesai .mesai-tax-box {
  background: #241E4A !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}
html.sleek-shell:not(.sleek-cream) body.page-mesai .mesai-tax-box h3 {
  color: #F8F9FA !important;
}
html.sleek-shell:not(.sleek-cream) body.page-mesai .mesai-tax-box .mesai-hint,
html.sleek-shell:not(.sleek-cream) body.page-mesai .mesai-tax-box .mesai-label {
  color: rgba(248, 249, 250, 0.82) !important;
}
html.sleek-shell:not(.sleek-cream) body.page-mesai .mesai-tax-box .mesai-workmode-opt {
  background: #2A2454 !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #F8F9FA !important;
}
html.sleek-shell:not(.sleek-cream) body.page-mesai .mesai-tax-box .mesai-workmode-opt:has(input:checked) {
  background: rgba(227, 30, 36, 0.32) !important;
  border-color: rgba(248, 113, 113, 0.7) !important;
  color: #fff !important;
}
html.sleek-shell:not(.sleek-cream) body.page-mesai .mesai-tax-input {
  background: #2A2454 !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #F8F9FA !important;
}
html.sleek-shell:not(.sleek-cream) body.page-mesai .mesai-tax-input::placeholder {
  color: rgba(248, 249, 250, 0.4);
}

html.sleek-shell:not(.sleek-cream) body.page-mesai .mesai-suggest .muted,
html.sleek-shell:not(.sleek-cream) body.page-mesai .mesai-suggest .mesai-empty {
  color: rgba(248, 249, 250, 0.62) !important;
  opacity: 1;
}
html.sleek-shell:not(.sleek-cream) body.page-mesai .mesai-suggest button:hover .muted,
html.sleek-shell:not(.sleek-cream) body.page-mesai .mesai-suggest button.is-active .muted {
  color: #3F3366 !important;
}

html.sleek-shell:not(.sleek-cream) body.page-mesai .mesai-err,
html.sleek-shell:not(.sleek-cream) body.page-mesai .mesai-err--title {
  color: #fecaca !important;
}
html.sleek-shell:not(.sleek-cream) body.page-mesai .mesai-err--title {
  background: rgba(255, 107, 107, 0.2) !important;
  border: 1px solid rgba(255, 107, 107, 0.4) !important;
}
