:root {
  --bg: #eaf6fb;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-soft: rgba(235, 247, 252, 0.86);
  --surface-strong: #d2eaf4;
  --ink: #101417;
  --muted: #5d6f7b;
  --line: rgba(85, 139, 164, 0.28);
  --brand-blue: #5aaed1;
  --brand-green: #84c36e;
  --brand-yellow: #f0c84c;
  --brand-red: #df5e4f;
  --brand-purple: #73509a;
  --primary: #1988bc;
  --primary-strong: #0f648f;
  --primary-soft: #ddf5fc;
  --ok: #3f8f54;
  --warn: #a87815;
  --danger: #b34238;
  --info: #73509a;
  --shadow:
    0 18px 60px rgba(32, 91, 121, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  --radius: 8px;
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.56), transparent 34%),
    linear-gradient(180deg, #c8edf8 0%, #effbff 34%, #f9fbff 68%, #eaf6e8 100%);
  color: var(--ink);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.66), transparent 90px),
    linear-gradient(90deg, rgba(90, 174, 209, 0.16), transparent 42%, rgba(132, 195, 110, 0.12));
}

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

code {
  border-radius: 6px;
  background: var(--surface-soft);
  padding: 3px 6px;
  color: #24323f;
}

button {
  border: 0;
  cursor: pointer;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.app-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.login-layout {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(340px, 460px) minmax(0, 1fr);
}

.login-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  min-height: 100vh;
  padding: 48px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(236, 249, 253, 0.76)),
    var(--surface);
  border-right: 1px solid var(--line);
  border-top: 5px solid var(--brand-blue);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.brand-block {
  display: grid;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
  overflow: hidden;
  object-fit: cover;
}

.brand-logo {
  display: block;
  width: min(340px, 100%);
  height: auto;
}

.brand-mark-image {
  padding: 3px;
}

.brand-block h1,
.page-title h1 {
  margin: 0;
  letter-spacing: 0;
}

.brand-block h1 {
  font-size: 2.1rem;
  line-height: 1.05;
}

.brand-block p,
.muted {
  margin: 0;
  color: var(--muted);
}

.login-visual {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 100vh;
  padding: 56px;
  overflow: hidden;
}

.login-visual::before {
  content: "";
  position: absolute;
  inset: 36px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(219, 244, 252, 0.58)),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 55px,
      rgba(90, 174, 209, 0.11) 56px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 132px,
      rgba(23, 32, 42, 0.05) 133px
    );
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.visual-stack {
  position: relative;
  display: grid;
  gap: 14px;
  width: min(620px, 100%);
}

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

.visual-cell {
  min-height: 52px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(231, 246, 252, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.74);
  padding: 12px;
  color: var(--muted);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.visual-cell.is-filled {
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-weight: 700;
}

.visual-row:nth-child(2) .visual-cell.is-filled {
  background: #e7f4df;
  color: #3f7741;
}

.visual-row:nth-child(3) .visual-cell.is-filled {
  background: #fdf3c7;
  color: #7a5b06;
}

.visual-row:nth-child(5) .visual-cell.is-filled {
  background: #efe6f6;
  color: var(--brand-purple);
}

.notice {
  border: 1px solid #ead7a9;
  background: linear-gradient(180deg, rgba(255, 251, 239, 0.96), rgba(255, 246, 221, 0.88));
  color: #76500d;
  border-radius: var(--radius);
  padding: 12px 14px;
  line-height: 1.45;
}

.login-form,
.form-grid,
.stack {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  color: #354250;
  font-size: 0.86rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(245, 251, 253, 0.92));
  color: var(--ink);
  padding: 10px 12px;
  outline: none;
  box-shadow: inset 0 1px 2px rgba(20, 72, 94, 0.06);
}

.field textarea {
  min-height: 88px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  box-shadow:
    0 0 0 3px rgba(90, 174, 209, 0.22),
    inset 0 1px 2px rgba(20, 72, 94, 0.06);
}

.btn,
.icon-btn,
.tab-btn,
.segmented button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(218, 237, 246, 0.82));
  border: 1px solid var(--line);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(20, 72, 94, 0.08);
  font-weight: 700;
}

.btn.primary {
  background: linear-gradient(180deg, #69ccec 0%, #1d91c8 52%, #126f9e 100%);
  border-color: rgba(15, 100, 143, 0.66);
  color: #fff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.24);
}

.btn.primary:hover {
  background: linear-gradient(180deg, #7ad7f2 0%, #1f9bd1 50%, #0f648f 100%);
}

.btn.danger {
  background: linear-gradient(180deg, #fff7f7, #ffe5e3);
  border-color: #f0c6c6;
  color: var(--danger);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.12);
}

.btn.compact {
  min-height: 32px;
  padding: 6px 9px;
  font-size: 0.88rem;
}

.icon-btn {
  width: 38px;
  padding: 0;
}

.main-layout {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 248px minmax(0, 1fr);
}

.sidebar {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 20px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 92px),
    linear-gradient(180deg, rgba(14, 72, 101, 0.95), rgba(16, 99, 126, 0.9));
  border-right: 1px solid rgba(255, 255, 255, 0.28);
  border-top: 5px solid var(--brand-blue);
  color: #fff;
  backdrop-filter: blur(18px);
}

.sidebar .brand-mark {
  background: #fff;
  color: #101820;
}

.side-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.side-brand h2 {
  margin: 0;
  font-size: 1rem;
}

.side-brand span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
}

