/* Greenfield Bridging — /useful, the staff documents page (useful.php).
   Loaded after css/site.css and css/document.css, whose masthead and section rules it reuses.
   House rules hold: radius 0, no shadows, no icons, one hue, body copy 300.

   The sign-in form sits in the ink masthead so it can use the callback forms' .field styles
   unchanged: teal-400 label, white input. Documents are a 1px-gap grid over a rule colour,
   so every row paints its own white background. */

/* ---------- Sign in ---------- */
.uf-signin {
  display: grid; grid-template-columns: minmax(0, 360px) auto; gap: 16px;
  align-items: end; justify-content: start;
  margin-top: 34px;
  /* On ink, the callback band's lightened clay: the token value is unreadable here. */
  --form-negative: #D9A07A;
}
.uf-signin-btn { padding: 15px 28px; }
.uf-error {
  grid-column: 1 / -1; margin: 0;
  font-size: 13px; font-weight: 400; line-height: 1.5; color: var(--form-negative);
}

/* ---------- Signed in: section links and sign out ---------- */
.uf-masthead-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 18px 40px;
  margin-top: 30px; padding-top: 22px;
  border-top: 2px solid var(--gf-teal-400);
}
.uf-jump { display: flex; flex-wrap: wrap; gap: 10px 32px; }
.uf-jump a {
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.86);
  transition: color 120ms linear;
}
.uf-jump a:hover, .uf-jump a:focus-visible { color: var(--gf-teal-400); }
.uf-signout { padding: 11px 20px; font-size: 14px; }

/* ---------- Documents ---------- */
.uf-body { padding-bottom: 88px; }
.uf-section { scroll-margin-top: calc(var(--header-h) + 24px); }

.uf-docs {
  list-style: none; margin: 26px 0 0; padding: 0;
  display: grid; gap: 1px; background: var(--gf-line-200);
  border-top: 1px solid var(--gf-line-200); border-bottom: 1px solid var(--gf-line-200);
}
.uf-doc {
  background: #FFFFFF;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 48px; align-items: center;
  padding: 28px 30px 30px;
}
.uf-doc-kind {
  margin: 0;
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gf-teal-700);
}
.uf-doc-title {
  margin: 10px 0 0;
  font-family: var(--font-serif); font-weight: 400; font-size: 24px;
  letter-spacing: -0.02em; line-height: 1.2; color: var(--gf-teal-900);
}
.uf-doc-summary {
  margin: 10px 0 0; max-width: 68ch;
  font-weight: 300; font-size: 15.5px; line-height: 1.6; color: var(--gf-slate-700);
}
.uf-doc-btn { min-width: 150px; text-align: center; white-space: nowrap; }

