@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;600&display=swap");

/*
  Admin reports module
  - This file owns the generated reports sheet UI.
  - It is intentionally loaded after global app/frontpage CSS.
  - List/header/card markup keeps the reports_workflow.html reference classes
    (`page-head`, `toolbar`, `btn`, `month-nav`, `card`, etc.) scoped under
    `.admin-reports-sheet`.
  - `admin-reports-*` classes are retained for the create/report workflow
    internals that have not been fully ported to the reference class names.
*/

.admin-reports-sheet {
  --reports-bg: #f4f5f7;
  --reports-surface: #ffffff;
  --reports-surface-soft: #fafbfc;
  --reports-border: #e6e8ec;
  --reports-border-strong: #d6dae0;
  --reports-ink-900: #0e1726;
  --reports-ink-700: #2b3344;
  --reports-ink-500: #5b6473;
  --reports-ink-400: #8a93a2;
  --reports-ink-300: #b6bcc6;
  --reports-ink-200: #dde1e7;
  --reports-chip-bg: #f1f3f6;
  --reports-chip-ink: #4a5365;
  --reports-accent: #137a4a;
  --reports-accent-600: #0f6a3f;
  --reports-accent-700: #0b5733;
  --reports-accent-50: #e7f4ee;
  --reports-accent-100: #d2ecdf;
  --reports-accent-200: #b3dfc6;
  --reports-fortnox: #00592b;
  --reports-fortnox-600: #00461f;
  --reports-danger-50: #fdecec;
  --reports-danger-300: #f0a6a0;
  --reports-danger-700: #b42318;
  --reports-shadow-sm: 0 1px 2px rgba(14, 23, 38, .04), 0 1px 1px rgba(14, 23, 38, .03);
  --reports-shadow-md: 0 6px 18px -8px rgba(14, 23, 38, .18), 0 2px 4px rgba(14, 23, 38, .04);
  --reports-shadow-lg: 0 24px 50px -16px rgba(14, 23, 38, .28), 0 6px 14px rgba(14, 23, 38, .08);
  --surface: var(--reports-surface);
  --surface-soft: var(--reports-surface-soft);
  --border: var(--reports-border);
  --border-strong: var(--reports-border-strong);
  --ink-900: var(--reports-ink-900);
  --ink-700: var(--reports-ink-700);
  --ink-500: var(--reports-ink-500);
  --ink-400: var(--reports-ink-400);
  --ink-300: var(--reports-ink-300);
  --chip-bg: var(--reports-chip-bg);
  --accent: var(--reports-accent);
  --accent-50: var(--reports-accent-50);
  --accent-100: var(--reports-accent-100);
  --accent-200: var(--reports-accent-200);
  --accent-700: var(--reports-accent-700);
  --radius: 16px;
  --color-bg: var(--reports-bg);
  --color-surface: var(--reports-surface);
  --color-surface-soft: var(--reports-surface-soft);
  --color-border: var(--reports-border);
  --color-border-strong: var(--reports-border-strong);
  --color-text: var(--reports-ink-900);
  --color-muted: var(--reports-ink-500);
  --color-primary: var(--reports-accent);
  --color-primary-strong: var(--reports-accent-600);
  --color-primary-deep: var(--reports-accent-700);
  --color-primary-50: var(--reports-accent-50);
  --color-primary-100: var(--reports-accent-100);
  --color-primary-200: var(--reports-accent-200);
  --shadow-soft: var(--reports-shadow-sm);
  --shadow-medium: var(--reports-shadow-md);
  --shadow-elevated: var(--reports-shadow-lg);

  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  touch-action: pan-y;
  display: grid;
  gap: 0;
  align-content: start;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "ss01", "cv11";
  background: var(--reports-bg);
}

.admin-times-reports-sheet {
  padding: 0;
  background: var(--reports-bg);
}

.admin-reports-page {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 14px 80px;
}

.admin-times-reports-sheet #admin-times-reports-status:empty {
  display: none;
}

.admin-reports-page-head {
  display: grid;
  gap: 0;
  margin-bottom: 18px;
}

.admin-reports-sheet .page-head {
  margin-bottom: 18px;
}

.admin-reports-page-head__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.admin-reports-sheet .page-head__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.admin-reports-page-head__text {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.admin-reports-page-head__title {
  margin: 0;
  color: var(--color-text);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.admin-reports-sheet .page-head h1 {
  margin: 0 0 2px;
  color: var(--reports-ink-900);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.admin-reports-page-head__sub {
  margin: 0;
  color: var(--reports-ink-500);
  font-size: 13px;
  font-weight: 500;
}

.admin-reports-sheet .page-head__sub {
  margin: 0;
  color: var(--reports-ink-500);
  font-size: 13px;
  font-weight: 500;
}

.admin-reports-page-head__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.admin-reports-sheet .page-head__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.admin-reports-page-head__actions .admin-reports-btn {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  border-color: var(--reports-accent);
  background: var(--reports-accent);
  color: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04), inset 0 1px 0 rgba(255, 255, 255, .12);
  font-size: 14px;
  font-weight: 600;
}

.admin-reports-page-head__actions .admin-reports-btn--primary {
  background: var(--reports-accent);
  color: #fff;
  border: 1px solid var(--reports-accent);
}

.admin-reports-page-head__actions .admin-reports-btn svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.4;
}

.admin-reports-page-head__actions .admin-reports-btn--primary svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.admin-reports-page-head__actions .admin-reports-btn:hover {
  background: var(--reports-accent-600);
  border-color: var(--reports-accent-600);
}

.admin-reports-page-head__actions .admin-reports-btn:active {
  transform: translateY(1px);
}

.admin-reports-btn,
.admin-reports-page-close,
.admin-reports-month-nav__btn,
.admin-reports-select__btn,
.admin-reports-sheet .btn,
.admin-reports-sheet .page-close,
.admin-reports-sheet .icon-btn,
.admin-reports-sheet .select__btn {
  font: inherit;
}

.admin-reports-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--reports-ink-700);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
  -webkit-tap-highlight-color: transparent;
}

.admin-reports-sheet .btn {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--reports-ink-700);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
  user-select: auto;
  -webkit-tap-highlight-color: transparent;
}

.admin-reports-btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.admin-reports-sheet .btn svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.admin-reports-sheet .btn:active {
  transform: translateY(1px);
}

.admin-reports-btn:hover {
  background: var(--reports-accent-600);
  border-color: var(--reports-accent-600);
}

.admin-reports-btn--primary {
  background: var(--reports-accent);
  color: #fff;
  border-color: var(--reports-accent);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04), inset 0 1px 0 rgba(255, 255, 255, .12);
}