.nav-list {
  display: grid;
  align-content: start;
  gap: 8px;
}

.tab-btn {
  justify-content: flex-start;
  width: 100%;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  border-color: transparent;
}

.tab-btn:hover,
.tab-btn.active {
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
  border-color: rgba(255, 255, 255, 0.24);
}

.tab-btn.active {
  box-shadow: inset 3px 0 0 var(--brand-yellow);
}

.user-box {
  display: grid;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.user-box strong {
  display: block;
}

.user-box span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.86rem;
}

.content {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(222, 245, 253, 0.68));
  backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.page-title {
  display: grid;
  gap: 5px;
}

.page-title h1 {
  font-size: 1.5rem;
}

.sync-chip {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0;
  margin: 0;
  border: 1px solid rgba(90, 174, 209, 0.38);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(220, 245, 252, 0.76));
  color: #225f7a;
  padding: 4px 9px;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.toolbar,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.quick-search {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: min(320px, 100%);
  border: 1px solid rgba(90, 174, 209, 0.34);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(221, 245, 252, 0.78));
  padding: 4px;
  box-shadow: inset 0 1px 2px rgba(20, 72, 94, 0.06);
}

.quick-search input {
  min-width: 160px;
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--ink);
  outline: none;
  padding: 6px 8px;
}

.page {
  display: grid;
  gap: 18px;
  padding: 24px 28px 34px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 12px;
}

.metric {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(232, 248, 253, 0.76));
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.metric strong {
  font-size: 1.35rem;
}

.metric span {
  color: var(--muted);
  font-size: 0.86rem;
}

.metric.is-muted {
  background: rgba(255, 255, 255, 0.56);
  color: var(--muted);
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(244, 251, 253, 0.78));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(226, 246, 253, 0.58));
}

.panel-head h2,
.modal h2,
.section-title {
  margin: 0;
  font-size: 1rem;
}

.panel-body {
  padding: 16px;
}

.segmented {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(210, 234, 244, 0.82), rgba(245, 251, 253, 0.72));
  box-shadow: inset 0 1px 2px rgba(20, 72, 94, 0.07);
}

