:root {
  --bg-1: #f3efe7;
  --bg-2: #e1d8cc;
  --ink: #1f2528;
  --muted: #687278;
  --line: rgba(31, 37, 40, 0.1);
  --line-strong: rgba(31, 37, 40, 0.16);
  --panel: rgba(255, 255, 255, 0.84);
  --panel-strong: rgba(255, 255, 255, 0.94);
  --brand: #294550;
  --brand-2: #60757c;
  --accent: #8a6c52;
  --accent-soft: rgba(138, 108, 82, 0.12);
  --ok: #3d6c53;
  --danger: #8a483f;
  --shadow: 0 24px 60px rgba(31, 37, 40, 0.12);
  --shadow-soft: 0 12px 28px rgba(31, 37, 40, 0.08);
  --radius-xl: 24px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 14px;
  --font-ui: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: var(--font-ui);
  background:
    radial-gradient(circle at 10% 12%, rgba(41, 69, 80, 0.12), transparent 30%),
    radial-gradient(circle at 88% 88%, rgba(138, 108, 82, 0.14), transparent 32%),
    linear-gradient(135deg, var(--bg-1), var(--bg-2));
}

body {
  position: relative;
  min-height: 100dvh;
  overflow-x: hidden;
  font-size: 15px;
  line-height: 1.45;
}

.bg-noise {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(31, 37, 40, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 37, 40, 0.018) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
  opacity: 0.65;
}

.bg-glow {
  position: fixed;
  border-radius: 999px;
  filter: blur(80px);
  pointer-events: none;
}

.bg-glow-a {
  top: -130px;
  left: -120px;
  width: 320px;
  height: 320px;
  background: rgba(41, 69, 80, 0.18);
}

.bg-glow-b {
  right: -140px;
  bottom: -140px;
  width: 340px;
  height: 340px;
  background: rgba(138, 108, 82, 0.18);
}

.shell {
  position: relative;
  z-index: 1;
  width: min(1320px, calc(100% - 24px));
  margin: 0 auto;
  padding: 16px 0 32px;
}

.panel,
.subpanel,
.metric-card,
.chart-row,
.admin-employee-card,
.recent-item,
.hourly-row,
.employee-row {
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.panel {
  box-shadow: var(--shadow);
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(246, 241, 234, 0.76)),
    rgba(255, 255, 255, 0.84);
}

.topbar-copy,
.topbar-actions,
.shift-main,
.admin-main,
.admin-section-view,
.subpanel,
.stack {
  min-width: 0;
}

.topbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-ui);
  letter-spacing: -0.02em;
  font-weight: 800;
  text-wrap: balance;
}

h1 {
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.04;
}

h2 {
  font-size: clamp(22px, 2.8vw, 30px);
  line-height: 1.08;
}

h3 {
  font-size: 18px;
  line-height: 1.18;
}

.muted {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.hidden {
  display: none !important;
}

.status {
  margin-top: 12px;
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid rgba(41, 69, 80, 0.16);
  background: rgba(41, 69, 80, 0.08);
  color: var(--brand);
  box-shadow: var(--shadow-soft);
  white-space: pre-wrap;
  word-break: break-word;
}

.status.error {
  border-color: rgba(138, 72, 63, 0.22);
  background: rgba(138, 72, 63, 0.1);
  color: var(--danger);
}

.status.success {
  border-color: rgba(61, 108, 83, 0.22);
  background: rgba(61, 108, 83, 0.1);
  color: var(--ok);
}

.status.inline {
  margin-top: 18px;
}

.auth-panel,
.profile-panel {
  margin-top: 14px;
  padding: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 460px);
  gap: 22px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.84), rgba(245, 239, 231, 0.72)),
    rgba(255, 255, 255, 0.82);
}

.auth-copy,
.profile-copy {
  display: grid;
  align-content: start;
  gap: 8px;
}

.auth-form,
.profile-form {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 37, 40, 0.08);
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.chip-btn,
.profile-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  min-width: 0;
  padding: 0 14px;
  border: 1px solid rgba(41, 69, 80, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--brand);
  font: inherit;
  font-weight: 800;
  text-align: center;
  white-space: normal;
}

.chip-btn {
  cursor: pointer;
}

.chip-btn.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.profile-chip {
  background: rgba(138, 72, 63, 0.08);
  border-color: rgba(138, 72, 63, 0.16);
  color: var(--danger);
}

#appView {
  margin-top: 14px;
}

.shift-layout {
  display: flex;
  justify-content: center;
}

.shift-main {
  width: min(980px, 100%);
  padding: 24px;
  display: grid;
  gap: 18px;
}

.form-block,
.subpanel {
  padding: 20px;
}

.form-block {
  display: grid;
  gap: 16px;
}

.subpanel {
  display: grid;
  gap: 16px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(245, 239, 231, 0.56)),
    rgba(255, 255, 255, 0.72);
}

.section-head,
.block-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.compact-head {
  align-items: center;
}

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

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

#museumFields,
#adminShiftMuseumFields {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#wheelFields,
#adminShiftWheelFields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.field span {
  min-width: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