.admin-reports-btn--primary:hover {
  background: var(--reports-accent-600);
  border-color: var(--reports-accent-600);
}

.admin-reports-btn--primary:disabled {
  background: var(--reports-ink-200);
  border-color: var(--reports-ink-200);
  color: var(--reports-ink-400);
  cursor: not-allowed;
}

.admin-reports-sheet .btn--primary {
  background: var(--reports-accent);
  color: #fff;
  border-color: var(--reports-accent);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04), inset 0 1px 0 rgba(255, 255, 255, .12);
}

.admin-reports-sheet .btn--primary:hover {
  background: var(--reports-accent-600);
  border-color: var(--reports-accent-600);
}

.admin-reports-sheet .btn--primary:disabled {
  background: var(--reports-ink-200);
  border-color: var(--reports-ink-200);
  color: var(--reports-ink-400);
  cursor: not-allowed;
}

.admin-times-reports-sheet.admin-reports-sheet .page-head__actions .btn.btn--primary {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  min-width: 0;
  height: 44px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid var(--reports-accent);
  background: var(--reports-accent);
  color: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04), inset 0 1px 0 rgba(255, 255, 255, .12);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: normal;
  text-decoration: none;
  white-space: nowrap;
  appearance: none;
  -webkit-appearance: none;
}

.admin-times-reports-sheet.admin-reports-sheet .page-head__actions .btn.btn--primary svg {
  display: block;
  width: 16px;
  height: 16px;
  max-width: none;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-reports-btn--secondary svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.admin-reports-page-close {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--reports-border);
  background: var(--reports-surface);
  color: var(--reports-ink-500);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}

.admin-reports-page-close:hover {
  background: var(--reports-danger-50);
  border-color: var(--reports-danger-300);
  color: var(--reports-danger-700);
}

.admin-reports-page-close:active {
  transform: scale(.95);
}

.admin-reports-page-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.admin-reports-sheet .page-close {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid var(--reports-border);
  background: var(--reports-surface);
  color: var(--reports-ink-500);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}

.admin-reports-sheet .page-close:hover {
  background: var(--reports-danger-50);
  border-color: var(--reports-danger-300);
  color: var(--reports-danger-700);
}

.admin-reports-sheet .page-close:active {
  transform: scale(.95);
}

.admin-reports-sheet .page-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.admin-times-reports-sheet.admin-reports-sheet .page-head__actions .page-close {
  width: 44px;
  min-width: 44px;
  max-width: 44px;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid var(--reports-border);
  background: var(--reports-surface);
  color: var(--reports-ink-500);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.admin-times-reports-sheet.admin-reports-sheet .page-head__actions .page-close svg {
  display: block;
  width: 18px;
  height: 18px;
  max-width: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-reports-toolbar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.admin-reports-sheet .toolbar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.admin-reports-month-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  height: 44px;
  padding: 4px;
  border: 1px solid var(--reports-border);
  border-radius: 12px;
  background: var(--reports-surface);
  box-shadow: var(--shadow-soft);
}

.admin-reports-sheet .month-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  padding: 4px;
  border: 1px solid var(--reports-border);
  border-radius: 12px;
  background: var(--reports-surface);
  box-shadow: var(--shadow-soft);
}

.admin-reports-month-nav__btn {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--reports-ink-700);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}

.admin-reports-sheet .icon-btn {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--reports-ink-700);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}

.admin-reports-month-nav__btn:hover:not(:disabled) {
  background: var(--reports-chip-bg);
  color: var(--reports-ink-900);
}

.admin-reports-sheet .icon-btn:hover {
  background: var(--reports-chip-bg);
  color: var(--reports-ink-900);
}

.admin-reports-month-nav__btn:disabled {
  cursor: default;
}

.admin-reports-month-nav__btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.admin-reports-sheet .icon-btn svg {
  display: block;
  width: 18px;
  height: 18px;
  max-width: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-reports-sheet .icon-btn svg path {
  fill: none;
  stroke: currentColor;
}

.admin-reports-search svg,
.admin-reports-select__btn svg,
.admin-reports-sheet .search svg,
.admin-reports-sheet .select__btn svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-reports-month-nav__label {
  min-width: 0;
  flex: 1 1 auto;
  text-align: center;
  color: var(--reports-ink-900);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.005em;
  text-transform: capitalize;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-reports-sheet .month-nav__label {
  min-width: 0;
  flex: 1;
  text-align: center;
  color: var(--reports-ink-900);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.005em;
  text-transform: capitalize;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-reports-search {
  position: relative;
  min-width: 0;
  height: 44px;
  display: flex;
  align-items: center;
  border: 1px solid var(--reports-border);
  border-radius: 12px;
  background: var(--reports-surface);
  box-shadow: var(--shadow-soft);
  transition: border-color .15s ease, box-shadow .15s ease;
}

.admin-reports-sheet .search {
  position: relative;
  min-width: 0;
  height: 44px;
  display: flex;
  align-items: center;
  border: 1px solid var(--reports-border);
  border-radius: 12px;
  background: var(--reports-surface);
  box-shadow: var(--shadow-soft);
  transition: border-color .15s ease, box-shadow .15s ease;
}

.admin-reports-search:focus-within {
  border-color: var(--reports-accent-200);
  box-shadow: 0 0 0 4px var(--reports-accent-50);
}

.admin-reports-sheet .search:focus-within {
  border-color: var(--reports-accent-200);
  box-shadow: 0 0 0 4px var(--reports-accent-50);
}

.admin-reports-search svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin: 0 10px 0 14px;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  color: var(--reports-ink-400);
}

.admin-reports-sheet .search svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin: 0 10px 0 14px;
  color: var(--reports-ink-400);
}

.admin-reports-search input {
  min-width: 0;
  width: 100%;
  height: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--reports-ink-900);
  font-family: inherit;
  font-size: 14px;
  padding-right: 12px;
}

.admin-reports-sheet .search input {
  min-width: 0;
  flex: 1;
  width: auto;
  height: 100%;
  min-height: 0;
  padding: 0 12px 0 0;
  border: 0;
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--reports-ink-900);
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  box-shadow: none;
  appearance: textfield;
  -webkit-appearance: textfield;
}

.admin-reports-search input::placeholder {
  color: var(--reports-ink-400);
}

.admin-reports-sheet .search input::placeholder {
  color: var(--reports-ink-400);
  font-weight: 400;
  opacity: 1;
}

.admin-reports-sheet .search input:focus {
  outline: 0;
  box-shadow: none;
}

.admin-reports-select {
  position: relative;
  min-width: 0;
  height: 44px;
  border: 1px solid var(--reports-border);
  border-radius: 12px;
  background: var(--reports-surface);
  box-shadow: var(--shadow-soft);
}

