@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=Manrope:wght@500;700;800&display=swap");

:root {
  --bg-deep: #160808;
  --bg-mid: #2a0e0e;
  --bg-soft: #f3e6e4;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --primary: #9c1406;
  --primary-dark: #6f0d03;
  --secondary: #8a1a10;
  --text: #102030;
  --text-soft: #486078;
  --border: #c8d5e2;
  --danger: #b42318;
  --shadow: 0 20px 44px rgba(5, 18, 36, 0.2);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", "Manrope", "Avenir Next", sans-serif;
  color: var(--text);
  background:
    radial-gradient(90rem 60rem at 5% -10%, #6c1e15 0%, transparent 55%),
    radial-gradient(70rem 50rem at 100% -20%, #4e1510 0%, transparent 50%),
    linear-gradient(160deg, var(--bg-deep), var(--bg-mid) 60%, #3a1511);
}

.container {
  width: min(1120px, 92vw);
  margin: 32px auto;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  animation: fadeUp 300ms ease-out;
}

.workplan-page .container {
  width: min(1920px, 96vw);
  max-width: 1920px;
  padding: 22px 24px 24px;
}

.brandbar {
  margin-bottom: 16px;
  background: linear-gradient(110deg, #2f0c08, #51150f 65%, #2f0c08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 10px 14px;
  color: #e6f1fb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px;
}

.developer-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px;
  cursor: pointer;
}

.developer-logo-fallback {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: "Manrope", "Space Grotesk", sans-serif;
  font-weight: 800;
  cursor: pointer;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(180deg, #c43221, #7f1308);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: "Manrope", "Space Grotesk", sans-serif;
  font-weight: 800;
  display: none;
}

.brand-name {
  margin: 0;
  font-family: "Manrope", "Space Grotesk", sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-claim {
  margin: 0;
  font-size: 12px;
  opacity: 0.86;
}

.brand-meta {
  margin: 0;
  font-size: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.lang-select {
  width: auto;
  min-width: 72px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 6px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.lang-select option {
  color: #111;
}

.masthead {
  margin-bottom: 22px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
}

.masthead.compact {
  padding: 14px 18px;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--secondary);
  font-size: 12px;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Manrope", "Space Grotesk", sans-serif;
  letter-spacing: -0.02em;
}

h1 {
  margin-bottom: 8px;
  font-size: clamp(28px, 4vw, 42px);
}

.subline {
  margin: 0;
  color: var(--text-soft);
}

.admin-header-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.workplan-header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: min(340px, 100%);
  flex-wrap: wrap;
  justify-content: flex-end;
  flex-direction: column;
  align-items: flex-end;
}

.workplan-active-inline {
  margin: 0;
  font-size: 14px;
  color: var(--text-soft);
}

.workplan-active-inline strong {
  color: var(--text);
  font-weight: 600;
}

.workplan-header-controls #workplan-select {
  width: min(260px, 100%);
}

.workplan-header-controls,
.workplan-settings-menu {
  position: relative;
}

.workplan-settings-menu {
  margin: 10px 0 8px;
  padding: 14px 16px;
  background: #ffffffd4;
}

.workplan-header-top {
  padding-bottom: 2px;
}

.workplan-settings-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
  margin-top: 8px;
}

.workplan-settings-menu .workplan-settings-row label {
  margin: 0;
  font-weight: 600;
  width: 100%;
}

.workplan-settings-title-row label {
  font-size: 15px;
  font-weight: 800;
}

.workplan-settings-title-row input,
.workplan-settings-title-row select {
  max-width: 130px;
  margin-bottom: 2px;
}

.workplan-settings-menu .workplan-settings-actions {
  margin-top: 10px;
}

.workplan-settings-subaction-row {
  display: flex;
  align-items: center;
  width: fit-content;
  margin-top: 6px;
}

.workplan-settings-menu .workplan-settings-form {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.workplan-settings-form {
  display: flex;
  grid-template-columns: auto;
  gap: 10px;
  margin-top: 8px;
  align-items: center;
}

.workplan-settings-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.workplan-settings-actions .small {
  margin: 0;
}

.workplan-btn-compact {
  padding: 8px 12px;
  font-size: 13px;
  min-height: 40px;
  height: 40px;
  width: auto;
  min-width: auto;
  max-width: fit-content;
  line-height: 1.2;
  margin: 0;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.workplan-settings-form input {
  margin-top: 0;
  width: 100%;
}

#workplan-categories-dialog .actions {
  margin-top: 10px;
}

.workplan-categories-list {
  margin: 8px 0 12px;
}

.workplan-categories-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 8px;
}

.workplan-categories-toolbar input {
  margin: 0;
  width: min(340px, 100%);
}

.workplan-categories-table {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
}

.workplan-category-row {
  display: grid;
  grid-template-columns: minmax(160px, 1.8fr) 110px 110px 1fr;
  gap: 8px;
  align-items: center;
  width: 100%;
  padding: 7px 9px;
  border-bottom: 1px solid #ecf0f7;
}

.workplan-category-row:last-child {
  border-bottom: none;
}

.workplan-category-row-header {
  background: #f8fbff;
  color: #334155;
  font-weight: 700;
  font-size: 12px;
}

.workplan-category-empty-row {
  width: 100%;
  padding: 10px;
  color: var(--text-soft);
  font-size: 13px;
}

.workplan-category-cell {
  display: flex;
  align-items: center;
  min-width: 0;
}

.workplan-category-cell input {
  width: 100%;
}

.workplan-category-row-name {
  height: 38px;
  margin: 0;
  padding: 7px 8px;
  border: 1px solid #c7d2e2;
  border-radius: 8px;
}

.workplan-category-row-color {
  width: 52px;
  height: 34px;
  margin: 0;
  padding: 2px;
  border: 1px solid #c7d2e2;
  border-radius: 8px;
  background: transparent;
}

.workplan-category-row-color-btn {
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  justify-content: center;
}

.workplan-category-row-color-btn .employee-color-picker-value,
.workplan-category-color-picker-btn .employee-color-picker-value {
  display: none;
}

.workplan-category-employees {
  display: block;
  font-size: 13px;
  line-height: 1.35;
  color: #1f2937;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.workplan-category-row-employees-btn {
  width: 100%;
  max-width: none;
  text-align: center;
}

.workplan-category-employee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-bottom: 1px solid #edf2f7;
  color: #111827;
}

.workplan-category-employee-item:last-child {
  border-bottom: none;
}

.workplan-category-employee-item input[type="checkbox"] {
  flex: 0 0 auto;
  width: 16px;
  min-width: 16px;
  height: 16px;
  padding: 0;
  margin: 0;
  border-radius: 3px;
}

.workplan-assignable-employee-label {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  color: #111827;
  font-size: 14px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.workplan-category-employee-current {
  color: #4b5563;
  font-size: 12px;
  justify-self: end;
  text-align: right;
}

.workplan-category-row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.workplan-categories-add-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: minmax(160px, 1.8fr) 110px 110px 1fr;
  grid-auto-rows: 40px;
  align-items: center;
  gap: 8px;
}

.workplan-categories-add-grid input {
  margin: 0;
}

.workplan-categories-add-grid input[type="text"] {
  grid-column: 1;
  min-width: 180px;
  height: 40px;
  padding: 8px 10px;
  align-self: center;
}

.workplan-category-color-picker-btn {
  grid-column: 2;
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  margin: 0;
  align-self: center;
  justify-content: center;
}

#workplan-category-add-btn {
  grid-column: 4;
  height: 40px;
  min-height: 40px;
  margin: 0;
  align-self: center;
}

#workplan-category-filter-dialog .actions {
  margin-top: 12px;
}