.segmented button {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.segmented button.active {
  background: linear-gradient(180deg, #ffffff, #ddf5fc);
  color: var(--primary-strong);
  box-shadow: inset 0 -2px 0 var(--primary);
}

.schedule-grid {
  display: grid;
  grid-template-columns: 86px repeat(6, minmax(150px, 1fr));
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.grid-cell,
.grid-head,
.grid-time {
  min-height: 66px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 8px;
}

.grid-head,
.grid-time {
  background: linear-gradient(180deg, rgba(246, 252, 254, 0.92), rgba(218, 238, 247, 0.84));
  color: #405061;
  font-weight: 800;
}

.grid-head {
  position: sticky;
  top: 0;
  z-index: 1;
}

.grid-cell {
  display: grid;
  align-content: start;
  gap: 7px;
  background: rgba(255, 255, 255, 0.78);
}

.drop-zone {
  min-height: 48px;
  border-radius: 8px;
  transition:
    background 0.15s ease,
    box-shadow 0.15s ease;
}

.drop-zone.drop-target {
  background: linear-gradient(180deg, rgba(221, 245, 252, 0.92), rgba(234, 247, 232, 0.84));
  box-shadow:
    inset 0 0 0 2px var(--primary),
    0 0 0 3px rgba(90, 174, 209, 0.18);
}

.file-drop {
  position: relative;
  display: grid;
  gap: 12px;
  place-items: center;
  min-height: 154px;
  border: 1px dashed rgba(25, 136, 188, 0.45);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(221, 245, 252, 0.64));
  color: #225f7a;
  padding: 18px;
  text-align: center;
  transition:
    background 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
}

.file-input-native {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-drop-copy,
.fake-file-button {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.file-drop-copy strong,
.file-drop-copy span {
  display: block;
}

.file-drop-copy span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.88rem;
}

.file-drop.drop-target {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(221, 245, 252, 0.96), rgba(234, 247, 232, 0.9));
  box-shadow:
    inset 0 0 0 2px rgba(25, 136, 188, 0.34),
    0 0 0 4px rgba(90, 174, 209, 0.16);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.drop-hint {
  display: none;
  align-self: stretch;
  place-items: center;
  min-height: 34px;
  border: 1px dashed var(--line);
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.drop-zone:empty .drop-hint,
.drop-zone:hover .drop-hint,
.drop-zone.drop-target .drop-hint {
  display: grid;
}

.appointment {
  display: grid;
  gap: 6px;
  border-left: 4px solid var(--primary);
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(231, 247, 252, 0.88));
  padding: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 0 0 1px rgba(23, 32, 42, 0.05),
    0 2px 5px rgba(20, 72, 94, 0.08);
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease;
}

.appointment.is-draggable {
  cursor: grab;
}

.appointment.is-draggable:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 0 0 1px rgba(23, 32, 42, 0.05),
    0 6px 14px rgba(20, 72, 94, 0.16);
}

.appointment.is-dragging {
  opacity: 0.45;
  cursor: grabbing;
}

.appointment[data-status="pendiente"] {
  border-left-color: var(--warn);
}

.appointment[data-status="cancelada"],
.appointment[data-status="no_asistio"] {
  border-left-color: var(--danger);
}

.appointment[data-status="reprogramada"] {
  border-left-color: var(--info);
}

.appointment[data-type="entrevista"] {
  border-left-color: #7747a7;
}

.appointment[data-type="bloque_horario"] {
  background: linear-gradient(180deg, #f7f9fb, #e8edf2);
  border-left-color: #708090;
}

.appointment-title {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-weight: 800;
}

.appointment-title span {
  overflow-wrap: anywhere;
}

.appointment small,
.table small {
  color: var(--muted);
}

.status-pill {
  width: max-content;
  border-radius: 999px;
  padding: 3px 8px;
  background: linear-gradient(180deg, #ffffff, var(--surface-strong));
  color: #354250;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  border: 1px solid rgba(85, 139, 164, 0.22);
}

.status-pill.confirmada,
.status-pill.pagado {
  background: #dff2e8;
  color: var(--ok);
}

.status-pill.pendiente {
  background: #fff2da;
  color: var(--warn);
}

.status-pill.cancelada,
.status-pill.no_asistio,
.status-pill.vencido {
  background: #ffe2e2;
  color: var(--danger);
}

.status-pill.bloqueado {
  background: #e7edf3;
  color: #405061;
}

.day-list,
.general-list {
  display: grid;
  gap: 10px;
}

.search-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(232, 248, 253, 0.66));
  padding: 12px;
}

.search-result div:first-child {
  display: grid;
  gap: 4px;
}

.search-result small {
  color: var(--muted);
}

.day-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.table-wrap {
  overflow: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}

.table th,
.table td {
  border-bottom: 1px solid var(--line);
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

.table th {
  background: var(--surface-soft);
  color: #405061;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.inline-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr)) auto;
  gap: 10px;
  align-items: end;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 16px;
}

.diff-list {
  display: grid;
  gap: 8px;
  max-height: 460px;
  overflow: auto;
}

.diff-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.diff-item strong {
  display: block;
  margin-bottom: 6px;
}

.empty-state {
  display: grid;
  place-items: center;
  min-height: 160px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
  padding: 24px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(16, 24, 32, 0.52);
}

.modal {
  display: grid;
  gap: 16px;
  width: min(760px, 100%);
  max-height: min(88vh, 820px);
  overflow: auto;
  border-radius: 10px;
  background: var(--surface);
  padding: 18px;
  box-shadow: var(--shadow);
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  max-width: min(420px, calc(100vw - 40px));
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(22, 91, 124, 0.96), rgba(13, 61, 84, 0.96));
  color: #fff;
  padding: 12px 14px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.mobile-nav {
  display: none;
}

.watermark {
  position: fixed;
  right: 12px;
  bottom: 8px;
  z-index: 60;
  border: 1px solid rgba(90, 174, 209, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  color: rgba(34, 95, 122, 0.66);
  padding: 3px 8px;
  font-size: 0.68rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

@media (max-width: 1040px) {
  .login-layout,
  .main-layout,
  .split {
    grid-template-columns: 1fr;
  }

  .login-visual {
    display: none;
  }

  .login-panel {
    min-height: 100vh;
    padding: 28px;
  }

  .sidebar {
    display: none;
  }

  .mobile-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(225, 246, 253, 0.78));
    backdrop-filter: blur(16px);
  }

  .mobile-nav .tab-btn {
    width: auto;
    color: var(--ink);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(218, 237, 246, 0.82));
    border-color: var(--line);
  }

  .mobile-nav .tab-btn.active {
    color: #fff;
    background: linear-gradient(180deg, #69ccec, #126f9e);
    border-color: var(--primary);
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
  }

  .page {
    padding: 18px;
  }

  .metrics,
  .inline-form {
    grid-template-columns: 1fr 1fr;
  }

}

@media (max-width: 680px) {
  .metrics,
  .inline-form,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .toolbar,
  .actions {
    width: 100%;
  }

  .toolbar > *,
  .actions > *,
  .btn {
    flex: 1 1 auto;
  }

  .schedule-grid {
    grid-template-columns: 74px repeat(6, minmax(132px, 1fr));
  }

  .grid-cell,
  .grid-head,
  .grid-time {
    min-height: 58px;
    padding: 6px;
  }
}