.admin-reports-sheet .select {
  position: relative;
  min-width: 0;
  height: 44px;
  border: 1px solid var(--reports-border);
  border-radius: 12px;
  background: var(--reports-surface);
  box-shadow: var(--shadow-soft);
}

.admin-reports-select__btn {
  width: 100%;
  height: 100%;
  padding: 0 12px;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  cursor: pointer;
  color: var(--reports-ink-900);
  text-align: left;
  font-size: 14px;
}

.admin-reports-sheet .select__btn {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  cursor: pointer;
  color: var(--reports-ink-900);
  text-align: left;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  appearance: none;
  -webkit-appearance: none;
}

.admin-reports-sheet .select__btn:disabled {
  cursor: not-allowed;
  color: var(--reports-ink-400);
  background: transparent;
}

.admin-reports-select__btn svg {
  width: 14px;
  height: 14px;
  margin-left: auto;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  color: var(--reports-ink-400);
}

.admin-reports-sheet .select__btn svg {
  width: 14px;
  height: 14px;
  margin-left: auto;
  flex: 0 0 auto;
  color: var(--reports-ink-400);
}

.admin-reports-select__label {
  flex: 0 0 auto;
  color: var(--reports-ink-400);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-right: 2px;
}

.admin-reports-sheet .select__label {
  flex: 0 0 auto;
  margin-right: 2px;
  color: var(--reports-ink-400);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-reports-select__value {
  min-width: 0;
  flex: 1 1 auto;
  color: var(--reports-ink-900);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-reports-sheet .select__value {
  min-width: 0;
  flex: 1;
  color: var(--reports-ink-900);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-reports-select__value--placeholder {
  color: var(--reports-ink-400);
  font-weight: 500;
}

.admin-reports-sheet .select__value--placeholder {
  color: var(--reports-ink-400);
  font-weight: 500;
}

.admin-reports-select__menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  display: grid;
  padding: 6px;
  border: 1px solid var(--reports-border);
  border-radius: 12px;
  background: var(--reports-surface);
  box-shadow: var(--shadow-elevated);
  max-height: 280px;
  overflow: auto;
}

.admin-reports-sheet .select__menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  display: grid;
  padding: 6px;
  border: 1px solid var(--reports-border);
  border-radius: 12px;
  background: var(--reports-surface);
  box-shadow: var(--shadow-elevated);
  max-height: 280px;
  overflow: auto;
}

.admin-reports-select__option {
  width: 100%;
  min-width: 0;
  padding: 10px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--reports-ink-700);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-reports-sheet .select__option {
  width: 100%;
  min-width: 0;
  padding: 10px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--reports-ink-700);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-reports-select__option:hover:not(:disabled),
.admin-reports-select__option.is-active {
  background: var(--reports-chip-bg);
  color: var(--reports-ink-900);
}

.admin-reports-sheet .select__option:hover:not(:disabled) {
  background: var(--reports-chip-bg);
  color: var(--reports-ink-900);
}

.admin-reports-select__option.is-active {
  background: var(--reports-accent-50);
  color: var(--reports-accent-700);
  font-weight: 600;
}

.admin-reports-sheet .select__option--active {
  background: var(--reports-accent-50);
  color: var(--reports-accent-700);
  font-weight: 600;
}

.admin-reports-select__option--disabled {
  opacity: .45;
  cursor: default;
}

.admin-reports-sheet .select__option--disabled {
  opacity: .5;
  cursor: not-allowed;
}

.admin-reports-select__option-num {
  flex: 0 0 auto;
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--reports-chip-bg);
  color: var(--reports-ink-500);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 600;
}

.admin-reports-sheet .select__option__num {
  flex: 0 0 auto;
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--reports-chip-bg);
  color: var(--reports-ink-500);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 600;
}

.admin-reports-select__option.is-active .admin-reports-select__option-num {
  background: rgba(255, 255, 255, .5);
  color: var(--reports-accent-700);
}

.admin-reports-sheet .select__option--active .select__option__num {
  background: rgba(255, 255, 255, .5);
  color: var(--reports-accent-700);
}

.admin-reports-sheet .list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-reports-sheet .empty {
  background: var(--reports-surface);
  border: 1px dashed var(--reports-border-strong);
  border-radius: 16px;
  padding: 36px 20px;
  text-align: center;
  color: var(--reports-ink-500);
}

.admin-reports-sheet .empty strong {
  display: block;
  color: var(--reports-ink-900);
  font-size: 15px;
  margin-bottom: 4px;
}

.admin-reports-sheet .create {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--reports-shadow-md);
  overflow: hidden;
}

.admin-reports-sheet .create__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(180deg, var(--accent-50), #fff 80%);
  border-bottom: 1px solid var(--accent-100);
}

.admin-reports-sheet .create__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 10px 0 8px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink-700);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.admin-reports-sheet .create__back:hover {
  background: var(--chip-bg);
  color: var(--ink-900);
  border-color: var(--ink-300);
}

.admin-reports-sheet .create__back svg {
  width: 14px;
  height: 14px;
}

.admin-reports-sheet .create__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}

.admin-reports-sheet .create__title .label-md {
  color: var(--ink-500);
  font-weight: 600;
}

.admin-reports-sheet .step {
  padding: 18px 16px;
  border-bottom: 1px solid var(--border);
}

.admin-reports-sheet .step:last-of-type {
  border-bottom: 0;
}

.admin-reports-sheet .step__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.admin-reports-sheet .step__num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 700;
  flex: 0 0 auto;
}

.admin-reports-sheet .step__title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ink-900);
}

.admin-reports-sheet .step__hint {
  font-size: 12px;
  color: var(--ink-500);
  margin-left: auto;
}

.admin-reports-sheet .step__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.admin-reports-sheet .period-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.admin-reports-sheet .period-aside,
.admin-reports-sheet .period-aside__stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-reports-sheet .pa-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}

.admin-reports-sheet .pa-card--accent {
  background: linear-gradient(180deg, var(--accent-50), #fff 90%);
  border-color: var(--accent-100);
}

.admin-reports-sheet .pa-card__label {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ink-400);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.admin-reports-sheet .pa-range {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-reports-sheet .pa-range__cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.admin-reports-sheet .pa-range__sub,
.admin-reports-sheet .pa-stat__label {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-400);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-reports-sheet .pa-range__date {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: 0;
}

.admin-reports-sheet .pa-range__arrow {
  color: var(--ink-400);
  font-size: 16px;
}

.admin-reports-sheet .pa-days {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 6px;
}

.admin-reports-sheet .pa-days__num {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 30px;
  font-weight: 700;
  color: var(--accent-700);
  letter-spacing: 0;
  line-height: 1;
}

.admin-reports-sheet .pa-days__unit {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-700);
  opacity: .85;
}

.admin-reports-sheet .pa-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.admin-reports-sheet .pa-stat {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-reports-sheet .pa-stat--wide {
  grid-column: 1 / -1;
}

.admin-reports-sheet .pa-stat__value {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: 0;
  line-height: 1.1;
}

.admin-reports-sheet .pa-stat__value--accent {
  color: var(--accent-700);
}

.admin-reports-sheet .pa-stat__suffix {
  font-size: 13px;
  color: var(--ink-400);
  font-weight: 600;
  opacity: .8;
  margin-left: 3px;
}

.admin-reports-sheet .pa-stat__sub {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-500);
}

.admin-reports-sheet .pa-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 18px 16px;
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: 14px;
  color: var(--ink-500);
  font-size: 13px;
  line-height: 1.5;
}

