:root {
  --bg: #11110f;
  --card: #1b1a17;
  --card2: #25231f;
  --text: #f4f1eb;
  --muted: #a7a097;
  --line: #38342e;
  --accent: #74b9aa;
  --accentText: #11110f;
  --danger: #e57373;
  --shadow: 0 4px 20px rgba(0,0,0,0.3);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Futura", "Avenir Next", Helvetica, Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
}

html[data-theme="light"] {
  --bg: #f5efe6;
  --card: #ffffff;
  --card2: #f0e9df;
  --text: #1c1c1e;
  --muted: #7c7c80;
  --line: #e2d9cd;
  --accent: #1f5c50;
  --accentText: #ffffff;
  --danger: #d32f2f;
  --shadow: 0 4px 20px rgba(0,0,0,0.06);
}

html[data-theme="dark"] {
  --bg: #11110f;
  --card: #1b1a17;
  --card2: #25231f;
  --text: #f4f1eb;
  --muted: #a7a097;
  --line: #38342e;
  --accent: #74b9aa;
  --accentText: #11110f;
  --danger: #e57373;
  --shadow: 0 4px 20px rgba(0,0,0,0.3);
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

.app-shell {
  max-width: 760px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(12px + env(safe-area-inset-top)) 16px calc(90px + env(safe-area-inset-bottom));
}

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

h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 0; font-size: 32px; letter-spacing: -.8px; }
h2 { margin-bottom: 5px; font-size: 28px; letter-spacing: -.6px; }
h3 { margin-bottom: 0; font-size: 20px; }
.muted, small { color: var(--muted); }

button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.icon-button, .back-button, .text-button {
  border: 0;
  background: transparent;
  color: var(--text);
}

.icon-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--card);
  box-shadow: var(--shadow);
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.panel, .total-card, .client-card, .appointment-card, .detail-card {
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 20px;
}

.total-card {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.total-card span {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.total-card strong {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}

.total-card small {
  font-size: 13px;
  color: var(--muted);
}

.detail-card {
  padding: 18px;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.detail-name {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.card-actions {
  margin-bottom: 16px;
}

.detail-row {
  display: flex;
  flex-direction: column;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.detail-row:last-child {
  border-bottom: 0;
}

.detail-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.detail-value {
  font-size: 15px;
  color: var(--text);
  line-height: 1.4;
  word-break: break-word;
  overflow-wrap: anywhere;
  white-space: normal;
  min-width: 0;
}

.detail-value a {
  color: var(--accent);
  text-decoration: none;
}

#dashboard.view.active {
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  min-height: calc(100dvh - 110px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  padding-top: calc(10px + env(safe-area-inset-top));
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
}

.home-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 16px 12px;
  margin-top: 0;
}

.home-brand-logo {
  max-width: 260px;
  width: 75%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto 28px;
}

.home-date-label {
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  text-transform: capitalize;
  margin: 0;
  letter-spacing: -0.2px;
}

.home-quick-actions {
  margin: 20px 0 16px;
  display: flex;
  justify-content: center;
}

.home-appt-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 24px;
  border-radius: 16px;
  cursor: pointer;
  background: var(--accent);
  color: var(--accentText);
  transition: transform 0.1s, opacity 0.15s;
}

.home-appt-btn:active {
  transform: scale(0.97);
}

.home-appt-btn strong {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.large-btn {
  width: 100%;
  padding: 18px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 18px;
}

.home-nav-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.home-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 8px;
  border-radius: 16px;
  cursor: pointer;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text);
  transition: background 0.15s, transform 0.1s;
}

.home-nav-btn:active {
  transform: scale(0.97);
}

.home-nav-btn strong {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.panel { padding: 18px; margin-top: 12px; }
.section-head, .view-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.view { display: none; }
.view.active { display: block; }
.view-head { margin: 8px 0 12px; }
.view-head h2 { margin-bottom: 0; }

.appt-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: nowrap;
}

.appt-toolbar .filter-group {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.appt-toolbar .date-tools {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 0;
  flex: 1;
  min-width: 0;
  justify-content: flex-end;
}

.appt-toolbar .date-tools input {
  height: 38px;
  padding: 0 6px;
  font-size: 13px;
  max-width: 140px;
}

.appt-toolbar .date-tools .icon-button {
  width: 36px;
  height: 36px;
  font-size: 18px;
  flex-shrink: 0;
}

.appt-toolbar .mini-button {
  padding: 8px 12px;
  font-size: 13px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primary {
  border: 0;
  border-radius: 14px;
  padding: 12px 16px;
  background: var(--accent);
  color: var(--accentText);
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}
.primary.small { padding: 9px 13px; font-size: 13px; }
.text-button { font-weight: 700; color: var(--accent); }

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 0 13px;
  margin-bottom: 12px;
}
.search span { font-size: 20px; color: var(--muted); }
.search input { width: 100%; height: 46px; border: 0; outline: 0; background: transparent; color: var(--text); }

.list { display: grid; gap: 10px; }
.client-card, .appointment-card { padding: 16px; }
.client-card { width: 100%; text-align: left; color: var(--text); border: 1px solid var(--line); }
.client-main { display: flex; justify-content: space-between; gap: 10px; }
.client-name { font-weight: 750; font-size: 18px; }

/* CLIENT AVATAR STYLES */
.client-avatar-img, .client-avatar-placeholder {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--card2);
  border: 1px solid var(--line);
  color: var(--muted);
  overflow: hidden;
}

.client-avatar-img.small, .client-avatar-placeholder.small {
  width: 32px;
  height: 32px;
}

.client-avatar-img.large, .client-avatar-placeholder.large {
  width: 80px;
  height: 80px;
}

.client-avatar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 14px;
  background: var(--card2);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-align: center;
}

.client-avatar-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.client-phone { color: var(--muted); font-size: 14px; margin-top: 4px; }

.chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  background: var(--card2);
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.detail-groups-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
  width: 100%;
  min-width: 0;
}

