/* Heli's design system. One file, no framework. */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #101828;
  --ink-2: #475467;
  --ink-3: #667085;
  --line: #e4e7ec;
  --line-2: #d0d5dd;
  --bg: #f5f7f9;
  --surface: #ffffff;
  --surface-2: #f9fafb;

  --brand: #0b6bb8;
  --brand-dark: #09589a;
  --brand-soft: #e8f3fb;

  --green: #067647;
  --green-soft: #e3f6ec;
  --amber: #93590a;
  --amber-soft: #fdf2d8;
  --red: #b42318;
  --red-soft: #fdecea;
  --grey: #475467;
  --grey-soft: #eef0f3;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow-lg: 0 12px 32px rgba(16, 24, 40, .14);
  --sidebar: 256px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 14px/1.5 "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-feature-settings: "cv11", "ss03";
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p { margin: 0; }
h1 { font-size: 24px; line-height: 32px; font-weight: 650; letter-spacing: -.015em; }
h2 { font-size: 15px; line-height: 22px; font-weight: 600; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-size: 13px; background: var(--grey-soft); padding: 1px 5px; border-radius: 4px; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 15px; height: 15px; }
.muted { color: var(--ink-3); }
.small { font-size: 13px; }
.nowrap { white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
.stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.stack-sm { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--surface); padding: 8px 12px; border-radius: var(--radius-sm); }

/* ------------------------------------------------------------- the shell */

.shell { display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); min-height: 100vh; }