.admin-reports-sheet .pa-empty__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--chip-bg);
  color: var(--ink-400);
  display: grid;
  place-items: center;
}

.admin-reports-sheet .pa-empty__icon svg {
  width: 18px;
  height: 18px;
}

.admin-reports-sheet .pa-empty strong {
  color: var(--ink-900);
  font-size: 14px;
}

.admin-reports-sheet .pa-steps {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-reports-sheet .pa-steps li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-700);
  line-height: 1.4;
}

.admin-reports-sheet .pa-steps__dot {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--chip-bg);
  color: var(--ink-500);
  display: grid;
  place-items: center;
  font-size: 10.5px;
  font-weight: 700;
  margin-top: 1px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

.admin-reports-sheet .pa-steps li.is-done .pa-steps__dot {
  background: var(--accent);
  color: #fff;
}

.admin-reports-sheet .pa-steps li.is-active .pa-steps__dot {
  background: var(--accent-50);
  color: var(--accent-700);
  box-shadow: inset 0 0 0 1.5px var(--accent);
}

.admin-reports-sheet .pa-steps li.is-done {
  color: var(--ink-500);
  text-decoration: line-through;
  text-decoration-color: var(--ink-300);
}

.admin-reports-sheet .cal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
}

.admin-reports-sheet .cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.admin-reports-sheet .cal__title {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: capitalize;
  flex: 1;
  text-align: center;
}

.admin-reports-sheet .cal__months {
  display: block;
}

.admin-reports-sheet .cal__note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  padding: 8px 10px;
  background: var(--accent-50);
  border: 1px solid var(--accent-100);
  border-radius: 8px;
  color: var(--accent-700);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0;
}

.admin-reports-sheet .cal__note svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  opacity: .85;
}

.admin-reports-sheet .cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.admin-reports-sheet .cal__dow {
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--ink-400);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 0;
}

.admin-reports-sheet .cal__day {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-700);
  cursor: pointer;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 999px;
}

.admin-reports-sheet .cal__day::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 0;
}

.admin-reports-sheet .cal__day > span {
  position: relative;
  z-index: 1;
}

.admin-reports-sheet .cal__day:hover:not([disabled]):not(.is-empty) {
  background: var(--chip-bg);
}

.admin-reports-sheet .cal__day[disabled],
.admin-reports-sheet .cal__day.is-empty {
  cursor: default;
  color: var(--ink-300);
}

.admin-reports-sheet .cal__day.is-empty {
  visibility: hidden;
}

.admin-reports-sheet .cal__day.is-today {
  box-shadow: inset 0 0 0 1.5px var(--accent-200);
}

.admin-reports-sheet .cal__day.in-range::before,
.admin-reports-sheet .cal__day.range-start::before,
.admin-reports-sheet .cal__day.range-end::before {
  background: var(--accent-50);
  border-radius: 0;
  inset: 4px 0;
}

.admin-reports-sheet .cal__day.range-start::before {
  left: 50%;
}

.admin-reports-sheet .cal__day.range-end::before {
  right: 50%;
}

.admin-reports-sheet .cal__day.range-start.range-end::before {
  background: transparent;
}

.admin-reports-sheet .cal__day.range-start > span,
.admin-reports-sheet .cal__day.range-end > span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 10px -3px rgba(19, 122, 74, .5);
}

.admin-reports-sheet .cal__legend {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  font-size: 11.5px;
  color: var(--ink-500);
  flex-wrap: wrap;
}

.admin-reports-sheet .cal__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.admin-reports-sheet .cal__legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 2px 4px -1px rgba(19, 122, 74, .4);
}

.admin-reports-sheet .cal__legend-band {
  width: 18px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent-50);
  border: 1px solid var(--accent-100);
}

.admin-reports-sheet .cal__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}

.admin-reports-sheet .cal__quick button {
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-700);
  cursor: pointer;
}

.admin-reports-sheet .cal__quick button:hover {
  border-color: var(--ink-300);
  background: var(--chip-bg);
}

.admin-reports-sheet .entries-empty {
  text-align: center;
  color: var(--ink-500);
  font-size: 13px;
  padding: 32px 16px;
  background: var(--surface-soft);
  border: 1px dashed var(--border);
  border-radius: 12px;
}

.admin-reports-sheet .employees {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.admin-reports-sheet .employee {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
}

.admin-reports-sheet .employee__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--border);
}

.admin-reports-sheet .employee__name {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.admin-reports-sheet .employee__avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-100);
  color: var(--accent-700);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0;
  flex: 0 0 auto;
}

.admin-reports-sheet .employee__name strong {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.admin-reports-sheet .employee__num {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  color: var(--ink-500);
  font-weight: 600;
  background: var(--chip-bg);
  padding: 2px 7px;
  border-radius: 5px;
  margin-left: 8px;
}

.admin-reports-sheet .employee__total {
  text-align: right;
  line-height: 1.1;
}

.admin-reports-sheet .employee__total small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-400);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-reports-sheet .employee__total strong {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0;
}

.admin-reports-sheet .entry {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  cursor: pointer;
}

.admin-reports-sheet .entry:first-of-type {
  border-top: 0;
}

.admin-reports-sheet .entry:hover {
  background: var(--surface-soft);
}

.admin-reports-sheet .entry.is-unchecked {
  opacity: .55;
}

.admin-reports-sheet .entry__check {
  flex: 0 0 auto;
  margin-top: 2px;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--ink-300);
  border-radius: 5px;
  background: #fff;
  display: grid;
  place-items: center;
}

.admin-reports-sheet .entry__check svg {
  width: 12px;
  height: 12px;
  color: #fff;
  opacity: 0;
}

.admin-reports-sheet .entry input[type="checkbox"] {
  display: none;
}

.admin-reports-sheet .entry input[type="checkbox"]:checked + .entry__check {
  background: var(--accent);
  border-color: var(--accent);
}