.group-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  border-radius: 999px;
  padding: 5px 11px;
  background: var(--card2);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  height: auto;
  line-height: 1.3;
}

.appointment-card {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 13px;
  align-items: center;
}
.time { font-size: 20px; font-weight: 800; }
.appt-name { font-weight: 750; font-size: 16px; }
.appt-meta { font-size: 13px; color: var(--muted); margin-top: 3px; }
.amount { font-weight: 800; font-size: 16px; }

.empty {
  padding: 30px 12px;
  text-align: center;
  color: var(--muted);
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: 18px;
}

.date-tools { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.date-tools input, .date-range input {
  height: 46px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 13px;
  padding: 0 12px;
  color: var(--text);
  flex: 1;
}
.date-tools .icon-button { box-shadow: none; border: 1px solid var(--line); }

.filter-group { display: flex; gap: 6px; }
.filter-group .mini-button.active {
  background: var(--accent);
  color: var(--accentText);
  border-color: var(--accent);
}

.mini-button {
  border: 1px solid var(--line);
  background: var(--card2);
  color: var(--text);
  border-radius: 10px;
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 700;
}

/* AGENDA WEEKLY GRID STYLES - DUAL AXIS INDEPENDENT SCROLL */
.grid-wrapper {
  width: 100%;
  max-height: calc(100vh - 112px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  max-height: calc(100dvh - 112px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  overflow: auto; /* Handles both vertical (hours) and horizontal (days) scroll */
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
  touch-action: pan-x pan-y;
  margin-top: 0;
  margin-bottom: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  position: relative;
}

.grid-table {
  min-width: 680px;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Sticky top day header row */
.grid-header-row {
  display: grid;
  grid-template-columns: 56px repeat(7, 1fr);
  background: var(--card2);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 15;
  border-radius: 18px 18px 0 0;
}

/* Corner cell "ORA": sticky both top AND left */
.grid-time-header-cell {
  padding: 10px 4px;
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  text-align: center;
  border-right: 1px solid var(--line);
  position: sticky;
  left: 0;
  top: 0;
  background: var(--card2);
  z-index: 20; /* Highest z-index so it overlaps both top header and left time column */
}

.grid-day-header-cell {
  padding: 8px 4px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
}
.grid-day-header-cell:last-child { border-right: 0; }
.grid-day-header-cell.today { background: color-mix(in srgb, var(--accent) 15%, transparent); }
.grid-day-header-cell.today .grid-day-name, .grid-day-header-cell.today .grid-day-num { color: var(--accent); }
.grid-day-name { font-size: 11px; font-weight: 800; color: var(--muted); letter-spacing: .05em; }
.grid-day-num { font-size: 14px; font-weight: 800; color: var(--text); margin-top: 2px; }

.grid-body {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
}

.week-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 12px;
  margin-bottom: 24px;
}

.week-day-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.week-day-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.grid-hour-row {
  display: grid;
  grid-template-columns: 56px repeat(7, 1fr);
  border-bottom: 1px solid var(--line);
  box-sizing: border-box;
}
.grid-hour-row:last-child { border-bottom: 0; }

/* Sticky left hour column */
.grid-time-cell {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  padding: 6px 6px 0 0;
  text-align: right;
  border-right: 1px solid var(--line);
  background: var(--card);
  position: sticky;
  left: 0;
  z-index: 10;
  box-sizing: border-box;
}

.grid-slot-cell {
  border-right: 1px solid var(--line);
  box-sizing: border-box;
}
.grid-slot-cell:last-child { border-right: 0; }

.grid-columns-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 56px repeat(7, 1fr);
  pointer-events: none;
}

.grid-time-spacer { pointer-events: none; }

.grid-day-column {
  position: relative;
  height: 100%;
  pointer-events: none;
}

.grid-appt-block {
  position: absolute;
  left: 2px;
  right: 2px;
  border: 1px solid;
  border-radius: 8px;
  padding: 4px 5px;
  box-sizing: border-box;
  overflow: hidden;
  cursor: pointer;
  pointer-events: auto;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  transition: transform 0.1s, box-shadow 0.1s;
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.15;
}

.grid-appt-block:active {
  transform: scale(0.97);
}

.grid-appt-first-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.2px;
  display: block;
}

.grid-appt-last-name {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.2px;
  display: block;
}

.grid-appt-time {
  font-size: 10px;
  font-weight: 600;
  opacity: 0.9;
  margin-top: 2px;
  display: block;
}

.timeline-container { display: grid; gap: 8px; margin-top: 12px; }
.timeline-slot {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  min-height: 56px;
}
.timeline-hour { font-size: 14px; font-weight: 700; color: var(--muted); padding-top: 4px; }
.timeline-content { display: grid; gap: 6px; }
.timeline-empty { color: var(--muted); font-size: 14px; font-style: italic; padding-top: 4px; }

.settings-list { padding: 0; overflow: hidden; }
.settings-list button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 17px;
  color: var(--text);
}
.settings-list button:last-child { border-bottom: 0; }
.settings-list strong, .settings-list small { display: block; }
.settings-list small { margin-top: 3px; }
.settings-list b { font-size: 22px; color: var(--muted); }
.privacy-note { font-size: 13px; line-height: 1.5; color: var(--muted); padding: 16px 4px; }