.sidebar {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column;
  background: var(--surface);
  border-right: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; padding: 18px 20px 14px; color: var(--ink); font-weight: 650; font-size: 16px; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand img { height: 22px; width: auto; display: block; }
.brand span { padding-left: 10px; border-left: 1px solid var(--line-2); }

.nav { flex: 1; overflow-y: auto; padding: 4px 12px 16px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.nav-group { margin-top: 14px; }
.nav-group:first-child { margin-top: 0; }
.nav-title { padding: 0 10px 6px; font-size: 12px; font-weight: 550; color: var(--ink-3); }
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 10px; margin-bottom: 1px;
  border-radius: var(--radius-sm);
  color: var(--ink-2); font-weight: 500;
}
.nav-item .icon { color: var(--ink-3); }
.nav-item:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.nav-item.is-active { background: var(--brand-soft); color: var(--brand-dark); }
.nav-item.is-active .icon { color: var(--brand); }
.badge {
  margin-left: auto; min-width: 20px; padding: 0 6px;
  border-radius: 999px; background: var(--red); color: #fff;
  font-size: 12px; font-weight: 600; line-height: 20px; text-align: center;
  font-variant-numeric: tabular-nums;
}

.me { position: relative; border-top: 1px solid var(--line); padding: 10px 12px; }
.me summary { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: var(--radius-sm); cursor: pointer; list-style: none; }
.me summary::-webkit-details-marker { display: none; }
.me summary:hover { background: var(--surface-2); }
.me-text { min-width: 0; flex: 1; line-height: 18px; }
.me-name { font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me-role { font-size: 12px; color: var(--ink-3); }

.avatar {
  width: 32px; height: 32px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-dark);
  font-size: 12px; font-weight: 600; letter-spacing: .02em;
}

.menu { position: relative; }
.menu > summary { list-style: none; cursor: pointer; }
.menu > summary::-webkit-details-marker { display: none; }
.menu-list {
  position: absolute; z-index: 30; min-width: 190px; padding: 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}
.menu-list.right { right: 0; margin-top: 6px; }
.me .menu-list { left: 12px; right: 12px; bottom: calc(100% - 4px); }
.menu-link, .menu-list button {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 7px 10px; border: 0; border-radius: 6px; background: none;
  color: var(--ink); font: inherit; text-align: left; cursor: pointer;
}
.menu-link:hover, .menu-list button:hover { background: var(--surface-2); text-decoration: none; }
.menu-list form { margin: 0; }

.main { min-width: 0; display: flex; flex-direction: column; }
.content { width: 100%; max-width: 1240px; margin: 0 auto; padding: 28px 32px 56px; }

.mobilebar { display: none; }
.scrim { display: none; }

/* ---------------------------------------------------------------- headers */

.page-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 24px; margin-bottom: 24px; }
.page-head .sub { margin-top: 2px; color: var(--ink-2); }
.page-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.back { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 8px; color: var(--ink-3); font-size: 13px; }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 38px; padding: 8px 14px;
  border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink);
  font: 500 14px/20px inherit; font-family: inherit;
  box-shadow: var(--shadow); cursor: pointer; white-space: nowrap;
}
.btn:hover { background: var(--surface-2); text-decoration: none; }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn-success { background: var(--green); border-color: var(--green); color: #fff; }
.btn-success:hover { background: #055f39; border-color: #055f39; }
.btn-danger { background: var(--surface); border-color: #f3b4ae; color: var(--red); }
.btn-danger:hover { background: var(--red-soft); }
.btn-sm { min-height: 30px; padding: 4px 10px; font-size: 13px; }
.btn-icon { min-height: 30px; width: 30px; padding: 0; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-link { border: 0; background: none; box-shadow: none; padding: 0; min-height: 0; color: var(--brand); font-weight: 500; }
.btn-link:hover { background: none; text-decoration: underline; }
form.inline { display: inline; margin: 0; }

/* ------------------------------------------------------------------ cards */

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.card-body { padding: 20px; }
.card-foot { padding: 12px 20px; border-top: 1px solid var(--line); background: var(--surface-2); border-radius: 0 0 var(--radius) var(--radius); }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-main { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 20px; align-items: start; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }

.tile { display: block; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); color: inherit; }
a.tile:hover { border-color: var(--line-2); text-decoration: none; }
.tile-label { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 500; }
.tile-label .icon { color: var(--ink-3); }
.tile-value { margin-top: 8px; font-size: 28px; line-height: 36px; font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tile-value small { font-size: 14px; font-weight: 450; color: var(--ink-3); letter-spacing: 0; }
.tile-note { margin-top: 2px; font-size: 13px; color: var(--ink-3); }
.tile.is-alert .tile-value { color: var(--red); }

progress.bar { display: block; width: 100%; height: 6px; margin-top: 12px; border: 0; border-radius: 999px; overflow: hidden; background: var(--grey-soft); appearance: none; }
progress.bar::-webkit-progress-bar { background: var(--grey-soft); }
progress.bar::-webkit-progress-value { background: var(--brand); border-radius: 999px; }
progress.bar::-moz-progress-bar { background: var(--brand); border-radius: 999px; }

/* ------------------------------------------------------------------ lists */

.rows { list-style: none; margin: 0; padding: 0; }
.row { display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.rows > .row:last-child { border-bottom: 0; }
.row-main { min-width: 0; flex: 1; }
.row-title { font-weight: 550; overflow: hidden; text-overflow: ellipsis; }
.row-sub { font-size: 13px; color: var(--ink-3); }
a.row { color: inherit; }
a.row:hover { background: var(--surface-2); text-decoration: none; }

.empty { padding: 36px 20px; text-align: center; color: var(--ink-3); }
.empty .icon { width: 28px; height: 28px; margin-bottom: 8px; color: var(--line-2); }
.empty-title { color: var(--ink-2); font-weight: 550; }

/* ------------------------------------------------------------------ pills */

.pill { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 550; line-height: 20px; white-space: nowrap; background: var(--grey-soft); color: var(--grey); }
.pill-pending { background: var(--amber-soft); color: var(--amber); }
.pill-approved, .pill-confirmed { background: var(--green-soft); color: var(--green); }
.pill-rejected, .pill-failed, .pill-resigned { background: var(--red-soft); color: var(--red); }
.pill-probation { background: var(--brand-soft); color: var(--brand-dark); }
.pill-el { background: var(--red-soft); color: var(--red); margin-left: 6px; }

/* ----------------------------------------------------------------- tables */

.table-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.table-search { position: relative; flex: 0 1 300px; }
.table-search .icon { position: absolute; left: 10px; top: 10px; color: var(--ink-3); pointer-events: none; }
.table-search input[type=search] { padding-left: 34px; min-height: 36px; }
.table-count { color: var(--ink-3); font-size: 13px; }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.table th {
  padding: 10px 20px; background: var(--surface-2); border-bottom: 1px solid var(--line);
  color: var(--ink-2); font-size: 12px; font-weight: 550; text-align: left; white-space: nowrap;
}
.table td { padding: 12px 20px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: var(--surface-2); }
.table .right { text-align: right; }
.table th[data-sortable] { cursor: pointer; user-select: none; }
.table th[data-sortable]:hover { color: var(--ink); }
.table th .sort { display: inline-block; width: 12px; color: var(--ink-3); }
.table th button { all: unset; cursor: pointer; }
.table th button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.table-group { text-align: center !important; border-left: 1px solid var(--line); }
.table .divide { border-left: 1px solid var(--line); }
.table-dense th, .table-dense td { padding-left: 12px; padding-right: 12px; }
.table-dense th:first-child, .table-dense td:first-child { padding-left: 20px; }
.table-dense th:last-child, .table-dense td:last-child { padding-right: 20px; }
.table-wrap { scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.cell-person { display: flex; align-items: center; gap: 10px; min-width: 160px; }
.cell-person .avatar { width: 28px; height: 28px; font-size: 11px; }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 20px; border-top: 1px solid var(--line); }
.pager-buttons { display: flex; gap: 6px; }

/* ------------------------------------------------------------------ forms */

.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field > label, .field > .label, legend.label { font-weight: 500; color: var(--ink); font-size: 13px; padding: 0; }
.hint { font-size: 13px; color: var(--ink-3); }
.form-section { padding-top: 18px; border-top: 1px solid var(--line); }
.form-section-title { margin-bottom: 14px; font-weight: 600; }
.form-actions { display: flex; align-items: center; gap: 10px; }
.form-narrow { max-width: 560px; }

input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=search], input[type=file], select, textarea {
  width: 100%; min-height: 40px; padding: 8px 12px;
  border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink); font: inherit;
  box-shadow: var(--shadow);
}
input[type=file] { padding: 7px 8px; }
/* The browser's own arrow and padding would put select text out of line with inputs. */
select:not([multiple]) {
  appearance: none; -webkit-appearance: none;
  padding-right: 36px;
  background: var(--surface) url("../img/chevron-down.svg") no-repeat right 10px center / 16px 16px;
}
textarea { min-height: 88px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: -1px; border-color: var(--brand); }
input[readonly] { background: var(--surface-2); color: var(--ink-2); }
select[multiple] { min-height: 180px; padding: 6px; }
input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--brand); }
.check { display: flex; align-items: center; gap: 8px; font-weight: 450; }

fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
/* A legend is not a grid item, so it does not get the field's gap. */
fieldset.field > legend { margin-bottom: 6px; }
.segmented { display: inline-flex; justify-self: start; padding: 3px; gap: 2px; background: var(--grey-soft); border-radius: var(--radius-sm); max-width: 100%; }
.segmented label { cursor: pointer; }
.segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segmented span { display: block; padding: 7px 14px; border-radius: 6px; font-size: 13px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.segmented input:checked + span { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.segmented input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 1px; }

.apply-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.summary { position: sticky; top: 24px; }
.summary-line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.summary-line:last-of-type { border-bottom: 0; }
.summary-line strong { font-weight: 600; font-variant-numeric: tabular-nums; }
.calc-pick { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.calc-pick .field { flex: 1 1 280px; }
.calc-sum { padding: 12px 14px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.calc-gap { margin-bottom: 0; }
.summary-total { font-size: 34px; line-height: 40px; font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

/* ----------------------------------------------------------------- alerts */

.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin-bottom: 20px; border: 1px solid transparent; border-radius: var(--radius-sm); font-weight: 450; }
.alert .icon { margin-top: 1px; }
.alert-success { background: var(--green-soft); border-color: #b4e5ca; color: #05603a; }
.alert-error { background: var(--red-soft); border-color: #f8c9c4; color: #912018; }
.alert-info { background: var(--brand-soft); border-color: #c5e0f4; color: var(--brand-dark); }
.card .alert, .stack > .alert { margin: 0; }

/* ---------------------------------------------------------- request facts */

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; margin: 0; }
.facts div { min-width: 0; }
.facts dt { font-size: 13px; color: var(--ink-3); }
.facts dd { margin: 2px 0 0; font-weight: 500; overflow-wrap: anywhere; }
.facts .wide { grid-column: 1 / -1; }
.facts .plain { font-weight: 400; white-space: pre-wrap; }
.facts.form-section { margin-top: 18px; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 14px 18px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 3px; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.timeline li::after { content: ""; position: absolute; left: 6px; top: 18px; bottom: -3px; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline .t-what { font-weight: 500; }
.timeline .t-when { font-size: 13px; color: var(--ink-3); }

/* --------------------------------------------------------------- calendar */

.cal-nav { display: flex; align-items: center; gap: 6px; }
.cal-title { min-width: 150px; text-align: center; font-weight: 600; }
.cal-scroll { overflow-x: auto; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(120px, 1fr)); min-width: 840px; }
.cal-dow { padding: 8px 10px; background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 550; color: var(--ink-2); }
.cal-day { min-height: 116px; padding: 6px 6px 8px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.cal-day:nth-child(7n) { border-right: 0; }
.cal-day.is-weekend { background: var(--surface-2); }
.cal-day.is-other { background: var(--surface-2); }
.cal-day.is-other .cal-num { color: var(--line-2); }
.cal-num { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-bottom: 2px; border-radius: 50%; font-size: 12px; font-weight: 550; color: var(--ink-2); }
.cal-day.is-today .cal-num { background: var(--brand); color: #fff; }
.cal-holiday { margin-bottom: 3px; padding: 1px 6px; border-radius: 4px; background: var(--amber-soft); color: var(--amber); font-size: 12px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-ev { display: block; margin-bottom: 2px; padding: 1px 6px; border-radius: 4px; background: var(--brand-soft); color: var(--brand-dark); font-size: 12px; font-weight: 450; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-ev.is-medical { background: var(--red-soft); color: #912018; }
.cal-more summary { padding: 0 6px; color: var(--ink-3); font-size: 12px; cursor: pointer; list-style: none; }
.cal-more summary::-webkit-details-marker { display: none; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--ink-2); }
.legend i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 3px; background: var(--brand-soft); border: 1px solid #b9d9f1; }
.legend i.is-medical { background: var(--red-soft); border-color: #f8c9c4; }
.legend i.is-holiday { background: var(--amber-soft); border-color: #f4dfa8; }

/* -------------------------------------------------------------- auth pages */

.auth { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(1000px 500px at 50% -10%, #dcecf9 0%, var(--bg) 70%); }
.auth-card { width: 100%; max-width: 400px; padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); }
.auth-logo { display: block; height: 44px; width: auto; margin-bottom: 20px; }
.auth-title { font-size: 20px; line-height: 28px; font-weight: 650; letter-spacing: -.01em; }
.auth-sub { margin: 2px 0 20px; color: var(--ink-2); }
.auth-links { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; font-size: 13px; }
.auth-foot { margin-top: 20px; text-align: center; font-size: 12px; color: var(--ink-3); }

/* ----------------------------------------------------------------- dialog */

dialog.confirm { width: min(420px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); color: var(--ink); }
dialog.confirm::backdrop { background: rgba(16, 24, 40, .4); }
.confirm-text { padding: 20px; font-size: 15px; font-weight: 500; }
.confirm-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 20px; border-top: 1px solid var(--line); background: var(--surface-2); }

/* ------------------------------------------------------------------ phones */

@media (max-width: 1080px) {
  .grid-main, .apply-grid { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
}

@media (max-width: 860px) {
  .shell { display: block; }
  .sidebar { position: fixed; z-index: 50; left: 0; top: 0; width: min(280px, 85vw); transform: translateX(-100%); transition: transform .18s ease; }
  .nav-open .sidebar { transform: none; box-shadow: var(--shadow-lg); }
  .nav-open .scrim { display: block; position: fixed; inset: 0; z-index: 40; background: rgba(16, 24, 40, .4); }
  .mobilebar { display: flex; align-items: center; gap: 12px; position: sticky; top: 0; z-index: 20; padding: 10px 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
  .mobilebar img { height: 20px; }
  .mobilebar .title { font-weight: 650; }
  .content { padding: 20px 16px 48px; }
  .grid-2, .form-row, .facts { grid-template-columns: minmax(0, 1fr); }
  h1 { font-size: 21px; line-height: 28px; }
  .table th, .table td { padding-left: 14px; padding-right: 14px; }
  .card-head, .card-body, .row, .table-tools, .pager { padding-left: 16px; padding-right: 16px; }
  .table-search { flex: 1 1 100%; }
  .hide-sm { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* Travel on the calendar. */
.cal-ev.is-travel { border-left: 3px solid #2563eb; }
.legend i.is-travel { background: #2563eb; }