.admin-reports-sheet .entry input[type="checkbox"]:checked + .entry__check svg {
  opacity: 1;
}

.admin-reports-sheet .entry__body {
  flex: 1;
  min-width: 0;
}

.admin-reports-sheet .entry__row1 {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.admin-reports-sheet .entry__date {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-900);
  text-transform: capitalize;
}

.admin-reports-sheet .entry__pnum {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  color: var(--ink-500);
  font-weight: 600;
  background: var(--chip-bg);
  padding: 1px 7px;
  border-radius: 5px;
}

.admin-reports-sheet .entry__project {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 4px;
}

.admin-reports-sheet .entry__row2 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--ink-500);
  margin-bottom: 6px;
}

.admin-reports-sheet .entry__time {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  color: var(--ink-700);
  font-weight: 600;
}

.admin-reports-sheet .entry__break {
  color: var(--ink-400);
}

.admin-reports-sheet .entry__total {
  margin-left: auto;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 700;
  color: var(--ink-900);
  font-size: 13.5px;
}

.admin-reports-sheet .entry__comment {
  font-size: 12.5px;
  color: var(--ink-700);
  line-height: 1.4;
  background: var(--chip-bg);
  padding: 8px 10px;
  border-radius: 8px;
  position: relative;
}

.admin-reports-sheet .entry__comment::before {
  content: open-quote;
  position: absolute;
  left: 4px;
  top: -4px;
  color: var(--ink-300);
  font-size: 22px;
  line-height: 1;
}

.admin-reports-sheet .create__footer {
  position: sticky;
  bottom: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 5;
}

.admin-reports-sheet .summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  background: var(--accent-50);
  border: 1px solid var(--accent-100);
  border-radius: 12px;
  padding: 12px 14px;
}

.admin-reports-sheet .summary__label {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--accent-700);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-reports-sheet .summary__sub {
  font-size: 12px;
  color: var(--accent-700);
  opacity: .8;
}

.admin-reports-sheet .summary__value {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-700);
  letter-spacing: 0;
  line-height: 1;
  text-align: right;
}

.admin-reports-sheet .summary__unit {
  font-size: 12px;
  font-weight: 600;
  opacity: .7;
  margin-left: 2px;
}

.admin-reports-sheet .create__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.admin-reports-sheet .create__actions .btn {
  height: 46px;
  font-size: 14.5px;
}