#workplan-category-filter-dialog .workplan-category-filter-list {
  margin: 8px 0 0;
  max-height: min(280px, 38vh);
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px;
  background: #ffffff;
}

.workplan-category-filter-row {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  justify-items: start;
  gap: 8px;
  padding: 6px 8px;
  border-bottom: 1px solid #edf2f7;
  width: 100%;
}

.workplan-category-filter-row:last-child {
  border-bottom: none;
}

.workplan-category-filter-row > input[type="checkbox"] {
  width: 16px;
  min-width: 16px;
  margin: 0;
}

.workplan-category-filter-row input {
  margin: 0;
}

.workplan-category-filter-row .workplan-category-filter-color {
  width: 11px;
  height: 11px;
  min-width: 11px;
}

.workplan-category-filter-name {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  text-align: left;
}

.workplan-category-filter-color {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--color, #6e2f27);
  border: 1px solid rgba(15, 23, 42, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

#workplan-category-employees-list {
  margin-top: 8px;
  max-height: min(280px, 44vh);
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
  background: #ffffff;
}

#workplan-category-employees-list .small {
  margin: 6px;
}

.workplan-category-filter-empty {
  padding: 9px 8px;
  color: var(--text-soft);
  font-size: 13px;
}

.workplan-settings-actions button {
  width: auto;
  min-width: auto;
  height: 40px;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

button.danger {
  margin-top: 0;
}

#workplan-rename-dialog {
  width: min(460px, 92vw);
}