/* ---------- Individual logins: sign in, codes, messages ---------- */
.uf-signin--two { grid-template-columns: minmax(0, 300px) minmax(0, 260px) auto; }
.uf-code { letter-spacing: 0.3em; font-variant-numeric: tabular-nums; }
.uf-hidden-username {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0;
}
.uf-flash {
  margin: 26px 0 0; max-width: 68ch; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.42);
  font-size: 15px; font-weight: 300; line-height: 1.55; color: rgba(255,255,255,0.86);
}
.uf-flash--error { color: #D9A07A; }
.uf-masthead-link { margin: 18px 0 0; font-size: 15px; font-weight: 400; }
/* 0.86, not 0.66: small text on ink at 0.66 was hard to read (feedback, 16 September 2026). */
.uf-masthead-link a, .uf-masthead-note { color: rgba(255,255,255,0.86); }
.uf-masthead-link a { text-decoration: underline; text-underline-offset: 3px; transition: color 120ms linear; }
.uf-masthead-link a:hover, .uf-masthead-link a:focus-visible { color: var(--gf-teal-400); }
.uf-masthead-note { margin: 0; font-size: 15px; font-weight: 400; }
.uf-account { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
/* Top right of the masthead, level with the accent bar and eyebrow. */
.uf-masthead .wrap { position: relative; }
.uf-account--top { position: absolute; top: -10px; right: var(--wrap-pad, 40px); justify-content: flex-end; gap: 10px 18px; }
.uf-account--top .uf-account-who, .uf-account--top .uf-account-link { font-size: 14px; }
.uf-account--top .uf-signout { padding: 9px 16px; font-size: 13.5px; }
@media (max-width: 900px) {
  .uf-account--top { position: static; justify-content: flex-start; margin: 0 0 26px; }
}
.uf-account-who { font-size: 15px; font-weight: 400; color: #FFFFFF; }
.uf-account-link { font-size: 15px; font-weight: 400; color: rgba(255,255,255,0.86); text-decoration: underline; text-underline-offset: 3px; transition: color 120ms linear; }
.uf-account-link:hover, .uf-account-link:focus-visible, .uf-account-link[aria-current="page"] { color: var(--gf-teal-400); }

/* ---------- Forms on paper ---------- */
.uf-light { --form-negative: var(--gf-clay); }
.uf-light .field-label { color: var(--gf-teal-700); }
.uf-light .field input,
.uf-light select {
  width: 100%; background: #FFFFFF; border: 1px solid var(--gf-line-300);
  padding: 13px 14px; font: inherit; font-size: 15px; font-weight: 300; color: var(--gf-slate-700);
  border-radius: 0;
}
.uf-add {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr) auto;
  gap: 16px; align-items: end; margin-top: 26px;
}
/* Adding a user: name, email, role and Digital signing level on one row, the button under them. */
.uf-add--user { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); }
.uf-add--user .uf-add-hint, .uf-add--user .btn { grid-column: 1 / -1; justify-self: start; }
.uf-add--user .uf-add-hint { margin-top: -6px; }
@media (max-width: 1100px) { .uf-add--user { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.uf-inline-form {
  display: grid; grid-template-columns: minmax(0, 220px) auto; gap: 16px; align-items: end;
  margin-top: 16px;
}
.uf-inline-form .btn { justify-self: start; }
.uf-error--light { grid-column: 1 / -1; color: var(--gf-clay); }

/* Secondary actions: a ruled text button, colour change only on hover. */
.uf-btn-line {
  display: inline-block; cursor: pointer; background: none; border: 1px solid var(--gf-line-300);
  padding: 8px 12px; font: inherit; font-size: 13px; font-weight: 400; line-height: 1.3;
  color: var(--gf-teal-900); border-radius: 0;
  transition: color 120ms linear, border-color 120ms linear;
}
.uf-btn-line:hover, .uf-btn-line:focus-visible { color: var(--gf-teal-600); border-color: var(--gf-teal-600); }
.uf-btn-line--negative { color: var(--gf-clay); }
.uf-btn-line--negative:hover, .uf-btn-line--negative:focus-visible { color: var(--gf-clay); border-color: var(--gf-clay); }

/* ---------- Authenticator set-up ---------- */
.uf-steps li { margin-top: 18px; }
.uf-enrol {
  display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: center;
  margin-top: 18px; padding: 24px; background: #FFFFFF; border: 1px solid var(--gf-line-200);
}
.uf-qr { display: block; width: 220px; height: 220px; }
.uf-enrol-key .dc-p { margin-top: 8px; }
.uf-key {
  margin: 12px 0 0; font-family: var(--font-serif); font-size: 20px; letter-spacing: 0.04em;
  line-height: 1.5; color: var(--gf-teal-900); word-break: break-word;
}

/* ---------- Manage users ---------- */
.uf-person { align-items: start; }
.uf-person--off .uf-doc-title, .uf-person--off .uf-doc-summary { color: var(--gf-slate-400); }
.uf-you { font-family: var(--font-sans, inherit); font-size: 15px; font-weight: 300; color: var(--gf-slate-500); letter-spacing: 0; }
.uf-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; max-width: 360px; }
.uf-actions form { margin: 0; }
/* Manage users: the summary table, the one Edit access form, and the rarer actions under More. */
.uf-access-table td, .uf-access-table th { white-space: nowrap; }
.uf-person { scroll-margin-top: calc(var(--header-h) + 24px); }
.uf-person:target { outline: 2px solid var(--gf-teal-400); outline-offset: -2px; }
.uf-access-form { display: grid; gap: 14px; min-width: 280px; max-width: 360px; }
.uf-access-form .btn { justify-self: start; }
.uf-more-body { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.uf-effect { display: flex; align-items: center; gap: 6px; }
.uf-effect-label { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 300; color: var(--gf-slate-500); }
.uf-effect select { font: inherit; font-size: 13px; padding: 6px 8px; border: 1px solid var(--gf-line-300); border-radius: 0; background: var(--gf-white, #fff); color: var(--gf-teal-900); }
.uf-confirm summary { list-style: none; }
.uf-confirm summary::-webkit-details-marker { display: none; }
.uf-confirm[open] summary { border-color: var(--gf-clay); }
.uf-confirm-body { margin-top: 10px; max-width: 320px; }
.uf-rename { display: grid; gap: 10px; justify-items: start; }
.uf-rename .field { width: 100%; }
.uf-confirm-body p { margin: 0 0 10px; font-size: 14px; font-weight: 300; line-height: 1.5; color: var(--gf-slate-700); }

.uf-log { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--gf-line-200); }
.uf-log li {
  display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px;
  padding: 10px 0; border-bottom: 1px solid var(--gf-line-100);
  font-size: 14.5px; font-weight: 300; line-height: 1.5; color: var(--gf-slate-700);
}
.uf-log-when { color: var(--gf-slate-500); font-variant-numeric: tabular-nums; }

/* ---------- The document library ---------- */
/* [hidden] must win over the display values below, or search could not hide a row. */
.uf-library [hidden] { display: none !important; }

.uf-tools {
  display: grid; grid-template-columns: minmax(0, 420px) auto minmax(0, 1fr); gap: 12px 20px;
  align-items: end; margin-bottom: 40px;
}
.uf-tools-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.uf-tools-status { margin: 0; justify-self: end; font-size: 14px; font-weight: 300; color: var(--gf-slate-500); }
.uf-search input[type="search"] { -webkit-appearance: none; appearance: none; }

.uf-category + .uf-category { margin-top: 56px; }

/* Download all: for a whole area under its heading, and for one section above its tiles. */
.uf-download-all { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 0 0 22px; }
.uf-download-all--group { margin: -4px 0 16px; }
.uf-download-all--group .uf-btn-line { padding: 5px 9px; font-size: 12.5px; }
.uf-download-note { font-size: 13px; font-weight: 300; color: var(--gf-slate-500); }
.uf-category-title {
  margin: 0 0 18px; padding-top: 22px; border-top: 2px solid var(--gf-teal-900);
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gf-teal-700);
}
.uf-category .dc-p { margin: -6px 0 18px; }

/* One section: a disclosure row with the plus/minus mark built from two 2px rules. */
.uf-group { border-bottom: 1px solid var(--gf-line-200); }
.uf-group:first-of-type { border-top: 1px solid var(--gf-line-200); }
.uf-group-head {
  list-style: none; cursor: pointer; position: relative;
  display: flex; align-items: baseline; gap: 16px; padding: 18px 44px 18px 0;
}
.uf-group-head::-webkit-details-marker { display: none; }
.uf-group-head::before, .uf-group-head::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 2px;
  background: var(--gf-teal-700); transition: background-color 120ms linear;
}
.uf-group-head::after { transform: rotate(90deg); }
.uf-group[open] > .uf-group-head::after { display: none; }
.uf-group-title {
  font-family: var(--font-serif); font-weight: 400; font-size: 22px; letter-spacing: -0.02em;
  line-height: 1.25; color: var(--gf-teal-900); transition: color 120ms linear;
}
.uf-group-count { font-size: 13px; font-weight: 300; color: var(--gf-slate-500); white-space: nowrap; }
.uf-group-head:hover .uf-group-title, .uf-group-head:focus-visible .uf-group-title { color: var(--gf-teal-600); }
.uf-group-head:hover::before, .uf-group-head:hover::after { background: var(--gf-teal-600); }
.uf-group-intro { margin: -4px 0 16px; max-width: 68ch; font-size: 15px; font-weight: 300; line-height: 1.6; color: var(--gf-slate-700); }

.uf-no-match { margin-top: 8px; }

/* ---------- Manage documents ---------- */
.uf-upload {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.8fr) auto;
  gap: 16px; align-items: end; margin-top: 26px;
}
.uf-light input[type="file"] { width: 100%; padding: 10px; background: #FFFFFF; border: 1px solid var(--gf-line-300); font-size: 14px; }
/* One-time downloads: the choice on upload, the mark on the tile, and the confirm step before the
   download that deletes it. Clay, the one negative accent, because the download destroys the file. */
.uf-once-choice { grid-column: 1 / -1; margin: 0; padding: 0; border: 0; min-width: 0; }
.uf-once-choice .lv-radio { display: flex; align-items: flex-start; margin: 0 0 8px; }
.uf-once-choice .lv-radio input { flex: none; margin-top: 2px; }
.uf-once-ok { margin: 4px 0 0 26px; }
.uf-once-ok .lv-radio { color: var(--gf-clay); }
.uf-upload .uf-once-choice + .btn { justify-self: start; }
.uf-once-mark { margin: 0 0 6px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gf-clay); }
.uf-once-note { margin: 6px 0 0; font-size: 12.5px; font-weight: 300; line-height: 1.45; color: var(--gf-slate-700); }
.uf-tile-actions .uf-once-confirm[open] { flex-basis: 100%; }

/* ---------- Tiles: documents on both pages ----------
   A 1px-gap grid over the rule colour, so the gap is the rule; every tile paints its own white. */
.uf-tiles {
  list-style: none; margin: 0 0 22px; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  /* Rules drawn by the tiles themselves rather than a 1px gap over a rule colour: with a gap,
     a part-filled last row showed the rule colour in its empty cells. */
  border-top: 1px solid var(--gf-line-200); border-left: 1px solid var(--gf-line-200);
}
.uf-tile {
  background: #FFFFFF; display: flex; flex-direction: column; min-width: 0;
  border-right: 1px solid var(--gf-line-200); border-bottom: 1px solid var(--gf-line-200);
  padding: 16px 18px 18px; scroll-margin-top: calc(var(--header-h, 84px) + 24px);
}
.uf-tile:target { outline: 2px solid var(--gf-teal-400); outline-offset: -2px; }
/* Every tile is white: the ruled grid already separates them. (Alternate shading was removed on
   22 October 2026: it read as if some tiles were different or selected.) The title comes first,
   then the file's type, size and date, smaller and quieter. */
.uf-tile .uf-file-meta { margin: 4px 0 0; font-size: 12.5px; font-weight: 300; line-height: 1.45; color: var(--gf-slate-500); }
.uf-tiles .uf-tile-title {
  margin: 0; font-family: inherit; letter-spacing: 0; font-size: 16px; font-weight: 400; line-height: 1.35; color: var(--gf-teal-900);
  overflow-wrap: anywhere;
}
.uf-tile-file { margin: 4px 0 0; font-size: 12.5px; font-weight: 300; color: var(--gf-slate-500); overflow-wrap: anywhere; }
.uf-tile-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px; }
.uf-tile-actions form { margin: 0; }
.uf-tile-actions .uf-btn-line { padding: 5px 9px; font-size: 12.5px; }
.uf-btn-line:disabled { color: var(--gf-slate-300); border-color: var(--gf-line-150); cursor: default; }
.uf-btn-line:disabled:hover { color: var(--gf-slate-300); border-color: var(--gf-line-150); }