input,
select,
textarea {
  display: block;
  width: 100%;
  inline-size: 100%;
  min-width: 0;
  min-inline-size: 0;
  max-width: 100%;
  max-inline-size: 100%;
  border: 1px solid rgba(31, 37, 40, 0.14);
  border-radius: var(--radius-md);
  padding: 13px 14px;
  font: inherit;
  font-size: 15px;
  line-height: 1.35;
  color: var(--ink);
  background: var(--panel-strong);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

textarea {
  resize: vertical;
  min-height: 128px;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(41, 69, 80, 0.34);
  box-shadow: 0 0 0 4px rgba(41, 69, 80, 0.08);
}

.btn,
.icon-btn {
  border: 0;
  border-radius: var(--radius-md);
  font: inherit;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, opacity 160ms ease, background 160ms ease, box-shadow 160ms ease;
  white-space: normal;
  text-align: center;
}

.btn {
  min-height: 48px;
  padding: 12px 16px;
}

.btn:hover,
.icon-btn:hover,
.direction-btn:hover,
.chip-btn:hover,
.admin-nav-btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 14px 28px rgba(41, 69, 80, 0.22);
}

.btn.ghost,
.admin-nav-btn {
  color: var(--brand);
  background: rgba(41, 69, 80, 0.08);
}

.btn.small {
  min-height: 42px;
  padding: 10px 12px;
  font-size: 13px;
}

.btn.danger {
  color: var(--danger);
  background: rgba(138, 72, 63, 0.1);
}

.actions-row {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

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

.direction-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  min-height: 82px;
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.direction-btn.active {
  color: #fff;
  border-color: transparent;
  background:
    radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0.16), transparent 24%),
    linear-gradient(135deg, var(--brand), var(--brand-2));
}

.direction-icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  color: var(--brand);
  background: rgba(41, 69, 80, 0.1);
}

.direction-btn.active .direction-icon {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.direction-copy {
  min-width: 0;
}

.direction-copy strong {
  display: block;
  font-size: 15px;
  line-height: 1.2;
}

.switch {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
}

.switch input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.stack {
  display: grid;
  gap: 12px;
  align-content: start;
  grid-auto-rows: min-content;
}

.hourly-row,
.employee-row {
  display: grid;
  gap: 12px 16px;
  align-items: end;
  padding: 15px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(245, 239, 231, 0.54)),
    rgba(255, 255, 255, 0.72);
}

.hourly-row {
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
}

.employee-row {
  grid-template-columns: minmax(0, 1fr) minmax(140px, 180px) auto;
}

.icon-btn {
  min-height: 48px;
  padding: 0 18px;
  align-self: end;
  border: 1px solid rgba(138, 72, 63, 0.18);
  background: rgba(138, 72, 63, 0.08);
  color: var(--danger);
}

.shift-footer {
  display: flex;
  justify-content: flex-start;
}

.admin-shell {
  display: block;
}

.admin-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.admin-sidebar {
  position: sticky;
  top: 16px;
  padding: 20px;
  display: grid;
  gap: 16px;
  align-content: start;
}

.admin-sidebar h2 {
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.04;
}

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

.admin-nav-btn {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  text-align: left;
  font-size: 15px;
}

.admin-nav-btn.active {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 14px 28px rgba(41, 69, 80, 0.18);
}

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

.admin-section-view {
  padding: 22px;
  display: grid;
  gap: 18px;
}

.dashboard-columns {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.stat-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  display: grid;
  gap: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(245, 239, 231, 0.58)),
    rgba(255, 255, 255, 0.78);
}

.metric-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-value {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.metric-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.chart-list,
.employee-cards,
.shift-cards,
.table-list,
.notification-list {
  display: grid;
  gap: 12px;
}

.chart-list {
  align-content: start;
}

#adminEmployeesStats {
  margin: 18px 0;
}

.chart-row,
.admin-employee-card,
.recent-item {
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(245, 239, 231, 0.54)),
    rgba(255, 255, 255, 0.76);
}

.chart-row {
  display: grid;
  gap: 10px;
  align-content: start;
}

.chart-copy {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.chart-name {
  font-weight: 800;
}

.chart-meta {
  color: var(--muted);
  font-size: 13px;
}

.chart-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(41, 69, 80, 0.08);
}

.chart-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}

.admin-employee-card {
  display: grid;
  gap: 14px;
  overflow: hidden;
}

.admin-employee-card.archived {
  opacity: 0.72;
}

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

.admin-employee-copy strong,
.recent-item strong {
  display: block;
  font-size: 15px;
  line-height: 1.25;
}

.admin-meta,
.recent-meta {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.admin-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(41, 69, 80, 0.08);
  color: var(--brand);
}

.badge.muted {
  background: rgba(31, 37, 40, 0.08);
  color: var(--muted);
}

.badge.danger {
  background: rgba(138, 72, 63, 0.12);
  color: var(--danger);
}

.badge.success {
  background: rgba(61, 108, 83, 0.12);
  color: var(--ok);
}

.admin-employee-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
}