#workplan-rename-dialog .actions.dialog-actions {
  margin-top: 14px;
}

#workplan-employee-edit-dialog .actions.dialog-actions {
  margin-top: 16px;
}

.header-logout {
  width: auto;
  margin-top: 2px;
  white-space: nowrap;
}

.grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 980px) {
  .grid.two {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-strong);
  box-shadow: 0 8px 28px rgba(16, 29, 50, 0.08);
}

.accordion-card.no-border {
  padding: 0;
  border: none;
  box-shadow: none;
  background: transparent;
}

.accordion-toggle {
  margin-top: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

.accordion-icon {
  font-size: 18px;
  transition: transform 0.18s ease;
}

.accordion-toggle[aria-expanded="true"] .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  margin-top: 12px;
}

.card-spotlight {
  background:
    linear-gradient(115deg, rgba(156, 20, 6, 0.12), rgba(138, 26, 16, 0.08)),
    var(--surface-strong);
}

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

.period-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

input,
select,
button {
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 14px;
  font-family: inherit;
}

input,
select {
  background: #f9fcff;
}

input:focus,
select:focus {
  outline: none;
  border-color: #d27a70;
  box-shadow: 0 0 0 4px rgba(156, 20, 6, 0.15);
}

label {
  display: block;
  margin: 10px 0 6px;
  font-weight: 700;
}

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

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

.employee-color-picker-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
  min-height: 38px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px 10px;
  background: #f8fbff;
  cursor: pointer;
}

.employee-color-picker-trigger:focus-visible {
  outline: none;
  border-color: #d27a70;
  box-shadow: 0 0 0 4px rgba(156, 20, 6, 0.15);
}

.employee-color-picker-swatch {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  border: 1px solid var(--border);
  flex: 0 0 auto;
  background: var(--swatch-color, #4a6ef6);
}

.workplan-category-row-color-btn.employee-color-picker-trigger,
.workplan-category-color-picker-btn.employee-color-picker-trigger {
  width: 40px;
  min-width: 40px;
  max-width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  margin: 0;
  align-self: center;
  justify-content: center;
}

.employee-color-picker-value {
  font-family: "Courier New", monospace;
  font-size: 13px;
  line-height: 1;
}

.employee-color-picker-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 8px 0 12px;
}

.employee-color-palette-item {
  --swatch-color: #4a6ef6;
  height: 40px;
  border-radius: 10px;
  border: 2px solid transparent;
  background: var(--swatch-color);
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.employee-color-palette-item:hover {
  transform: translateY(-1px);
}

.employee-color-palette-item.is-active {
  border-color: #1f2937;
}

.employee-color-palette-item:focus-visible {
  outline: none;
  border-color: #d27a70;
  box-shadow: 0 0 0 3px rgba(156, 20, 6, 0.15);
}

.employee-category-choice-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  margin: 6px 0 12px;
}

.employee-category-choice {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  width: 100%;
  min-height: 40px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f8fbff;
  color: #111827;
  text-align: left;
}

.employee-category-choice.is-active {
  border-color: #9c1406;
  box-shadow: 0 0 0 3px rgba(156, 20, 6, 0.12);
}

.employee-category-choice-swatch {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1px solid rgba(15, 23, 42, 0.2);
  background: var(--swatch-color, #4a6ef6);
  flex: 0 0 auto;
}

.employee-category-choice-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-color-preview {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #4a6ef6;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
  flex: 0 0 auto;
}

.admin-create-color-input {
  width: 42px;
  height: 38px;
  min-width: 42px;
  max-width: 42px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid var(--border);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.admin-create-color-input::-webkit-color-swatch-wrapper {
  padding: 0;
}

.admin-create-color-input::-webkit-color-swatch {
  border: none;
  border-radius: 9px;
}

.admin-create-color-input::-moz-color-swatch {
  border: none;
  border-radius: 9px;
}

.workplan-shell {
  min-height: 72vh;
  width: 100%;
  max-width: 100%;
}

.calendar-print-head {
  display: none;
}

.workplan-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
  align-items: center;
  justify-content: space-between;
}

.toolbar-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}

.toolbar-group button {
  margin: 0;
  width: auto;
}

.calendar-nav-group {
  align-items: center;
  gap: 6px;
}

.calendar-nav-group #today-btn {
  min-width: 86px;
}

.calendar-nav-group #staff-today-btn {
  min-width: 86px;
}