.admin-reports-sheet .card {
  position: relative;
  background: var(--reports-surface);
  border: 1px solid var(--reports-border);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.admin-reports-sheet .card:hover {
  border-color: var(--reports-border-strong);
  box-shadow: var(--shadow-medium);
}

.admin-reports-sheet .card__id {
  display: flex;
  gap: 14px;
  min-width: 0;
}

.admin-reports-sheet .card__badge {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--reports-accent-50);
  color: var(--reports-accent);
  border: 1px solid var(--reports-accent-100);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.admin-reports-sheet .card__badge svg {
  width: 22px;
  height: 22px;
}

.admin-reports-sheet .card__badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-reports-sheet .card__heading {
  min-width: 0;
}

.admin-reports-sheet .card__type-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.admin-reports-sheet .card__type {
  color: var(--reports-ink-500);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-reports-sheet .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 9px 0 8px;
  border-radius: 999px;
  background: var(--reports-chip-bg);
  color: var(--reports-chip-ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.admin-reports-sheet .chip svg {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
}

.admin-reports-sheet .chip__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: .55;
}

.admin-reports-sheet .chip__sep {
  opacity: .55;
  font-weight: 500;
  margin: 0 1px;
}

.admin-reports-sheet .chip--sent {
  background: var(--reports-accent-50);
  color: var(--reports-accent-600);
  border: 1px solid var(--reports-accent-100);
  padding: 0 9px 0 7px;
}

.admin-reports-sheet .chip--pending {
  background: var(--reports-chip-bg);
  color: var(--reports-chip-ink);
}

.admin-reports-sheet .card__project {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}

.admin-reports-sheet .card__project-num {
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--reports-chip-bg);
  color: var(--reports-ink-500);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.admin-reports-sheet .card__project-name {
  color: var(--reports-ink-900);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.admin-reports-sheet .card__customer {
  margin-top: 4px;
  color: var(--reports-ink-700);
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.admin-reports-sheet .card__customer svg {
  flex: 0 0 auto;
  opacity: .55;
}

.admin-reports-sheet .card__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 12px;
  column-gap: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--reports-border);
}

.admin-reports-sheet .meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.admin-reports-sheet .meta__label {
  color: var(--reports-ink-400);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-reports-sheet .meta__value {
  color: var(--reports-ink-700);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-reports-sheet .meta__value--wrap {
  white-space: normal;
  overflow: visible;
  line-height: 1.35;
}

.admin-reports-sheet .meta__value strong {
  color: var(--reports-ink-900);
  font-weight: 600;
}

.admin-reports-sheet .meta__sep {
  display: inline-block;
  margin: 0 4px;
  color: var(--reports-ink-400);
}

.admin-reports-sheet .meta__period-end {
  display: block;
}

.admin-reports-sheet .card__right {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}

.admin-reports-sheet .metric {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 0 0 12px;
  border-bottom: 1px dashed var(--reports-border);
}

.admin-reports-sheet .metric__label {
  color: var(--reports-ink-400);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-reports-sheet .metric__value {
  color: var(--reports-accent);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
}

.admin-reports-sheet .metric__unit {
  margin-left: 2px;
  color: var(--reports-ink-400);
  font-size: 11px;
  font-weight: 600;
}

.admin-reports-sheet .card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.admin-reports-sheet .card-actions .btn {
  width: 100%;
  height: 46px;
  font-size: 14px;
  border-radius: 12px;
}

.admin-reports-sheet .card-actions .btn svg {
  width: 17px;
  height: 17px;
}

.admin-reports-sheet .btn--ghost {
  background: var(--reports-surface);
  border-color: var(--reports-border);
  color: var(--reports-ink-700);
  box-shadow: var(--shadow-soft);
}

.admin-reports-sheet .btn--ghost:hover {
  border-color: var(--reports-ink-300);
  background: var(--reports-surface-soft);
  color: var(--reports-ink-900);
}

.admin-reports-sheet .btn--fortnox {
  background: #fff;
  color: var(--reports-fortnox);
  border-color: var(--reports-fortnox);
}

.admin-reports-sheet .btn--fortnox:hover {
  background: var(--reports-fortnox);
  color: #fff;
}

.admin-reports-sheet .btn--fortnox:hover .fortnox-mark .f-bg {
  fill: #fff;
}

.admin-reports-sheet .btn--fortnox:hover .fortnox-mark .f-letter {
  fill: var(--reports-fortnox);
}

.admin-reports-create {
  display: grid;
  gap: 16px;
}

.admin-reports-create__head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 14px 16px;
  background: linear-gradient(180deg, var(--color-primary-50), #fff 80%);
  border-bottom: 1px solid var(--color-primary-100);
}

.admin-reports-page-head--create {
  margin-bottom: 0;
}

.admin-reports-create__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
}

.admin-reports-create__back svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.admin-reports-create__title-block {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.admin-reports-create__title {
  margin: 0;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.admin-reports-create__title-prefix {
  color: var(--color-muted);
  font-weight: 600;
}

.admin-reports-create__grid {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.admin-reports-create__main {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.admin-reports-step {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.admin-reports-step__head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.admin-reports-step__num {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--color-primary) 10%, var(--color-surface));
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 800;
  flex: 0 0 auto;
}

.admin-reports-step__title {
  min-width: 0;
  color: var(--color-text);
  font-size: 0.96rem;
  font-weight: 700;
}

.admin-reports-create__picker-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  position: relative;
}

.admin-reports-create__picker {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--color-border);
  background: var(--color-surface-soft);
  text-align: left;
  cursor: pointer;
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.admin-reports-create__picker:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.admin-reports-create__picker-label {
  color: var(--color-muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-reports-create__picker-value {
  color: var(--color-text);
  font-size: 0.92rem;
  font-weight: 600;
}

.admin-reports-step__hint {
  margin-left: auto;
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.admin-reports-create__period-shell,
.admin-reports-create__preview-shell,
.admin-reports-guide,
.admin-reports-create__help,
.admin-reports-create__footer {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.admin-reports-create__period-shell strong,
.admin-reports-create__preview-shell strong,
.admin-reports-create__help strong {
  color: var(--color-text);
  font-size: 0.92rem;
}

.admin-reports-create__period-shell p,
.admin-reports-create__preview-shell p,
.admin-reports-create__help p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.admin-reports-period-hint {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px dashed var(--color-border);
  background: var(--color-surface-soft);
}

.admin-reports-period-hint strong {
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 800;
}

.admin-reports-period-hint p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.admin-reports-calendar {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 14px;
  display: grid;
  gap: 10px;
}

.admin-reports-calendar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.admin-reports-calendar__nav {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.admin-reports-calendar__nav:hover:not(:disabled) {
  background: var(--color-surface-soft);
}

.admin-reports-calendar__nav:disabled {
  opacity: .35;
  cursor: default;
}

.admin-reports-calendar__nav svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.admin-reports-calendar__title {
  min-width: 0;
  color: var(--color-text);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.005em;
  text-align: center;
  text-transform: capitalize;
  flex: 1;
}

.admin-reports-calendar__note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 10px;
  color: var(--color-primary-deep);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.45;
  background: var(--color-primary-50);
  border: 1px solid var(--color-primary-100);
  border-radius: 8px;
}

.admin-reports-calendar__note svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.admin-reports-calendar__weekdays,
.admin-reports-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2px;
}

.admin-reports-calendar__weekdays span {
  color: var(--color-muted);
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-reports-calendar__day {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 0;
  background: transparent;
  color: var(--color-text);
  display: grid;
  place-items: center;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  border-radius: 999px;
  transition: background .12s ease, color .12s ease;
}

.admin-reports-calendar__day::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  transition: background .12s ease;
  z-index: 0;
}

.admin-reports-calendar__day--empty {
  background: transparent;
  border-color: transparent;
  pointer-events: none;
}

.admin-reports-calendar__day--empty::before {
  display: none;
}

.admin-reports-calendar__day:hover:not(.admin-reports-calendar__day--empty) {
  background: var(--reports-chip-bg);
}

.admin-reports-calendar__day.is-today {
  box-shadow: inset 0 0 0 1.5px var(--color-primary-200);
}

.admin-reports-calendar__day.is-range-start,
.admin-reports-calendar__day.is-range-end {
  color: #fff;
}

.admin-reports-calendar__day.is-in-range {
  color: var(--color-text);
}

.admin-reports-calendar__day.is-in-range::before {
  background: var(--color-primary-50);
  border-radius: 0;
  inset: 4px 0;
}

.admin-reports-calendar__day.is-range-start::before,
.admin-reports-calendar__day.is-range-end::before {
  background: var(--color-primary-50);
  border-radius: 0;
  inset: 4px 0;
}

.admin-reports-calendar__day.is-range-start::before { left: 50%; }
.admin-reports-calendar__day.is-range-end::before { right: 50%; }

.admin-reports-calendar__day.is-range-start > span,
.admin-reports-calendar__day.is-range-end > span {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 10px -3px rgba(19, 122, 74, .5);
}

.admin-reports-calendar__day > span {
  position: relative;
  z-index: 1;
}

.admin-reports-calendar__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--color-border);
}

.admin-reports-calendar__quick button {
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
}

.admin-reports-calendar__quick button:hover {
  border-color: var(--reports-ink-300);
  background: var(--reports-chip-bg);
}

.admin-reports-calendar__legend {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--color-border);
  font-size: 11.5px;
  color: var(--color-muted);
  flex-wrap: wrap;
}

.admin-reports-calendar__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.admin-reports-calendar__legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 2px 4px -1px rgba(19, 122, 74, .4);
}

.admin-reports-calendar__legend-band {
  width: 18px;
  height: 8px;
  border-radius: 2px;
  background: var(--color-primary-50);
  border: 1px solid var(--color-primary-100);
}

.admin-reports-entries-empty {
  display: grid;
  place-items: center;
  min-height: 120px;
  padding: 18px;
  border: 1px dashed var(--color-border);
  border-radius: 14px;
  background: var(--color-surface-soft);
  color: var(--color-muted);
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.45;
}

.admin-reports-employees {
  display: grid;
  gap: 12px;
}

.admin-reports-employee {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.admin-reports-employee__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.admin-reports-employee__name {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.admin-reports-employee__avatar {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-primary) 12%, var(--color-surface));
  color: var(--color-primary);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  font-size: 0.82rem;
  font-weight: 800;
}

.admin-reports-employee__name-text {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.admin-reports-employee__name-text strong {
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
}

.admin-reports-employee__name-text span {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.admin-reports-employee__total {
  flex: 0 0 auto;
  display: grid;
  justify-items: end;
  gap: 2px;
  text-align: right;
}

.admin-reports-employee__total small {
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-reports-employee__total strong {
  color: var(--color-primary);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.05rem;
  font-weight: 700;
}

.admin-reports-employee__entries {
  display: grid;
  gap: 8px;
}

.admin-reports-entry {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--color-border);
  background: var(--color-surface-soft);
  cursor: pointer;
  transition: opacity .15s ease, background .15s ease, border-color .15s ease;
}

.admin-reports-entry:hover {
  border-color: color-mix(in srgb, var(--color-primary) 18%, var(--color-border));
}

.admin-reports-entry.is-deselected {
  opacity: .55;
}

.admin-reports-entry input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.admin-reports-entry__check {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--color-border-strong);
  background: var(--color-surface);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  margin-top: 2px;
}

.admin-reports-entry__check svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  opacity: 0;
}

.admin-reports-entry input[type="checkbox"]:checked + .admin-reports-entry__check {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.admin-reports-entry input[type="checkbox"]:checked + .admin-reports-entry__check svg {
  opacity: 1;
}

.admin-reports-entry__body {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.admin-reports-entry__row1,
.admin-reports-entry__row2 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}

.admin-reports-entry__date {
  color: var(--color-text);
  font-size: 0.84rem;
  font-weight: 800;
}

.admin-reports-entry__pnum {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--color-border);
}

.admin-reports-entry__project {
  min-width: 0;
  color: var(--color-text);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.admin-reports-entry__time {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--color-text);
  font-size: 0.84rem;
  font-weight: 700;
}

.admin-reports-entry__break,
.admin-reports-entry__total {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.admin-reports-entry__total {
  margin-left: auto;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--color-text);
  font-weight: 800;
}

.admin-reports-entry__comment {
  position: relative;
  padding: 8px 10px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--color-border) 48%, var(--color-surface));
  color: var(--color-text);
  font-size: 0.84rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.admin-reports-period-overview {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.admin-reports-period-overview__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--color-surface-soft);
  color: var(--color-muted);
  display: grid;
  place-items: center;
}

.admin-reports-period-overview__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-reports-period-overview > strong {
  color: var(--color-text);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.admin-reports-period-overview > p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.admin-reports-period-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.admin-reports-period-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--color-text);
  font-size: 0.9rem;
  line-height: 1.45;
}

.admin-reports-period-checklist__mark {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--color-border);
  color: var(--color-muted);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 800;
  margin-top: 1px;
}

.admin-reports-period-checklist__mark svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.admin-reports-period-checklist li.is-done .admin-reports-period-checklist__mark {
  background: color-mix(in srgb, var(--color-primary) 12%, var(--color-surface));
  color: var(--color-primary);
}

.admin-reports-period-checklist li.is-active .admin-reports-period-checklist__mark {
  background: var(--color-primary);
  color: #fff;
}

.admin-reports-period-stack {
  display: grid;
  gap: 12px;
}

.admin-reports-period-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.admin-reports-period-card--accent {
  background: linear-gradient(180deg, color-mix(in srgb, var(--color-primary) 8%, var(--color-surface)) 0%, var(--color-surface) 100%);
  border-color: color-mix(in srgb, var(--color-primary) 14%, var(--color-border));
}

.admin-reports-period-card__label {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-reports-period-range {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-reports-period-range__cell {
  display: grid;
  gap: 2px;
}

.admin-reports-period-range__sub {
  color: var(--color-muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-reports-period-range__date {
  color: var(--color-text);
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.admin-reports-period-range__arrow {
  color: var(--color-muted);
  font-size: 1rem;
}

.admin-reports-period-days {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.admin-reports-period-days__num {
  color: var(--color-primary);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.admin-reports-period-days__unit {
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 700;
}

.admin-reports-period-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-reports-period-stat {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: var(--color-surface-soft);
}

.admin-reports-period-stat--wide {
  grid-column: 1 / -1;
}

.admin-reports-period-stat__label {
  color: var(--color-muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-reports-period-stat__value {
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.admin-reports-period-stat__value--accent {
  color: var(--color-primary);
}

.admin-reports-period-stat__value-suffix {
  margin-left: 2px;
  color: var(--color-muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.admin-reports-period-stat__sub {
  color: var(--color-muted);
  font-size: 0.8rem;
  font-weight: 500;
}

.admin-reports-period-empty-note {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px dashed var(--color-border);
  background: var(--color-surface-soft);
}

.admin-reports-period-empty-note strong {
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 800;
}

.admin-reports-period-empty-note p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.admin-reports-create__aside {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.admin-reports-guide__item {
  display: grid;
  gap: 3px;
}

.admin-reports-guide__item span {
  color: var(--color-muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-reports-guide__item strong {
  color: var(--color-text);
  font-size: 0.94rem;
  font-weight: 700;
}

.admin-reports-create__footer {
  position: sticky;
  bottom: 0;
  z-index: 1;
}

.admin-reports-create__footer-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.admin-reports-create__footer-summary span,
.admin-reports-create__footer-meta {
  color: var(--color-muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.admin-reports-create__footer-summary strong {
  color: var(--color-text);
  font-size: 1.05rem;
  font-weight: 800;
}

.admin-reports-create__footer-actions {
  display: flex;
  gap: 10px;
}

.admin-reports-btn--secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border-color: var(--color-border);
}

.admin-reports-btn--secondary:hover:not(:disabled) {
  border-color: var(--reports-ink-300);
  background: var(--reports-surface-soft);
  color: var(--reports-ink-900);
}

.admin-reports-btn--secondary:disabled {
  opacity: .5;
  cursor: default;
}

.admin-reports-list {
  display: grid;
  gap: 12px;
  min-width: 0;
  position: relative;
}

.admin-report-card {
  display: grid;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  transition: border-color .18s ease, box-shadow .18s ease;
  font-family: inherit;
}

.admin-report-card:hover {
  border-color: color-mix(in srgb, var(--color-border) 78%, var(--color-text));
  box-shadow: 0 6px 18px -8px rgba(15, 23, 42, 0.18), 0 2px 4px rgba(15, 23, 42, 0.04);
}

.admin-report-card__identity {
  display: flex;
  gap: 14px;
  min-width: 0;
}

.admin-report-card__image {
  flex: 0 0 auto;
}

.admin-report-card__heading {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.admin-report-card__type-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-report-card__type {
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-report-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 22px;
  padding: 0 9px 0 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.admin-report-chip svg {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.admin-report-chip__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: .55;
}

.admin-report-chip__sep {
  margin: 0 1px;
  opacity: .55;
  font-weight: 500;
}

.admin-report-chip--pending {
  background: #f1f3f6;
  color: #4a5365;
}

.admin-report-chip--sent {
  background: color-mix(in srgb, var(--color-primary) 10%, var(--color-surface));
  color: var(--color-primary);
  border-color: color-mix(in srgb, var(--color-primary) 18%, var(--color-surface));
  padding: 0 9px 0 7px;
}

.admin-report-chip--sent svg {
  stroke-width: 3;
}

.admin-report-card__project {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.admin-report-card__project-number {
  flex: 0 0 auto;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  padding: 2px 8px;
  border-radius: 6px;
  background: #f1f3f6;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.admin-report-card__project-name {
  min-width: 0;
  color: var(--color-text);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}

.admin-report-card__company {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.35;
}

.admin-report-card__company svg {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  opacity: 0.65;
}

.admin-report-card__company span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.admin-report-card__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--color-border);
}

.admin-report-card__meta-item {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.admin-report-card__meta-label {
  color: var(--color-muted);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-report-card__meta-value {
  min-width: 0;
  color: var(--color-text);
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.admin-report-card__meta-value--period {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  white-space: normal;
  overflow: visible;
  overflow-wrap: normal;
  gap: 0;
}

.admin-report-card__meta-value strong {
  font-weight: 600;
}

.admin-report-card__period {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0;
}

.admin-report-card__period strong {
  font-weight: 600;
  white-space: nowrap;
}

.admin-report-card__period-sep {
  display: inline-block;
  margin: 0 4px;
  color: var(--color-muted);
}

.admin-report-card__right {
  display: grid;
  gap: 14px;
}

.admin-report-card__metric {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--color-border);
}

.admin-report-card__metric-label {
  color: var(--color-muted);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-report-card__metric-value {
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
}

.admin-report-card__metric-value-row {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.admin-report-card__metric-unit {
  color: var(--color-muted);
  font-size: 11px;
  font-weight: 600;
}

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

.admin-report-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--color-text);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.admin-report-card__button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.admin-report-card__button--ghost {
  background: var(--color-surface);
  border-color: var(--color-border);
}

.admin-report-card__button--fortnox {
  background: #fff;
  color: #003825;
  border-color: #003825;
}

.admin-report-card__button--fortnox svg {
  stroke: none;
  fill: currentColor;
}

.admin-report-card__button--fortnox .f-bg {
  fill: currentColor;
}

.admin-report-card__button--fortnox .f-letter {
  fill: #fff;
}

.admin-report-card__button--fortnox:hover {
  background: #003825;
  color: #fff;
}

.admin-report-card__button--fortnox:hover .f-bg {
  fill: #fff;
}

.admin-report-card__button--fortnox:hover .f-letter {
  fill: #003825;
}

.admin-report-card__empty {
  margin: 0;
}

@media (min-width: 720px) {
  .admin-reports-page {
    padding: 32px 22px 80px;
  }

  .admin-reports-page-head__title {
    font-size: 26px;
  }

  .admin-reports-sheet .page-head h1 {
    font-size: 26px;
  }

  .admin-reports-toolbar {
    grid-template-columns: 200px 1fr 180px 200px;
    gap: 10px;
  }

  .admin-reports-sheet .toolbar {
    grid-template-columns: 200px 1fr 180px 200px;
    gap: 10px;
  }

  .admin-reports-sheet .card {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) auto;
    column-gap: 28px;
    align-items: center;
    gap: 0;
    padding: 18px 20px;
  }

  .admin-reports-sheet .card__meta {
    padding-top: 0;
    border-top: none;
    row-gap: 10px;
  }

  .admin-reports-sheet .card__right {
    flex-direction: row;
    align-items: center;
    gap: 18px;
  }

  .admin-reports-sheet .metric {
    display: block;
    text-align: right;
    padding: 0 18px 0 0;
    border-bottom: 0;
    border-right: 1px solid var(--reports-border);
  }

  .admin-reports-sheet .metric__value {
    font-size: 18px;
  }

  .admin-reports-sheet .card-actions {
    display: flex;
    gap: 8px;
  }

  .admin-reports-sheet .card-actions .btn {
    width: auto;
    height: 40px;
    font-size: 13px;
    border-radius: 10px;
  }

  .admin-reports-sheet .step__row {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .admin-reports-sheet .period-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
    align-items: start;
  }

  .admin-reports-sheet .create__head {
    padding: 16px 20px;
  }

  .admin-reports-sheet .create__title {
    font-size: 16px;
  }

  .admin-reports-sheet .step {
    padding: 20px;
  }

  .admin-reports-sheet .create__footer {
    padding: 16px 20px;
  }

  .admin-reports-sheet .create__actions {
    grid-template-columns: 1fr auto;
    justify-content: end;
  }

  .admin-reports-sheet .create__actions .btn {
    min-width: 180px;
  }

  .admin-reports-sheet .summary__value {
    font-size: 24px;
  }

  .admin-reports-create__head {
    padding: 16px 20px;
  }

  .admin-reports-create__title {
    font-size: 16px;
  }

  .admin-reports-create__footer {
    padding: 16px 20px;
  }

  .admin-reports-create__grid {
    grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
  }

  .admin-reports-create__picker-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-reports-create__footer-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    justify-content: end;
  }

  .admin-reports-create__footer-actions .admin-reports-btn {
    min-width: 180px;
  }
}

@media (min-width: 880px) {
  .admin-report-card {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    padding: 18px 20px;
  }

  .admin-report-card__meta {
    padding-top: 0;
    border-top: 0;
  }

  .admin-report-card__right {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
  }

  .admin-report-card__metric {
    display: block;
    text-align: right;
    padding: 0 18px 0 0;
    border-bottom: 0;
    border-right: 1px solid var(--color-border);
  }

  .admin-report-card__actions {
    display: flex;
    gap: 8px;
    width: auto;
  }

  .admin-report-card__button {
    width: auto;
    min-width: 0;
    height: 40px;
    border-radius: 10px;
    font-size: 13px;
  }
}

@media (max-width: 879px) {
  .admin-reports-page-head__top {
    gap: 10px;
  }

  .admin-reports-page-head__actions {
    width: 100%;
  }

  .admin-reports-btn {
    flex: 1 1 auto;
  }

  .admin-reports-create__grid {
    grid-template-columns: 1fr;
  }

  .admin-reports-create__picker-row {
    grid-template-columns: 1fr;
  }

  .admin-reports-create__footer-actions {
    flex-direction: column;
  }

  .admin-report-card__meta {
    grid-template-columns: 1fr 1fr;
  }

  .admin-reports-step__head {
    flex-wrap: wrap;
  }

  .admin-reports-step__hint {
    width: 100%;
    margin-left: 0;
  }

  .admin-reports-calendar__weekdays,
  .admin-reports-calendar__grid {
    gap: 4px;
  }

  .admin-reports-calendar__day {
    min-height: 40px;
    font-size: 0.82rem;
  }

  .admin-reports-employee__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-reports-employee__total {
    justify-items: start;
    text-align: left;
  }

  .admin-reports-entry {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .admin-reports-entry__total {
    margin-left: auto;
  }
}