.admin-employee-grid .field {
  overflow: hidden;
}

.admin-employee-grid .field,
.admin-employee-grid input,
.admin-employee-grid select,
.admin-employee-grid textarea {
  min-inline-size: 0;
  max-inline-size: 100%;
}

.admin-employee-grid input[type="date"] {
  inline-size: 100%;
  min-inline-size: 0;
  max-inline-size: 100%;
}

.admin-actions,
.service-grid,
.filter-actions,
.recent-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-actions .btn,
.service-grid .btn,
.filter-actions .btn,
.recent-item-actions .btn {
  flex: 1 1 180px;
}

.admin-password-note {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(41, 69, 80, 0.16);
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.admin-password-note.success {
  border-color: rgba(61, 108, 83, 0.22);
  background: rgba(61, 108, 83, 0.1);
  color: var(--ok);
}

.admin-password-note.danger {
  border-color: rgba(138, 72, 63, 0.22);
  background: rgba(138, 72, 63, 0.1);
  color: var(--danger);
}

.shift-filter-grid {
  align-items: end;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
}

.recent-item {
  display: grid;
  gap: 6px;
  align-content: start;
}

.recent-item--tight {
  padding-top: 12px;
  padding-bottom: 12px;
}

.list-empty {
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--line-strong);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.46);
}

code {
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(31, 37, 40, 0.06);
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.92em;
}

.icon-badge-btn {
  position: relative;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(41, 69, 80, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--brand);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.icon-badge-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.2em;
  font-size: 18px;
  line-height: 1;
}

.icon-badge-btn__count {
  position: absolute;
  top: -6px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--danger);
  color: #fff;
  font-size: 12px;
  line-height: 1;
}

.notification-panel {
  margin-top: 14px;
  padding: 20px;
  display: grid;
  gap: 16px;
}

.notification-item {
  cursor: pointer;
}

.notification-item.unread {
  border-color: rgba(41, 69, 80, 0.18);
  box-shadow: 0 16px 32px rgba(41, 69, 80, 0.08);
}

.notification-item__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.notification-item__excerpt {
  color: var(--ink);
  line-height: 1.5;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 18px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 37, 40, 0.32);
  backdrop-filter: blur(4px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(880px, 100%);
  max-height: min(90dvh, 960px);
  padding: 22px;
  display: grid;
  gap: 16px;
  overflow: auto;
}

.notification-modal-body {
  display: grid;
  gap: 16px;
}

.notification-rich-text {
  line-height: 1.6;
}

.notification-rich-text b,
.notification-rich-text strong {
  font-weight: 800;
}

.notification-rich-text i,
.notification-rich-text em {
  font-style: italic;
}

.notification-rich-text u,
.notification-rich-text ins {
  text-decoration: underline;
}

.notification-rich-text s,
.notification-rich-text del {
  text-decoration: line-through;
}

.notification-rich-text code,
.notification-rich-text pre {
  white-space: pre-wrap;
}

.notification-gallery {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.notification-image {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
}

.notification-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.report-analytics-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.stat-grid-compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.format-btn {
  min-height: 38px;
  min-width: 42px;
  padding: 0 12px;
  border: 1px solid rgba(41, 69, 80, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--brand);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

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

.file-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(41, 69, 80, 0.08);
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}

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

  .admin-sidebar {
    position: static;
  }

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

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

  .employee-row {
    grid-template-columns: minmax(0, 1fr) minmax(140px, 180px);
  }

  .employee-row .icon-btn {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .auth-panel,
  .profile-panel,
  .dashboard-columns,
  .admin-employee-grid,
  .field-grid,
  .compact-grid,
  #museumFields,
  #wheelFields,
  #adminShiftMuseumFields,
  #adminShiftWheelFields,
  .hourly-row,
  .employee-row,
  .shift-filter-grid {
    grid-template-columns: 1fr;
  }

  .chart-copy,
  .section-head,
  .block-head,
  .topbar,
  .admin-employee-head,
  .notification-item__head {
    flex-direction: column;
    align-items: stretch;
  }

  .topbar-actions,
  .admin-badges {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100%, calc(100% - 16px));
    padding: 8px 0 20px;
  }

  .topbar,
  .auth-panel,
  .profile-panel,
  .shift-main,
  .admin-sidebar,
  .admin-section-view,
  .form-block,
  .subpanel,
  .metric-card,
  .chart-row,
  .admin-employee-card,
  .recent-item,
  .hourly-row,
  .employee-row {
    padding: 16px;
    border-radius: 20px;
  }

  .direction-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .admin-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .actions-row,
  .filter-actions,
  .service-grid,
  .recent-item-actions,
  .admin-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .chip-btn,
  .profile-chip,
  .icon-btn {
    width: 100%;
  }

  .admin-actions .btn,
  .service-grid .btn,
  .filter-actions .btn,
  .recent-item-actions .btn {
    flex: 0 0 auto;
  }

  .admin-nav-btn,
  .format-btn,
  .icon-badge-btn {
    width: auto;
    min-width: max-content;
  }

  .modal-card {
    width: 100%;
  }
}