/* Editing opens across the whole row, so the form has room and the other tiles stay compact. */
.uf-tile:has(.uf-tile-edit[open]) { grid-column: 1 / -1; background: var(--gf-paper); }
.uf-tile-edit { display: contents; }
.uf-tile-edit summary { list-style: none; }
.uf-tile-edit summary::-webkit-details-marker { display: none; }
.uf-tile-edit[open] summary { border-color: var(--gf-teal-900); }
.uf-tile-panel { flex-basis: 100%; width: 100%; margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--gf-line-200); }
.uf-tile-form {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1.3fr) auto;
  gap: 12px; align-items: end;
}
.uf-tile-form--replace { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto; }
.uf-tile-more { display: grid; gap: 14px; margin-top: 18px; }
.uf-tile-more .uf-confirm { justify-self: start; }

/* ---------- Manage documents: the folding sections panel ---------- */
.uf-panel { border-top: 1px solid var(--gf-line-200); border-bottom: 1px solid var(--gf-line-200); }
.uf-panel-head { list-style: none; cursor: pointer; position: relative; display: flex; align-items: baseline; gap: 16px; padding: 16px 44px 16px 0; }
.uf-panel-head::-webkit-details-marker { display: none; }
.uf-panel-head h2 { margin: 0; }
.uf-panel-head::before, .uf-panel-head::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 2px; background: var(--gf-teal-700);
}
.uf-panel-head::after { transform: rotate(90deg); }
.uf-panel[open] > .uf-panel-head::after { display: none; }
.uf-panel > .dc-p { margin-top: 0; }
.uf-section-rows { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 1px; background: var(--gf-line-200); border: 1px solid var(--gf-line-200); }
.uf-section-row { background: #FFFFFF; padding: 14px 16px 16px; scroll-margin-top: calc(var(--header-h, 84px) + 24px); }
.uf-section-row:target { outline: 2px solid var(--gf-teal-400); outline-offset: -2px; }
.uf-section-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) auto; gap: 12px; align-items: end; }
.uf-section-form .uf-btn-line { padding: 12px 16px; }
.uf-check { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 300; color: var(--gf-slate-500); }
.uf-check input { width: 16px; height: 16px; margin: 0; }
.uf-private-mark { font-size: 13px; font-weight: 300; color: var(--gf-slate-500); }
.uf-section-row .uf-tile-actions { padding-top: 10px; }
.uf-add-section { margin: 22px 0 24px; }
.uf-manage-note { font-size: 13px; font-weight: 300; color: var(--gf-slate-500); margin: 0 6px; }
.uf-manage-status { margin: 4px 0 10px; }