.calendar-nav-arrow {
  min-width: 42px;
  padding-inline: 12px;
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.view-btn {
  min-width: 88px;
}

.view-btn.is-active {
  background: linear-gradient(180deg, var(--primary-dark), #4a130a);
  box-shadow: none;
}

.staff-workplan-shell {
  overflow: hidden;
}

.staff-workplan-toolbar {
  justify-content: space-between;
}

.staff-view-btn {
  min-width: 88px;
}

.staff-view-btn.active {
  background: #6e2f27;
  color: #fff;
  border-color: #6e2f27;
}

.staff-calendar-root {
  margin-top: 12px;
}

.staff-calendar-scroll {
  width: 100%;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

.staff-calendar-grid {
  min-width: 1220px;
}

.calendar-view-day.staff-calendar-grid {
  min-width: 360px;
}

.staff-day-timeline {
  min-height: 1152px;
}

.staff-calendar-event,
.staff-calendar-absence {
  width: auto;
  margin: 0;
  cursor: pointer;
}

.staff-calendar-event:hover,
.staff-calendar-absence:hover {
  transform: translateY(-1px);
}

.staff-calendar-absence {
  background: linear-gradient(180deg, #0f4e6ecc 0%, #0f4e6e88 100%);
  border-left: 4px solid #0f4e6e;
}

.staff-calendar-event-title,
.staff-calendar-event-time,
.staff-calendar-event-plan {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.staff-calendar-event-title {
  font-weight: 800;
  font-size: 12px;
}

.staff-calendar-event-time,
.staff-calendar-event-plan {
  margin-top: 2px;
  font-size: 11px;
  opacity: 0.95;
}

.staff-calendar-month {
  min-width: 760px;
  padding: 12px;
}

.staff-month-items {
  display: grid;
  gap: 4px;
  margin-top: 8px;
}

.staff-month-item {
  position: relative;
  padding-left: 12px;
  font-size: 11px;
  line-height: 1.2;
  color: #1f2937;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.staff-month-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--dot-color, #6e2f27);
}

.staff-month-more {
  font-size: 11px;
  color: var(--text-soft);
}

.staff-shift-dialog {
  max-width: 460px;
}

.staff-shift-dialog-body {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.staff-shift-dialog-body p {
  margin: 0;
}

@media (max-width: 720px) {
  .staff-workplan-toolbar {
    align-items: stretch;
  }

  .staff-workplan-toolbar .toolbar-group {
    width: 100%;
    justify-content: center;
  }

  .staff-calendar-grid {
    min-width: 1080px;
  }

  .calendar-view-day.staff-calendar-grid {
    min-width: 100%;
  }

  .staff-calendar-scroll {
    max-height: calc(100vh - 260px);
  }

  .staff-calendar-event,
  .staff-calendar-absence {
    padding: 6px 7px;
  }
}

@media (max-width: 980px) {
  .staff-workplan-page .calendar-day-headers {
    display: grid;
    grid-template-columns: repeat(7, minmax(145px, 1fr));
    gap: 6px;
  }

  .staff-workplan-page .calendar-view-day .calendar-day-headers {
    grid-template-columns: minmax(280px, 1fr);
  }

  .staff-workplan-page .calendar-day-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(145px, 1fr));
    gap: 6px;
  }

  .staff-workplan-page .calendar-view-day .calendar-day-grid {
    grid-template-columns: minmax(280px, 1fr);
  }

  .staff-workplan-page .calendar-day-timeline {
    display: block;
    position: relative;
    min-height: 1152px;
  }

  .staff-workplan-page .calendar-slot {
    display: flex;
  }

  .staff-workplan-page .calendar-slot-time {
    display: inline-flex;
    width: 40px;
    min-width: 40px;
  }

  .staff-workplan-page .calendar-day-events {
    position: absolute;
    inset: 0 0 0 40px;
    min-height: 0;
    padding: 0;
  }

  .staff-workplan-page .calendar-event,
  .staff-workplan-page .calendar-absence {
    position: absolute;
    left: 4px;
    right: 4px;
    width: auto;
    margin: 0;
  }

  .staff-workplan-page .staff-calendar-scroll {
    max-height: calc(100vh - 300px);
  }
}

.workplan-legend {
  margin: 6px 0 12px;
}

.legend-title {
  margin: 0 0 6px;
  font-weight: 700;
  color: var(--text-soft);
}

.legend-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.legend-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid var(--category-color, #9ca3af);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 12px;
  cursor: grab;
  user-select: none;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--category-color, #9ca3af) 12%, transparent);
}

.legend-color {
  display: none;
}

.legend-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.legend-category-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid var(--category-color, #6e2f27);
  background: color-mix(in srgb, var(--category-color, #6e2f27) 22%, #ffffff);
  color: #1f2937;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.1;
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.legend-category-badge-empty {
  width: 20px;
  min-width: 20px;
  height: 16px;
  padding: 0;
  border-color: #9ca3af;
  background: #e5e7eb;
}

.calendar-root {
  position: relative;
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px;
  background: #f9fbff;
  min-height: 560px;
}

.calendar-view-day,
.calendar-view-week {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 540px;
}

.calendar-day-headers {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 8px;
}

.calendar-weekday {
  padding: 6px 8px;
  border-radius: 10px;
  background: #fff;
  font-size: 12px;
  text-align: center;
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-weight: 700;
}

.calendar-day-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.workplan-page .calendar-day-headers,
.workplan-page .calendar-day-grid {
  grid-template-columns: repeat(7, minmax(170px, 1fr));
}

.calendar-view-day .calendar-day-headers,
.calendar-view-day .calendar-day-grid {
  grid-template-columns: minmax(0, 1fr);
}

.workplan-page .calendar-month-grid {
  grid-template-columns: repeat(7, minmax(165px, 1fr));
}

.calendar-month-subtitle {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--text-soft);
}

.calendar-day-column {
  min-width: 0;
  background: #fff;
  border: 1px solid #dae5f0;
  border-radius: 12px;
  overflow: visible;
}

.calendar-day-head {
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 6px;
  border-bottom: 1px solid #dae5f0;
}

.calendar-day-timeline {
  position: relative;
  overflow: visible;
  background: #fff;
  min-height: 480px;
}

.calendar-slot {
  display: flex;
  align-items: stretch;
  border-top: 1px solid #edf2f8;
  position: relative;
}

.calendar-slot-time {
  width: 50px;
  min-width: 50px;
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding-right: 6px;
  padding-top: 2px;
  font-size: 11px;
  color: #6c7f96;
  border-right: 1px solid #edf2f8;
  transform: translateY(-5px);
}

.calendar-day-events {
  position: absolute;
  inset: 0 0 0 50px;
  pointer-events: none;
}

.calendar-day-events {
  pointer-events: auto;
}

.calendar-drop-preview {
  position: absolute;
  left: 6px;
  right: 6px;
  border-radius: 8px;
  border: 2px dashed rgba(16, 95, 160, 0.75);
  background: rgba(16, 95, 160, 0.12);
  box-shadow: 0 6px 16px rgba(16, 95, 160, 0.12);
  pointer-events: none;
  z-index: 2;
  display: none;
}

.calendar-event {
  position: absolute;
  left: 4px;
  width: calc(100% - 8px);
  right: auto;
  z-index: 3;
  border-radius: 9px;
  padding: 4px 8px;
  color: #fff;
  border-left: 4px solid var(--stripe);
  box-shadow: 0 7px 16px rgba(5, 26, 55, 0.16);
  cursor: grab;
  pointer-events: auto;
  overflow: visible;
  --event-color: #7a2a2a;
}

.calendar-event[data-shift-id] {
  background: var(--event-bg, #7a2a2a);
  --stripe: var(--event-stripe, #7a2a2a);
}

.calendar-event-title {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
}

.calendar-event-time {
  font-size: 11px;
  opacity: 0.95;
}

.calendar-event-badges {
  display: flex;
  gap: 4px;
  margin-top: 3px;
  flex-wrap: wrap;
}

.calendar-event-shift-title-badge {
  font-size: 10px;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  padding: 2px 7px;
  background: rgba(255, 255, 255, 0.18);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.calendar-event-employee-name {
  font-size: 10px;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.16);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.employee-badge {
  font-size: 10px;
  line-height: 1;
  border: 1px solid var(--badge-color, rgba(255, 255, 255, 0.75));
  border-radius: 999px;
  padding: 2px 5px;
  background: rgba(255, 255, 255, 0.16);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.employee-badge::before {
  content: none;
}

.employee-badge-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  min-height: 14px;
  padding: 1px 5px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--category-color, #9ca3af) 28%, #ffffff);
  border: 1px solid var(--category-color, #9ca3af);
  color: #111827;
  font-weight: 700;
}

.employee-badge-category-empty {
  width: 16px;
  padding: 0;
  background: #e5e7eb;
  border-color: #9ca3af;
}

.shift-conflict-indicator {
  margin-top: 5px;
  font-size: 11px;
  color: #fee4e2;
  font-weight: 700;
}

.calendar-event-conflict {
  background: linear-gradient(180deg, #b42318cc, #8f1d15cc) !important;
}

.calendar-event-conflict .employee-badge {
  border-color: rgba(254, 228, 226, 0.75);
}

.calendar-event-tooltip {
  --tooltip-accent: var(--event-color);
  position: absolute;
  left: -8px;
  right: auto;
  top: 0;
  transform: translateY(-10px);
  z-index: 12;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-top: 3px solid var(--tooltip-accent);
  color: #f8fbff;
  padding: 7px 9px;
  font-size: 11px;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: clamp(220px, 28vw, 360px);
  max-width: calc(100vw - 24px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 120ms ease, transform 120ms ease;
}

.calendar-event-tooltip-title {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.calendar-event-tooltip-title-chip {
  font-size: 10px;
  line-height: 1.15;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  padding: 2px 6px;
  background: color-mix(in srgb, #ffffff 22%, var(--tooltip-accent));
  width: max-content;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.calendar-event-tooltip-conflict {
  font-size: 10px;
  color: #ffd7d4;
  font-weight: 600;
  white-space: normal;
}

.calendar-event:hover .calendar-event-tooltip,
.calendar-event:focus-within .calendar-event-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-105%);
}

.calendar-event:focus-within .calendar-event-tooltip::before,
.calendar-event:hover .calendar-event-tooltip::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 100%;
  border-width: 7px 6px 0 6px;
  border-style: solid;
  border-color: rgba(15, 23, 42, 0.96) transparent transparent transparent;
}

.calendar-event-resize-handle {
  position: absolute;
  left: 0;
  right: 0;
  height: 12px;
  pointer-events: auto;
  touch-action: none;
  z-index: 8;
}

.calendar-event-resize-handle-top {
  top: 0;
  cursor: n-resize;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), transparent);
  border-top-left-radius: 9px;
  border-top-right-radius: 9px;
}

.calendar-event-resize-handle-bottom {
  bottom: 0;
  cursor: s-resize;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.2), transparent);
  border-bottom-left-radius: 9px;
  border-bottom-right-radius: 9px;
}

.calendar-absence {
  position: absolute;
  left: 8px;
  right: 8px;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 11px;
  background: rgba(15, 78, 110, 0.9);
  color: #fff;
  border: 1px solid rgba(8, 47, 73, 0.5);
  box-shadow: 0 8px 18px rgba(15, 78, 110, 0.18);
  pointer-events: auto;
}

.calendar-view-month {
  display: block;
}

.calendar-month-title {
  margin: 0 0 8px;
}

.calendar-month-title {
  margin-bottom: 8px;
}

.calendar-month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.calendar-month-cell {
  min-height: 120px;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid #d8e4ef;
  background: #fff;
  position: relative;
  overflow: auto;
  cursor: pointer;
}

.calendar-month-dot-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.calendar-month-dot {
  width: 15px;
  height: 15px;
  border-radius: 999px;
  background: var(--dot-color, #6e2f27);
  box-shadow: 0 0 0 2px #fff inset, 0 2px 6px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: inline-block;
  pointer-events: none;
}

.calendar-month-cell.is-muted {
  opacity: 0.5;
  background: #f8fbff;
}

.calendar-month-cell.is-today {
  border-color: #9c1406;
  box-shadow: 0 0 0 2px rgba(156, 20, 6, 0.1) inset;
}

.calendar-month-date {
  font-weight: 800;
  margin-bottom: 6px;
}

.calendar-month-entry,
.calendar-month-absence {
  margin: 4px 0;
  border-left: 3px solid #9c1406;
  padding: 3px 6px;
  font-size: 12px;
  border-radius: 6px;
  background: #faf7f6;
}

.calendar-month-absence {
  border-left-color: #0f4e6e;
}

.calendar-month-entry {
  cursor: pointer;
}

.calendar-month-absence {
  cursor: pointer;
}

.calendar-month-empty {
  margin: 4px 0 0;
  padding: 14px 12px;
  border: 1px dashed #d6e1eb;
  border-radius: 10px;
  background: #fff;
  color: var(--text-soft);
  font-size: 14px;
}

.workplan-dialog-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.workplan-dialog-meta p {
  margin: 0;
}

.workplan-select-hint {
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-soft);
}

.workplan-modal-header {
  border: 1px solid var(--border);
  background: #fff6f4;
  border-radius: 10px;
  margin-bottom: 8px;
  padding: 8px 10px;
}

.absence-employee-picker {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.absence-employee-picker .employee-color-preview {
  width: 36px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #4a6ef6;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
  display: inline-block;
  align-self: center;
}

.absence-employee-picker select {
  flex: 1;
}

dialog select[multiple] {
  min-height: 130px;
}

.workplan-employee-category-field {
  margin-bottom: 10px;
}

.workplan-employee-color-input {
  width: 52px;
  min-width: 52px;
  max-width: 52px;
  height: 38px;
  padding: 0;
  cursor: pointer;
  border-radius: 10px;
  appearance: none;
  -webkit-appearance: none;
}

.workplan-employee-color-input::-webkit-color-swatch-wrapper {
  padding: 0;
}

.workplan-employee-color-input::-webkit-color-swatch {
  border: none;
  border-radius: 9px;
}

.workplan-employee-color-input::-moz-color-swatch {
  border: none;
  border-radius: 9px;
}

@media (max-width: 1100px) {
  .calendar-day-headers {
    gap: 6px;
  }

  .calendar-day-grid {
    gap: 6px;
  }

  .calendar-slot-time {
    width: 40px;
    min-width: 40px;
  }

  .calendar-day-events {
    inset: 0 0 0 40px;
  }
}

@media (max-width: 980px) {
  .workplan-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .toolbar-group {
    width: 100%;
  }

  .workplan-shell {
    min-height: auto;
  }

  .calendar-day-headers,
  .calendar-day-grid,
  .calendar-month-grid,
  .calendar-day-timeline,
  .calendar-slot {
    display: block;
  }

  .calendar-day-column,
  .calendar-month-cell {
    margin-bottom: 8px;
  }

  .calendar-day-timeline {
    min-height: auto;
  }

  .calendar-day-events {
    position: static;
    inset: auto;
    min-height: 240px;
    padding: 0;
  }

  .calendar-slot,
  .calendar-day-head,
  .calendar-slot-time {
    display: none;
  }

  .calendar-event,
  .calendar-absence {
    position: relative;
    left: 0;
    right: auto;
    margin: 6px 0;
  }

  .legend-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media print {
  *, *::before, *::after {
    print-color-adjust: exact !important;
    -webkit-print-color-adjust: exact !important;
  }

  @page {
    size: landscape;
    margin: 6mm 6mm 8mm;
  }

  body {
    margin: 0;
    background: #fff;
    color: #111;
    --workplan-print-scale: 1;
  }

  .container {
    margin: 0;
    padding: 0;
    width: 100%;
    border: none;
    background: transparent;
    box-shadow: none;
  }

  .brandbar,
  .masthead,
  .workplan-toolbar,
  .workplan-header-controls,
  .workplan-settings-menu,
  .workplan-legend,
  #workplan-status,
  button,
  .dialog-actions {
    display: none !important;
  }

  .workplan-shell {
    border: none;
    background: transparent;
    min-height: auto;
  }

  .calendar-root {
    border: none;
    padding: 0;
    background: #fff;
    transform: scale(var(--workplan-print-scale, 1));
    transform-origin: top left;
    width: calc(100% / var(--workplan-print-scale, 1));
    overflow: visible;
  }

  .workplan-page .calendar-day-headers,
  .workplan-page .calendar-day-grid {
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
  }

  .calendar-day-column {
    min-width: 0;
    background: #fff;
    border: 1px solid #d5e0ea;
  }

  .calendar-day-head {
    padding: 4px 3px;
    font-size: 11px;
  }

  .calendar-slot-time {
    width: 30px;
    min-width: 30px;
    font-size: 9px;
    padding-right: 4px;
    background: #fff;
  }

  .calendar-slot-time:empty {
    border-right: none;
  }

  .calendar-slot {
    border-bottom: 1px solid #edf2f8;
  }

  .calendar-day-events {
    inset: 0 0 0 30px;
  }

  .calendar-slot {
    height: 16px;
  }

  .calendar-event,
  .calendar-absence {
    border-radius: 7px;
    padding: 2px 4px;
    font-size: 10px;
    overflow: visible !important;
    min-height: 18px !important;
    white-space: normal !important;
    print-color-adjust: exact !important;
    -webkit-print-color-adjust: exact !important;
    box-shadow: 0 2px 5px rgba(5, 26, 55, 0.22) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
  }

  .calendar-event-title {
    font-size: 9px;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    line-height: 1.05 !important;
    overflow-wrap: anywhere;
    hyphens: auto;
    word-break: break-word !important;
    max-width: none !important;
    max-height: none !important;
    margin-bottom: 4px;
  }

  .calendar-event-time {
    font-size: 8px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    word-break: break-word;
    line-height: 1.05;
  }

  .calendar-event {
    overflow: visible;
  }

  .calendar-event-badges {
    overflow: visible;
    white-space: normal;
  }

  .workplan-printing .calendar-event-badges,
  .workplan-printing .shift-conflict-indicator {
    display: none !important;
  }

  .workplan-printing .calendar-event-resize-handle,
  .workplan-printing .calendar-event-tooltip {
    display: none !important;
  }

  .workplan-printing .calendar-event {
    padding-top: 4px;
    padding-bottom: 2px;
  }

  .workplan-printing .calendar-view-week .calendar-day-grid {
    gap: 2px;
  }

  .workplan-printing .calendar-day-column {
    border: 1px solid #d5e0ea;
  }

  .calendar-view-day,
  .calendar-view-week,
  .calendar-view-month {
    gap: 8px;
  }

  .calendar-print-head {
    display: block;
    border-bottom: 1px solid #ddd;
    margin-bottom: 8px;
    padding-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
  }

  .calendar-month-title {
    font-size: 14px;
    margin-bottom: 6px;
  }
}

.admin-section-title {
  margin: 16px 0 6px;
  font-size: 14px;
  color: var(--secondary);
  font-weight: 700;
}

.admin-permission-checklist,
.admin-permission-modal-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-permission-checklist label,
.admin-permission-modal-list label {
  margin: 0;
  font-weight: 500;
}

.admin-permission-checklist input[type="checkbox"],
.admin-permission-modal-list input[type="checkbox"] {
  margin-right: 8px;
  width: auto;
  transform: translateY(1px);
}

dialog.card {
  border: none;
}

button {
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: none;
  font-weight: 700;
  cursor: pointer;
  margin-top: 12px;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(111, 13, 3, 0.28);
}

button.secondary {
  background: linear-gradient(180deg, #6e2f27, #462018);
}

button.danger {
  background: linear-gradient(180deg, #cf3e31, #992116);
  margin-top: 0;
}

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

ul {
  padding-left: 18px;
}

.upload-group-title {
  list-style: none;
  margin-top: 8px;
  margin-left: -18px;
  font-weight: 700;
  color: #5a2923;
}

.upload-group-gap {
  list-style: none;
  height: 8px;
}

.upload-item {
  margin: 6px 0;
}

.small {
  font-size: 13px;
  color: var(--text-soft);
}

.error {
  color: var(--danger);
  font-weight: 700;
}

.links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.links a {
  display: inline-block;
  text-decoration: none;
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 11px 14px;
  border-radius: 10px;
  font-weight: 700;
}

.portal-links a {
  min-width: 210px;
  text-align: center;
}

.admin-footer {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

.admin-footer a {
  text-decoration: none;
  display: inline-block;
  padding: 11px 14px;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(180deg, #6e2f27, #462018);
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 12px;
}

.table th,
.table td {
  text-align: left;
  border-bottom: 1px solid #d8e2ec;
  padding: 10px 8px;
  font-size: 14px;
}

.table th {
  background: #f6eceb;
  color: #5a2923;
}

.table .employee-active-toggle {
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
}

.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.actions button {
  width: auto;
}

.dialog-actions {
  align-items: center;
}

.dialog-actions button {
  width: auto !important;
  flex: 0 0 auto;
  margin-top: 0;
}

.btn-link {
  text-decoration: none;
  display: inline-block;
  padding: 11px 14px;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
}

a {
  color: #9c1406;
  font-weight: 700;
}

code {
  background: #ebf2f8;
  border: 1px solid #d7e3ef;
  padding: 2px 6px;
  border-radius: 6px;
}

@media (max-width: 760px) {
  .container {
    margin: 16px auto;
    padding: 14px;
  }

  .brandbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .brand-right {
    width: 100%;
    justify-content: space-between;
  }

  .card,
  .masthead {
    border-radius: 12px;
  }

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

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

  .table,
  .table thead,
  .table tbody,
  .table th,
  .table td,
  .table tr {
    display: block;
  }

  .table thead {
    display: none;
  }

  .table tr {
    border: 1px solid #d9e2eb;
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 8px;
    background: #fdfefe;
  }

  .table td {
    border: none;
    padding: 5px 4px;
  }

  .admin-form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.developer-note-dialog {
  width: min(760px, 92vw);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  background: var(--surface-strong);
  color: var(--text);
  box-shadow: var(--shadow);
}

.developer-note-dialog::backdrop {
  background: rgba(10, 10, 10, 0.55);
}

.developer-note-dialog h3 {
  margin: 0 0 12px;
}

.developer-note-text {
  white-space: pre-wrap;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 13px;
  line-height: 1.55;
  background: #f7fafc;
  border: 1px solid #d8e2ec;
  border-radius: 10px;
  padding: 12px;
  margin: 0 0 12px;
}