/* TABBAR & NAVIGATION */
.tabbar {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(760px, 100%);
  padding: 10px 12px calc(12px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: color-mix(in srgb, var(--card) 94%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
}

.tab {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 6px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab span {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab svg {
  stroke: var(--muted);
  transition: stroke 0.15s, transform 0.15s;
}

.tab.active svg {
  stroke: var(--accent);
  transform: scale(1.08);
}

.modal { display: none; position: fixed; inset: 0; z-index: 50; max-width: 100vw; overflow-x: hidden; }
.modal.open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); backdrop-filter: blur(4px); }
.modal-sheet {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 760px;
  max-height: 92vh;
  max-height: 92dvh;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
  background: var(--card);
  border-radius: 26px 26px 0 0;
  padding: 20px 20px calc(24px + env(safe-area-inset-bottom));
  box-shadow: 0 -18px 60px rgba(0,0,0,.3);
}
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.modal-head h2 { margin: 0; }

.form { display: grid; gap: 12px; width: 100%; box-sizing: border-box; min-width: 0; }
.field { display: grid; gap: 6px; width: 100%; box-sizing: border-box; min-width: 0; }
.field label { font-size: 13px; font-weight: 700; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--card2);
  border-radius: 13px;
  padding: 12px;
  color: var(--text);
  outline: 0;
}
.field textarea { min-height: 90px; resize: vertical; }
.form-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.secondary { border: 1px solid var(--line); background: var(--card); color: var(--text); border-radius: 13px; padding: 12px; font-weight: 700; }
.danger { color: var(--danger); }

.toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: calc(86px + env(safe-area-inset-bottom));
  transform: translate(-50%, 12px);
  opacity: 0;
  pointer-events: none;
  background: #222;
  color: #fff;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  transition: .2s;
  max-width: 90vw;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }


/* Agenda compatta */
.agenda-compact-head {
  display: flex;
  align-items: center;
  width: 100%;
  margin: -12px 0 2px;
}
.agenda-head-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
}
.today-agenda-button {
  height: 36px;
  padding: 0 12px;
  border: 1px solid #c48b4a;
  border-radius: 10px;
  background: #c48b4a;
  color: #17130f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  flex-shrink: 0;
}
.agenda-view-toggle {
  height: 36px;
  padding: 0 11px;
  flex-shrink: 0;
}
.agenda-date-input {
  height: 36px;
  min-width: 0;
  width: auto;
  flex: 1 1 auto;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 10px;
  padding: 0 8px;
  color: var(--text);
  font-size: 13px;
}
.grid-drop-target {
  outline: 3px solid #d6a35d;
  outline-offset: -3px;
  background: rgba(214,163,93,.18);
  box-shadow: inset 0 0 0 1px rgba(214,163,93,.45);
}
.grid-appt-block.dragging {
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.today-agenda-button:active { transform: scale(.97); }

.grid-slot-cell {
  cursor: pointer;
  transition: background .12s;
}
.grid-slot-cell:hover { background: color-mix(in srgb, var(--accent) 9%, transparent); }
.grid-slot-cell:active { background: color-mix(in srgb, var(--accent) 18%, transparent); }
.grid-appt-block.dragging {
  opacity: .82;
  transform: scale(1.03);
  z-index: 40;
  box-shadow: 0 8px 22px rgba(0,0,0,.35);
}
.grid-appt-block.drag-ready {
  box-shadow: 0 0 0 2px var(--accent), 0 4px 12px rgba(0,0,0,.25);
}


/* Anteprima della posizione durante il trascinamento Agenda */
.grid-drag-preview {
  position: absolute;
  pointer-events: none;
  z-index: 35;
  box-sizing: border-box;
  border: 2px dashed #d6a35d;
  border-radius: 8px;
  background: rgba(214,163,93,.22);
  box-shadow: 0 0 0 1px rgba(214,163,93,.25), 0 5px 16px rgba(0,0,0,.25);
}


/* Navigazione settimanale agenda web */
.agenda-week-btn {
  min-width: 34px;
  height: 38px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.agenda-week-btn:active {
  opacity: 0.7;
}


/* NAV_AGENDA_FIX_20261017: barra responsive e frecce visibili */
.agenda-head-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
  width: 100%;
  min-width: 0;
  overflow: visible;
}
.agenda-head-actions .agenda-week-btn {
  display: inline-flex !important;
  visibility: visible;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  min-width: 28px;
  height: 34px;
  padding: 0;
  font-size: 20px;
  position: relative;
  z-index: 1;
}
.agenda-head-actions .agenda-date-input {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
}