/* A moved tile shows where it went: colour only, and gone once it loses focus. */
.uf-tile.is-moved, .uf-section-row.is-moved { outline: 2px solid var(--gf-teal-400); outline-offset: -2px; }

/* ---------- Tabs: the current page ---------- */
.uf-jump a[aria-current="page"] { color: #FFFFFF; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; text-decoration-color: var(--gf-teal-400); }

/* ---------- Holidays and WFH (private/useful/leave-view.php, js/leave.js) ----------
   One hue: holiday is teal 700, WFH teal 400, a request still waiting is the same colour as a
   dashed outline on white. Sickness, seen only by approvers, is clay, the one reserved accent;
   so is going over an allowance. Weekends and bank holidays are the sunk paper. */
.lv-body .dc-section + .dc-section { margin-top: 56px; }
.lv-sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0; margin: 0;
}
.lv-hint { margin: 0; max-width: 68ch; font-size: 13.5px; font-weight: 300; line-height: 1.55; color: var(--gf-slate-500); }
.lv-over { color: var(--gf-clay); }
.lv-back { margin: 0 0 8px; font-size: 14px; }
.lv-back a { color: var(--gf-teal-700); text-decoration: underline; text-underline-offset: 3px; }
.lv-cell-note { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 300; color: var(--gf-slate-500); }
.lv-cell-note.lv-inline { display: inline; margin-left: 6px; }

/* Totals */
.lv-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--gf-line-200); border: 1px solid var(--gf-line-200); margin-top: 22px; }
.lv-stats--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lv-stats--one { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
.lv-stats--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lv-stat { background: #FFFFFF; padding: 22px 24px 24px; }
.lv-stat-title { margin: 0; font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gf-teal-700); }
.lv-stat-none { margin: 12px 0 0; font-size: 15px; font-weight: 300; color: var(--gf-slate-500); }
.lv-figs { display: flex; flex-wrap: wrap; gap: 14px 28px; margin: 14px 0 0; }
.lv-figs div { min-width: 64px; }
.lv-figs dt { font-size: 12.5px; font-weight: 300; color: var(--gf-slate-500); }
.lv-figs dd { margin: 2px 0 0; font-family: var(--font-serif); font-size: 30px; letter-spacing: -0.02em; line-height: 1.1; color: var(--gf-teal-900); font-variant-numeric: tabular-nums; }
.lv-figs-left dd { color: var(--gf-teal-700); }
.lv-figs-left.is-over dd { color: var(--gf-clay); }

/* The booking form */
.lv-form { display: grid; gap: 18px; max-width: 780px; margin-top: 22px; }
.lv-dates { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 16px; }
.lv-who { max-width: 456px; }
.lv-note { max-width: 456px; }
.lv-choice { margin: 0; padding: 0; border: 0; min-width: 0; }
.lv-choice .field-label { margin-bottom: 10px; padding: 0; }
.lv-radio { display: inline-flex; align-items: center; gap: 8px; margin: 0 22px 8px 0; font-size: 15px; font-weight: 300; color: var(--gf-slate-700); cursor: pointer; }
.lv-radio input { width: 18px; height: 18px; margin: 0; accent-color: var(--gf-teal-700); }
.uf-light .field input[type="date"], .uf-light .field input[type="number"], .uf-light .field input[type="text"] { min-height: 48px; }
.lv-summary { margin: 0; min-height: 1.5em; font-size: 15px; font-weight: 400; color: var(--gf-teal-900); }
.lv-summary.is-over { color: var(--gf-clay); }
.lv-submit { justify-self: start; }
/* With JavaScript, only the fields for the chosen "How long" show. */
.lv-js [data-for-mode][hidden] { display: none; }

/* The year: twelve small months */
.lv-key { list-style: none; margin: 18px 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13.5px; font-weight: 300; color: var(--gf-slate-700); }
.lv-key li { display: inline-flex; align-items: center; gap: 8px; }
.lv-swatch { display: inline-block; width: 18px; height: 18px; box-sizing: border-box; }
.lv-swatch--off { background: var(--gf-paper-sunk); border: 1px solid var(--gf-line-200); }
.lv-year { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 26px 30px; }
.lv-month { width: 100%; border-collapse: separate; border-spacing: 2px; table-layout: fixed; }
.lv-month caption { text-align: left; padding: 0 2px 8px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gf-teal-700); }
.lv-month th { padding: 0 0 4px; font-size: 11px; font-weight: 600; color: var(--gf-slate-500); }
.lv-month abbr { text-decoration: none; }
.lv-day { position: relative; height: 30px; padding: 0; text-align: center; background: #FFFFFF; }
.lv-num { position: relative; z-index: 1; font-size: 13px; font-weight: 400; line-height: 30px; color: var(--gf-slate-700); font-variant-numeric: tabular-nums; }
.lv-day--off { background: var(--gf-paper-sunk); }
/* slate 500, not 400: 400 on the sunk paper was under 4.5:1 (design review, 22 October 2026). */
.lv-day--off .lv-num { color: var(--gf-slate-500); }
.lv-day--bank .lv-num { color: var(--gf-teal-900); font-weight: 600; }
.lv-day--past:not(.lv-day--off) .lv-num { color: var(--gf-slate-500); }
.lv-day--today { outline: 2px solid var(--gf-teal-900); outline-offset: -2px; }
.lv-fill { position: absolute; top: 0; bottom: 0; box-sizing: border-box; }
.lv-fill--full { left: 0; right: 0; }
.lv-fill--am { left: 0; width: 50%; }
.lv-fill--pm { right: 0; width: 50%; }
.lv-holiday.lv-approved { background: var(--gf-teal-700); }
.lv-holiday.lv-pending { background: #FFFFFF; border: 2px dashed var(--gf-teal-700); }
/* WFH is slate blue: the one deliberate second hue on the site, chosen by the client on 19 October
   2026 so WFH and holiday are told apart at a glance. Holiday pages only; see CLAUDE.md. */
.lv-body, .lv-plan-wrap { --lv-wfh: #3F6496; --lv-wfh-pale: #EDF1F7; }
.lv-wfh.lv-approved { background: var(--lv-wfh, #3F6496); }
.lv-wfh.lv-pending { background: var(--lv-wfh-pale, #EDF1F7); border: 2px dashed var(--lv-wfh, #3F6496); }
.lv-sick.lv-approved { background: var(--gf-clay); }
/* Special leave (parental, compassionate) is teal 900, the ink: the same hue as holiday, told apart
   by depth, so no new colour is added. Waiting is the teal 050 tint with a dashed ink rule. */
.lv-special.lv-approved { background: var(--gf-teal-900); }
.lv-special.lv-pending { background: var(--gf-teal-050); border: 2px dashed var(--gf-teal-900); }
.lv-cancelled { background: transparent; border: 1px dotted var(--gf-slate-400); }
.lv-day:has(.lv-fill.lv-cancelled:not(.lv-off)) .lv-num { text-decoration: line-through; color: var(--gf-slate-500); }
.lv-day:has(.lv-fill--full.lv-holiday.lv-approved:not(.lv-off)) .lv-num,
.lv-day:has(.lv-fill--full.lv-wfh.lv-approved:not(.lv-off)) .lv-num,
.lv-day:has(.lv-fill--full.lv-special.lv-approved:not(.lv-off)) .lv-num,
.lv-day:has(.lv-fill--full.lv-sick.lv-approved:not(.lv-off)) .lv-num { color: #FFFFFF; }
/* Picking dates by clicking: working days still to come. */
.lv-year[data-pick] .lv-day:not(.lv-day--off):not(.lv-day--past) { cursor: pointer; }
.lv-year[data-pick] .lv-day:not(.lv-day--off):not(.lv-day--past):hover { outline: 2px solid var(--gf-teal-400); outline-offset: -2px; }
.lv-day.is-picked { outline: 3px solid var(--gf-teal-400); outline-offset: -3px; }
/* The days between the first and last picked: a clear tint of the accent (the 050 tint was too faint to see). */
.lv-day.is-in-range:not(.is-picked) { background: color-mix(in srgb, var(--gf-teal-400) 24%, #FFFFFF); }

/* Who is off */
.lv-month-nav { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; margin: 18px 0 14px; max-width: 780px; }
.lv-month-title { margin: 0; text-align: center; font-family: var(--font-serif); font-weight: 400; font-size: 22px; letter-spacing: -0.02em; color: var(--gf-teal-900); }
.lv-days { list-style: none; margin: 0; padding: 0; max-width: 780px; border-top: 1px solid var(--gf-line-200); }
.lv-days li { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--gf-line-100); }
.lv-days-date { font-size: 14px; font-weight: 600; color: var(--gf-teal-900); font-variant-numeric: tabular-nums; }
.lv-days-who { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.lv-days-bank { font-size: 14px; font-weight: 400; color: var(--gf-teal-700); }
.lv-tag { font-size: 13.5px; font-weight: 400; padding: 3px 9px; line-height: 1.4; }
.lv-tag--holiday { background: var(--gf-teal-700); color: #FFFFFF; }
.lv-tag--wfh { background: var(--lv-wfh, #3F6496); color: #FFFFFF; }
.lv-tag--special { background: var(--gf-teal-900); color: #FFFFFF; }
.lv-tag--sick { background: var(--gf-clay); color: #FFFFFF; }

/* Tables: bookings and the team grid */
.lv-table-wrap { overflow-x: auto; margin-top: 18px; border: 1px solid var(--gf-line-200); background: #FFFFFF; }
.lv-table { width: 100%; border-collapse: collapse; font-size: 14.5px; font-weight: 300; color: var(--gf-slate-700); }
.lv-table th, .lv-table td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--gf-line-100); }
.lv-table thead th { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gf-teal-700); background: var(--gf-paper); white-space: nowrap; }
.lv-table tbody th { font-weight: 400; color: var(--gf-teal-900); white-space: nowrap; }
.lv-table tbody th a { color: var(--gf-teal-900); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gf-line-300); transition: color 120ms linear; }
.lv-table tbody th a:hover, .lv-table tbody th a:focus-visible { color: var(--gf-teal-600); }
.lv-table tr.is-inactive td { color: var(--gf-slate-400); }
.lv-table .lv-num-col { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lv-dot { display: inline-block; width: 11px; height: 11px; margin-right: 8px; box-sizing: border-box; vertical-align: -1px; }
.lv-actions { text-align: right; white-space: nowrap; }
.lv-actions form { margin: 0; }
.lv-grid thead tr:first-child th { text-align: center; border-left: 1px solid var(--gf-line-200); }
.lv-grid thead tr:first-child th:first-child { text-align: left; border-left: 0; vertical-align: bottom; }
.lv-grid-input { width: 64px; padding: 7px 8px; border: 1px solid var(--gf-line-300); border-radius: 0; font: inherit; font-size: 14.5px; text-align: right; font-variant-numeric: tabular-nums; color: var(--gf-teal-900); background: #FFFFFF; }
.lv-grid-sick { background: rgba(138, 90, 59, 0.05); }
.lv-grid thead .lv-grid-sick { color: var(--gf-clay); }
.lv-grid-save { margin-top: 18px; }
/* The allowances grid has 13 columns since Special leave (26 October 2026): tighter cells and
   headings so it fits the page width without scrolling sideways on a laptop or desktop. */
.lv-grid th, .lv-grid td { padding-left: 9px; padding-right: 9px; }
.lv-grid thead th { letter-spacing: 0.08em; }
.lv-grid tbody th { white-space: normal; min-width: 7.5em; }
.lv-grid-input { width: 58px; }
.lv-copy { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 14px 0 0; }
.lv-years { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.lv-years a[aria-current="page"] { border-color: var(--gf-teal-900); color: var(--gf-teal-900); font-weight: 600; }

/* Requests waiting */
.lv-requests { margin-top: 18px; }
.lv-decide form { display: grid; gap: 10px; min-width: 300px; }
.lv-decide-note input { width: 100%; padding: 10px 12px; border: 1px solid var(--gf-line-300); border-radius: 0; font: inherit; font-size: 14.5px; font-weight: 300; }
.lv-decide-buttons { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.lv-decide-buttons .btn { padding: 12px 22px; }

/* Cancel all or some days */
.lv-cancel { display: inline-block; text-align: left; }
.lv-cancel-form { min-width: 280px; white-space: normal; }
.lv-cancel-some[hidden] { display: none; }
.lv-cancel-some { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 6px 0 12px; }
.lv-cancel-some .field-label { font-size: 10.5px; margin-bottom: 4px; }
.lv-cancel-some input, .lv-cancel-some select { padding: 8px 9px !important; font-size: 14px !important; min-height: 0 !important; }

/* Who is emailed, and the audit log */
.lv-notify { margin: 18px 0; padding: 0; border: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 4px 20px; }
.lv-log-by { color: var(--gf-slate-500); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .uf-upload { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .uf-upload .uf-upload-files { grid-column: 1 / -1; }
  .uf-tile-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .uf-tile-form .uf-tile-form-title { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .lv-stats, .lv-stats--three, .lv-stats--four { grid-template-columns: 1fr; }
  .lv-dates, .lv-cancel-some { grid-template-columns: 1fr; }
  .lv-year { grid-template-columns: 1fr; }
  .lv-month-nav { grid-template-columns: 1fr 1fr; }
  .lv-month-title { grid-column: 1 / -1; grid-row: 1; }
  .lv-decide form { min-width: 0; }
  .uf-signin, .uf-signin--two { grid-template-columns: 1fr; }
  .uf-add, .uf-inline-form { grid-template-columns: 1fr; }
  .uf-add .btn, .uf-inline-form .btn { justify-self: start; }
  .uf-enrol { grid-template-columns: 1fr; }
  .uf-actions { justify-content: flex-start; max-width: none; }
  .uf-log li { grid-template-columns: 1fr; gap: 2px; }
  .uf-tools { grid-template-columns: 1fr; }
  .uf-tools-status { justify-self: start; }
  .uf-group-title { font-size: 19px; }
  .uf-upload, .uf-tile-form, .uf-tile-form--replace, .uf-section-form { grid-template-columns: 1fr; }
  .uf-upload .btn, .uf-tile-form .btn, .uf-tile-form .uf-btn-line, .uf-section-form .uf-btn-line { justify-self: start; }
  .uf-tiles { grid-template-columns: 1fr; }
  .uf-signin-btn { justify-self: start; }
  .uf-doc { grid-template-columns: 1fr; padding: 24px 20px 26px; }
  .uf-doc-btn { justify-self: start; }
  .uf-body { padding-bottom: 64px; }
}

/* ---------- Just for fun (js/fun.js) ----------
   An animation an administrator turns on for one person on Manage users. It sits above the page
   and never takes a click. */
.fx-train { position: fixed; left: 0; z-index: 9999; pointer-events: none; will-change: transform; }
.fx-lane--ground { bottom: 2px; }
.fx-lane--sky { top: 14vh; }
.fx-row { display: flex; align-items: flex-end; gap: 26px; }
.fx-row--right { transform: scaleX(-1); }
.fx-actor { display: inline-block; font-size: 56px; line-height: 1; }
.fx-big { font-size: 120px; }
.fx-stomp { transform-origin: 50% 100%; animation: fx-stomp 0.7s ease-in-out infinite; }
@keyframes fx-stomp { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-12px) rotate(4deg); } }
.fx-fly { font-size: 64px; letter-spacing: 2px; animation: fx-fly 2.4s ease-in-out infinite; }
@keyframes fx-fly { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-40px) rotate(3deg); } }
.fx-trot { font-size: 60px; animation: fx-trot 0.36s ease-in-out infinite; }
.fx-trot--late { animation-delay: -0.18s; }
@keyframes fx-trot { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.fx-roll { font-size: 40px; animation: fx-roll 0.7s linear infinite; }
@keyframes fx-roll { to { transform: rotate(-360deg); } }
.fx-matrix { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9999; pointer-events: none; opacity: 0; transition: opacity 600ms linear; }
.fx-matrix.is-on { opacity: 0.94; }
.fx-fireworks { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9999; pointer-events: none; }

/* Same as in the library above: [hidden] must beat the button's own display value, or the way
   out would show from the start instead of after a minute. */
.fx-captcha [hidden] { display: none !important; }

/* The silly robot test: the one effect that does take a click. It always lets the person through,
   and the way out appears after a minute. */
.fx-captcha {
  position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(13, 42, 44, 0.92); transition: opacity 500ms linear;
}
.fx-captcha.is-done { opacity: 0; }
.fx-captcha-box {
  width: min(520px, 100%); max-height: 90vh; overflow: auto; padding: 28px 28px 24px;
  background: var(--gf-white, #fff); border: 1px solid var(--gf-line-300);
}
.fx-captcha-brand {
  margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gf-teal-700);
}
.fx-captcha-ask {
  margin: 0 0 8px; font-family: var(--font-serif); font-weight: 400; font-size: 24px;
  letter-spacing: -0.02em; line-height: 1.25; color: var(--gf-teal-900);
}
.fx-captcha-note { margin: 0 0 10px; font-size: 14px; font-weight: 300; color: var(--gf-clay, #a2563f); }
.fx-captcha-hint { margin: 0 0 18px; font-size: 14px; font-weight: 300; color: var(--gf-slate-600, #5b6b6c); }
.fx-captcha-body { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.fx-captcha-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: 100%; }
.fx-captcha-cell {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center; cursor: pointer;
  font-size: 34px; line-height: 1; background: var(--gf-paper-sunk, #f1ede4); border: 2px solid transparent;
}
.fx-captcha-cell.is-picked { border-color: var(--gf-teal-600); background: var(--gf-paper, #f7f4ed); }
.fx-captcha-field, .fx-captcha-slider { width: 100%; }
.fx-captcha-field {
  font: inherit; padding: 10px 12px; border: 1px solid var(--gf-line-300); border-radius: 0;
  color: var(--gf-teal-900); background: var(--gf-white, #fff);
}
.fx-captcha-pen { position: relative; width: 100%; min-height: 96px; }
.fx-captcha-tick {
  cursor: pointer; font: inherit; font-size: 15px; padding: 12px 16px; background: var(--gf-paper, #f7f4ed);
  border: 1px solid var(--gf-line-300); color: var(--gf-teal-900); transition: transform 220ms ease-out;
}
.fx-captcha-foot { margin-top: 20px; }
.fx-captcha-skip { font-size: 13px; }
@media (max-width: 720px) {
  .fx-captcha-box { padding: 22px 18px 20px; }
  .fx-captcha-ask { font-size: 20px; }
}
@media (max-width: 720px) {
  .fx-actor { font-size: 40px; }
  .fx-big { font-size: 84px; }
  .fx-fly { font-size: 44px; }
}

/* ---------- Sign-in codes: choosing the app or email, and switching on the code pages ---------- */
.uf-masthead-switches { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.uf-masthead-switches form, .uf-masthead-foot > form { margin: 0; }
.uf-masthead-switch {
  background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-size: 15px; font-weight: 400;
  color: rgba(255,255,255,0.86); text-decoration: underline; text-underline-offset: 3px;
  transition: color 120ms linear;
}
.uf-masthead-switch:hover, .uf-masthead-switch:focus-visible { color: var(--gf-teal-400); }
.uf-choose { margin-top: 0; }
.uf-codes { margin-top: 18px; display: grid; gap: 14px; justify-items: start; }

/* ---------- The team calendar (approvers): a row per person, a column per day ---------- */
.lv-months { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 14px 0 0; }
.lv-months a { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gf-teal-700); transition: color 120ms linear; }
.lv-months a:hover, .lv-months a:focus-visible { color: var(--gf-teal-600); }
.lv-plan-month { scroll-margin-top: calc(var(--header-h, 84px) + 16px); }
.lv-plan-month + .lv-plan-month { margin-top: 22px; }
.lv-plan-wrap { overflow-x: auto; border: 1px solid var(--gf-line-200); background: #FFFFFF; margin-top: 10px; }
.lv-plan { border-collapse: separate; border-spacing: 1px; min-width: 100%; table-layout: fixed; }
.lv-plan-cap { position: sticky; left: 0; margin: 0; padding: 10px 12px 6px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gf-teal-700); }
.lv-plan th { padding: 2px 0 4px; font-size: 10.5px; font-weight: 400; color: var(--gf-slate-500); text-align: center; width: 24px; min-width: 24px; line-height: 1.2; }
.lv-plan th span { display: block; font-size: 12px; color: var(--gf-teal-900); font-variant-numeric: tabular-nums; }
.lv-plan th abbr { text-decoration: none; }
.lv-plan .lv-plan-name { position: sticky; left: 0; z-index: 2; width: 150px; min-width: 150px; max-width: 150px; padding: 0 10px 0 12px; text-align: left; background: #FFFFFF; font-size: 13.5px; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-plan .lv-plan-name a { color: var(--gf-teal-900); transition: color 120ms linear; }
.lv-plan .lv-plan-name a:hover, .lv-plan .lv-plan-name a:focus-visible { color: var(--gf-teal-600); }
.lv-plan-cell { position: relative; height: 26px; padding: 0; background: var(--gf-paper); }
.lv-plan-off, .lv-plan th.lv-plan-off { background: var(--gf-paper-sunk); }
.lv-plan th.lv-plan-off span { color: var(--gf-slate-500); }
.lv-plan th.lv-plan-today span { color: #FFFFFF; background: var(--gf-teal-900); }
.lv-plan .lv-plan-hl { box-shadow: none; outline: 2px solid var(--gf-teal-400); outline-offset: -1px; }
.lv-plan th.lv-plan-hl { outline: 0; border-bottom: 3px solid var(--gf-teal-400); }
.lv-plan-row-hl .lv-plan-name { font-weight: 600; }
.lv-plan-row-hl .lv-plan-cell { background: var(--gf-teal-050); }
.lv-request .lv-plan-wrap { margin-top: 16px; }
.lv-request .uf-doc-copy { min-width: 0; }

/* ---------- The confirmation box after a form (js/toast.js) ----------
   Pinned bottom right on ink, so it is seen wherever the page has returned to. */
.uf-toast {
  position: fixed; right: 24px; bottom: 24px; z-index: 900; max-width: 420px;
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 18px; background: var(--gf-teal-900); color: #FFFFFF;
  border-top: 3px solid var(--gf-teal-400); transition: opacity 180ms linear;
}
.uf-toast--error { border-top-color: #D9A07A; }
.uf-toast.is-gone { opacity: 0; }
.uf-toast[hidden] { display: none; }
.uf-toast-text { margin: 0; font-size: 15px; font-weight: 300; line-height: 1.5; color: #FFFFFF; }
.uf-toast-close {
  flex: none; background: none; border: 1px solid rgba(255,255,255,0.42); cursor: pointer;
  padding: 5px 9px; font: inherit; font-size: 12.5px; color: rgba(255,255,255,0.86); border-radius: 0;
  transition: color 120ms linear, border-color 120ms linear;
}
.uf-toast-close:hover, .uf-toast-close:focus-visible { color: var(--gf-teal-400); border-color: var(--gf-teal-400); }
@media (prefers-reduced-motion: reduce) { .uf-toast { transition: none; } }
@media (max-width: 720px) { .uf-toast { left: 16px; right: 16px; bottom: 16px; max-width: none; } }


/* ---------- Show: All / Holiday / WFH / Sickness (js/leave.js) ---------- */
.lv-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 0; }
.lv-filter[hidden] { display: none; }
.lv-filter-label { margin-right: 4px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gf-teal-700); }
.lv-filter button[aria-pressed="true"] { background: var(--gf-teal-900); border-color: var(--gf-teal-900); color: #FFFFFF; }
.lv-off { display: none !important; }
.lv-filter button[aria-pressed="true"]:hover, .lv-filter button[aria-pressed="true"]:focus-visible { color: #FFFFFF; border-color: var(--gf-teal-900); }

/* ============================================================
   Easier day to day, and on a phone (design review, 22 October 2026)
   ============================================================ */

/* Booking: the form and your calendar side by side on a wide screen, so dates are picked next to
   the form that sends them. Stacked below that, with the bar further down taking you back. */
.lv-body .lv-book { margin-top: 56px; }
.lv-body .lv-book + .dc-section { margin-top: 56px; }
@media (min-width: 1180px) {
  .lv-book { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 0 56px; align-items: start; }
  .lv-body .lv-book > .dc-section + .dc-section { margin-top: 0; }
  .lv-book .lv-dates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lv-book .lv-year { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}
/* Only where the whole form fits on the screen, or its foot could never be reached. */
@media (min-width: 1180px) and (min-height: 860px) {
  .lv-book > #request { position: sticky; top: calc(var(--header-h, 0px) + 20px); }
}
.lv-hint a { color: var(--gf-teal-900); text-decoration: underline; text-underline-offset: 3px; transition: color 120ms linear; }
.lv-hint a:hover, .lv-hint a:focus-visible { color: var(--gf-teal-600); }
.lv-stat-hint { margin-top: 6px; }

/* The bar at the foot of the screen while picking days on your calendar (js/leave.js). */
.lv-pickbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 800;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px;
  padding: 14px var(--wrap-pad, 20px); background: var(--gf-teal-900); border-top: 3px solid var(--gf-teal-400);
}
.lv-pickbar[hidden] { display: none; }
.lv-pickbar-text { margin: 0; max-width: 70ch; font-size: 15px; font-weight: 300; line-height: 1.5; color: #FFFFFF; }
.lv-pickbar-go {
  flex: none; min-height: 44px; padding: 10px 20px; cursor: pointer; border: 0; border-radius: 0;
  font: inherit; font-size: 14.5px; font-weight: 600; color: var(--gf-teal-900); background: var(--gf-teal-400);
  transition: background-color 120ms linear;
}
.lv-pickbar-go:hover, .lv-pickbar-go:focus-visible { background: #FFFFFF; }

/* Who is off this week and next (approvers), above the team calendar. */
.lv-soon { margin-top: 18px; }
.lv-tag--waiting { background: #FFFFFF; color: var(--gf-teal-900); border: 2px dashed var(--gf-teal-700); padding: 1px 7px; }
.lv-tag--special.lv-tag--waiting { background: var(--gf-teal-050); color: var(--gf-teal-900); border-color: var(--gf-teal-900); }
.lv-tag--wfh.lv-tag--waiting { background: var(--lv-wfh-pale, #EDF1F7); color: var(--gf-teal-900); border-color: var(--lv-wfh, #3F6496); }

/* The team calendar: a tapped day is outlined and described in the line under its month. */
.lv-plan-cell { cursor: pointer; }
.lv-plan-cell.is-chosen { outline: 2px solid var(--gf-teal-900); outline-offset: -2px; }
.lv-plan-detail { margin: 8px 0 0; padding: 10px 14px; background: #FFFFFF; border: 1px solid var(--gf-line-200); font-size: 14.5px; font-weight: 400; line-height: 1.5; color: var(--gf-teal-900); }
.lv-plan-detail[hidden] { display: none; }

@media (max-width: 720px) {
  /* A narrower name column, so more days show beside it. */
  .lv-plan .lv-plan-name { width: 96px; min-width: 96px; max-width: 96px; padding: 0 6px 0 8px; font-size: 13px; }

  /* Signed in, every page but Documents: title and tabs only, so the page is on the first screen. */
  .uf-masthead--inner .accent-bar, .uf-masthead--inner .dc-masthead-eyebrow, .uf-masthead--inner .dc-masthead-lead { display: none; }
  .uf-masthead--inner.dc-masthead { padding-top: calc(var(--header-h, 0px) + 24px); }
  .uf-masthead--inner.dc-masthead .wrap { padding-bottom: 20px; }
  .uf-masthead--inner .dc-masthead-title { margin-top: 0; font-size: 28px; }
  .uf-masthead--inner .uf-account--top { margin-bottom: 16px; }
  .uf-masthead--inner .uf-masthead-foot { margin-top: 18px; padding-top: 4px; }

  /* The tabs on one row that scrolls sideways (js/useful-tabs.js keeps the current one in view). */
  .uf-masthead-foot .uf-jump {
    flex: 1 1 100%; min-width: 0; flex-wrap: nowrap; gap: 0 26px; overflow-x: auto;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .uf-masthead-foot .uf-jump::-webkit-scrollbar { display: none; }
  .uf-masthead-foot .uf-jump a { flex: none; white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
}

/* Touch screens: buttons, choices and tabs at least 44px high, so they are easy to hit. */
@media (pointer: coarse) {
  a.uf-btn-line, button.uf-btn-line, summary.uf-btn-line, .uf-toast-close {
    min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
  }
  .uf-tile-actions .uf-btn-line, .uf-download-all--group .uf-btn-line { padding: 8px 14px; font-size: 13.5px; }
  .lv-radio { min-height: 44px; margin-bottom: 0; }
  .lv-radio input { width: 22px; height: 22px; }
  .uf-jump a { display: inline-flex; align-items: center; min-height: 44px; }
  .lv-months a { display: inline-block; padding: 10px 2px; }
  .uf-account-link { display: inline-block; padding: 10px 0; }
}
