
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Roboto+Mono:wght@500&display=swap');
/* =========================================================
   Self-Hosted Employee Time-Clock Dashboard
   Drop-in stylesheet — system fonts only, offline-safe.
   Status uses text + glyph + border/pattern rather than color alone.
   ========================================================= */

:root {
  --bg: #f4f6f8;
  --card: #ffffff;
  --ink: #17212b;
  --mute: #64717d;
  --line: #d8e0e7;

  --bar: #173f67;
  --bar2: #102f4f;
  --bar-ink: #ffffff;

  --side: #ffffff;
  --side-ink: #344454;

  --accent: #1769aa;
  --accent-strong: #12578e;
  --accent-bg: #eaf3fa;

  /* TimeForge "classic" accents (match the handoff look) */
  --forge: #e8730c;
  --forge-d: #c25e05;
  --forge-l: #fff1e4;
  --side-solid: #14181f;      /* charcoal nav — constant in light & dark */
  --side-solid-2: #1c222c;
  --side-solid-3: #2a313d;
  --side-solid-ink: #c9d1dd;
  --bar-solid: #1f2a37;       /* steel topbar — constant in light & dark */

  --in: #155f8f;
  --in-bg: #e5f2f9;
  --warn: #815800;
  --warn-bg: #fff3d9;
  --off: #58636e;
  --off-bg: #edf0f2;

  --focus: #1769aa;

  --sw: 224px;
  --th: 58px;
  --radius: 10px;
  --shadow: 0 2px 8px rgba(24, 42, 58, .055);
  --shadow-hover: 0 5px 16px rgba(24, 42, 58, .09);
}


:root[data-theme="dark"] {
  --bg: #11161b;
  --card: #1a2128;
  --ink: #edf2f6;
  --mute: #a5b0ba;
  --line: #303b45;

  --bar: #122f4d;
  --bar2: #0d263f;
  --bar-ink: #f5f8fa;

  --side: #171e25;
  --side-ink: #d3dce4;

  --accent: #69aee2;
  --accent-strong: #8bc2ec;
  --accent-bg: #1b354b;

  --in: #83c3e9;
  --in-bg: #173348;
  --warn: #f1ca79;
  --warn-bg: #3a2f16;
  --off: #b8c1c8;
  --off-bg: #292f35;

  --focus: #69aee2;
  --shadow: 0 2px 10px rgba(0, 0, 0, .2);
  --shadow-hover: 0 5px 18px rgba(0, 0, 0, .3);
  color-scheme: dark;
}

/* Always light: the PayClock-style pages fix most colours to light, so following a phone's
   Dark Mode gave dark boxes behind dark text (black timecard cells). */
:root:not([data-theme="dark"]) { color-scheme: light; }

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--bg); }

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button, input, select { font: inherit; }
button, a, summary, select { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--focus) 35%, transparent);
  outline-offset: 2px;
}

/* =========================================================
   TOP APP BAR
   ========================================================= */
.topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: var(--sw);
  height: calc(var(--th) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) 18px 0 18px;
  background: var(--bar-solid);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 30;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .25);
}
.topbar .ctx {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex: 1;
}
.topbar .ctx .ctx-title {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar .meta {
  min-width: 0;
  color: #9fb0c4;
  font-size: 12.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
}
.topbar .right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}
.topbar .tbtn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 11px;
  border-radius: 7px;
  color: #d8e0ea;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid transparent;
}
.topbar .tbtn:hover { background: rgba(255, 255, 255, .09); color: #fff; }
.topbar .tbtn .ic { font-size: 15px; opacity: .85; }
.topbar .menu-btn {
  display: none;
  width: 36px;
  height: 34px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #d8e0ea;
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
}
.topbar .menu-btn:hover { background: rgba(255, 255, 255, .09); color: #fff; }

/* =========================================================
   SIDEBAR
   ========================================================= */
.side {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--sw);
  padding: 0;
  background: var(--side-solid);
  color: var(--side-solid-ink);
  border-right: 1px solid #000;
  overflow-y: auto;
  z-index: 40;
  scrollbar-width: thin;
  display: flex;
  flex-direction: column;
}
.side .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  height: calc(var(--th) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) 16px 0;
  color: #fff;
  font-weight: 800;
  letter-spacing: .14em;
  font-size: 15px;
  border-bottom: 1px solid var(--side-solid-3);
  flex: none;
}
.side .brand .logo {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  object-fit: contain;
  border-radius: 7px;
}
.side .brand small {
  display: block;
  font-size: 9.5px;
  letter-spacing: .09em;
  color: #8a94a3;
  font-weight: 600;
  margin-top: 1px;
}
.side .nav {
  padding: 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.side .nav .sep {
  height: 1px;
  background: var(--side-solid-3);
  margin: 9px 6px 7px;
}
.side .nav .grp {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #6d7787;
  padding: 2px 12px 4px;
}
.side a {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-left: 3px solid transparent;
  border-radius: 7px;
  color: var(--side-solid-ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 550;
  transition: background-color .12s ease, color .12s ease, border-color .12s ease;
}
.side a .ic {
  width: 21px;
  min-width: 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  font-size: 16px;
  line-height: 1;
  opacity: .8;
}
.side a .lbl {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.side a .nbadge {
  margin-left: auto;
  background: var(--warn-bg);
  color: var(--warn);
  border: 1px solid color-mix(in srgb, var(--warn) 40%, transparent);
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  padding: 0 7px;
  line-height: 17px;
}
.side a:hover {
  background: var(--side-solid-2);
  color: #fff;
}
.side a.on {
  background: var(--side-solid-3);
  color: #fff;
  border-left-color: var(--forge);
  font-weight: 700;
}
.side a.on .ic { opacity: 1; }
.side .side-foot {
  margin-top: auto;
  padding: 12px 16px;
  font-size: 11.5px;
  line-height: 1.4;
  color: #8a94a3;
  border-top: 1px solid var(--side-solid-3);
  font-variant-numeric: tabular-nums;
}

/* =========================================================
   MAIN CONTENT
   ========================================================= */
.content {
  margin-left: var(--sw);
  min-width: 0;
  padding: calc(var(--th) + env(safe-area-inset-top, 0px) + 24px) 24px 52px;
}

h1, h2 { color: var(--ink); }
h1 {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: -.015em;
}
h2 {
  margin: 28px 0 11px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: .075em;
  text-transform: uppercase;
  color: var(--mute);
}

/* =========================================================
   CARDS / DASHBOARD GRID
   ========================================================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}
.card {
  min-width: 0;
  padding: 17px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card.stat {
  position: relative;
  overflow: hidden;
  min-height: 116px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.card.stat::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--accent);
}
.stat .big { color: var(--ink); }
.stat .lbl {
  color: var(--mute);
  font-size: 13px;
  font-weight: 550;
}

.big {
  font-size: 30px;
  line-height: 1.1;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.mute { color: var(--mute); }
.small { font-size: 13px; }

/* =========================================================
   TABLES
   ========================================================= */
.tw {
  width: 100%;
  overflow-x: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  -webkit-overflow-scrolling: touch;
}
table {
  width: 100%;
  min-width: 620px;
  border-collapse: separate;
  border-spacing: 0;
}
th, td {
  padding: 11px 13px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
  vertical-align: middle;
}
thead th, table tr:first-child th { background: var(--accent-bg); }
thead th:first-child, table tr:first-child th:first-child { border-top-left-radius: 9px; }
thead th:last-child, table tr:first-child th:last-child { border-top-right-radius: 9px; }
th {
  color: var(--mute);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: .055em;
  text-transform: uppercase;
}
td { font-size: 14px; }
td.n, th.n {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
tbody tr { transition: background-color .12s ease; }
tbody tr:hover td { background: var(--accent-bg); }
tr:last-child td { border-bottom: 0; }

/* =========================================================
   STATUS TAGS
   Intentionally retain distinct border/pattern treatments.
   Glyph/text should be present in the markup.
   ========================================================= */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  padding: 2px 8px;
  border: 2px solid;
  border-radius: 5px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: .015em;
  white-space: nowrap;
}
/* PRESENT / IN — solid border + solid treatment */
.t-in {
  color: var(--in);
  background: var(--in-bg);
  border-color: var(--in);
  border-style: solid;
}
/* OUT — dashed border, visually distinct from IN */
.t-out {
  color: var(--off);
  background: transparent;
  border-color: var(--off);
  border-style: dashed;
}
/* WARNING — striped pattern */
.t-warn {
  color: var(--warn);
  border-color: var(--warn);
  border-style: solid;
  background: repeating-linear-gradient(135deg, var(--warn-bg) 0 6px, transparent 6px 12px);
}
/* DOUBLE — dotted border */
.t-dbl {
  color: var(--mute);
  background: transparent;
  border-color: var(--mute);
  border-style: dotted;
}
/* OFFLINE — opposite diagonal stripe pattern */
.t-off {
  color: var(--off);
  border-color: var(--off);
  border-style: solid;
  background: repeating-linear-gradient(-45deg, var(--off-bg) 0 4px, transparent 4px 8px);
}

/* =========================================================
   LINKS
   ========================================================= */
a {
  color: var(--accent-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
a:hover { color: var(--accent); }

/* =========================================================
   FORMS / BUTTONS
   ========================================================= */
form.inline { display: inline; }

button, input, select {
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--card);
  color: var(--ink);
}
input::placeholder { color: var(--mute); opacity: .8; }
input:hover, select:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
}
button {
  cursor: pointer;
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 650;
  transition: background-color .15s ease, border-color .15s ease, transform .05s ease;
}
button:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}
button:active { transform: translateY(1px); }
button.primary, .btn.primary, a.btn.primary {
  background: var(--forge);
  border-color: var(--forge);
  color: #fff;
}
button.primary:hover, .btn.primary:hover, a.btn.primary:hover {
  background: var(--forge-d);
  border-color: var(--forge-d);
}
button.small {
  min-height: 30px;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 12px;
}

.row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 9px 0;
}

/* =========================================================
   DETAILS
   ========================================================= */
details.card { overflow: hidden; }
details.card summary {
  cursor: pointer;
  margin: -17px -18px;
  padding: 17px 18px;
  color: var(--ink);
  font-weight: 650;
  list-style-position: inside;
}
details.card[open] summary {
  margin-bottom: 17px;
  border-bottom: 1px solid var(--line);
}
details.card summary::marker { color: var(--accent); }

/* =========================================================
   RESPONSIVE — TABLET / PHONE
   ========================================================= */
@media (max-width: 760px) {
  .topbar { left: 0; padding-left: 10px; padding-right: 12px; }
  .topbar .meta { max-width: 40%; font-size: 12px; }
  .topbar .menu-btn { display: inline-flex; }

  /* Sidebar becomes a slide-in drawer (hamburger in the topbar opens it). */
  .side {
    transform: translateX(-100%);
    transition: transform .18s ease;
    box-shadow: 0 0 40px rgba(0, 0, 0, .45);
  }
  body.nav-open .side { transform: none; }
  body.nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .42);
    z-index: 35;
  }

  .content {
    margin-left: 0;
    padding: calc(var(--th) + env(safe-area-inset-top, 0px) + 18px) 18px 42px;
  }
  h1 { font-size: 22px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
}

/* =========================================================
   NARROW PHONES ~400px
   ========================================================= */
@media (max-width: 430px) {
  .topbar { gap: 8px; }
  .topbar .brand { min-width: 0; }
  .topbar .brand .logo { width: 26px; height: 26px; flex-basis: 26px; }
  .topbar .meta { max-width: 42%; }
  .side a { padding-left: 9px; padding-right: 9px; }
  .content { padding: 16px 12px 36px; }
  h1 { margin-bottom: 14px; font-size: 21px; }
  h2 { margin-top: 22px; }
  .grid { grid-template-columns: 1fr; gap: 11px; }
  .card { padding: 14px; }
  .card.stat { min-height: 100px; }
  .big, .stat .big { font-size: 28px; }
  .row { align-items: stretch; }
  .row > input, .row > select, .row > button { max-width: 100%; }
  .tag { padding-left: 7px; padding-right: 7px; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

.tot th{background:var(--bar);color:var(--bar-ink);border-color:var(--bar);text-transform:none;font-size:12px;letter-spacing:.02em}
.tot td{font-weight:700;font-size:15px;font-variant-numeric:tabular-nums}
.tot td.big{font-size:20px;color:var(--accent)}
.daygrid table{min-width:520px}
.daygrid td.day{font-weight:700;white-space:nowrap}
.daygrid tr.wend td{background:color-mix(in srgb,var(--mute) 7%,transparent)}
.daygrid td.dtot{font-weight:750}
.wknav{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.wknav .wk{font-weight:700}

/* =========================================================
   PAYCLOCK-STYLE TOTALS BAR
   ========================================================= */
.tw.tot { overflow-x: auto; border-radius: 3px; border: 1px solid #b8c4cf; box-shadow: none; background: var(--card); }
.tw.tot table { min-width: 0; table-layout: fixed; }
.tw.tot th, .tw.tot td { padding: 5px 9px; height: auto; border-right: 1px solid #c5cfd8; border-bottom: 0; white-space: nowrap; }
.tw.tot th:last-child, .tw.tot td:last-child { border-right: 0; }
.tw.tot thead th, .tw.tot table tr:first-child th {
  background: #174f78; color: #fff; border-color: #286087;
  font-size: 10px; line-height: 1.15; font-weight: 700; letter-spacing: .025em;
  text-transform: none; text-align: left; border-radius: 0;
}
.tw.tot tbody td { background: #f4f7f9; color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1.2; text-align: right; font-variant-numeric: tabular-nums; }
.tw.tot tbody td:first-child { text-align: left; }
.tw.tot tbody td.big { font-size: 17px; font-weight: 750; }
.tw.tot tbody tr:last-child td { border-bottom: 0; }

:root[data-theme="dark"] .tw.tot tbody td { background: #202a33; }
:root[data-theme="dark"] .tw.tot th,
:root[data-theme="dark"] .tw.tot td { border-color: #3a4752; }

/* =========================================================
   PAYCLOCK-STYLE DENSE DAY GRID
   ========================================================= */
.tw.daygrid { overflow: auto; border-radius: 3px; border: 1px solid #b8c4cf; box-shadow: none; background: var(--card); }
.tw.daygrid table { min-width: 920px; border-collapse: separate; border-spacing: 0; table-layout: auto; }
.tw.daygrid th, .tw.daygrid td { padding: 4px 7px; height: 27px; border-right: 1px solid #d3dbe2; border-bottom: 1px solid #d3dbe2; white-space: nowrap; vertical-align: middle; }
.tw.daygrid th:last-child, .tw.daygrid td:last-child { border-right: 0; }

.tw.daygrid thead th, .tw.daygrid table tr:first-child th {
  position: sticky; top: 0; z-index: 4;
  background: #174f78; color: #fff; border-color: #286087;
  font-size: 10px; line-height: 1.1; font-weight: 700; letter-spacing: .02em;
  text-transform: none; border-radius: 0; box-shadow: 0 1px 2px rgba(0, 0, 0, .14);
}
.tw.daygrid td.day { font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; }
.tw.daygrid tbody td { background: var(--card); color: var(--ink); font-size: 12px; line-height: 1.2; }
.tw.daygrid tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--card) 94%, var(--accent-bg)); }
.tw.daygrid tbody tr.wend td { background: color-mix(in srgb, var(--card) 88%, var(--mute)); }
.tw.daygrid tbody tr.wend:nth-child(even) td { background: color-mix(in srgb, var(--card) 84%, var(--mute)); }
.tw.daygrid td.dtot { text-align: right; font-weight: 750; font-variant-numeric: tabular-nums; color: var(--ink); border-left: 1px solid #b9c5ce; }

/* In/Out pair grouping: stronger divider after each OUT column */
.tw.daygrid th:nth-child(3), .tw.daygrid td:nth-child(3),
.tw.daygrid th:nth-child(5), .tw.daygrid td:nth-child(5),
.tw.daygrid th:nth-child(7), .tw.daygrid td:nth-child(7),
.tw.daygrid th:nth-child(9), .tw.daygrid td:nth-child(9),
.tw.daygrid th:nth-child(11), .tw.daygrid td:nth-child(11),
.tw.daygrid th:nth-child(13), .tw.daygrid td:nth-child(13) { border-right: 2px solid #b9c5ce; }

/* Punch-editor links read as plain text until hovered */
.tw.daygrid td a { color: inherit; text-decoration: none; font-weight: 500; font-variant-numeric: tabular-nums; text-underline-offset: 2px; }
.tw.daygrid td a:hover { color: var(--accent-strong); text-decoration: underline; text-decoration-thickness: 1px; }
.tw.daygrid td a:focus-visible { color: var(--accent-strong); text-decoration: underline; }

.tw.daygrid tbody tr:hover td { background: var(--accent-bg); }
.tw.daygrid tbody tr.wend:hover td { background: var(--accent-bg); }

:root[data-theme="dark"] .tw.daygrid th,
:root[data-theme="dark"] .tw.daygrid td { border-color: #3a4650; }
:root[data-theme="dark"] .tw.daygrid th:nth-child(3), :root[data-theme="dark"] .tw.daygrid td:nth-child(3),
:root[data-theme="dark"] .tw.daygrid th:nth-child(5), :root[data-theme="dark"] .tw.daygrid td:nth-child(5),
:root[data-theme="dark"] .tw.daygrid th:nth-child(7), :root[data-theme="dark"] .tw.daygrid td:nth-child(7),
:root[data-theme="dark"] .tw.daygrid th:nth-child(9), :root[data-theme="dark"] .tw.daygrid td:nth-child(9),
:root[data-theme="dark"] .tw.daygrid th:nth-child(11), :root[data-theme="dark"] .tw.daygrid td:nth-child(11),
:root[data-theme="dark"] .tw.daygrid th:nth-child(13), :root[data-theme="dark"] .tw.daygrid td:nth-child(13) { border-right-color: #56636e; }

.tcwrap{display:flex;gap:18px;align-items:flex-start}
.tcmain{flex:1 1 auto;min-width:0}
.emplist{flex:0 0 236px;position:sticky;top:calc(var(--th) + 16px);max-height:calc(100vh - var(--th) - 40px);
 overflow-y:auto;background:var(--card);border:1px solid var(--line);border-radius:10px;padding:8px;box-shadow:var(--shadow)}
.emplist .search{width:100%;margin:0 0 8px}
.emplist .dept{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--mute);font-weight:750;
 padding:8px 8px 3px;border-top:1px solid var(--line);margin-top:4px}
.emplist .dept:first-of-type{border-top:0;margin-top:0}
.emplist a{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:6px 8px;border-radius:6px;
 text-decoration:none;color:var(--ink);font-size:13px;line-height:1.2}
.emplist a:hover{background:var(--accent-bg)}
.emplist a.on{background:var(--accent-bg);color:var(--accent-strong);font-weight:700}
.emplist a .num{color:var(--mute);font-size:12px;font-variant-numeric:tabular-nums}
@media(max-width:760px){.tcwrap{flex-direction:column}
 .emplist{position:static;flex-basis:auto;width:100%;max-height:300px}}

.apbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 14px}
.apbar.ok{border-color:var(--in);background:var(--in-bg)}
.emplist a .ok{color:var(--in);font-weight:800;margin-left:4px}

/* =========================================================
   CLASSIC SHELL — matches the TimeForge handoff mockups
   (168px charcoal icon sidebar + steel-blue context bar).
   Appended last so it wins over the earlier top-bar shell.
   ========================================================= */
body{font-family:'Roboto','Segoe UI',Arial,sans-serif;}
.app{display:grid;grid-template-columns:168px 1fr;grid-template-rows:46px 1fr;height:100vh;height:100dvh;}
.side{grid-row:1/3;grid-column:1;position:static;width:auto;height:auto;inset:auto;margin:0;padding:0;border:0;border-right:1px solid #000;background:#23272f;color:#e6e8eb;display:flex;flex-direction:column;overflow-y:auto;z-index:auto;}
.side .brand{height:46px;display:flex;align-items:center;gap:9px;padding:0 12px;color:#fff;font-weight:700;letter-spacing:.14em;font-size:13px;border-bottom:1px solid #343944;flex:none;}
.side .brand .mark{width:24px;height:24px;flex:none;border-radius:6px;background:#e8730c;display:grid;place-items:center;color:#23272f;font-weight:900;font-size:13px;letter-spacing:0;}
.side .brand img.mark{width:34px;height:auto;background:none;border-radius:0;}
.side .brand .lbl{letter-spacing:.02em;font-size:16px;font-weight:600;}
.side .brand small{display:none;}
.side .nav{display:contents;}
.side a{display:flex;align-items:center;gap:10px;height:50px;min-height:0;margin:0;padding:0 12px;color:#e6e8eb;text-decoration:none;font-size:13.5px;font-weight:500;border:0;border-radius:0;transition:background-color .12s ease;}
.side a:hover{background:#2e333d;color:#fff;}
.side a.on{background:#fff4ea;color:#23272f;box-shadow:inset 4px 0 0 #e8730c;font-weight:600;}
.side a svg{width:20px;height:20px;flex:none;opacity:.85;}
.side a.on svg{opacity:1;}
.side a .chev{margin-left:auto;opacity:.6;font-size:13px;}
.side a .nbadge{margin-left:auto;background:#e8730c;color:#fff;border:0;border-radius:9px;font-size:10px;font-weight:700;padding:0 6px;line-height:16px;}
.side .nav-sep{height:1px;background:#343944;margin:8px 10px;flex:none;}
.side .nav-grp{font-size:9.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#6d7787;padding:4px 12px 2px;flex:none;}
.side .side-foot{margin-top:auto;padding:10px 12px;font-size:11px;line-height:1.4;color:#8a94a3;border-top:1px solid #343944;flex:none;font-variant-numeric:tabular-nums;}

.bar{grid-column:2;grid-row:1;position:static;height:auto;inset:auto;background:#24557f;color:#fff;display:flex;align-items:center;gap:2px;padding:0 8px;white-space:nowrap;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;box-shadow:none;z-index:auto;}
.bar::-webkit-scrollbar{display:none;}
.bar .lbl{font-weight:700;margin-right:4px;opacity:.9;}
.bar .ctl{display:inline-flex;align-items:center;gap:6px;padding:0 10px;height:46px;color:#fff;text-decoration:none;cursor:pointer;font-size:13px;}
.bar a.ctl:hover,.bar .ctl.btn-like:hover{background:rgba(255,255,255,.08);}
.bar .sep{width:1px;height:22px;background:rgba(255,255,255,.25);margin:0 4px;flex:none;}
.bar .right{margin-left:auto;display:flex;align-items:center;gap:0;}
.bar .right .badge{background:#e8730c;color:#fff;border-radius:9px;font-size:10px;padding:0 5px;margin-left:-10px;margin-top:-14px;font-weight:700;}
.bar svg{width:18px;height:18px;}
.bar .burger{display:none;background:transparent;border:0;color:#fff;height:46px;width:40px;align-items:center;justify-content:center;cursor:pointer;padding:0;}
.bar .burger svg{width:22px;height:22px;}

.detail{grid-column:2;grid-row:2;min-width:0;overflow:auto;padding:16px 18px 40px;background:var(--bg);}
.detail.tc-loading>*{opacity:.55;transition:opacity .12s .25s;}
.detail > h1:first-child,.detail h1{margin:2px 0 14px;font-size:22px;font-weight:500;letter-spacing:0;text-transform:none;color:var(--ink);}

@media (max-width:760px){
  .app{grid-template-columns:1fr;}
  .side{position:fixed;top:0;left:0;bottom:0;width:210px;transform:translateX(-100%);transition:transform .18s ease;z-index:60;box-shadow:0 0 40px rgba(0,0,0,.5);}
  body.nav-open .side{transform:none;}
  body.nav-open::after{content:"";position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:55;}
  .bar{grid-column:1;}
  .detail{grid-column:1;padding:14px 14px 36px;}
  .bar .burger{display:inline-flex;}
  .bar .ctl .lbl{display:none;}
}

/* dashboard widget layout */
.dash{display:flex;gap:18px;align-items:flex-start;flex-wrap:wrap;padding-top:22px}
.dash-l{flex:0 0 500px;width:500px;max-width:100%;min-width:0}
.dash-r{flex:0 0 500px;width:500px;max-width:100%;min-width:0;display:flex;flex-direction:column;gap:16px}
.io-tbl th,.io-tbl td{min-width:0}
.ioboard .io-wrap{overflow-x:hidden}
.wtray{position:fixed;right:14px;top:52px;z-index:20;text-align:right}
.io-tbl th{text-transform:none;letter-spacing:0;font-size:13px;font-weight:400;color:#333}
.wtray-btn{border:1px solid #c3c7cc;background:#f3f4f6;color:#555;font-size:16px;width:28px;height:24px;cursor:pointer;padding:0}
.wtray-box{background:#fff;border:1px solid #9c9b9a;min-width:160px;margin-top:2px;text-align:left}
.wtray-h{background:#ececec;text-align:center;border-bottom:1px solid #9c9b9a;font-size:14px}
.wtray-box a{display:block;padding:7px 10px;font-size:13px;color:#15639c;text-decoration:none;cursor:pointer}
.wtray-box a:hover{background:#eef5f9}
.wtray-empty{padding:7px 10px;font-size:12px;color:#888}
.panel{padding:0;overflow:hidden}
/* Integrations (PayClock): saved exports list + wizard */
.ig { display: grid; grid-template-columns: 210px 1fr; height: 100%; min-height: 0; }
.ig-list { background: #e9eaec; border-right: 1px solid var(--grid-line); overflow-y: auto; }
.ig-search { width: calc(100% - 12px); margin: 6px; height: 26px; border: 1px solid #b9bfc7; padding: 0 6px;
  font-style: italic; font-size: 12.5px; }
.ig-hdr { padding: 6px 10px; font-size: 13px; color: #444; border-bottom: 1px solid #d3d6d9; text-align: center; }
.ig-item { display: block; padding: 9px 12px; border-bottom: 1px solid #d9dcdf; color: var(--text); text-decoration: none; font-size: 13.5px; }
.ig-item:hover { background: #dfe3e7; }
.ig-item.on { background: var(--row-sel, #cdeafd); box-shadow: inset 3px 0 0 #0a5f80; }
.ig-kind { display: block; font-size: 11.5px; color: #666; margin-top: 2px; }
.ig-main { padding: 18px 24px; overflow: auto; background: #fff; }
.ig-empty h2, .ig-detail h2 { font-size: 20px; font-weight: 400; margin: 0 0 12px; text-transform: none; letter-spacing: 0; }
.bar .ig-tb { padding: 0 10px; height: 46px; }
.bar .ig-tb:disabled { opacity: .45; cursor: default; }
.ig-empty a { color: #1a0dab; }
.ig-type { color: #555; font-size: 13px; margin: -6px 0 16px; }
.ig-cols { display: flex; gap: 48px; flex-wrap: wrap; }
.ig-cols h3 { font-size: 17px; font-weight: 400; margin: 0 0 10px; }
.ig-per { font-size: 14px; }
.ig-sum { list-style: disc; padding-left: 18px; margin: 0; font-size: 13px; line-height: 1.55; }
.ig-err { border: 1px solid #c9a227; border-left-width: 4px; background: #fff6dc; color: #4d3b00; padding: 8px 12px; margin-bottom: 14px; font-size: 13.5px; }
.ig-wiz { max-width: 760px; height: min(560px, 88vh); }
.ig-wbody { display: grid; grid-template-columns: 210px 1fr; grid-template-rows: 1fr auto; flex: 1; min-height: 0; }
.ig-cur { background: #e9eaec; padding: 10px 12px; overflow-y: auto; font-size: 12.5px; }
.ig-cur .ig-sum { font-size: 12px; line-height: 1.45; margin-top: 6px; }
.ig-steps { padding: 16px 20px; overflow-y: auto; }
.ig-step h3 { font-size: 19px; font-weight: 400; margin: 0 0 8px; }
.ig-step p { font-size: 13px; color: #333; margin: 0 0 12px; }
.ig-step h4 { font-size: 16px; font-weight: 400; margin: 0 0 10px; }
.ig-step input[type=text], .ig-step input:not([type]), .ig-step select { height: 28px; border: 1px solid #9c9b9a; border-radius: 2px; font-size: 13px; padding: 0 6px; min-width: 240px; }
.ig-step input[name=delim_custom] { min-width: 0; width: 46px; }
.ig-cols2 { display: flex; gap: 36px; flex-wrap: wrap; }
.ig-box { border: 1px solid #c3c7cc; max-width: 220px; }
.ig-foot { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 6px; padding: 10px 14px; background: #e9eaec; border-top: 1px solid #d3d6d9; }
.ig-sep { width: 1px; background: #b9bfc7; margin: 0 4px; }
.req { color: #b00020; margin-left: 2px; }
/* collapsible sidebar (PayClock "‹") + User Preferences → Keep Navigation Menu Collapsed */
.side .brand { position: relative; }
.side .navtog { margin-left: auto; background: none; border: 0; color: #c9d1dd; font-size: 22px; line-height: 1;
  cursor: pointer; padding: 0 2px 3px; }
.side .navtog:hover { color: #fff; }
.app.navcol { grid-template-columns: 56px 1fr; }
.app.navcol .side .lbl, .app.navcol .side .chev { display: none; }
.app.navcol .side .brand { padding: 0 4px 0 13px; }
.app.navcol .side .brand .mark { display: none; }
.app.navcol .side .navtog { transform: rotate(180deg); margin: 0 auto; }
.app.navcol .side a { justify-content: center; padding: 0; }
.up-area.up-adim { color: #9aa1ab; }
.io-wrap { position: relative; }
.io-wm { position: absolute; top: 120px; left: 0; right: 0; text-align: center; font-size: 30px;
  color: #8f969f; transform: rotate(-14deg); pointer-events: none; }
.io-wm[hidden] { display: none; }
/* In/Out Board — PayClock two-column (Name | In/Out): one clean vertical divider
   (border-left on the In/Out column, no horizontal row lines), colored cells. */
.ioboard .io-wrap{overflow:auto;min-height:70vh}
.io-tbl{width:100%;min-width:0;border-collapse:collapse;font-size:14px;table-layout:fixed}
.io-tbl td:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.io-tbl thead th{position:sticky;top:0;text-align:left;font-weight:400;font-size:13px;color:#555;
  padding:8px 12px;background:#f6f7f8;border-bottom:1px solid var(--grid-line)}
.io-tbl thead th.io-h{text-align:center;width:90px;border-left:1px solid #c9ccd1}
.io-tbl td{padding:8px 12px;border:0}
.io-tbl td a{color:var(--link);text-decoration:none}
.io-tbl td a:hover{text-decoration:underline}
.io-tbl td.io{width:90px;text-align:center;border-left:1px solid #c9ccd1;font-weight:700}
.io-tbl td.io-in{background:#d7f3d8;color:#2e7d32}
.io-tbl td.io-out{background:#f9bfc0;color:#b42318}
.io-tbl tbody tr:hover td:first-child{background:#f3f7fb}
.io-filter{display:flex;gap:12px;align-items:center;padding:8px 12px;border-bottom:1px solid var(--grid-line);background:#fafbfc;font-size:13px;flex-wrap:wrap}
.io-filter[hidden]{display:none}
.io-filter select,.io-filter input{height:28px;border:1px solid #b9bfc7;border-radius:3px;padding:0 6px;font-size:13px}
.io-filter .io-count{color:var(--muted);font-size:12px}
.ioboard .phead .menu{left:auto;right:4px}   /* open leftward so it isn't clipped by the card edge */
.wagewrap{position:relative;display:inline-block}
.wagewrap .wagetip{position:absolute;top:10px;left:40%;transform:translateX(-50%);background:#1f2328;color:#fff;
  padding:7px 12px;border-radius:7px;font-size:13px;line-height:1.3;text-align:center;white-space:nowrap;
  opacity:0;pointer-events:none;transition:opacity .12s;z-index:6;box-shadow:0 6px 18px rgba(0,0,0,.3)}
.wagewrap .wagetip b{font-size:16px}
.wagewrap:hover .wagetip{opacity:1}
.io-tbl tr.io-grp td{background:#eef2f6;font-weight:700;font-size:12px;color:#3a3f47;padding:6px 12px;border-top:1px solid var(--grid-line)}
/* User Preferences dialog (the Group/Filter target) */
.prefs-ov{position:fixed;inset:0;background:rgba(16,21,28,.97);display:none;z-index:130;padding:4vh 2vw;overflow:auto}
.prefs-ov.open{display:block}
.prefs-modal{background:#fff;max-width:1180px;margin:0 auto;box-shadow:0 18px 50px rgba(0,0,0,.45);min-height:60vh;font-size:13px}
.prefs-title{background:#006e95;color:#fff;text-align:center;font-size:16px;padding:7px}
.prefs-toolbar{background:#0a5f80;color:#fff;display:flex;align-items:center;gap:2px;padding:5px 10px}
.prefs-toolbar .etb{background:none;border:0;color:#fff;cursor:pointer;font:inherit;font-size:13px;padding:5px 10px;display:inline-flex;gap:5px;align-items:center}
.prefs-toolbar .etb:hover{background:rgba(255,255,255,.12)}
.prefs-toolbar .etb-sep{width:1px;height:20px;background:rgba(255,255,255,.35);margin:0 6px}
.prefs-body{display:grid;grid-template-columns:200px 1fr;min-height:50vh}
.prefs-nav{border-right:1px solid var(--grid-line);background:#fafbfc;padding:10px 0}
.prefs-nav .pf-search{width:88%;margin:0 6% 8px;height:28px;border:1px solid #b9bfc7;border-radius:3px;padding:0 6px;font-size:13px}
.prefs-nav a{display:block;padding:8px 16px;color:var(--text);text-decoration:none;font-size:13.5px;cursor:pointer}
.prefs-nav a.on{background:#cdeafd;font-weight:600}
.prefs-nav a.pf-dis{color:#9aa1ab;cursor:default}
.prefs-cols{display:flex;gap:40px;flex-wrap:wrap;padding:22px 26px}
.prefs-cols section h3{font-size:18px;font-weight:400;color:#2b2f36;margin:0 0 12px}
.pf-cb{display:flex;align-items:center;gap:8px;font-size:13px;margin:7px 0}
.pf-lbl{font-size:12.5px;color:#444;margin:14px 0 3px}
.prefs-cols select{height:26px;border:1px solid #9c9b9a;border-radius:2px;padding:0 4px;font-size:13px;min-width:180px}
.pf-box{border:1px solid #c9ccd1;border-radius:2px;margin-top:4px;min-width:180px}
.pf-box-h{padding:5px 10px;border-bottom:1px solid #c9ccd1;color:#555}
.pf-deptlist{max-height:180px;overflow:auto;padding:6px 10px}
.pf-deptlist .pf-cb{margin:5px 0}
/* Access Profile editor (Setup→Access Profiles page, and the Users "View Details" pop-up) */
.ap-ov{position:fixed;inset:0;background:rgba(16,21,28,.97);display:none;z-index:135;padding:3vh 2vw;overflow:auto}
.ap-ov.open{display:flex;align-items:flex-start;justify-content:center}
.ap-modal{background:#fff;width:100%;max-width:1120px;margin:0 auto;box-shadow:0 18px 50px rgba(0,0,0,.45);
  display:flex;flex-direction:column;max-height:94vh;font-size:13px}
.ap-inline .ap-modal{box-shadow:0 1px 4px rgba(0,0,0,.12);border:1px solid var(--grid-line);max-height:none}
.ap-title{background:#006e95;color:#fff;text-align:center;font-size:16px;padding:7px;flex:none}
.ap-toolbar{background:#0a5f80;color:#fff;display:flex;align-items:center;gap:2px;padding:6px 10px;flex:none}
.ap-toolbar .ap-search{height:28px;border:1px solid #2a6f8e;border-radius:3px;padding:0 8px;font-size:13px;margin-right:12px;width:200px}
.ap-toolbar .etb{background:none;border:0;color:#fff;cursor:pointer;font:inherit;font-size:13px;padding:5px 10px;display:inline-flex;gap:5px;align-items:center}
.ap-toolbar .etb:hover{background:rgba(255,255,255,.12)}
.ap-toolbar .etb-sep{width:1px;height:20px;background:rgba(255,255,255,.35);margin:0 6px}
.ap-body{display:grid;grid-template-columns:230px 1fr;flex:1;min-height:0}
.ap-list{background:#e9e9e9;border-right:1px solid #c9ccd1;overflow:auto}
.ap-list-h{padding:8px 14px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#666;background:#fff;border-bottom:1px solid #c9ccd1}
.ap-item{padding:9px 14px;cursor:pointer;font-size:13.5px;border-bottom:1px solid #dcdcdc;color:var(--text)}
.ap-item.on{background:#cdeafd}
.ap-main{padding:22px 26px;overflow:auto;min-width:0}
.ap-dcols{display:flex;gap:40px;flex-wrap:wrap;align-items:flex-start}
.ap-details{flex:0 0 240px}
.ap-details h3,.ap-perms h3{font-size:18px;font-weight:400;color:#2b2f36;margin:2px 0 14px}
.ap-lbl{display:block;font-size:12.5px;color:#444;margin:0 0 3px}
.ap-details input{width:100%;height:26px;border:1px solid #9c9b9a;border-radius:2px;padding:0 6px;font-size:13px}
.ap-perms{flex:1 1 560px;min-width:0}
.ap-cols{display:flex;border:1px solid #c9ccd1;max-width:700px}
.ap-modlist{flex:0 0 200px;border-right:1px solid #c9ccd1}
.ap-mod{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 12px;cursor:pointer;font-size:13px;border-bottom:1px solid #eef0f2}
.ap-mod:last-child{border-bottom:0}
.ap-mod.on{background:#eef2f6;font-weight:600}
.ap-mod input{margin:0;cursor:pointer;flex:none}
.ap-panes{flex:1;min-width:0;overflow:hidden}
.ap-perm{width:100%;min-width:0;border-collapse:collapse;table-layout:fixed}
.ap-perm th{text-align:left;font-size:12px;font-weight:400;color:#555;background:#f1f5f8;border-bottom:1px solid #c9ccd1;padding:9px 12px}
.ap-perm td{padding:8px 12px;border-bottom:1px solid #eef0f2;font-size:13px;vertical-align:middle;overflow:hidden;text-overflow:ellipsis}
.ap-perm td:first-child,.ap-perm th:first-child{white-space:normal;word-break:break-word}
.ap-perm th:last-child,.ap-perm td:last-child{width:190px}
.ap-perm select{width:100%;min-width:0;max-width:100%;height:28px;border:1px solid #9c9b9a;border-radius:2px;font-size:13px;background:#fff}
.req{color:#c0392b}
/* Users view — PayClock full-height layout: teal toolbar, gray full-height user column */
.uv{display:flex;flex-direction:column;height:100%;min-height:0;background:#fff;font-size:13px}
.uv-bar{display:flex;align-items:center;background:#0a5f80;color:#fff;flex:none;height:44px}
.uv-searchwrap{width:230px;flex:none;padding:0 10px}
.uv-search{width:100%;height:28px;border:1px solid #2a6f8e;border-radius:3px;padding:0 8px;font-size:13px;background:#fff}
.uv-bar .uv-btn{background:none;border:0;color:#fff;cursor:pointer;font:inherit;font-size:14px;padding:0 14px;height:44px;display:inline-flex;align-items:center;gap:6px;text-decoration:none}
.uv-bar .uv-btn:hover{background:rgba(255,255,255,.1)}
.uv-bar form.inline{display:inline-flex}
.uv-sep{width:1px;height:22px;background:rgba(255,255,255,.3);margin:0 4px}
.bar.bar-tools{padding-left:0}
.bar .uv-searchwrap{width:230px;padding:0 6px 0 10px;display:flex;align-items:center;gap:6px;box-sizing:border-box}
.bar .uv-search{flex:1;min-width:0}
.bar .uv-btn{background:none;border:0;color:#fff;cursor:pointer;font:inherit;font-size:14px;padding:0 13px;height:46px;display:inline-flex;align-items:center;gap:6px;text-decoration:none}
.bar .uv-btn:hover{background:rgba(255,255,255,.1)}
.bar .uv-btn:disabled{opacity:.45;cursor:default;background:none}
.bar .uv-btn.dirty-off{opacity:.45;pointer-events:none}
.bar .uv-burger{width:30px;height:28px;flex:none;border:1px solid #2a6f8e;border-radius:3px;background:#fff;cursor:pointer;
  display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:0}
.bar .uv-burger span{display:block;width:15px;height:2px;background:#444}
.bar .menu-wrap .menu{z-index:3600}
.uv-cols .uv-listhdr{display:flex;padding:0}
.uv-cols .uv-listhdr span{padding:9px 14px}
.uv-cols .uv-listhdr span:first-child{flex:1;border-right:1px solid #c9ccd1}
.uv-cols .uv-listhdr span:last-child,.uv-cols a .uv-enum{width:72px;flex:none;box-sizing:border-box}
.uv-cols a{display:flex!important;padding:0!important}
.uv-cols a[style*="display: none"],.uv-cols a[style*="display:none"],
.sch-list a[style*="display: none"],.sch-list a[style*="display:none"]{display:none!important}  /* list filters / search hide rows inline */
.uv-cols a .uv-ename{padding:9px 14px;border-right:1px solid #dcdcdc}
.uv-cols a .uv-enum{margin:0;padding:9px 10px;font-size:13px;color:var(--text);text-align:center}
.lp-grp{padding:7px 10px;font-size:13px;font-weight:600;background:#dcdfe2;border-bottom:1px solid #c9ccd1;cursor:pointer;user-select:none}
tr.lp-grp td{padding:12px 8px 8px;font-size:13.33px;font-weight:700;color:#333;background:#ebebeb;text-align:left}
.sum-ico{display:inline-flex;width:16px;vertical-align:-2px;margin-right:4px}
.lp-tw{display:inline-block;width:12px;color:#555;font-size:11px}
.menu a[data-lpt]{padding-left:28px;position:relative}
.menu a[data-lpt].on::before{content:"✓";position:absolute;left:10px;font-weight:700}
.lp-box{border:1px solid #d3d6d9;max-height:380px;overflow:auto;padding:6px 8px;margin-top:4px}
.lp-box .ss-cb{margin:0 0 6px}
/* ===== Scheduling (PayClock Month / Day) ===== */
.sch-tabs{display:flex;align-items:flex-end;background:#0e6e96;height:34px;position:relative;flex:none}
.sch-tabs>a{color:#fff;text-decoration:none;font-size:17px;font-weight:300;padding:0 12px;height:30px;display:flex;align-items:center}
.sch-tabs>a.on{background:#fff;color:#222}
.sch-nav{position:absolute;left:50%;transform:translateX(-50%);bottom:0;display:flex;align-items:center;gap:6px;
  background:#fff;height:28px;padding:0 14px;border-radius:14px 14px 0 0}
.sch-arrow{color:#333;text-decoration:none;font-size:20px;padding:0 6px;line-height:1}
.sch-date{position:relative;display:inline-flex;align-items:center;gap:8px;border:1px solid #bbb;height:22px;
  padding:0 6px 0 30px;font-size:13px;min-width:130px;justify-content:space-between;cursor:pointer}
.sch-date input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}
.sch-calic{font-size:13px}
.sch-wrap{display:flex;height:calc(100vh - 46px - 34px);background:#fff;padding:8px 10px 10px;box-sizing:border-box;gap:0}
.sch-left{width:170px;flex:none;display:flex;flex-direction:column;background:#e3e3e3;min-height:0}
.sch-lhead{display:flex;align-items:center;gap:6px;background:#0d6e95;height:34px;padding:0 6px;flex:none}
.sch-lhead .uv-search{flex:1;min-width:0;height:24px;font-size:12px}
.sch-lhead .uv-burger{width:24px;height:24px;border:0;background:transparent;display:inline-flex;flex-direction:column;
  align-items:center;justify-content:center;gap:3px;cursor:pointer;padding:0}
.sch-lhead .uv-burger span{display:block;width:15px;height:2px;background:#fff}
.sch-all{display:block;padding:9px 8px;font-size:13px;font-weight:700;color:#333;text-decoration:none;background:#e3e3e3}
.sch-all.on{background:#cdeafd}
.sch-list{width:auto;border:0;background:#fff;flex:0 1 auto;overflow:auto;min-height:0}
.sch-list a{padding:7px 8px 7px 28px;font-size:13px;border-bottom:0}
.sch-right{flex:1;min-width:0;display:flex}
.sch-grid{flex:1;display:grid;grid-template-columns:repeat(7,1fr);grid-template-rows:34px;grid-auto-rows:minmax(80px,1fr);
  border-left:1px solid #c9ccd1}
.sch-dow{background:#0d6e95;color:#fff;font-size:13px;display:flex;align-items:center;justify-content:center}
.sch-cell{position:relative;display:flex;border-right:1px solid #c9ccd1;border-bottom:1px solid #c9ccd1;background:#f7f7f7;
  cursor:pointer;min-width:0;user-select:none}
.sch-num{width:28px;flex:none;background:#e4e4e4;color:#777;font-size:13px;text-align:center;padding-top:8px;line-height:1.2}
.sch-body{flex:1;min-width:0;padding:6px 6px;overflow:hidden}
.sch-cell.past{background:#c4c4c4}
.sch-cell.past .sch-num{background:#adadad;color:#666}
.sch-cell.pstart{background:#e3efd8}
.sch-cell.pstart .sch-num{background:#7ab648;color:#24410f}
.sch-cell.pstart .sch-num::after{content:"▸";display:block;font-size:10px}
.sch-cell.today{background:#fdefb8}
.sch-cell.today .sch-num{background:#f4bf1c;color:#4a3800;font-weight:700}
.sch-cell.today .sch-num::after{content:"●";display:block;font-size:8px}
.sch-cell.sel{outline:2px solid #0a6f94;outline-offset:-2px;background:#c8dbe7}
.sch-cell.sel .sch-num{background:#0a6f94;color:#fff}
.sch-pen{display:none;position:absolute;right:-12px;top:50%;transform:translateY(-50%);width:24px;height:24px;border:0;
  background:#0a6f94;color:#fff;font-size:13px;cursor:pointer;z-index:2}
.sch-cell.sel .sch-pen,.sch-drow.sel .sch-pen{display:block}
.sch-ln{font-size:11.5px;color:#123;background:#d4e6f3;border-left:3px solid #2f7fb5;padding:1px 4px;margin:0 0 2px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sch-ln.ov{border-left-style:dashed}
.sch-ln.off{background:#eee;border-left-color:#888;color:#444;font-weight:600}
.sch-ln.nw{background:#f3e3f7;border-left-color:#8a4fa0}
.sch-ln.more{background:none;border:0;color:#555;font-style:italic}
/* Day view */
.sch-dayv{flex-direction:column}
.sch-dhead{display:flex;flex:none}
.sch-lcell{background:#0d6e95}
.sch-hours{flex:1;display:grid;grid-template-columns:repeat(24,1fr);background:#2c2f35;color:#fff;font-size:12px;
  height:34px;align-items:start}
.sch-hr{border-left:1px solid #666;padding:2px 3px;height:100%;box-sizing:border-box;
  background:repeating-linear-gradient(90deg,transparent 0 calc(25% - 1px),#777 calc(25% - 1px) 25%) bottom/100% 6px no-repeat}
.sch-drows{flex:1;overflow:auto;background:#e3e3e3}
.sch-drow{display:flex;height:30px;background:#fff;border-bottom:1px solid #eee;position:relative;cursor:pointer}
.sch-drow.sel{background:#cdeafd}
.sch-dname{width:170px;flex:none;padding:0 8px 0 28px;font-size:13px;display:flex;align-items:center;box-sizing:border-box;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sch-tl{flex:1;position:relative;background:repeating-linear-gradient(90deg,#ccc 0 1px,transparent 1px calc(100%/24))}
.sch-bar{position:absolute;top:4px;bottom:4px;background:#3d8fc6;color:#fff;font-size:11.5px;padding:0 6px;
  display:flex;align-items:center;white-space:nowrap;overflow:hidden;border-radius:2px}
.sch-bar.ov{background:repeating-linear-gradient(45deg,#3d8fc6 0 8px,#3482b6 8px 16px)}
.sch-bar.off{background:#ddd;color:#444;font-weight:600}
.sch-nwtag{position:absolute;right:6px;top:6px;font-size:11px;background:#f3e3f7;border-left:3px solid #8a4fa0;padding:1px 4px}
.sch-drow .sch-pen{right:auto;left:158px}
/* Day panel (slides in from the right) */
.sch-panel{position:fixed;right:0;top:46px;bottom:0;width:256px;background:#08506c;color:#fff;z-index:3000;
  box-shadow:-6px 0 18px rgba(0,0,0,.3);display:flex;flex-direction:column}
.sch-ptitle{background:#e9e9e9;color:#222;text-align:center;font-size:19px;padding:8px}
.sch-pbar{display:flex;gap:4px;padding:8px 10px;background:#0a5f80}
.sch-pbar button{background:none;border:0;color:#fff;font:13px var(--font);cursor:pointer;padding:3px 6px}
.sch-pbar button:hover{background:rgba(255,255,255,.12)}
.sch-pemp{background:#0d6e95;padding:9px 14px;font-size:16px;margin-top:6px}
.sch-psec{background:#0d6e95;margin-top:6px;padding:10px 14px}
.sch-psec h4{margin:0 0 10px;font-size:16px;font-weight:400}
.sch-psec select,.sch-psec input{width:100%;height:26px;min-height:0;margin:0 0 8px;padding:0 4px;font-size:12.5px;border:1px solid #9c9b9a;
  border-radius:2px;box-sizing:border-box;background:#fff;color:#222}
.sch-custom{display:flex;gap:6px}
.sch-wd{display:flex;flex-wrap:wrap;gap:4px 10px;margin:0 0 8px;font-size:12.5px}
.sch-wd label,.sch-chk{display:flex;align-items:center;gap:4px;cursor:pointer}
.sch-wd input,.sch-chk input{width:auto;height:auto;margin:0}
.sch-wdq{display:flex;gap:10px;width:100%;font-size:12px}.sch-wdq a{color:#d5ecf6}
.sch-chk{font-size:12.5px;align-items:flex-start;margin:4px 0 10px}.sch-chk input{margin-top:2px}
.sch-clrp{font-size:12.5px;margin:0 0 8px;color:#d5ecf6}
.sch-custom label{flex:1;font-size:12px}
.sch-note{font-size:12px;color:#d5ecf6;min-height:16px}
.sch-note.err{color:#fff;background:#b42318;padding:3px 6px}
.sch-nwbtns{display:flex;gap:4px;margin-bottom:6px}
.sch-nwbtns button{width:30px;height:28px;background:#fff;color:#222;border:1px solid #9c9b9a;font-size:16px;cursor:pointer;padding:0}
.sch-nwt{width:100%;border-collapse:collapse;background:#fff;color:#222;font-size:12px;margin-bottom:8px;table-layout:fixed}
.sch-nwt th{text-align:left;font-weight:400;padding:4px;border:1px solid #ccc;background:#f3f3f3;text-transform:none;
  letter-spacing:0;font-size:12px;color:#333}
.sch-nwt th:last-child{width:62px}
.sch-nwt td{padding:2px;border:1px solid #ddd}
.sch-nwt select,.sch-nwt input{margin:0}
.sch-bt{display:inline-block;background:#fff;color:#222;font-size:12.5px;padding:5px 10px;border-radius:2px;text-decoration:none}
/* Clocks page */
.clk-list{width:250px}
.clk-st{font-size:12px;white-space:nowrap}
.clk-actions{margin-top:10px;display:flex;gap:6px;flex-wrap:wrap}
.clk-sync{margin-top:10px;padding:8px 10px;border-radius:4px;font-size:13px;line-height:1.45;border:1px solid #c9d3dc;background:#f4f7fa;max-width:420px}
.clk-sync.pending{border-left:4px solid #1878a8}.clk-sync.done{border-left:4px solid #1d6b2a}
.clk-sync.bad{border-left:4px solid #a3271c;background:#fdf1ef}
.up-modal.clk-syncm{max-width:480px;height:auto}
.ss-cb.clk-sync-opt{display:grid;grid-template-columns:22px 1fr;align-items:start;margin:12px 0 4px}.clk-sync-opt input{margin:2px 0 0}.clk-sync-opt small{grid-column:2;display:block;margin-top:2px;color:#5c6670;font-weight:400;line-height:1.35}
.clk-sync-rng[hidden]{display:none}.clk-sync-rng{display:flex;gap:6px;margin-left:22px;flex-wrap:wrap}.clk-sync-rng .clk-in{width:auto}
.clk-sync-last[hidden]{display:none}.clk-sync-last{display:inline-flex;gap:6px;align-items:center}
.clk-sync-last input{width:80px !important}.clk-sync-cust[hidden]{display:none}.clk-sync-cust{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;flex-basis:100%}
.clk-sync-cust label{display:flex;gap:6px;align-items:center;font-size:13px}.clk-sync-cust small{flex-basis:100%;color:#666}
.clk-st.on{color:#1d6b2a}.clk-st.off{color:#a3271c;font-weight:600}.clk-st.never{color:#6a7076}
.uv-cols a .clk-st{width:72px;flex:none;text-align:center;padding:9px 4px;display:flex;align-items:center;justify-content:center}
.clk-info{min-width:280px}
.clk-i{display:flex;gap:10px;font-size:13px;margin:0 0 8px}
.clk-i span{width:130px;color:#555;flex:none}
.clk-err{font-size:12.5px;background:#fde8e8;color:#8a1c1c;border-left:3px solid #b42318;padding:6px 8px;margin:6px 0 10px;max-width:360px}
.clk-emps{padding:16px 22px;max-width:560px}
.clk-emps .re-row2 .re-search{flex:1}
.clk-elist{max-height:52vh}
.clk-ep .ep{border:1px solid #c9ccd1;background:#fff}.clk-ep .ep-list{max-height:52vh}
.clk-wide{max-width:640px}
.clk-flash{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.up-modal.clk-newm{max-width:430px;height:auto}
.clk-newbody{padding:14px 18px 18px}
.clk-types{border:1px solid #c9ccd1;margin-bottom:6px}
.clk-th{background:#eceef0;font-size:13px;padding:6px 8px;border-bottom:1px solid #d3d6d9}
.clk-type{display:block;padding:8px;font-size:13.5px;cursor:pointer;border-bottom:1px solid #eef0f2}
.clk-type input{display:inline-block;width:auto;height:auto;min-height:0;margin:0 6px 0 0;vertical-align:middle}
.clk-type small{display:block;color:#6a7076;margin-left:22px;font-size:12px}
.clk-in{width:100%;height:30px;border:1px solid #9c9b9a;border-radius:2px;padding:0 8px;font-size:13px;box-sizing:border-box}
/* Bulk Add/Edit Employees */
.bk-page{padding:14px 16px}
.bk-h{font-size:21px;font-weight:400;margin:0 0 12px}
.bk-top{display:flex;align-items:center;gap:6px;margin-bottom:8px}
.bk-search{height:24px;border:1px solid #9c9b9a;padding:0 6px;font-size:12.5px;width:280px}
.bk-sp{flex:1}
.me-c{padding:16px;text-align:center}.me-date{font-size:22px;color:#555}.me-time{font-size:40px;color:#555;margin:4px 0 10px}
.me-st{font-weight:700;margin-bottom:10px}.me-st span{font-weight:400;color:#555}
.me-f{display:flex;gap:8px;justify-content:center;align-items:center}.me-msg{background:#e6f1fb;border-left:3px solid #0b4a7a;padding:6px 10px;margin-bottom:8px;text-align:left}
.me-w{display:grid;grid-template-columns:repeat(7,1fr);gap:1px;background:#d5d5d5;margin:10px}
.me-d{background:#f8f8f8;min-height:70px;display:flex;flex-direction:column;font-size:12px}
.me-d b{background:#2f5c84;color:#fff;font-weight:400;text-align:center;padding:5px 2px}.me-d span{padding:6px;text-align:center}
.me-d.me-t b{background:#ffcc00;color:#4a3800}.me-d.me-t{background:#fff0b3}
.bk-ask{position:fixed;inset:0;background:rgba(16,21,28,.5);display:flex;align-items:center;justify-content:center;z-index:500}
.bk-askb{background:#fff;width:min(400px,92vw);box-shadow:0 12px 40px rgba(0,0,0,.3)}
.bk-askt{background:#005278;color:#fff;padding:10px 14px;font-size:15px}.bk-askb p{padding:14px;margin:0;font-size:14px}
.bk-aska{display:flex;justify-content:flex-end;gap:8px;padding:0 14px 14px}
.bk-msg{background:#fde8e8;color:#8a1c1c;border-left:3px solid #b42318;padding:7px 10px;font-size:13px;margin:0 0 8px}
.bk-msg.ok{background:#e7f4e8;color:#1d5c25;border-left-color:#2e7d32}
.bk-wrap{overflow:auto;border:1px solid #c9ccd1;max-height:calc(100vh - 260px)}
.bk-grid{border-collapse:collapse;min-width:100%;font-size:12.5px}
.bk-grid thead th{background:#2b5f86!important;color:#fff!important;font-weight:400;text-transform:none;letter-spacing:0;font-size:13px;
  padding:7px 8px;text-align:left;white-space:nowrap;position:sticky;top:0;z-index:1;border-right:1px solid #3d739b}
.bk-grid td{border:1px solid #dcdfe3;padding:2px;background:#fff;white-space:nowrap}
.bk-grid td.bad{background:#fde3e3;outline:1px solid #e07a7a;outline-offset:-1px}
.bk-grid td.bad::after{content:"!";color:#a3271c;font-weight:700;padding:0 3px}
.bk-grid input,.bk-grid select{height:24px;min-height:0;border:1px solid transparent;background:transparent;font-size:12.5px;
  padding:0 4px;width:120px;box-sizing:border-box}
.bk-grid input:focus,.bk-grid select:focus{border-color:#2b5f86;background:#fff}
.bk-grid input[size="2"]{width:34px}
.bk-x button{border:0;background:none;cursor:pointer;color:#555;font-size:14px}
.bk-empty{padding:18px;text-align:center;color:#777}
.bk-foot{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin:8px 0}
.bk-save.dis{opacity:.55}
.bk-errs{border:1px solid #c9ccd1;padding:5px 12px;font-size:12.5px;color:#777;background:#f6f6f6}
.bk-errs.has{color:#8a1c1c;border-color:#e3b9b4;background:#fdf1f1}
.bar a.ctl.dis{opacity:.45}
.up-modal.bk-applym{max-width:640px;height:auto}
.bk-applyb{padding:12px 18px 18px}
.bk-applyb h3{font-size:18px;font-weight:400;margin:0 0 10px}
.bk-applyrow{display:flex;gap:14px}
.bk-applyrow label{display:flex;flex-direction:column;font-size:12.5px;gap:4px;flex:1}
.bk-applyrow select{height:28px}
.uv-caret{padding:0 8px!important}
#childtable th{text-transform:none;letter-spacing:0;font-size:13px;font-weight:400;color:#333}
#childtable .adv{display:none}
#childtable.show-adv .adv{display:table-cell}
#childtable select{min-height:0;height:28px}
/* Notification Center + Help menu */
.nf-wrap{position:relative;display:inline-flex;align-items:center}
.nf-drop{min-width:330px;right:0;left:auto;background:#0a6f94!important;color:#fff;padding:0!important}
.nf-drop .nf-clear{padding:12px 16px;font-size:15px;line-height:1.35;white-space:normal}
.nf-drop .nf-it{display:block;padding:9px 14px;color:#fff!important;border-bottom:1px solid rgba(255,255,255,.18);white-space:normal}
.nf-drop .nf-it b{display:block;font-size:13.5px}.nf-drop .nf-it span{font-size:12px;opacity:.9}
.nf-drop .nf-it:hover{background:#0c82ad}
.nf-foot{display:flex;justify-content:space-between;align-items:center;background:#08506c;padding:6px 12px}
.nf-foot a{color:#fff!important;padding:0!important;font-size:12.5px;display:inline-block!important}
.up-modal.nf-modal{max-width:840px;height:min(560px,86vh)}
.nf-body{display:flex;flex:1;min-height:0}
.nf-cats{width:180px;background:#2b2f36;flex:none;padding-top:6px}
.nf-cat{display:flex;justify-content:space-between;padding:9px 14px;color:#dfe3e8;font-size:13px;cursor:pointer}
.nf-cat.on{background:#3d434c;color:#fff;font-weight:600}
.nf-cat span{background:#e8730c;color:#fff;border-radius:9px;font-size:10px;padding:0 6px}
.nf-cat span:empty{display:none}
.nf-main{flex:1;display:flex;flex-direction:column;min-width:0}
.nf-bar{display:flex;background:#08506c;padding:6px 10px}
.nf-list{flex:1;overflow:auto;padding:6px 16px}
.nf-row{display:flex;gap:12px;align-items:center;border-bottom:1px solid #e5e8ec;padding:10px 0}
.nf-row.read{opacity:.6}
.nf-txt{flex:1;display:flex;flex-direction:column;gap:2px;font-size:13px}
.nf-txt small{color:#6a7076}
.nf-none{font-size:19px;font-weight:300;color:#333}
.help-drop{right:0;left:auto;min-width:200px}
.help-drop hr{border:0;border-top:1px solid rgba(255,255,255,.25);margin:4px 0}
.up-modal.about-m{max-width:420px;height:auto}
.about-b{padding:16px 20px}
.help-p{max-width:760px}
.help-p section{margin:0 0 14px}
.help-p h2{font-size:16px;margin:0 0 4px;text-transform:none;letter-spacing:0;color:#222}
.setup-warn{background:#fff6dc;border-left:3px solid #c9a227;color:#4a3a00;padding:8px 12px;margin:0 0 12px;font-size:13px}
.me-name{max-width:220px;overflow:hidden;text-overflow:ellipsis}
.grid td.ce.saving{color:#6b7280;font-style:italic}
.cm-btn{gap:7px}.cm-wrap{margin-right:8px}.cm-name{max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cm-blg{height:24px;width:auto;max-width:64px;object-fit:contain;background:#fff;border-radius:3px;padding:2px}
.cm-drop{right:0;left:auto;min-width:260px}
.cm-drop .cm-h{font-size:19px;padding:6px 16px 8px;color:#fff}
.cm-drop hr{border:0;border-top:1px solid rgba(255,255,255,.25);margin:4px 0}
.cm-drop a.cm-row{display:flex;align-items:center;gap:8px;white-space:nowrap}
.cm-drop a.cm-row.on{font-weight:600}
.cm-chk{display:inline-block;width:12px;font-weight:700}
.cm-lg{height:22px;width:40px;flex:0 0 40px;object-fit:contain;background:#fff;border-radius:3px;padding:2px;box-sizing:border-box}
.cm-nolg{width:40px;flex:0 0 40px}
@media (max-width:760px){.cm-name{display:none}}
.me-drop{right:0;left:auto;min-width:220px}
.me-drop .me-h{font-size:19px;padding:6px 16px 8px;color:#fff}
.me-drop hr{border:0;border-top:1px solid rgba(255,255,255,.25);margin:4px 0}
.me-drop.me-cols{display:none;gap:0}.menu-wrap.open .me-drop.me-cols,.me-drop.me-cols.open{display:flex}
.me-cols .me-col{min-width:200px;display:flex;flex-direction:column}.me-cols .me-accts{min-width:190px;padding-right:24px}
.me-cols .me-col>a{white-space:nowrap}.me-accts .pm-acc.on{font-weight:600}
@media (max-width:760px){.me-drop.me-cols{flex-direction:column}.me-cols .me-accts{padding-right:0}}
.up-modal.me-m{max-width:400px;height:auto}
.me-b{padding:14px 18px;display:flex;flex-direction:column;gap:10px}
.me-b label{display:flex;flex-direction:column;font-size:13px;gap:4px}
.me-b input{height:30px;border:1px solid #9c9b9a;border-radius:2px;padding:0 8px}
.me-btns{display:flex;gap:6px}
.dnote{cursor:help;font-size:12px}
.grid td.xfer{font-style:italic}
.grid td.amtc{cursor:pointer}
.up-modal.tcn-m{max-width:380px;height:auto}
.tcn-b{padding:10px 12px;display:flex;flex-direction:column;gap:8px;font-size:13px}
.tcn-b textarea{width:100%;border:1px solid #0a6f94;font:13px var(--font);padding:6px;box-sizing:border-box}
.up-btn:disabled{opacity:.45;cursor:default}
.lp-later{font-size:11px;color:#6a5200;background:#fff6dc;border-radius:3px;padding:0 4px;margin-left:4px}
.uv-sub{display:flex;flex:none;background:#0d6e95;height:38px}
.uv-subhead{width:230px;flex:none;display:flex;align-items:center;padding:0 14px;font-size:13px;color:#555;background:#e9e9e9;border-right:1px solid #c9ccd1;border-bottom:1px solid #c9ccd1}
.uv-tabs{display:flex;align-items:flex-end;padding-left:4px;gap:2px}
.uv-tab{background:transparent;border:0;color:#fff;cursor:pointer;font:inherit;font-size:15px;padding:0 16px;height:38px}
.uv-tab.on{background:#fff;color:var(--text)}
.uv-body{display:flex;flex:1;min-height:0}
.uv-list{width:230px;flex:none;background:#e9e9e9;border-right:1px solid #c9ccd1;overflow:auto}
.uv-list a{display:block;padding:9px 14px;font-size:13.5px;color:var(--text);text-decoration:none;border-bottom:1px solid #dcdcdc}
.uv-list a.on{background:#cdeafd}
.uv-list a:hover:not(.on){background:#dfe3e6}
.uv-main{flex:1;min-width:0;overflow:auto;background:#fff}
.uv-main .subpane{padding:0}
.uv>form.uv-form{display:flex;flex-direction:column;flex:1;min-height:0}
/* Scheduling month calendar */
.sc-bar{display:flex;align-items:center;gap:10px;margin-bottom:12px;flex-wrap:wrap}
.sc-month{font-size:17px;font-weight:600;min-width:150px;text-align:center}
.sc-emp{font-size:14px;color:#1769aa;font-weight:600;margin-left:6px}
.sc-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:1px;background:#c9ccd1;border:1px solid #c9ccd1}
.sc-head{margin-bottom:0;border-bottom:none}
.sc-dow{background:#f1f2f4;padding:6px 8px;font-size:12px;font-weight:600;color:#555;text-align:center}
.sc-day{background:#fff;min-height:84px;padding:4px 6px;cursor:pointer;position:relative}
.sc-day:hover{background:#eef6fe}
.sc-out{background:#f6f7f8;color:#aaa}
.sc-out .sc-shift{opacity:.55}
.sc-today{outline:2px solid #1769aa;outline-offset:-2px}
.sc-dnum{font-size:12px;font-weight:600;color:#555}
.sc-out .sc-dnum{color:#b5b5b5}
.sc-shift{margin-top:6px;font-size:11.5px;background:#cdeafd;color:#124a73;border-radius:3px;padding:2px 5px;display:inline-block;font-weight:600}
.sc-ov .sc-dnum::after{content:"•";color:#e08a00;font-size:16px;line-height:0;margin-left:4px;vertical-align:middle}
/* Shared day/bulk modal (schedule) */
.sd-ov{position:fixed;inset:0;background:rgba(0,0,0,.4);z-index:200;display:flex;align-items:center;justify-content:center}
.sd-modal{background:#fff;border-radius:6px;padding:20px 22px;min-width:340px;box-shadow:0 10px 40px rgba(0,0,0,.3)}
.sd-title{font-size:16px;font-weight:600;margin-bottom:14px}
.sd-row{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-bottom:14px}
.sd-row label{display:flex;flex-direction:column;font-size:12px;color:#555;gap:3px}
.sd-row input[type=time]{height:30px;border:1px solid #9c9b9a;border-radius:3px;padding:0 6px;font-size:13px}
.sd-btns{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.bk-sec{margin-bottom:12px}
.bk-sec>b{display:inline-block;margin-bottom:6px;font-size:13px}
.bk-list{display:flex;flex-wrap:wrap;gap:6px 14px}
.bk-emps{max-height:200px;overflow:auto;border:1px solid #e0e0e0;border-radius:3px;padding:8px;display:block}
.bk-emps .bk-cb{display:block;margin-bottom:4px}
.bk-cb{font-size:13px;display:inline-flex;align-items:center;gap:5px}
/* Setup entity pages (Locations, Pay Codes, Rounding Rules, …): list header + sectioned form */
.uv-listhdr{padding:9px 14px;font-size:13px;color:#555;background:#f1f2f4;border-bottom:1px solid #c9ccd1}
.st-cols{display:flex;gap:56px;flex-wrap:wrap;padding:22px 30px;align-items:flex-start}
.st-sec{min-width:220px}
.st-sec h3{font-size:19px;font-weight:400;color:#2b2f36;margin:0 0 16px}
.st-f{margin:0 0 14px}
.st-f>label{display:block;font-size:12.5px;color:#444;margin:0 0 4px}
.st-f input[type=text],.st-f input[type=time],.st-f select{width:230px;max-width:100%;height:28px;
  border:1px solid #9c9b9a;border-radius:2px;padding:0 6px;font-size:13px;background:#fff}
.st-f .st-num{display:inline-flex;align-items:center;gap:4px}
.st-f .st-num input{width:90px;height:28px;border:1px solid #9c9b9a;border-radius:2px;padding:0 6px;font-size:13px}
.st-f.cb{display:flex;align-items:center;gap:6px}
.st-f.cb label{display:inline-flex;align-items:center;gap:7px;font-size:13px;color:#2b2f36;margin:0}
.st-i{display:inline-flex;align-items:center;justify-content:center;width:15px;height:15px;
  border-radius:50%;background:#6b7682;color:#fff;font-size:10px;font-weight:700;font-style:italic;
  font-family:Georgia,"Times New Roman",serif;cursor:help;vertical-align:middle;line-height:1;outline:none}
.st-i:hover,.st-i:focus{background:#0a5f80}
/* floating help tooltip (positioned by JS, appended to body so it never clips) */
.st-tip{position:fixed;display:none;background:#2b2f36;color:#fff;font:400 12px/1.45 var(--font);
  text-align:left;padding:9px 11px;border-radius:6px;box-shadow:0 8px 22px rgba(0,0,0,.35);
  z-index:4000;pointer-events:none}
.st-tip::after{content:"";position:absolute;left:50%;bottom:-6px;transform:translateX(-50%);
  border:6px solid transparent;border-top-color:#2b2f36}
.st-tip.below::after{bottom:auto;top:-6px;border-top-color:transparent;border-bottom-color:#2b2f36}
.st-empty{padding:26px 30px;font-size:14px;color:#2b2f36}
.st-f select:disabled,.st-f input:disabled{background:#eef0f2;color:#8a9099;border-color:#d3d7dc}  /* locked built-in fields, greyed like PayClock */
.st-empty p{font-size:20px;font-weight:300;margin:0 0 14px}  /* PayClock: large light "There are no … to display" */
.st-empty .st-add{display:inline-block;margin-top:8px;color:#1769aa;text-decoration:underline}
.st-wdays{display:flex;flex-direction:column;gap:7px}
.st-wd{display:inline-flex;align-items:center;gap:7px;font-size:13px;color:#2b2f36}
/* Child-row tables (Holiday Calendar "Calendar Dates", etc.) — PayClock style */
.st-child{padding:0 30px 24px}
.st-child h3{font-size:17px;font-weight:400;color:#2b2f36;margin:0 0 10px}
.st-child .rowbtns{margin:0 0 10px;display:flex;gap:8px}
.cbtn{height:30px;padding:0 14px;border:1px solid #b9bfc7;background:#fff;border-radius:3px;cursor:pointer;
  font-size:13px;color:#2b2f36}
.cbtn:hover{background:#f0f2f4}
.cbtn.primary{background:#1769aa;color:#fff;border-color:#1769aa}
.cbtn.primary:hover{background:#12578e}
.holcat{border:1px solid #c9ccd1;border-radius:4px;background:#fafbfc;padding:12px 14px;margin:0 0 12px;max-width:640px}
.holcat-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.holcat-bar select{height:28px;border:1px solid #9c9b9a;border-radius:2px;font-size:13px}
.holcat-list{display:grid;grid-template-columns:1fr 1fr;gap:4px 18px}
.holcat-item{display:flex;align-items:center;gap:7px;font-size:13px;color:#2b2f36;cursor:pointer}
.holcat-date{color:#6a737d;font-size:12px}
.st-child .recur{color:#1769aa;font-size:13px;margin-left:5px;cursor:help}
.st-child table{border-collapse:collapse;border:1px solid #c9ccd1}
.st-child th{text-align:left;font-size:12.5px;font-weight:400;color:#333;background:#f1f2f4;
  padding:8px 12px;border:1px solid #c9ccd1}
.st-child td{padding:5px 8px;border:1px solid #e2e5e8}
.st-child tbody tr{cursor:pointer}
.st-child tbody tr.sel{background:#cdeafd}
.st-child input[type=text],.st-child input[type=date],.st-child select{height:28px;border:1px solid #9c9b9a;
  border-radius:2px;padding:0 6px;font-size:13px;background:#fff}
.st-child input.st-dur{width:84px;text-align:right}
.st-child input[type=number]{width:80px;height:28px;border:1px solid #9c9b9a;border-radius:2px;padding:0 6px;font-size:13px}
.st-sqbtn{width:28px;height:28px;border:1px solid #9c9b9a;background:#f3f4f6;border-radius:3px;cursor:pointer;font-size:16px;line-height:1}
/* Shifts: PayClock-style tab strip + panes */
.sh-tabstrip{display:flex;background:#006e95}
.sh-tab{background:transparent;border:0;color:#fff;cursor:pointer;font:inherit;font-size:15px;padding:11px 18px}
.sh-tab.on{background:#fff;color:var(--text)}
.sh-pane{padding:0}
.st-f .st-num input[type=number]{width:90px;height:28px;border:1px solid #9c9b9a;border-radius:2px;padding:0 6px;font-size:13px}
.st-static{font-size:14px;color:#2b2f36;padding:5px 0;font-variant-numeric:tabular-nums}
.setup-ok{background:#e4f0f6;border:1px solid #b2d4e4;color:#0a5f80;font-size:13px;
  padding:9px 16px;margin:0}
/* Accrual Levels tab (PayClock Image #74): tiered table */
.st-pad{padding:22px 30px}
.st-h{font-size:19px;font-weight:400;color:#2b2f36;margin:0 0 16px}
.lvl-top{display:flex;align-items:center;gap:20px;margin:0 0 10px}
.lvl-pc{font-size:17px;color:#2b2f36}
.lvl-btns{display:flex;gap:8px;margin:0 0 8px}
.lvl-pm{width:34px;height:30px;border:1px solid #9c9b9a;border-radius:3px;background:#f3f3f3;
  cursor:pointer;font-size:17px;line-height:1;color:#2b2f36}
.lvl-pm:hover{background:#e3e3e3}
.lvl-note{color:#2b2f36;margin:0 0 10px}
.lvl-tbl{border-collapse:collapse;font-size:13px}
.lvl-tbl th{background:#eceef0;border:1px solid #c9ccd1;text-align:left;font-weight:600;
  color:#2b2f36;padding:8px 12px}
.lvl-tbl td{border:1px solid #c9ccd1;padding:8px 12px;vertical-align:middle;background:#fff}
/* number fields with always-visible up/down steppers (like PayClock) */
.lvl-tbl input[type=number]{height:30px;border:1px solid #9c9b9a;border-radius:2px;padding:0 4px 0 7px;
  font-size:13px;width:84px;-moz-appearance:textfield}
.lvl-tbl input[type=number]::-webkit-outer-spin-button,
.lvl-tbl input[type=number]::-webkit-inner-spin-button{-webkit-appearance:inner-spin-button;opacity:1;height:30px}
/* unit dropdowns: value box + a separated grey caret on the right */
.lvl-tbl select{height:30px;border:1px solid #9c9b9a;border-radius:2px;font-size:13px;padding:0 26px 0 8px;
  background:#fff url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6'%3E%3Cpath d='M0 0l4 6 4-6z' fill='%23555'/%3E%3C/svg%3E") no-repeat;
  background-position:right 9px center;-webkit-appearance:none;appearance:none;
  box-shadow:inset -25px 0 0 #eceef0;border-left:1px solid #9c9b9a}
.lvl-after,.lvl-max{white-space:nowrap}
.lvl-after input{width:66px;margin-right:8px}.lvl-after select{width:110px}
.lvl-max select{width:120px;margin-right:8px}.lvl-max input{width:96px}
.st-f input[type=time]{width:140px}
.brk-row{display:flex;align-items:center;gap:6px;margin-bottom:6px}
.brk-row select{height:28px;border:1px solid #9c9b9a;border-radius:2px;font-size:13px}
/* Pay Class: read-only pay-period date boxes + small assignment tables */
.st-datebox{display:inline-flex;align-items:center;width:230px;max-width:100%;height:28px;border:1px solid #c9ccd1;
  border-radius:2px;padding:0 8px;background:#eceef0;color:#667;font-size:13px}
.st-datebox.active{background:#fff;color:var(--text);border-color:#9c9b9a}
.st-mini{border-collapse:collapse;font-size:13px;margin-top:2px}
.st-mini th{text-align:left;background:#f1f2f4;border:1px solid #c9ccd1;padding:6px 10px;font-weight:400;color:#333}
.st-mini td{border:1px solid #e2e5e8;padding:4px 10px}
.st-mini td code{font-size:12px;color:#555}
.st-mini input,.st-mini select{height:26px;border:1px solid #9c9b9a;border-radius:2px;font-size:13px;padding:0 4px}
.panel .phead{display:flex;align-items:center;gap:10px;
 padding:8px 10px 8px 10px;border-bottom:1px solid var(--grid-line);font-weight:400;font-size:21px;color:#222;background:#fff}
.panel .phead .cnt{font-size:12.5px;color:var(--muted);font-weight:400;margin-left:4px}
.panel .phead .ptools{margin-left:auto;display:flex;align-items:center;gap:8px}
.panel .phead .ptools .pt{color:#3a3f47;cursor:pointer;display:inline-flex;align-items:center;background:none;border:0;padding:2px;line-height:1;font-size:15px}
.panel .phead .ptools .pt:hover{color:#5a616b}
.panel .phead .ptools .pt svg{width:16px;height:16px}
.panel>.tw,.panel>div:not(.phead){padding:0}
.panel .phead + .tw table{min-width:0}
.panel .stat{padding:16px}
.panel>.card{box-shadow:none;border:0;border-bottom:1px solid var(--line);border-radius:0}
.panel .phead ~ div{padding:14px}

/* =========================================================
   CLASSIC TIMECARD — matches the handoff timecard.html
   (tabs + master list + dense in/out pair grid + totals).
   ========================================================= */
.detail.flush{padding:0;display:flex;flex-direction:column;height:100%;min-height:0;}
.tabs{background:#2c6594;display:flex;align-items:flex-end;padding-left:8px;gap:2px;flex:none;}
.tabs a{color:#fff;text-decoration:none;padding:0 16px;height:32px;display:flex;align-items:center;font-size:15px;}
.tabs a:hover{background:rgba(255,255,255,.1);}
.tabs a.on{background:var(--bg);color:var(--ink);font-weight:500;}
.tcbody{display:grid;grid-template-columns:210px 1fr;flex:1;min-height:0;}
.tclist{background:var(--card);border-right:1px solid var(--line);display:flex;flex-direction:column;min-height:0;overflow:hidden;}
.tclist .search{display:flex;gap:4px;padding:6px;border-bottom:1px solid var(--line);}
.tclist .search input{flex:1;min-width:0;height:28px;border:1px solid var(--line);border-radius:6px;padding:0 8px;font-size:12.5px;background:var(--bg);color:var(--ink);}
.tclist .lhead{padding:6px 10px;border-bottom:1px solid var(--line);font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--mute);}
.tclist .items{overflow-y:auto;flex:1;}
.tclist .dept{padding:6px 10px 3px;font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--mute);background:var(--bg);border-top:1px solid var(--line);}
.tclist .dept:first-child{border-top:0;}
.tclist .item{display:flex;align-items:center;gap:6px;min-height:40px;padding:4px 10px;border-bottom:1px solid var(--line);cursor:pointer;font-size:13.5px;white-space:nowrap;overflow:hidden;text-decoration:none;color:var(--ink);}
.tclist .item:hover{background:var(--accent-bg);}
.tclist .item.on{background:var(--accent-bg);box-shadow:inset 4px 0 0 var(--accent-strong);}
.tclist .item .w{width:15px;flex:none;color:var(--warn);display:inline-flex;}
.tclist .item .nm{min-width:0;overflow:hidden;text-overflow:ellipsis;flex:1;}
.tclist .item .num{margin-left:auto;color:var(--mute);font-size:12px;font-variant-numeric:tabular-nums;}
.tclist .item .num .ok{color:var(--in);font-weight:800;margin-right:3px;}
.tcdetail{overflow:auto;padding:14px 16px 36px;min-width:0;background:var(--bg);}
.tcdetail h1{font-size:22px;font-weight:500;margin:0 0 10px;}

.section{display:flex;align-items:center;gap:7px;font-size:16px;font-weight:500;margin:16px 0 8px;cursor:pointer;user-select:none;color:var(--ink);text-transform:none;letter-spacing:0;}
.section .tri{font-size:10px;color:var(--mute);width:12px;}
.tctools{display:flex;gap:8px;align-items:center;margin:0 0 10px;flex-wrap:wrap;}
.cbtn{display:inline-flex;align-items:center;gap:7px;height:32px;padding:0 12px;background:var(--card);border:1px solid var(--line-2,#c3c8cf);border-radius:4px;color:var(--ink);cursor:pointer;font-size:13.5px;text-decoration:none;font-weight:500;}
.cbtn:hover{background:var(--accent-bg);}
.cbtn.primary{background:var(--bar-solid,#24557f);border-color:var(--bar-solid,#24557f);color:#fff;}
.cbtn.primary:hover{filter:brightness(1.08);}
.cbtn.forge{background:var(--forge);border-color:var(--forge);color:#fff;}
.cbtn svg{width:16px;height:16px;}
.menu-wrap{position:relative;}
.cmenu{position:absolute;top:34px;left:0;z-index:10;background:#2c6594;color:#fff;min-width:210px;box-shadow:0 6px 18px rgba(0,0,0,.25);display:none;border-radius:0 0 4px 4px;}
.cmenu.open{display:block;}
.cmenu a{display:block;padding:9px 12px;cursor:pointer;font-size:13px;color:#fff;text-decoration:none;}
.cmenu a:hover{background:#24557f;}

.grid-wrap{overflow-x:auto;border:1px solid var(--line);background:var(--card);max-width:100%;}
table.cgrid{border-collapse:collapse;font-size:13.5px;white-space:nowrap;font-variant-numeric:tabular-nums;}
table.cgrid.full{width:100%;}
.cgrid th{background:var(--grid-head,#eceef1);color:var(--ink);font-weight:400;text-align:center;height:32px;padding:0 8px;border:1px solid var(--line);min-width:62px;}
.cgrid td{height:36px;padding:0 8px;border:1px solid var(--line);color:var(--ink);}
.cgrid td.num,.cgrid td.t{text-align:right;}
.cgrid td.c,.cgrid td.chk{text-align:center;}
.cgrid td.date{background:var(--bg);min-width:118px;font-weight:500;}
.cgrid td.ctx{background:var(--bg);color:var(--mute);}
.cgrid tbody tr:hover td{background:var(--accent-bg);}
.cgrid a.tlink{color:var(--link,#1d5fa8);text-decoration:none;}
.cgrid a.tlink:hover{text-decoration:underline;}
.cgrid td.missing{background:repeating-linear-gradient(135deg,var(--warn-bg) 0 6px,#ffe0a0 6px 12px)!important;border:2px solid #d9a21b;color:var(--warn);font-weight:700;font-size:11px;text-align:center;letter-spacing:.04em;}
.cgrid td.edited{box-shadow:inset 0 -3px 0 var(--forge);}
.cgrid td .seg{display:inline-block;font-size:9.5px;font-weight:700;letter-spacing:.04em;padding:1px 4px;margin-right:4px;border-radius:2px;background:#e9e4fb;color:#4a2fa0;vertical-align:1px;}
.cgrid td .seg.x{background:#e3eefb;color:#1d5fa8;}
.cgrid td.ot{color:#a14a00;font-weight:600;}
.cgrid td.run{color:var(--mute);}
.cgrid tr.weekend td.date{color:var(--mute);}
.cgrid tr.today td.date{box-shadow:inset 4px 0 0 var(--forge);}
.cgrid.totals td{height:32px;}
.cgrid tfoot td{font-weight:700;background:var(--grid-head,#eceef1);}
.legend{display:flex;gap:16px;flex-wrap:wrap;color:var(--mute);font-size:12px;margin:10px 0;}
.legend span{display:inline-flex;align-items:center;gap:6px;}
.legend i{display:inline-block;width:26px;height:14px;border:1px solid var(--line);}
.legend i.m{background:repeating-linear-gradient(135deg,var(--warn-bg) 0 4px,#ffe0a0 4px 8px);border:2px solid #d9a21b;}
.legend i.e{box-shadow:inset 0 -3px 0 var(--forge);}
.legend i.t{box-shadow:inset 4px 0 0 var(--forge);}
.chip{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:700;letter-spacing:.04em;padding:2px 7px;border-radius:10px;border:1px solid;}
.chip.in{color:#1d5fa8;background:#e6f0fb;border-color:#b9d3f1;}
.chip.out{color:#555d68;background:#eef0f2;border-color:#d6dade;}
.chip.warn{color:var(--warn);background:var(--warn-bg);border-color:#d9a21b;}
.tcsection{margin-top:4px;}
@media (max-width:760px){
  .tcbody{grid-template-columns:1fr;}
  .tclist{max-height:230px;border-right:0;border-bottom:1px solid var(--line);}
}

:root {
  --ink: #14181f; --ink-2: #1c222c; --ink-3: #2a313d; --steel: #1f2a37;
  --forge: #e8730c; --forge-d: #c25e05; --forge-l: #fff1e4;
  --blue: #2563eb; --blue-d: #1d4ed8; --blue-l: #e8efff;
  --amber: #8a4b00; --amber-bg: #fff3d6; --amber-b: #f0c060;
  --slate: #5b6676; --slate-l: #eef0f3;
  --paper: #f4f5f7; --card: #fff; --line: #e1e4e9; --line-2: #cfd4db;
  --text: #1b2230; --muted: #616b7a; --danger: #b42318; --danger-l: #fdecea;
  --ok: #1f5fbf;
  --radius: 8px; --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.08);
  --shadow-lg: 0 12px 32px rgba(16,24,40,.18);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --sidebar: 224px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; min-width:0; }
body { font: 14px/1.45 var(--font); color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
.num, .tnum, td.num, th.num { font-variant-numeric: tabular-nums; }
h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -.01em; color: var(--text); }
h1 { font-size: 20px; } h2 { font-size: 16px; } h3 { font-size: 14px; }
a { color: var(--blue); }
.icon { flex: none; }
:focus-visible { outline: 3px solid rgba(37,99,235,.45); outline-offset: 1px; }

.shell { display: grid; grid-template-columns: var(--sidebar) 1fr; grid-template-rows: 56px 1fr; height: 100vh; height:100dvh; }
.sidebar { grid-row: 1 / 3; background: var(--ink); color: #c9d1dd; display: flex; flex-direction: column; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 18px; color: #fff; font-weight: 800; letter-spacing: .14em; font-size: 15px; border-bottom: 1px solid var(--ink-3); text-decoration:none; }
.brand .logo { width: 30px; height: 30px; flex:none; border-radius:7px; object-fit:contain; }
.brand .mark { width:30px;height:30px;flex:none;border-radius:7px;background:var(--forge);display:grid;place-items:center;color:#14181f;font-weight:900;font-size:15px;letter-spacing:0; }
.brand small { display: block; font-size: 10px; letter-spacing: .08em; color: #8a94a3; font-weight: 600; margin-top: -2px; }
.nav { padding: 10px 10px; display: flex; flex-direction: column; gap: 2px; }
.nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-sm); color: inherit; text-decoration: none; font-weight: 550; min-height: 42px; }
.nav a:hover { background: var(--ink-2); color: #fff; }
.nav a.active { background: var(--ink-3); color: #fff; box-shadow: inset 3px 0 0 var(--forge); }
.nav a svg { width:20px; height:20px; flex:none; }
.nav a .badge { margin-left: auto; background: var(--amber-bg); color: var(--amber); border-radius: 10px; font-size: 11px; font-weight: 700; padding: 1px 7px; }
.nav-sep { height: 1px; background: var(--ink-3); margin: 8px 6px; }
.sidebar-foot { margin-top: auto; padding: 12px 18px; font-size: 12px; color: #8a94a3; border-top: 1px solid var(--ink-3); }
.sidebar-foot a { color: #c9d1dd; }

.topbar { grid-column: 2; grid-row: 1; position: static; inset: auto; height: auto; width: auto; z-index: auto; box-shadow: none; background: var(--steel); color: #fff; display: flex; align-items: center; gap: 12px; padding: 0 18px; min-width: 0; }
.topbar .ctx { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; }
.topbar .ctx-label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #9fb0c4; white-space:nowrap; }
.topbar .user { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #d8e0ea; white-space: nowrap; }
.topbar select.input { background: var(--ink-2); color: #fff; border-color: #3a4556; height: 34px; width:auto; }
.topbar .icon-btn { color: #d8e0ea; text-decoration:none; }
.topbar .icon-btn:hover { background: rgba(255,255,255,.08); }
.topbar .menu-btn { display: none; }
.topbar .pc-sel { min-width: 120px; } .topbar .per-sel { min-width: 240px; }

.main { grid-column: 2; grid-row: 2; position: static; margin: 0; overflow: auto; min-width: 0; background:var(--paper); padding: 0; }
.page { padding: 20px 24px 40px; max-width: 1600px; }
.page-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.page-head h1 { margin-right: auto; }
.page-sub { color: var(--muted); font-size: 13px; }

.btn { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: #fff; color: var(--text); font: 600 13.5px var(--font); cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--slate-l); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary { background: var(--forge); border-color: var(--forge); color: #fff; }
.btn-primary:hover { background: var(--forge-d); }
.btn-blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-d); }
.btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-danger:hover { background: #8f1c13; }
.btn-ghost { border-color: transparent; background: transparent; }
.btn-sm { height: 30px; padding: 0 10px; font-size: 12.5px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 0; background: transparent; border-radius: var(--radius-sm); cursor: pointer; color: var(--muted); text-decoration:none; }
.icon-btn:hover { background: var(--slate-l); color: var(--text); }
.icon-btn svg { width:18px; height:18px; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.card-head h2 { margin-right: auto; font-size: 15px; }
.card-body { padding: 16px; }
form.card, .card.pad { padding: 16px; }
.grid { display: grid; gap: 16px; }
.grid-stats { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.grid-2 { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }

.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); border-top: 3px solid var(--line-2); }
.stat-label { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 650; }
.stat-value { font-size: 28px; font-weight: 750; margin-top: 2px; font-variant-numeric: tabular-nums; }
.stat-sub { font-size: 12.5px; color: var(--muted); }
.stat.s-in { border-top-color: var(--blue); } .stat.s-out { border-top-color: var(--slate); }
.stat.s-exc { border-top-color: var(--amber-b); } .stat.s-forge { border-top-color: var(--forge); }

.chip { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 11px; font-size: 11px; font-weight: 750; letter-spacing: .05em; white-space: nowrap; border: 1px solid transparent; }
.chip-glyph { font-size: 11px; line-height: 1; }
.chip-in { background: var(--blue-l); color: var(--blue-d); border-color: #c7d7fb; }
.chip-out { background: var(--slate-l); color: var(--slate); border-color: #dde1e7; }
.chip-lunch, .chip-break { background: #f3eefe; color: #5b3fb0; border-color: #ddd2fa; }
.chip-leave { background: #eaf6f6; color: #11615f; border-color: #c9e7e6; }
.chip-exc { background: var(--amber-bg); color: var(--amber); border-color: var(--amber-b); }
.chip-ok { background: var(--blue-l); color: var(--blue-d); border-color: #c7d7fb; }
.chip-locked { background: var(--ink-3); color: #fff; }
.tag { display: inline-block; padding: 1px 6px; border-radius: 4px; font-size: 11px; font-weight: 650; background: var(--slate-l); color: var(--slate); }
.tag-edit { background: var(--forge-l); color: var(--forge-d); }

.input { width: 100%; height: 38px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: #fff; font: 14px var(--font); color: var(--text); }
textarea.input { height: auto; padding: 8px 10px; resize: vertical; }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.18); }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field label { font-size: 12.5px; font-weight: 650; color: #3b4555; }
.field .req { color: var(--danger); }
.field .hint { font-size: 12px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px 16px; }

.tabs2 { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; }
.tabs2 a { border: 0; background: transparent; padding: 10px 14px; font: 600 13.5px var(--font); color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; text-decoration:none; }
.tabs2 a:hover { color: var(--text); }
.tabs2 a.active { color: var(--text); border-bottom-color: var(--forge); }
.tab-badge { background: var(--amber-bg); color: var(--amber); border-radius: 10px; font-size: 11px; padding: 0 7px; }

.table-wrap { overflow: auto; }
table.table { width: 100%; min-width:0; border-collapse: separate; border-spacing: 0; font-size: 13.5px; }
.table th { background: #f8f9fb; text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; padding: 9px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table .num { text-align: right; }
.table tr.clickable { cursor: pointer; }
.table tr.clickable:hover td { background: #f5f8ff; }
.table tr.row-exc td:first-child { box-shadow: inset 3px 0 0 var(--amber-b); }
.table tr.row-total td, .table tfoot td { font-weight: 750; background: #f8f9fb; border-top: 2px solid var(--line-2); }
.table tr.row-muted td { color: var(--muted); }
.table tr.row-weekend td { background: #fafbfc; }
.table tr.row-today td { background: #fffaf3; }

.md { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 16px; align-items: start; }
.slist { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; max-height: calc(100vh - 170px); position: sticky; top: 0; }
.slist-search { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--muted); }
.slist-search input { border: 0; width:100%; height: 32px; font:14px var(--font); outline:none; color:var(--text); background:transparent; }
.slist-items { overflow-y: auto; }
.slist-item { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--line); background: #fff; padding: 10px 14px; cursor: pointer; font: 14px var(--font); color: var(--text); min-height: 48px; text-decoration:none; }
.slist-item:hover { background: #f5f8ff; }
.slist-item.active { background: var(--blue-l); box-shadow: inset 3px 0 0 var(--blue); }
.slist-item .meta { color: var(--muted); font-size: 12px; }
.slist-item .grow { flex: 1; min-width: 0; }
.slist-item .name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.tc-head { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.tc-head .who { margin-right: auto; }
.tc-head .who h1 { display: flex; gap: 10px; align-items: center; flex-wrap:wrap; }
.tc-totals { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; margin-bottom: 16px; }
.tc-totals > div { padding: 10px 14px; border-right: 1px solid var(--line); }
.tc-totals > div:last-child { border-right: 0; }
.tc-totals .k { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.tc-totals .v { font-size: 20px; font-weight: 750; font-variant-numeric: tabular-nums; }
.tc-totals .v.ot { color: var(--forge-d); }
.punches { display: flex; flex-wrap: wrap; gap: 6px; }
.punch { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 9px; border-radius: 6px; border: 1px solid var(--line-2); background: #fff; font: 600 13px var(--font); cursor: pointer; font-variant-numeric: tabular-nums; color: var(--text); text-decoration:none; }
.punch:hover { border-color: var(--blue); background: #f5f8ff; }
.punch .pt { font-size: 10.5px; font-weight: 750; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.punch.p-in .pt { color: var(--blue-d); }
.punch.p-lunch .pt, .punch.p-break .pt { color: #5b3fb0; }
.punch.p-edited { border-style: dashed; border-color: var(--forge); }
.punch.p-missing { border-color: var(--amber-b); background: var(--amber-bg); color: var(--amber); }
.day-exc { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.day-cell-date { white-space: nowrap; font-weight: 650; }
.day-cell-date small { display: block; color: var(--muted); font-weight: 500; }
.note-line { font-size: 12px; color: #4b5563; margin-top: 4px; display: flex; gap: 6px; align-items: flex-start; }

.board { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.board-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; min-height: 52px; text-align: left; color: inherit; text-decoration:none; }
.board-item .grow { flex: 1; min-width: 0; }
.board-item .name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-item .meta { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.seg a { border: 0; background: transparent; padding: 0 12px; height: 32px; display:inline-flex; align-items:center; font: 600 13px var(--font); color: var(--muted); cursor: pointer; border-right: 1px solid var(--line); text-decoration:none; }
.seg a:last-child { border-right: 0; }
.seg a.on { background: var(--ink-3); color: #fff; }
.feed { list-style: none; margin: 0; padding: 0; }
.feed li { display: flex; gap: 10px; align-items: center; padding: 9px 16px; border-bottom: 1px solid var(--line); font-size: 13px; }
.feed li:last-child { border-bottom: 0; }
.feed .t { font-variant-numeric: tabular-nums; font-weight: 650; width: 70px; }
.feed .grow { flex: 1; min-width: 0; }
.hbar-wrap { display: flex; flex-direction: column; gap: 8px; }
.hbar { display: flex; height: 14px; border-radius: 7px; overflow: hidden; background: var(--slate-l); }
.hbar-seg { height: 100%; }
.hbar-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: #3b4555; }
.hbar-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }

.banner { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: var(--radius-sm); margin-bottom: 14px; font-weight: 550; }
.banner-warn { background: var(--amber-bg); color: var(--amber); border: 1px solid var(--amber-b); }
.banner-lock { background: var(--ink-3); color: #fff; }
.banner-info { background: var(--blue-l); color: var(--blue-d); border: 1px solid #c7d7fb; }
.empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty-title { font-weight: 700; color: var(--text); font-size: 15px; margin-bottom: 4px; }

.muted { color: var(--muted); } .small { font-size: 12.5px; } .strong { font-weight: 700; }
.right { margin-left: auto; } .nowrap { white-space: nowrap; }
.mt { margin-top: 16px; } .mb { margin-bottom: 16px; }

@media (max-width: 1100px) {
  .shell { grid-template-columns: 64px 1fr; }
  .brand span.bt, .nav a span, .sidebar-foot, .nav a .badge { display: none; }
  .brand { justify-content: center; padding: 0; }
  .nav a { justify-content: center; padding: 10px 0; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .shell { grid-template-columns: 1fr; grid-template-rows: 56px 1fr; }
  .sidebar { position: fixed; inset: 0 auto 0 0; width: 240px; z-index: 40; transform: translateX(-100%); transition: transform .2s; }
  .shell.nav-open .sidebar { transform: none; box-shadow: var(--shadow-lg); }
  .shell.nav-open .brand span.bt, .shell.nav-open .nav a span { display: inline; }
  .shell.nav-open .nav a { justify-content: flex-start; padding: 10px 12px; }
  .topbar .menu-btn { display: inline-flex; }
  .topbar .pc-sel { display: none; }
  .topbar .per-sel { min-width: 0; flex: 1; font-size: 13px; }
  .topbar .user .uname { display: none; }
  .page { padding: 14px 12px 32px; }
  .md { grid-template-columns: 1fr; }
  .slist { position: static; max-height: none; }
  .hide-sm { display: none !important; }
}
.show-sm { display: none; }
@media (max-width: 760px) { .show-sm { display: inline-flex; } }
@media print { .sidebar, .topbar, .no-print { display: none !important; } .shell { display:block; height:auto; } .main { overflow:visible; } }

:root {
  /* Palette matched to live PayClock Online (sidebar #292d35, bar #005278, active cyan #9bf2fe). */
  --sidebar-bg: #292d35; --sidebar-hover: #343842; --sidebar-active: #e8730c; --sidebar-on: #9bf2fe;
  --bar: #005278; --bar-2: #0a6a96; --bar-text: #ffffff;
  --page: #f6f5f5; --panel: #f3f4f6; --grid-line: #d5d9df; --grid-head: #eceef1; --grid-head-text: #2b2f36;
  --row-alt: #fafbfc; --row-hover: #eef4fb; --row-sel: #d8e8f8; --cell-sel: #3d7dc4;
  --text: #1f2328; --muted: #6a737d; --link: #1d5fa8;
  --warn-bg: #fff1cc; --warn-line: #d9a21b; --warn-text: #7a4b00; --ok: #1d5fa8;
  --font: 'Roboto', 'Segoe UI', Arial, sans-serif; --mono: 'Roboto Mono', ui-monospace, Consolas, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font: 13px/1.35 var(--font); color: var(--text); background: var(--page); }
button, input, select { font: inherit; }

.app { display: grid; grid-template-columns: 168px 1fr; grid-template-rows: 46px 38px 1fr; height: 100vh; }
.app.notabs { grid-template-rows: 46px 1fr; }
.side { grid-row: 1 / 4; position: static; width: auto; inset: auto; border: 0; z-index: auto; background: var(--sidebar-bg); color: #e6e8eb; display: flex; flex-direction: column; overflow-y: auto; padding: 0; }
.side .brand { height: 46px; display: flex; align-items: center; gap: 8px; padding: 0 12px; font-weight: 700; letter-spacing: .14em; font-size: 13px; border-bottom: 1px solid #343944; color: #fff; text-decoration: none; }
.side .brand .mark { width: 30px; height: 30px; border-radius: 6px; object-fit: cover; flex: none; display: block; }
.side a { display: flex; align-items: center; gap: 10px; height: 52px; min-height: 0; margin: 0; padding: 0 12px; color: inherit; text-decoration: none; font-size: 13.5px; font-weight: 500; border: 0; border-radius: 0; }
.side a:hover { background: var(--sidebar-hover); color: inherit; }
.side a.on { background: var(--sidebar-on); color: #0c2430; box-shadow: none; font-weight: 700; }
.side a .chev { margin-left: auto; opacity: .7; font-size: 17px; }
.side svg { width: 20px; height: 20px; flex: none; }
.side a.on svg { opacity: 1; }
.side { overflow: visible; }  /* let submenu fly-outs escape the sidebar */
.side .nav-sub { position: relative; }
.side .subflyout { position: absolute; left: 100%; top: 0; min-width: 190px; background: #343842;
  border: 1px solid #1d2026; box-shadow: 6px 6px 20px rgba(0,0,0,.45); display: none; z-index: 80; }
/* PayClock fly-out (sampled live 2026-11-13): opens on click of the ›, teal #006e95, 190px,
   40px white rows padded 30px, hover #005278; the › cell turns teal while open. */
.side .nav-sub { display: flex; align-items: stretch; }
.side .nav-sub > a { flex: 1; min-width: 0; }
.side .nav-chev { width: 30px; min-height: 0; height: auto; flex: none; border: 0; border-radius: 0; padding: 0;
  margin: 0; background: transparent; color: #e6e8eb; font-size: 18px; font-weight: 400; cursor: pointer;
  opacity: .75; box-shadow: none; transform: none; transition: none; }
.side .nav-chev:hover, .side .nav-chev:active { opacity: 1; background: transparent; border: 0; transform: none; }
.side .nav-sub.open > .nav-chev, .side .nav-sub.open > .nav-chev:hover { background: #006e95; color: #fff; opacity: 1; }
/* PayClock hover: the label turns the same cyan as the current page; the › cell stays dark. */
.side > a:hover, .side .nav > a:hover, .side .nav-sub > a:hover { background: var(--sidebar-on); color: #0c2430; }
.side .subflyout { position: fixed; left: 0; top: 0; width: 190px; min-width: 0; background: #006e95;
  border: 0; box-shadow: 4px 4px 14px rgba(0,0,0,.3); z-index: 300; padding: 0; }
.side .nav-sub.open > .subflyout { display: block; }
.side .subflyout a { display: flex; align-items: center; height: 40px; padding: 0 30px; color: #fff;
  font-size: 13.33px; font-weight: 400; white-space: nowrap; text-decoration: none; border: 0;
  background: transparent; box-shadow: none; }
.side .subflyout a:hover { background: #005278; color: #fff; }

.bar { grid-column: 2; grid-row: 1; position: static; height: auto; inset: auto; z-index: auto; box-shadow: none; background: var(--bar); color: var(--bar-text); display: flex; align-items: center; gap: 4px; padding: 0 10px; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.bar::-webkit-scrollbar { display: none; }
.bar .lbl { font-weight: 700; margin-right: 4px; }
.bar .ctl { display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; height: 46px; cursor: pointer; color: #fff; text-decoration: none; }
.bar a.ctl:hover, .bar .ctl:hover { background: rgba(255,255,255,.08); }
.bar .sep { width: 1px; height: 22px; background: rgba(255,255,255,.25); margin: 0 4px; flex: none; }
.bar .right { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.bar .badge { background: #e8730c; color: #fff; border-radius: 9px; font-size: 10px; padding: 0 5px; margin-left: -8px; margin-top: -14px; font-weight: 700; }
.bar svg { width: 18px; height: 18px; }
.bar .burger { display: none; background: transparent; border: 0; color: #fff; cursor: pointer; padding: 0 6px; height: 46px; }

.tabs { grid-column: 2; grid-row: 2; background: var(--bar-2); display: flex; align-items: flex-end; padding-left: 8px; gap: 2px; }
.tabs a { color: #fff; text-decoration: none; padding: 0 14px; height: 32px; display: flex; align-items: center; font-size: 16px; font-weight: 400; }
.tabs a.on { background: var(--page); color: var(--text); }

.body { grid-column: 2; grid-row: 3; display: grid; grid-template-columns: var(--listw, 178px) 1fr; min-height: 0; }
.body.three { grid-template-columns: var(--listw, 178px) 120px 1fr; }
.app.notabs .body { grid-row: 2; }

.list { background: var(--panel); border-right: 1px solid var(--grid-line); display: flex; flex-direction: column; min-height: 0; }
.list .search { display: flex; gap: 4px; padding: 6px; border-bottom: 1px solid var(--grid-line); }
.list .search input { flex: 1; min-width: 0; height: 24px; border: 1px solid #b9bfc7; padding: 0 5px; font-style: italic; font-size: 12.5px; }
.list .search button { border: 0; background: transparent; cursor: pointer; padding: 0 2px; }
.list .head { text-align: center; padding: 6px; border-bottom: 1px solid var(--grid-line); font-size: 13px; color: var(--muted); }
.list .items { overflow-y: auto; flex: 1; }
.list .item { display: flex; align-items: center; gap: 5px; height: 42px; padding: 0 8px 0 6px; border-bottom: 1px solid #e3e6ea; cursor: pointer; font-size: 13.5px; white-space: nowrap; overflow: hidden; color: var(--text); text-decoration: none; }
.list .item:hover { background: var(--row-hover); }
.list .item.on { background: var(--row-sel); }
.list .item .w { width: 14px; flex: none; color: var(--warn-line); display: inline-flex; }
.list .item .w svg { width: 14px; height: 14px; }
.list .item .w svg.tc-warn { width: 15px; height: 14px; }
.list .item .nm { overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }
.list .item .no { flex: none; width: 46px; text-align: center; color: var(--muted); font-size: 12.5px; }
.list .tc-head { display: flex; padding: 6px 8px 6px 25px; }
.list .tc-head span:first-child { flex: 1; text-align: center; }
.list .tc-head span:last-child { width: 46px; text-align: center; }
.list .search button { position: relative; color: #3a3f47; }
.list .search button svg { stroke: #3a3f47; }
.tc-burgwrap { position: relative; display: inline-flex; }
.tc-menu { position: fixed; min-width: 210px; background: #0a5f80; color: #fff; border-radius: 2px;
  box-shadow: 0 10px 28px rgba(0,0,0,.35); z-index: 3500; padding: 4px 0; }
.tc-menu button.tcm { display: block; width: 100%; text-align: left; border: 0; background: transparent;
  color: #fff; font: 13px var(--font); padding: 9px 16px 9px 30px; cursor: pointer; white-space: nowrap; position: relative; }
.tc-menu button.tcm:hover { background: #0c6e95; }
.re-mh { font: 600 11px var(--font); text-transform: uppercase; letter-spacing: .05em; opacity: .75;
  padding: 8px 14px 3px; border-top: 1px solid rgba(255,255,255,.2); margin-top: 4px; }
.re-co { height: 16px; width: 26px; object-fit: contain; margin-right: 5px; vertical-align: -3px; }
.tc-menu .tcm-h { font: 600 11px var(--font); text-transform: uppercase; letter-spacing: .05em; color: #bfe3f2;
  padding: 9px 16px 4px 30px; border-top: 1px solid rgba(255,255,255,.2); margin-top: 4px; }
.list .item .tc-co { height: 16px; width: 26px; object-fit: contain; margin-right: 5px; vertical-align: -3px; }
.tc-menu button.tcm-chk.on::before { content: "✓"; position: absolute; left: 11px; font-weight: 700; }
.tc-grphdr { padding: 5px 10px; font-size: 11.5px; font-weight: 700; color: #4a4f55;
  background: #e9ebee; border-bottom: 1px solid #d6d9dc; position: sticky; top: 0; }
.tc-badge { font-size: 9.5px; font-weight: 700; color: #8a5a00; background: #ffecbf; border-radius: 3px; padding: 0 4px; margin-left: 4px; }
.tc-empty { padding: 16px; color: var(--muted); font-size: 13px; text-align: center; }
/* Group / Filter -> User Preferences modal (PayClock Image #85) */
.up-ov { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 4000; display: flex;
  align-items: flex-start; justify-content: center; padding: 28px; }
.up-modal { background: #fff; width: 100%; max-width: 1100px; box-shadow: 0 18px 60px rgba(0,0,0,.5);
  display: flex; flex-direction: column; max-height: 90vh; }
.up-title { background: #0a5f80; color: #fff; text-align: center; font-size: 15px; padding: 9px; font-weight: 600; }
.up-bar { display: flex; align-items: center; gap: 4px; background: #084b64; padding: 8px 12px; }
.up-search { height: 28px; border: 1px solid #0a5f80; border-radius: 2px; padding: 0 8px; font-size: 13px;
  width: 200px; font-style: italic; }
.up-bar .up-sep { width: 1px; height: 22px; background: #2d7a98; margin: 0 8px; }
.up-btn { background: transparent; border: 0; color: #fff; font-size: 13px; cursor: pointer;
  padding: 6px 10px; display: inline-flex; align-items: center; gap: 6px; }
.up-btn:hover { background: #0a5f80; border-radius: 3px; }
.up-tabs { display: flex; background: #0a5f80; }
.up-tab { color: #cfe6ef; font-size: 14px; padding: 9px 18px; cursor: default; }
.up-tab.on { background: #fff; color: var(--text); }
.up-tab.up-dim { color: #8fc0d2; }
.up-tab:not(.on):not(.up-dim) { cursor: pointer; }
.up-tab:not(.on):not(.up-dim):hover { background: #0c6e95; color: #fff; }
.up-pane[hidden] { display: none; }
.up-grp { display: flex; gap: 28px; }
.up-grp + .up-grp { margin-top: 0; }
.up-codes { border: 1px solid #d3d6d9; min-width: 170px; max-height: 300px; overflow: auto; }
.up-codes .up-depthdr { border: 0; border-bottom: 1px solid #d3d6d9; position: sticky; top: 0; }
.up-codes .up-dept { margin: 8px 10px; }
.up-sub { font-size: 16px; font-weight: 400; color: #2b2f36; margin: 0 0 12px; }
/* top-bar gear → System menu + System Settings dialog + Logging (PayClock) */
button.sys-gear { background: none; border: 0; color: inherit; cursor: pointer; font: inherit; }
.sys-menu { position: fixed; z-index: 3600; background: #0a6f94; color: #fff; min-width: 200px;
  padding: 6px 0 10px; box-shadow: 0 10px 28px rgba(0,0,0,.35); }
.sys-menu .sys-h { font-size: 19px; padding: 6px 22px 8px; }
.sys-menu a, .sys-menu button { display: block; width: 100%; text-align: left; background: none; border: 0;
  color: #fff; font: 13.5px var(--font); padding: 7px 24px; cursor: pointer; text-decoration: none; }
.sys-menu a:hover, .sys-menu button:hover { background: #0c82ad; }
.ss-main { display: block; }
.ss-pane { display: flex; gap: 22px; flex-wrap: wrap; }
.ss-pane[hidden] { display: none; }
.ss-pane section { flex: 0 1 165px; min-width: 150px; }
#sysov .up-modal, #upGen .up-modal { height: min(600px, 88vh); }
.ss-area.up-adim { cursor: default; color: #9aa1ab; }
#upGen .up-modal { height: min(660px, 92vh); }
.up-rtab section { flex: 0 1 185px; }
.up-rtab section.ss-mid { flex: 0 1 290px; }
#sysov .up-body { min-height: 0; }
.ss-pane section.ss-wide { flex: 0 1 520px; }
.ss-pane section.ss-mid { flex: 0 1 310px; }
.ss-pane h3 { font-size: 18px; font-weight: 400; color: #2b2f36; margin: 0 0 12px; }
.ss-lbl { font-size: 13px; color: #333; margin: 12px 0 4px; }
.ss-pane h3 + .ss-lbl { margin-top: 0; }
.ss-cb { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; margin: 0 0 8px; cursor: pointer; }
.ss-cb input { width: 15px; height: 15px; margin-top: 1px; flex: none; }
.ss-note { font-size: 12.5px; color: #555; font-style: italic; margin: 4px 0 8px; }
.ss-later { font-size: 12px; color: #6a5200; background: #fff6dc; border-left: 3px solid #c9a227;
  padding: 4px 8px; margin: 6px 0 4px; }
.ss-later::before { content: "ⓘ "; }
.ss-pane select, .ss-pane .ss-num { height: 30px; border: 1px solid #9c9b9a; border-radius: 2px; font-size: 13px; padding: 0 6px; }
.ss-pane select { width: 100%; min-width: 0; }
.ss-pane .ss-num { width: 80px; }
.ss-pane .ss-txt { height: 30px; border: 1px solid #9c9b9a; border-radius: 2px; font-size: 13px; padding: 0 8px; width: 100%; max-width: 360px; box-sizing: border-box; }
.ss-pane textarea { width: 100%; border: 1px solid #c3c7cc; font: 13px var(--font); padding: 6px; resize: vertical; }
.ss-sm { display: inline-block; border: 1px solid #c3c7cc; background: #fff; color: #333; font-size: 13px;
  padding: 5px 10px; margin: 10px 4px 0 0; cursor: pointer; text-decoration: none; border-radius: 2px; }
.ss-sm:hover { background: #f1f3f5; }
.ss-sm:disabled { color: #aaa; cursor: default; }
.ss-cfbar .ss-sm { margin: 0 4px 8px 0; }
.ss-cf { border: 1px solid #c3c7cc; min-height: 140px; }
.ss-cfhdr { background: #eceef0; border-bottom: 1px solid #d3d6d9; padding: 5px 8px; font-size: 13px; }
.ss-cfrow { padding: 3px 6px; border-bottom: 1px solid #eef0f2; cursor: pointer; }
.ss-cfrow.on { background: #cdeafd; box-shadow: inset 3px 0 0 #0a5f80; }
.ss-cfrow input { width: 100%; border: 1px solid transparent; background: transparent; font-size: 13px; padding: 4px; }
.ss-cfrow input:focus { border-color: #9c9b9a; background: #fff; }
.up-area[data-a], .ss-area { cursor: pointer; }
.ss-area { padding: 9px 18px; font-size: 14px; color: var(--text); text-decoration: none; }
.ss-area.on { background: var(--blue-l, #d9eef7); box-shadow: inset 3px 0 0 #0a5f80; }
.lg { display: flex; flex-direction: column; height: 100%; background: #fff; }
.lg-title { background: #0a5f80; color: #fff; text-align: center; font-size: 15px; padding: 9px; font-weight: 600; }
.lg-bar { display: flex; align-items: center; gap: 6px; background: #084b64; padding: 8px 12px; }
.lg-bar form { margin: 0; }
.lg-bar .up-btn { text-decoration: none; }
.lg-bar .menu-wrap { position: relative; }
.lg-menu { background: #4f7fa3; min-width: 170px; }
.lg-menu a { color: #fff; }
.lg-menu a.on { font-weight: 700; }
.lg-menu a.on::before { content: "✓ "; }
.lg-wrap { flex: 1; overflow: auto; padding: 16px; }
.lg-tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.lg-tbl th { background: #eceef0; border: 1px solid #d3d6d9; text-align: left; font-weight: 400; padding: 6px 8px; position: sticky; top: 0; }
.lg-tbl td { border-bottom: 1px solid #eef0f2; padding: 6px 8px; white-space: nowrap; }
.lg-tbl td.lg-msg { white-space: normal; min-width: 260px; }
/* in-page Yes/No confirm (timecard approve / delete) */
.tcc-ov { position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 5000; display: flex;
  align-items: flex-start; justify-content: center; padding-top: 18vh; }
.tcc-box { background: #fff; min-width: 340px; max-width: 460px; box-shadow: 0 18px 50px rgba(0,0,0,.45); }
.tcc-t { background: #0a5f80; color: #fff; text-align: center; font-weight: 600; padding: 8px; font-size: 14px; }
.tcc-m { padding: 18px 20px; font-size: 14px; line-height: 1.45; }
.tcc-b { display: flex; justify-content: flex-end; gap: 8px; padding: 0 16px 14px; }
.up-body { display: flex; min-height: 0; flex: 1; }
.up-right { flex: 1; min-width: 0; display: flex; flex-direction: column; min-height: 0; }
.up-modal .up-body { min-height: 470px; }
.up-areas { width: 210px; flex: none; border-right: 1px solid #d6d9dc; display: flex; flex-direction: column;
  background: #fafafa; padding: 8px 0; }
.up-area { padding: 9px 18px; font-size: 14px; color: var(--text); text-decoration: none; cursor: default; }
.up-area.on { background: var(--blue-l, #d9eef7); box-shadow: inset 3px 0 0 #0a5f80; }
.up-main { flex: 1; min-width: 0; padding: 22px 26px; overflow: auto; }
.up-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.up-sec h4 { font-size: 18px; font-weight: 400; color: #2b2f36; margin: 0 0 14px; }
.up-dept { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #2b2f36; margin: 0 0 8px; cursor: pointer; }
.up-dept input { width: 15px; height: 15px; }
.up-all { margin-bottom: 12px; }
.up-depthdr { font-size: 12px; font-weight: 700; color: #4a4f55; background: #eceef0;
  border: 1px solid #d3d6d9; padding: 6px 10px; }
.up-depts { border: 1px solid #d3d6d9; border-top: 0; padding: 8px 10px; min-width: 220px; max-height: 220px; overflow: auto; }
.up-depts .up-dept { margin: 0 0 6px; }
.up-glbl { font-size: 13px; color: #444; margin: 0 0 4px; }
.up-sec select { height: 30px; border: 1px solid #9c9b9a; border-radius: 2px; font-size: 13px; min-width: 200px; padding: 0 8px; }
/* Manage Benefit Accruals modal (PayClock Images #86/#88) */
.bm-ov { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 4200; display: flex;
  align-items: flex-start; justify-content: center; padding: 24px; }
.bm-modal { background: #fff; width: 100%; max-width: 1000px; box-shadow: 0 18px 60px rgba(0,0,0,.5);
  display: flex; flex-direction: column; max-height: 92vh; }
.bm-title { background: #006e95; color: #fff; text-align: center; font-size: 18px; padding: 8px; font-weight: 400; }
.bm-bar { display: flex; align-items: center; gap: 4px; background: #084b64; padding: 8px 12px; }
.bm-btn { background: transparent; border: 0; color: #fff; font-size: 13px; cursor: pointer; padding: 6px 10px;
  display: inline-flex; align-items: center; gap: 6px; }
.bm-btn:hover { background: #0a5f80; border-radius: 3px; }
.bm-bar .bm-sep { width: 1px; height: 22px; background: #2d7a98; margin: 0 8px; }
.bm-body { display: flex; min-height: 0; flex: 1; }
.bm-areas { width: 180px; flex: none; background: #2b2f36; display: flex; flex-direction: column; padding: 6px 0; }
.bm-area { padding: 12px 18px; font-size: 14px; color: #cdd2d8; text-align: center; cursor: default; }
.bm-area.on { background: #cdeef7; color: #15394a; }
.bm-main { flex: 1; min-width: 0; padding: 20px 26px; overflow: auto; }
.bm-h { font-size: 19px; font-weight: 400; color: #2b2f36; margin: 0 0 12px; }
.bm-tbl { border-collapse: collapse; font-size: 13px; margin: 8px 0 20px; width: 100%; max-width: 920px; }
.bm-tbl th { background: #eceef0; border: 1px solid #d3d6d9; text-align: left; font-weight: 600; color: #2b2f36; padding: 7px 12px; }
.bm-tbl td { border: 1px solid #d3d6d9; padding: 6px 12px; background: #fff; }
.bm-tbl .bm-c { text-align: right; font-variant-numeric: tabular-nums; }
.bm-tbl .bm-rem { font-weight: 700; }
.bm-tbl input, .bm-tbl select { height: 28px; border: 1px solid #9c9b9a; border-radius: 2px; font-size: 13px; padding: 0 6px; }
.bm-f { margin: 0 0 16px; max-width: 460px; }
.bm-f > label { display: block; font-size: 13px; color: #444; margin: 0 0 5px; }
.bm-f select { height: 30px; border: 1px solid #9c9b9a; border-radius: 2px; font-size: 13px; min-width: 240px; padding: 0 8px; }
.off-list { max-height: 300px; overflow: auto; padding: 4px 12px; font-size: 13.5px; }
.off-d { font-weight: 600; margin: 8px 0 3px; color: #2b2f36; border-bottom: 1px solid #e3e6ea; padding-bottom: 2px; }
.off-r { display: flex; justify-content: space-between; gap: 10px; padding: 2px 0 2px 8px; }
.off-r span { color: #555; white-space: nowrap; }
.off-none { color: #777; padding: 14px 0; text-align: center; }
.wo-form { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin: 10px 0 6px; font-size: 13.5px; }
.wo-form label { display: flex; gap: 6px; align-items: center; }
.wo-day { font-size: 15px; margin: 18px 0 6px; }
.asg-wrap { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.asg-btns { display: flex; gap: 8px; margin-bottom: 8px; align-items: center; }
.asg-btns .btn { margin: 0; }
.asg-q { height: 28px; border: 1px solid #9c9b9a; border-radius: 2px; padding: 0 8px; width: 150px; }
.asg-tree { border: 1px solid #d3d6d9; border-radius: 3px; padding: 8px 12px; min-width: 280px; max-height: 360px; overflow: auto; font-size: 13.5px; }
.asg-tree label { display: flex; align-items: center; gap: 7px; cursor: pointer; margin: 3px 0; }
.asg-tree input { width: 15px; height: 15px; }
.asg-dh { display: flex; align-items: center; gap: 4px; margin-left: 10px; }
.asg-tw { width: 14px; cursor: pointer; color: #555; user-select: none; }
.asg-kids { margin-left: 42px; }
.asg-tree.flat .asg-dh { display: none; }
.asg-tree.flat .asg-kids { margin-left: 14px; display: block !important; }
.asg-self { color: #777; }
.asg-tag { font-size: 11px; border: 1px solid #b8bcc2; border-radius: 9px; padding: 0 6px; color: #555; }
.asg-opts { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; padding-top: 36px; }
.asg-opts label { display: flex; gap: 7px; align-items: flex-start; cursor: pointer; max-width: 200px; }
.asg-count { margin-top: 10px; font-weight: 600; }
.asg-warn { border: 1px solid #b7791f; background: #fff7e6; padding: 6px 10px; border-radius: 3px; margin: 0 0 10px; max-width: 560px; font-size: 13px; }
.ef-pair { display: flex; gap: 8px; align-items: center; }
.ef-pair .ef-side { margin: 0; white-space: nowrap; height: 26px; padding: 0 10px; }
.ef-ro { padding: 4px 0; font-weight: 600; }
.bm-checks { border: 1px solid #d3d6d9; border-radius: 3px; padding: 8px 12px; max-height: 300px; overflow: auto; }
.wp-grid { display: grid; grid-template-columns: minmax(260px, 300px) 1fr; gap: 40px; }
@media (max-width: 720px) { .wp-grid { grid-template-columns: 1fr; gap: 12px; } }
.wp-add { display: flex; gap: 6px; margin: 0 0 6px; }
.wp-add .btn { width: 36px; padding: 0; font-size: 17px; }
.wp-add input { flex: 1; height: 30px; border: 1px solid #9c9b9a; border-radius: 2px; padding: 0 8px; font-size: 13px; min-width: 0; }
.bm-f select.wp-list { width: 100%; height: 96px; min-width: 0; padding: 4px; }
.wp-err { color: #8a4b00; font-weight: 600; }
.wp-err::before { content: "⚠ "; }
.bm-chk { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #2b2f36; margin: 0 0 6px; cursor: pointer; }
.bm-chk input { width: 15px; height: 15px; }
/* Employees page master list: Name + Number columns */
.uv-list a .uv-ename { flex: 1; overflow: hidden; text-overflow: ellipsis; }
.uv-list a .uv-enum { color: var(--muted); font-size: 12px; margin-left: 8px; }
.exc-list { background: #c9cdd3; border-right: 1px solid var(--grid-line); overflow-y: auto; }
.exc-list .day { background: #8b9099; color: #fff; padding: 6px 8px; font-weight: 700; font-size: 12px; }
.exc-list .x { background: #fff; padding: 7px 8px; border-bottom: 1px solid var(--grid-line); cursor: pointer; font-size: 12.5px; color: var(--text); text-decoration: none; display: block; }
.exc-list .x.on { background: var(--row-sel); }

.detail { grid-column: 2; grid-row: 3; overflow: auto; padding: 10px 10px 30px; min-width: 0; background: var(--page); }
.app.notabs .detail { grid-row: 2; }
.body .detail { grid-column: auto; grid-row: auto; }
.detail h1 { font-size: 22px; font-weight: 400; margin: 2px 0 10px; color: var(--text); letter-spacing: 0; text-transform: none; }
.tools { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 32px; min-height: 0; padding: 0 12px; background: #fff; border: 1px solid #c3c8cf; border-radius: 3px; color: var(--text); cursor: pointer; font-size: 13.5px; font-weight: 400; text-decoration: none; }
.btn:hover { background: #f1f3f6; border-color: #c3c8cf; }
.btn svg { width: 17px; height: 17px; }
.btn.split { padding-right: 4px; }
.btn .caret { border-left: 1px solid #c3c8cf; height: 100%; display: grid; place-items: center; padding-left: 6px; margin-left: 4px; }
/* Joined split button (main action + caret menu), no gap between the halves */
.split2 { display: inline-flex; align-items: stretch; }
.body.exc-empty { grid-template-columns: 330px 1fr; }
.exc-empty .detail { padding: 18px 22px; }
.exc-list .x .xd { display: block; font-size: 11.5px; color: #6a7076; }
.exc-none { font-size: 19px; font-weight: 300; color: #333; margin: 0 0 14px; }
.sumgrid tbody tr { cursor: default; }
.grid.sumgrid tbody tr.sel td, .grid.sumgrid tbody tr.sel:hover td { background: #b9dcf2; }
.grid.sumgrid td input[type=checkbox] { min-height: 0; min-width: 0; width: 15px; height: 15px; margin: 0; }
.sumgrid td { height: 32px; padding-top: 0; padding-bottom: 0; }
.sum-x { color: #9a6b00; }
.sum-search { display: flex; gap: 4px; align-items: center; }
.sum-search input { height: 30px; border: 1px solid #b9bfc7; padding: 0 6px; font-style: italic; }
.sum-burger { border: 0; background: transparent; cursor: pointer; color: #3a3f47; padding: 0 2px; }
.note.warn { color: #8a1c1c; }
.split2 .split-main { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.split2 .menu-wrap { display: inline-flex; }
.split2 .split-caret { border-top-left-radius: 0; border-bottom-left-radius: 0; border-left: 0; padding: 0 9px; gap: 0; }
.split2 .split-caret .caret { border: 0; margin: 0; padding: 0; }   /* the main button's right border is the only divider */
.btn:disabled { opacity: .5; cursor: default; }
.btn.primary { background: #24557f; border-color: #24557f; color: #fff; }
.btn.primary:hover { background: #1f4a6f; }
.icon-btn { width: 34px; height: 32px; min-height: 0; display: grid; place-items: center; border: 1px solid #c3c8cf; background: #fff; border-radius: 3px; cursor: pointer; margin-left: auto; color: var(--text); }
.section { display: flex; align-items: center; gap: 6px; font-size: 18px; font-weight: 400; margin: 12px 0 8px; cursor: pointer; user-select: none; color: var(--text); text-transform: none; letter-spacing: 0; }
.section .tri { font-size: 10px; color: var(--muted); }
.menu-wrap { position: relative; }
.menu { position: absolute; top: 34px; left: 0; z-index: 10; background: #2c6594; color: #fff; min-width: 190px; box-shadow: 0 6px 18px rgba(0,0,0,.25); display: none; }
.menu.open { display: block; }
.menu a, .menu div { padding: 8px 12px; cursor: pointer; font-size: 13px; color: #fff; text-decoration: none; display: block; }
.menu a:hover, .menu div:hover { background: #24557f; }

.grid-wrap { overflow-x: auto; border: 1px solid var(--grid-line); }
table.grid { display: table; border-collapse: collapse; font-size: 13.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.grid.full { width: 100%; }
.grid th { text-transform: none; letter-spacing: 0; font-size: 13px; }
.grid th { background: var(--grid-head); color: var(--grid-head-text); font-weight: 400; text-align: center; height: 34px; padding: 0 10px; border: 1px solid var(--grid-line); min-width: 92px; max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
.grid td { height: 38px; padding: 0 8px; border: 1px solid var(--grid-line); color: var(--text); }
.grid td.num, .grid td.t { text-align: right; }
.grid td.c { text-align: center; }
.grid td.date { background: #f6f7f9; min-width: 140px; }
.grid td.ctx { background: #f6f7f9; }
.grid tbody tr:hover td { background: var(--row-hover); }
.grid tbody tr.sel td { background: #e8f1fb; }
.grid td { user-select: none; -webkit-user-select: none; }
.grid td.ce { cursor: cell; }
.grid td.ce:focus { outline: none; }
.grid td.benc { padding: 0; }
.grid td.benc input.bencell { width: 100%; height: 100%; min-height: 28px; border: 1px solid transparent; background: transparent;
  text-align: right; font: inherit; border-radius: 0; padding: 0 8px; }
.grid td.benc input.bencell:hover { border-color: #cfd6dd; background: #fff; }
.grid td.benc input.bencell:focus { border-color: var(--accent); background: #fff; outline: none; }
.grid td.benc input.bencell:disabled { color: #9aa1ab; }
.grid td.ce.editing { text-align: left; padding-left: 4px; }
.grid td.ce.editing .tbox { display: inline-block; background: #fff; border: 2px solid var(--cell-sel); border-radius: 4px; padding: 1px 6px; font-weight: 400; white-space: nowrap; font-size: 13px; color: #000; letter-spacing: 0; }
.grid td.ce.editing .sg.on { background: #1a73e8; color: #fff; font-weight: 600; border-radius: 2px; }
.grid td.ce.editing { background: #fff !important; box-shadow: inset 0 0 0 2px var(--cell-sel); font-weight: 500; }
.grid td.cell-sel { outline: 2px solid var(--cell-sel); outline-offset: -2px; background: #dbe9f8 !important; position: relative; }
.tcpad-ov { position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 3000; display: flex; align-items: flex-end; justify-content: center; }
.tcpad { background: #fff; color: #1f2328; width: 100%; max-width: 460px; border-radius: 14px 14px 0 0; padding: 16px 16px 22px; box-shadow: 0 -6px 24px rgba(0,0,0,.25); }
.tcpad-h { font-weight: 600; font-size: 16px; margin-bottom: 10px; }
.tcpad input[type=time] { width: 100%; font-size: 26px; height: 54px; padding: 0 12px; border: 1px solid #b8c2cc; border-radius: 8px; box-sizing: border-box; }
.tcpad-b { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tcpad-b .btn { flex: 1 1 40%; height: 44px; font-size: 15px; }
.grid td.cell-sel .pen { position: absolute; right: 2px; top: 6px; width: 22px; height: 24px; background: var(--cell-sel); color: #fff; display: grid; place-items: center; border-radius: 2px; }
.grid td.cell-sel .pen svg { width: 13px; height: 13px; }
.grid td.missing { background: repeating-linear-gradient(135deg, var(--warn-bg) 0 6px, #ffe6a3 6px 12px) !important; border: 2px solid var(--warn-line); color: var(--warn-text); font-weight: 700; font-size: 11px; text-align: center; letter-spacing: .04em; }
.grid td.missing a { color: var(--warn-text); text-decoration: none; }
.grid td.edited { font-weight: 700; box-shadow: inset 0 -3px 0 #e8730c; }
/* PayClock timecard cells: times centered; bold = added/edited by hand; a punch from the phone app
   gets a small upside-down GPS pin on the cell's edge (web/portal punches look like clock punches);
   a missing or still-open punch is an empty pink cell (dashed border when it's missing). */
.grid td.t { text-align: center; position: relative; }
.grid td.edited { box-shadow: none; }
.grid td.t .gpsmark { position: absolute; top: 2px; right: 2px; margin: 0; padding: 0; border: 0; background: none;
  color: #0a5f80; line-height: 0; transform: rotate(180deg); }
.grid td.t .gpsmark.nogps { color: #666; background: none; }
.grid td.openc, .grid td.missing { background: #ffd9de !important; border: 1px solid #e3a3ad !important; color: transparent;
  font-size: 0; letter-spacing: 0; }
.grid td.missing { border-style: dashed !important; }
#sec-tc table.grid th, #sec-totals table.grid th { background: #e7e7e7 !important; color: #000; }
#sec-tc table.grid tr.today td.date { box-shadow: none; }
#sec-tc table.grid tr.weekend td.date, #sec-tc table.grid tr.weekend td { color: #000; }
.grid td.t .gpsmark { top: 1px; right: 1px; color: #0a5f80; }
/* phone punches: a gray "G P S" strip down the cell's left edge, like PayClock ("A P P" dashed = no location) */
.grid td.t .gpsv { position: absolute; left: 0; top: 0; bottom: 0; width: 14px; display: flex; flex-direction: column;
  justify-content: center; align-items: center; background: #c9ced4; border-right: 1px solid #8f99a3; color: #1d2329;
  font: 700 10px/1.1 Arial, sans-serif; cursor: help; }
.grid td.t .gpsv i { font-style: normal; }
.grid td.t .gpsv.nogps { background: #eef0f2; border-right-style: dashed; }
.grid td.t .gpsmark svg { width: 13px; height: 13px; stroke-width: 2.4; }
.grid td a.celllink { color: var(--text); text-decoration: none; display: block; }
.grid td .tag { display: inline-block; font-size: 9.5px; font-weight: 700; letter-spacing: .04em; padding: 1px 3px; margin-right: 4px; border-radius: 2px; vertical-align: 1px; background: #e9e4fb; color: #4a2fa0; }
.grid td .tag.x { background: #e3eefb; color: #1d5fa8; }
.grid td.ot { color: #a14a00; font-weight: 500; }
.grid td.run { color: var(--muted); }
.grid td.chk { text-align: center; }
.grid tfoot td { font-weight: 700; background: var(--grid-head); }
.grid tr.weekend td.date { color: var(--muted); }
.grid tr.today td.date { box-shadow: inset 4px 0 0 #e8730c; }
.grid.totals th { min-width: 78px; }
.grid.totals td { height: 34px; }

.legend { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 12px; margin-top: 8px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { display: inline-block; width: 26px; height: 14px; border: 1px solid var(--grid-line); }
.legend i.m { background: repeating-linear-gradient(135deg, var(--warn-bg) 0 4px, #ffe6a3 4px 8px); border: 2px solid var(--warn-line); }
.legend i.e { box-shadow: inset 0 -3px 0 #e8730c; }
.legend i.t { box-shadow: inset 4px 0 0 #e8730c; }
.legend i.s { outline: 2px solid var(--cell-sel); outline-offset: -2px; background: #dbe9f8; }
.chip { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 2px 7px; border-radius: 10px; border: 1px solid; }
.chip.in { color: #1d5fa8; background: #e6f0fb; border-color: #b9d3f1; }
.chip.out { color: #555d68; background: #eef0f2; border-color: #d6dade; }
.chip.warn { color: var(--warn-text); background: var(--warn-bg); border-color: var(--warn-line); }
.note { color: var(--muted); font-size: 12px; margin-top: 6px; }

/* Modal dialog (Edit Employee / Benefits / Schedule / History / Add punch) */
.overlay { position: fixed; inset: 0; background: rgba(15,20,28,.5); display: none; align-items: flex-start; justify-content: center; padding: 6vh 16px 16px; z-index: 80; overflow: auto; }
.overlay.open { display: flex; }
.modal { background: #fff; border-radius: 8px; width: 100%; max-width: 580px; box-shadow: 0 14px 40px rgba(0,0,0,.35); }
.modal.wide { max-width: 820px; }
.modal-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--grid-line); font-weight: 700; font-size: 15px; }
.modal-head .x { margin-left: auto; border: 0; background: transparent; font-size: 18px; line-height: 1; cursor: pointer; color: var(--muted); padding: 2px 6px; }
.modal-head .x:hover { color: var(--text); }
.modal-body { padding: 16px; }
.modal-body .card { border: 0; box-shadow: none; padding: 0; background: transparent; }

/* Right-side slide-in panel for editing a punch (PayClock-style fly-in) */
/* PayClock-style punch slide-in: teal header, dark panel, Source + Time Zone sections */
.slidein { position: fixed; top: 0; right: 0; height: 100vh; height: 100dvh; width: 340px; max-width: 92vw;
  background: #2b2f36; color: #e8edf2; border-left: 1px solid #1b1e23; box-shadow: -10px 0 30px rgba(0,0,0,.4);
  transform: translateX(100%); transition: transform .18s ease; z-index: 120; display: flex; flex-direction: column; }
.slidein.open { transform: translateX(0); }
.slidein .si-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #006e95;
  font-size: 17px; font-weight: 500; color: #fff; }
.slidein .si-head .x { margin-left: auto; border: 0; background: transparent; font-size: 18px; line-height: 1;
  cursor: pointer; color: #cfe6f1; padding: 2px 6px; }
.slidein .si-head .x:hover { color: #fff; }
.slidein .si-bar { display: flex; align-items: center; background: #0a5f80; padding: 4px 8px; gap: 2px; }
.slidein .si-bar .si-tb { background: none; border: 0; color: #fff; cursor: pointer; font: inherit; font-size: 13px;
  padding: 7px 12px; display: inline-flex; align-items: center; gap: 6px; border-radius: 3px; }
.slidein .si-bar .si-tb:hover { background: rgba(255,255,255,.12); }
.slidein .si-bar .si-tb svg { width: 15px; height: 15px; }
.slidein .si-body { padding: 0; overflow-y: auto; flex: 1; }
.slidein .si-sec { padding: 14px 18px; border-bottom: 1px solid #3a3f47; }
.slidein .si-h { font-size: 20px; font-weight: 400; color: #fff; margin: 0 0 12px; }
.slidein .si-lbl2 { font-size: 12px; color: #9fb0bf; margin: 0 0 2px; }
.slidein .si-val { font-size: 14px; font-weight: 600; color: #fff; margin: 0 0 4px; }
.slidein .si-val svg { vertical-align: -2px; }
.slidein .si-map { width: 100%; height: 190px; border: 1px solid #556; border-radius: 3px; margin: 8px 0 6px; background: #3a3f47; }
.slidein .si-maplink { color: #9bf2fe; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.gpsmark { display: inline-flex; align-items: center; gap: 1px; vertical-align: 1px; margin-left: 4px; padding: 0 4px 0 2px;
  border: 1px solid #0a5f80; border-radius: 8px; background: #e3f1f7; color: #0a5f80; font-size: 9.5px; font-weight: 700;
  line-height: 14px; letter-spacing: .3px; }
.gpsmark.nogps { border-style: dashed; background: #f3f3f3; color: #444; }
.legend .gpsmark { margin: 0 5px 0 0; }
.slidein .si-tz { width: 100%; height: 30px; border: 1px solid #556; border-radius: 3px; background: #3a3f47; color: #e8edf2; font-size: 13px; }
.slidein .si-body label { display: block; font-size: 12px; font-weight: 600; color: #9fb0bf; margin: 10px 0 3px; }
.slidein .si-body input, .slidein .si-body select, .slidein .si-body textarea { width: 100%; background: #3a3f47;
  color: #e8edf2; border: 1px solid #556; border-radius: 3px; padding: 5px 7px; font-size: 13px; }
.slidein .si-body textarea { min-height: 54px; }
.slidein .si-body .row { display: flex; gap: 8px; margin-top: 14px; }
/* top-bar Close Pay Period button + closed banner */
.bar .ctl-btn{background:none;border:0;color:inherit;font:inherit;cursor:pointer;display:inline-flex;align-items:center;gap:6px;padding:0}
.bar form.inline{display:inline-flex;align-items:center}
.closed-banner{background:#fde7c8;border:1px solid #e6b877;color:#7a4e00;padding:8px 14px;border-radius:4px;margin:0 0 12px;font-size:13px}
/* Pay Period dropdown + Select Pay Period modal */
.ppd-wrap{position:relative;display:inline-flex}
.ppd-trigger{cursor:pointer}
.ppd{position:fixed;min-width:260px;background:#fff;border:1px solid #c9ccd1;
  box-shadow:0 10px 30px rgba(0,0,0,.25);border-radius:3px;display:none;z-index:200;padding:4px 0}
.ppd.open{display:block}
.ppd a{display:block;padding:9px 16px;font-size:13.5px;color:var(--text);text-decoration:none;white-space:nowrap}
.ppd a:hover{background:#eaf3fa}
.ppd .ppd-all{border-top:1px solid #e3e6ea;color:#1769aa}
.ppall-ov{position:fixed;inset:0;background:rgba(16,21,28,.55);display:none;z-index:150;align-items:flex-start;justify-content:center;padding:8vh 2vw}
.ppall-ov.open{display:flex}
.ppall-modal{background:#fff;width:100%;max-width:560px;box-shadow:0 18px 50px rgba(0,0,0,.45);display:flex;flex-direction:column;max-height:70vh}
.ppall-title{background:#0a5f80;color:#fff;text-align:center;font-size:16px;font-weight:600;padding:9px}
.ppall-bar{background:#0d6e95;color:#fff;display:flex;align-items:center;gap:10px;padding:8px 14px}
.ppall-bar .ppall-selbtn{display:inline-flex;align-items:center;gap:6px;font-size:14px}
.ppall-bar .ppall-sep{width:1px;height:20px;background:rgba(255,255,255,.35)}
.ppall-bar{flex-wrap:wrap}.ppall-bar .ppall-go{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:inherit;margin:0;flex-wrap:nowrap}
.ppall-go input{height:26px;color:#111}.ppall-gobtn{height:26px;padding:0 10px;border:1px solid rgba(255,255,255,.6);
background:rgba(255,255,255,.12);color:#fff;border-radius:3px;cursor:pointer;font:inherit}.ppall-gobtn:hover{background:rgba(255,255,255,.25)}
.ppd .ppd-cur{font-weight:600;border-bottom:1px solid rgba(0,0,0,.12)}.ppall-x{margin-left:auto;background:none;border:0;color:#fff;cursor:pointer;font:inherit;font-size:14px}
.ppall-colhead{background:#eceef0;border-bottom:1px solid #c9ccd1;padding:8px 18px;font-size:13px;color:#555}
.ppall-list{overflow:auto;flex:1}
.ppall-item{display:block;padding:10px 18px;font-size:14px;color:var(--text);text-decoration:none;border-bottom:1px solid #f0f1f3}
.ppall-item:hover{background:#eaf3fa}
.ppall-item.sel{background:#e4e6e8}
/* Global Edits modal (PayClock) */
.ge-ov{position:fixed;inset:0;background:rgba(16,21,28,.6);display:none;z-index:140;align-items:flex-start;justify-content:center;padding:4vh 2vw;overflow:auto}
.ge-ov.open{display:flex}
.ge-modal{background:#fff;width:100%;max-width:950px;box-shadow:0 18px 50px rgba(0,0,0,.45);display:flex;flex-direction:column}
.ge-title{background:#0a5f80;color:#fff;text-align:center;font-size:16px;font-weight:600;padding:9px}
.ge-sub{background:#0d6e95;color:#fff;display:flex;align-items:center;gap:14px;padding:7px 14px}
.ge-sub .ge-pc{font-size:14px}
.ge-sub .ge-x{margin-left:auto;background:none;border:0;color:#fff;cursor:pointer;font:inherit;font-size:14px;display:inline-flex;align-items:center;gap:5px}
.ge-toolbar{display:flex;align-items:center;gap:14px;background:#eef0f2;border-bottom:1px solid #c9ccd1;padding:8px 12px}
.ge-toolbar .ge-search{height:28px;border:1px solid #9c9b9a;border-radius:3px;padding:0 8px;font-size:13px;width:220px;font-style:italic}
.ge-toolbar .ge-task{font-size:14px;font-weight:600;color:#2b2f36}
.ge-toolbar .ge-task select{font-weight:600;height:28px;border:1px solid #9c9b9a;border-radius:3px;font-size:13px}
.ge-toolbar .ge-save{margin-left:auto;background:#1769aa;color:#fff;border:0;border-radius:3px;height:30px;padding:0 16px;cursor:pointer;font-size:13px}
.ge-body{display:flex;min-height:46vh;height:72vh}
.ge-list{width:300px;flex:none;background:#eceef0;border-right:1px solid #c9ccd1;display:flex;flex-direction:column;min-height:0}
.ge-list .ep{flex:1}
.ge-emp{display:flex;align-items:center;gap:7px;padding:1px 14px;font-size:13px;color:var(--text);cursor:pointer;line-height:1.5}
.ge-emp input[type=checkbox]{width:15px;height:15px;min-height:0;min-width:0;margin:0;flex:none}
.ge-emp.ge-allrow{padding-bottom:4px;border-bottom:1px solid #d6d9dc;margin-bottom:3px}
.ge-emp.ge-dept{margin-top:6px;padding-top:3px;border-top:1px solid #d6d9dc}.ge-emp.ge-dept .ge-dn{color:#555;font-size:12px}
.ge-emp.ge-person{padding-left:30px}
.ge-main{flex:1;min-width:0;padding:22px 26px;overflow:auto}
.ge-cols{display:flex;gap:60px;flex-wrap:wrap}
.ge-sec h3{font-size:19px;font-weight:400;color:#2b2f36;margin:0 0 16px}
.ge-f{margin:0 0 14px}
.ge-f>label{display:block;font-size:12.5px;color:#444;margin:0 0 4px}
.ge-f input[type=date],.ge-f input[type=time]{height:28px;border:1px solid #9c9b9a;border-radius:2px;padding:0 6px;font-size:13px}
.ge-f input:disabled{background:#eceef0;color:#9aa1ab}
.ge-f.cb>label{display:flex;align-items:flex-start;gap:7px;font-size:13px;color:#2b2f36;max-width:280px}

/* Setup page — PayClock-style pay-class editor (left list + sub-tabs + panes) */
.setup-toolbar { display: flex; align-items: center; padding: 8px 10px; background: #eef0f2;
  border: 1px solid var(--grid-line); border-bottom: 0; }
.setup-wrap { display: grid; grid-template-columns: 200px 1fr; border: 1px solid var(--grid-line); background: #fff; }
.setup-list { border-right: 1px solid var(--grid-line); background: #fafbfc; }
.setup-list .lhead { padding: 8px 12px; font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--muted); border-bottom: 1px solid var(--grid-line); }
.setup-list .sitem { display: block; padding: 9px 12px; font-size: 13.5px; text-decoration: none; color: var(--text); border-bottom: 1px solid var(--grid-line); }
.setup-list .sitem.on { background: var(--sidebar-on); color: #0c2430; font-weight: 600; }
.setup-list .sitem .small { color: var(--muted); font-weight: 400; }
.setup-main { min-width: 0; }
.subtabs { display: flex; gap: 2px; border-bottom: 1px solid var(--grid-line); background: #eef0f2;
  padding: 0 6px; flex-wrap: wrap; }
.subtabs .stab { background: transparent; border: 0; border-bottom: 3px solid transparent;
  padding: 9px 14px; font-size: 14px; cursor: pointer; color: #3a3f47; }
.subtabs .stab.on { border-bottom-color: var(--bar); font-weight: 600; background: #fff; }
.subpane { padding: 16px; }
.subpane .setup-h { font-size: 17px; font-weight: 400; color: #3a3f47; margin: 2px 0 10px; }
.subpane .setup-h ~ .setup-h { margin-top: 20px; }
.setup-foot { padding: 12px 16px; border-top: 1px solid var(--grid-line); background: #fafbfc; }

/* PayClock-style full employee editor (title bar + toolbar + tabs + 3-col General) */
.emp-ov { position: fixed; inset: 0; background: rgba(16,21,28,.97); display: none; z-index: 130; padding: 3vh 2vw; overflow: auto; }
.emp-ov.open { display: block; }
/* Fonts/sizes matched to live PayClock: Roboto 10pt base, teal #006e95 chrome. */
.emp-modal { background: #fff; max-width: 1180px; margin: 0 auto; box-shadow: 0 18px 50px rgba(0,0,0,.45); min-height: 72vh; font-size: 13px; }
.emp-title { background: #006e95; color: #fff; text-align: center; font-size: 16px; font-weight: 400; padding: 7px; }
.emp-toolbar { background: #006e95; color: #fff; display: flex; align-items: center; gap: 2px; padding: 5px 10px; border-top: 1px solid rgba(255,255,255,.12); }
.emp-toolbar .etb { background: none; border: 0; color: #fff; cursor: pointer; font: inherit; font-size: 13px; padding: 5px 10px; display: inline-flex; gap: 5px; align-items: center; }
.emp-toolbar .etb:hover { background: rgba(255,255,255,.12); }
.emp-toolbar .etb-sep { width: 1px; height: 20px; background: rgba(255,255,255,.35); margin: 0 6px; }
.emp-tabs { display: flex; background: #006e95; padding: 0 6px; flex-wrap: wrap; }
.emp-tabs .etab { background: transparent; border: 0; color: #dcecf5; cursor: pointer; font: inherit; font-size: 17px; font-weight: 300; padding: 8px 15px; }
.emp-tabs .etab.on { background: #fff; color: #1f2328; }
.emp-tabs .etab:hover:not(.on) { color: #fff; }
.emp-toolbar .menu-wrap { position: relative; }
.emp-toolbar .menu-wrap .menu { z-index: 140; }
.emp-toolbar .caret { font-size: 12px; }
.emp-general { display: flex; gap: 46px; flex-wrap: wrap; padding: 22px 26px; }
.emp-acc > section { flex: 1 1 320px; max-width: 460px; }  /* Permissions | Login side by side, like PayClock */
.emp-general section h3, .emp-pane-pad h3 { font-size: 21.33px; font-weight: 300; color: #000; margin: 0 0 10px; }
.eg-two { display: flex; gap: 30px; }
.emp-pane-pad { padding: 22px 26px; }
.ef { margin-bottom: 11px; }
.ef > label { display: block; font-size: 13px; color: #2e2e2e; margin-bottom: 2px; }
.ef input:not([type=checkbox]), .ef select { width: 160px; max-width: 100%; height: 24px; border: 1px solid #9c9b9a; border-radius: 2px; padding: 0 4px; background: #fff; font-size: 13px; }
.ef.cbrow > label { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text); margin-top: 8px; }
.ef .req { color: #c0392b; }
.emp-tbl { border-collapse: collapse; margin-top: 6px; }
.emp-tbl th { text-align: left; font-size: 12px; font-weight: 400; color: #555; border: 1px solid #c9ccd1; background: #eef0f2; padding: 4px 10px; text-transform: none; letter-spacing: 0; }
.emp-tbl td { border: 1px solid #c9ccd1; padding: 4px 10px; font-size: 13px; }
.emp-tbl input { height: 22px; border: 1px solid #9c9b9a; border-radius: 2px; padding: 0 4px; font-size: 13px; }
.rowbtns { display: flex; gap: 5px; margin: 4px 0 8px; }
.sqbtn { width: 28px; height: 26px; border: 1px solid #c3c8cf; background: #fff; cursor: pointer; font-size: 17px; line-height: 1; border-radius: 3px; color: #3a3f47; display: grid; place-items: center; padding: 0; }
.sqbtn:hover { background: #eef0f2; }
.pic-box { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 300px; height: 300px;
  border: 1px solid #c9ccd1; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 300'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23f4f6f8'/%3E%3Cstop offset='1' stop-color='%23ffffff'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23g)' d='M150 40c-33 0-52 26-52 60 0 28 13 52 31 62v14c-34 8-77 24-94 52-8 14-11 44-11 72h252c0-28-3-58-11-72-17-28-60-44-94-52v-14c18-10 31-34 31-62 0-34-19-60-52-60z'/%3E%3C/svg%3E") center bottom / 100% auto no-repeat, #4f7fa3; cursor: pointer; color: #2b3b47; font-size: 18px; overflow: hidden; }
.pic-box img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 760px) {
  .app { grid-template-columns: 1fr; }
  .side { position: fixed; top: 0; left: 0; bottom: 0; width: 210px; z-index: 60; transform: translateX(-100%); transition: transform .18s ease; box-shadow: 0 0 40px rgba(0,0,0,.5); }
  body.nav-open .side { transform: none; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 55; }
  .bar { grid-column: 1; } .tabs { grid-column: 1; } .body { grid-column: 1; } .detail { grid-column: 1; }
  .bar .burger { display: inline-flex; align-items: center; }
  .body { grid-template-columns: 1fr; } .body.three { grid-template-columns: 1fr; }
  .list { max-height: 220px; } .exc-list { max-height: 160px; }
  .rpt-wrap{flex-direction:column} .rl-col{width:auto;max-height:260px}
}
/* ===== Reports page (PayClock layout): left report list + right config ===== */
.rpt-wrap{display:flex;align-items:stretch;height:calc(100vh - var(--barh, 104px));
  background:#fff;overflow:hidden}
.rl-col{width:300px;flex:none;border-right:1px solid #cfd2d6;display:flex;flex-direction:column;
  background:#fafafa;overflow:hidden}
.rl-search{padding:10px 12px;border-bottom:1px solid #e3e5e8}
.rl-search input{width:100%;height:30px;border:1px solid #9c9b9a;border-radius:3px;padding:0 9px;
  font-size:13px;box-sizing:border-box}
.rl-allhdr{padding:8px 14px;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;
  color:#6a7076;background:#eef0f2;border-bottom:1px solid #e3e5e8}
.rl-items{overflow:auto;flex:1}
.rl-item{display:block;padding:7px 14px;font-size:13px;color:#2b2f36;text-decoration:none;
  border-bottom:1px solid #ededed;cursor:pointer;line-height:1.3}
.rl-item:hover{background:#ededed}
.rl-item.on{background:#dcdcdc;font-weight:700;box-shadow:inset 3px 0 0 #7a7f86}
.rl-item[data-mine]::before{content:"°5 ";color:#6a7076;font-size:11px}
.rc-confirm{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:#fff6dc;border:1px solid #e3c873;
  color:#4a3a00;font-size:13px;padding:8px 12px;margin:8px 12px}
.rc-confirm .cbtn{margin:0}
.rl-item.rl-dim{color:#a8adb3;cursor:default;font-style:italic}
.rl-item.rl-dim:hover{background:transparent}
.rc-col{flex:1;min-width:0;display:flex;flex-direction:column;overflow:hidden;background:#eaeaea;position:relative}
/* Top action bar — flat, uniform gray like PayClock */
.rc-bar{display:flex;gap:2px;align-items:center;padding:0;border-bottom:1px solid #cfd2d6;background:#e6e6e6}
.rc-btn{height:40px;padding:0 8px;white-space:nowrap;border:0;border-right:1px solid #d6d6d6;background:transparent;
  color:#2b2f36;font-size:13px;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;gap:7px}
.rc-btn:hover{background:#dcdcdc}
.rc-btn:disabled{opacity:.45;cursor:default;background:transparent}
.rc-btn .ic{color:#0a5f80;font-weight:700}
.rc-collapse{margin-left:auto;border:0;border-left:1px solid #d6d6d6;background:transparent;
  height:40px;width:42px;font-size:15px;color:#555;cursor:pointer}
.rc-collapse:hover{background:#dcdcdc}
.rc-subbar{display:flex;align-items:center;gap:8px;padding:8px 18px;background:#ededed;
  border-bottom:1px solid #dcdcdc;font-size:13px;color:#555}
.rc-body{padding:16px 18px;overflow:auto;flex:1}
.rc-title{margin:0 0 14px;max-width:520px}
.rc-title label{display:inline-block;font-size:13px;color:#333;margin:0 8px 0 0}
.rc-title .req{color:#b42318;margin-left:2px}
.rc-title input{width:72%;max-width:380px;height:28px;border:1px solid #9c9b9a;border-radius:2px;
  padding:0 8px;font-size:13px;box-sizing:border-box;vertical-align:middle}
/* Collapsible sections — one uniform gray, chevron on the right */
.rc-sec{border:1px solid #d3d3d3;margin:0 0 8px;background:#e8e8e8}
.rc-sec>summary{padding:12px 16px;font-size:15px;font-weight:400;color:#2b2f36;cursor:pointer;
  list-style:none;display:flex;align-items:center}
.rc-sec>summary::-webkit-details-marker{display:none}
.rc-sec>summary::after{content:"▾";margin-left:auto;color:#6a7076;font-size:13px;
  transition:transform .12s}
.rc-sec[open]>summary::after{transform:rotate(180deg)}
.rc-sec>summary:hover{background:#e0e0e0}
.rc-sec-body{padding:12px 16px 16px;background:#eaeaea;border-top:1px solid #dcdcdc}
.rc-pc{font-size:13px;color:#444;margin:0 0 8px}
.re-row{display:flex;align-items:center;gap:8px;margin:0 0 8px}
.re-search{flex:1;height:30px;border:1px solid #9c9b9a;border-radius:2px;padding:0 9px;font-size:13px;
  box-sizing:border-box}
.rc-f select{height:28px;border:1px solid #9c9b9a;border-radius:2px;padding:0 8px;font-size:13px}
/* The hamburger: a list-options toggle next to the search (grouped vs flat view) */
.re-burger{width:34px;height:30px;border:1px solid #9c9b9a;border-radius:2px;background:#f3f3f3;
  cursor:pointer;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;
  gap:3px;flex:none}
.re-burger span{display:block;width:16px;height:2px;background:#555;border-radius:1px}
.re-burger:hover{background:#e3e3e3}
.re-burger.on{background:#d9e8ef;border-color:#0a5f80}
.re-burger.on span{background:#0a5f80}
.cbtn{height:28px;padding:0 12px;border:1px solid #9c9b9a;border-radius:2px;background:#f3f3f3;
  font-size:13px;cursor:pointer;margin:0 0 8px}
.cbtn:hover{background:#e3e3e3}
.re-list{max-height:260px;overflow:auto;border:1px solid #c8cacd;border-radius:2px;background:#fff}
.re-grphdr{padding:5px 10px;font-size:12px;font-weight:700;color:#4a4f55;background:#f0f1f3;
  border-bottom:1px solid #dcdee1;position:sticky;top:0}
.re-emp{display:flex;align-items:center;gap:8px;padding:4px 10px;font-size:13px;color:#2b2f36;
  cursor:pointer;line-height:1.5;border-bottom:1px solid #f2f2f2}
.re-emp input[type=checkbox]{width:15px;height:15px;min-height:0;min-width:0;margin:0;flex:none}
.re-emp:hover{background:#eef5f9}
[hidden]{display:none!important}
.re-badge{font-size:10px;font-weight:700;color:#8a5a00;background:#ffecbf;border-radius:3px;padding:0 5px;margin-left:auto}
.re-row2{display:flex;gap:8px;margin:0 0 8px;align-items:center}
.re-burgwrap{position:relative;flex:none}
/* Hamburger list-options menu (teal, like PayClock) */
.re-menu{position:fixed;min-width:180px;background:#0a5f80;color:#fff;border-radius:2px;
  box-shadow:0 10px 28px rgba(0,0,0,.35);z-index:3500;padding:4px 0}
.re-mi{display:block;width:100%;text-align:left;border:0;background:transparent;color:#fff;
  font:13px var(--font);padding:9px 16px 9px 30px;cursor:pointer;position:relative;white-space:nowrap}
.re-mi:hover{background:#0c6e95}
.re-mi.on::before{content:"✓";position:absolute;left:11px;font-weight:700}
/* Grouped-by-department tree */
.re-node{display:flex;align-items:center;gap:7px;font-size:13px;color:#2b2f36;padding:3px 10px;
  border-bottom:1px solid #f2f2f2;line-height:1.5;cursor:pointer}
.re-node:hover{background:#eef5f9}
.re-node input[type=checkbox]{width:15px;height:15px;min-height:0;min-width:0;margin:0;flex:none}
.re-root{font-weight:700;background:#f0f1f3}
.re-dept{padding-left:20px;font-weight:600}
.re-leaf{padding-left:48px}
.re-tw{display:inline-flex;width:14px;justify-content:center;color:#6a7076;cursor:pointer;
  font-size:11px;flex:none;margin-left:-6px}
/* Run Report preview overlay (fills the config column) */
.rpv{position:absolute;inset:0;background:#fff;display:none;flex-direction:column;z-index:30}
.rpv.show{display:flex}
.rpv-bar{display:flex;align-items:center;gap:10px;padding:8px 14px;background:#e6e6e6;
  border-bottom:1px solid #cfd2d6;flex:none}
.rpv-bar b{font-size:13px;color:#2b2f36}
.rpv-bar .sp{margin-left:auto}
.rpv-bar select{height:28px;border:1px solid #9c9b9a;border-radius:2px;font-size:13px;padding:0 6px}
.rpv-bar button{height:28px;padding:0 12px;border:1px solid #9c9b9a;border-radius:2px;background:#f3f3f3;
  font-size:13px;cursor:pointer}
.rpv-bar button:hover{background:#e3e3e3}
.rpv-frame{flex:1;border:0;width:100%;background:#fff}
/* PayClock: the config is a fixed column; the viewer takes the whole area when a report
   runs, and Personalize slides the config back over it. */
.rc-col{flex-direction:row;background:#fff}
.rc-cfg{width:415px;flex:none;display:flex;flex-direction:column;min-height:0;background:#eaeaea;
  border-right:1px solid #cfd2d6}
.rc-col.personal .rc-cfg{position:absolute;left:0;top:0;bottom:0;z-index:31;box-shadow:6px 0 18px rgba(0,0,0,.25)}
.rc-pclose{display:none}
.rc-col.personal .rc-pclose{display:block}
.rc-col.personal .rc-collapse:not(.rc-pclose){display:none}
.rc-title input{width:100%;max-width:none}
.rc-title{display:flex;align-items:center;max-width:none}
.rc-title label{white-space:nowrap}
.rc-msg{background:#fde8e8;color:#8a1c1c;border-left:3px solid #b42318;padding:7px 12px;font-size:13px;margin:8px 18px 0}
.rc-msg::before{content:"⚠ "}
.rc-fr{display:flex;align-items:center;gap:10px;margin:0 0 9px}
.rc-fr label{width:130px;font-size:13px;color:#333;flex:none}
.rc-fr select{height:28px;min-height:0;border:1px solid #9c9b9a;border-radius:2px;padding:0 6px;font-size:13px;
  background:#fff;min-width:0;flex:1;max-width:230px}
.rp-row{display:flex;align-items:center;gap:6px;margin:0 0 6px}
.rp-row select{height:28px;min-height:0;width:130px;border:1px solid #9c9b9a;border-radius:2px;font-size:13px;padding:0 4px;background:#fff}
.rp-row input{height:28px;min-height:0;width:130px;border:1px solid #9c9b9a;border-radius:2px;font-size:13px;padding:0 6px}
.rp-row input:disabled{background:#eceef0}
.rp-row.rp-hdr b{width:130px;font-size:13px;font-weight:600}
.rp-n{width:22px;font-size:12px;color:#555;text-align:right}
.rp-dash{border-top:2px dashed #555;margin:10px 0 10px 70px;width:180px}
.rp-codes .ss-note{margin-top:10px}
.rp-logo{display:flex;align-items:center;justify-content:center;width:260px;height:110px;margin:6px 0 8px;
  background:#2a7fb8;color:#fff;font-size:15px;border-radius:2px;overflow:hidden}
.rp-logo img{max-width:100%;max-height:100%;background:#fff}
.rp-click{cursor:pointer}
.rp-body{padding-top:16px}
.rl-search{display:flex;gap:6px;align-items:center}
.rl-search input{flex:1}
.rl-allhdr{text-transform:none;letter-spacing:0;font-size:13.5px;color:#2b2f36;background:#fff}
.rl-none{padding:10px 14px;font-size:13px;color:#6a7076;font-style:italic}
/* 2026-11-13 second pass, measured off PayClock's Reports page */
.rpt-wrap{height:100%;min-height:0}
.rl-col{width:200px;background:#fff;border-right:1px solid #d5d5d5}
.rl-search{padding:6px 8px;border-bottom:0;gap:8px}
.rl-search input{height:24px;border:1px solid #9c9b9a;border-radius:0;padding:0 5px;font-size:13px;font-style:italic}
.rl-search .re-burger{width:26px;height:24px;border:0;background:transparent}
.rl-allhdr{font-weight:700;font-size:13.3px;padding:0 10px;height:35px;line-height:35px;border-bottom:0;background:#fff}
.rl-items{border-top:1px solid #e3e3e3}
.rl-item{display:flex;align-items:center;min-height:40px;box-sizing:border-box;padding:6px 8px 6px 38px;
  border-bottom:0;color:#000;font-size:13.3px;line-height:1.45;background:#fff}
.rl-item:hover{background:#e8f4fa}
.rl-item.on{background:#b8dff2;font-weight:500;box-shadow:inset 4px 0 0 #0a5f80}
.rc-col.rc-empty{background:#fff}
.rc-col.rc-empty .rc-cfg{display:none}
.rc-cfg{width:480px;background:#d1d1d1;border-right:1px solid #c4c4c4}
.rc-bar{background:#e7e7e7;border-bottom:0;margin:0 0 5px}
.rc-btn{font-weight:400;border-right:0;padding:0 12px}
.rc-collapse{border-left:0;background:transparent}
.rc-subbar{background:#e7e7e7;border-bottom:0;margin:0 0 5px;padding:10px 15px;color:#313131}
.rc-body{padding:0;background:#d1d1d1}
.rc-title{background:#e7e7e7;margin:0 0 5px;padding:10px 15px}
.rc-title label{color:#313131}
.rc-title input{border-radius:0;height:26px}
.rc-sec{border:0;margin:0 0 5px;background:#e7e7e7}
.rc-sec>summary{padding:7px 15px;font-size:18.67px;color:#313131;font-weight:400}
.rc-sec>summary:hover{background:#dedede}
.rc-sec-body{background:#e7e7e7;border-top:0;padding:4px 15px 16px}
/* PayClock's thin chevron: ∨ closed, ∧ open */
.rc-sec>summary::after{content:"";width:8px;height:8px;border:solid #313131;border-width:0 1.6px 1.6px 0;
  transform:translateY(-3px) rotate(45deg);margin-left:auto;margin-right:4px;transition:transform .12s}
.rc-sec[open]>summary::after{transform:translateY(2px) rotate(-135deg)}
.rc-pc{color:#313131}
.re-list{border-radius:0;border-color:#c8c8c8}
.re-grphdr{background:#fff;font-weight:400;font-size:13.3px;color:#000;padding:7px 8px;border-bottom:1px solid #d5d5d5}
.re-emp{padding:8px 8px;gap:22px;border-bottom:0}
/* Report dates in the top bar */
.rg-bar{display:inline-flex;align-items:center;height:100%}
.rg-trig{position:relative;cursor:pointer}
.rg-pick{position:absolute;left:0;bottom:0;width:1px;height:1px;opacity:0;border:0;padding:0;pointer-events:none}
.ppd-hr{display:block;border-top:1px solid #e3e6ea;margin:0}
.rg-pop{position:fixed;z-index:4000;background:#fff;color:#222;border:1px solid #9c9b9a;box-shadow:0 8px 24px rgba(0,0,0,.3);
  padding:12px 14px;display:flex;flex-direction:column;gap:8px;font-size:13px;min-width:220px}
.rg-pop[hidden]{display:none!important}
.rg-pop label{display:flex;justify-content:space-between;align-items:center;gap:10px}
.rg-pop input{height:26px;border:1px solid #9c9b9a;font-size:13px;padding:0 4px}
.rg-pop-b{display:flex;gap:8px;justify-content:flex-end}
.rg-pop-b button{height:26px;padding:0 12px;border:1px solid #9c9b9a;background:#f3f3f3;cursor:pointer}
/* ===== Employee list column (Timecard / Exceptions / Employees / Scheduling), matched to
   PayClock's: header #f3f2f1 with a 1px #c5c5c5 rule, white 40px rows with no row lines, the
   name indented (the ⚠ sits in that gutter) and cut off at the column edge, black centered
   numbers, a 1px #c5c5c5 divider between Name and Number, light-blue selected row, and gray
   (#e3e2e0) below the last row. ===== */
.list .search, .uv-searchwrap { background: #e3e2e0; }
.list .head.tc-head { display: flex; padding: 0; height: 34px; align-items: stretch; background: #f3f2f1;
  border-bottom: 1px solid #c5c5c5; color: #313131; font-size: 13.33px; }
.list .head.tc-head span { display: flex; align-items: center; justify-content: center; }
.list .head.tc-head span:first-child { flex: 1; }
.list .head.tc-head span:last-child { width: 70px; flex: none; border-left: 1px solid #c5c5c5; }
.list .items { background: #e3e2e0; }
.list .item { height: 40px; padding: 0; gap: 0; border-bottom: 0; background: #fff; color: #000; font-size: 13.33px; }
.list .item:hover { background: #eef6fb; }
.list .item.on { background: #b8dff2; }
.list .item .w { width: 34px; justify-content: center; }
.list .item .nm { text-overflow: clip; padding-right: 4px; }
.list .item .no { width: 70px; align-self: stretch; display: flex; align-items: center; justify-content: center;
  border-left: 1px solid #c5c5c5; color: #000; font-size: 13.33px; }
.list .tc-grphdr { background: #ebebeb; border-bottom: 1px solid #c5c5c5; font-size: 13.33px; font-weight: 700;
  color: #333; padding: 12px 8px 8px; letter-spacing: 0; text-transform: none; }
.st-ico { display: inline-flex; align-items: center; justify-content: center; width: 12px; height: 12px; flex: none;
  border: 1.5px solid #333; color: #333; font: 700 9px/1 Arial, sans-serif; box-sizing: border-box; border-radius: 1px;
  vertical-align: -1px; }
.st-ico.t { background: #111; border-color: #111; color: #fff; }
.st-ico.st-none { border-color: transparent; }
.re-emp .st-ico, .re-leaf .st-ico { margin-right: 2px; }
/* Drag-to-resize (PayClock's Kendo splitter): a 7px bar on the list's right edge with a
   small dark grip; the whole bar goes dark while hovered/dragged. Column grip sits on the
   Name|Number rule. Widths are --listw / --numw on .body, saved per browser. */
.body > .list { position: relative; min-width: 0; }
.list-split { position: absolute; top: 0; right: -4px; width: 7px; height: 100%; cursor: col-resize; z-index: 6; }
.list-split::after { content: ""; position: absolute; left: 2px; top: 50%; width: 3px; height: 16px;
  margin-top: -8px; background: #2e2e2e; }
.list-split:hover, .list-split.drag { background: #2e2e2e; }
body.tc-dragging, body.tc-dragging * { cursor: col-resize !important; user-select: none !important; }
.list .head.tc-head span:last-child, .list .item .no { width: var(--numw, 70px); }
.list .head.tc-head span:last-child { position: relative; }
.list .col-grip { position: absolute; left: -4px; top: 0; width: 7px; height: 100%; cursor: col-resize; z-index: 2; }
.list .col-grip:hover, .list .col-grip.drag { background: rgba(46,46,46,.35); }
.list.hide-num .head.tc-head span:last-child, .list.hide-num .item .no { display: none; }
/* ===== Setup pages (and other .st-* forms), measured from live PayClock 2026-11-13:
   column groups 214px wide, margin 20/55/30/10 on a 16px-padded form; h2 21.33px/300 black;
   labels 13.33px #2e2e2e 5px above the field; fields 26px tall, 1px #cacaca, square, Arial
   13.33px black, 3px padding, 15px between fields; dropdowns have a 7px radius and a
   separate arrow cell; number boxes 98px wide and centered; list rows 40px white with no rules,
   8px indent, selected #b8dff2, gray below the last row; list header 35px #f3f2f1. ===== */
.st-cols { gap: 0; padding: 0 0 0 16px; }
.st-sec { min-width: 214px; margin: 20px 55px 30px 10px; }
.st-sec h3, .st-h { font-size: 21.33px; font-weight: 300; color: #000; margin: 0 0 10px; line-height: normal; }
.st-pad { padding: 20px 26px; }
.st-f { margin: 0 0 15px; }
.st-f > label { font-size: 13.33px; color: #2e2e2e; margin: 0 0 5px; line-height: normal; }
.st-f .req { color: #e10000; margin-left: 1px; }
.st-f input[type=text], .st-f input[type=time], .st-f input[type=date], .st-f input[type=email],
.st-f input[type=password], .st-f input[type=tel], .st-f input:not([type]), .st-f select,
.st-f .st-num input, .st-f .st-num input[type=number] {
  width: 214px; max-width: 100%; height: 26px; min-height: 0; box-sizing: border-box; border: 1px solid #cacaca;
  border-radius: 0; padding: 3px; font: 13.33px Arial, Helvetica, sans-serif; color: #000; background-color: #fff;
  box-shadow: none; }
.st-f select { border-radius: 7px; padding: 3px 28px 3px 3px; -webkit-appearance: none; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='24'%3E%3Cpath d='M.5 3v18' stroke='%23cacaca'/%3E%3Cpath d='M10 10.5h7l-3.5 4z' fill='%23555'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 100% 50%; }
.st-f .st-num input, .st-f .st-num input[type=number], .st-f input[type=number] { width: 98px; text-align: center; }
.st-f input[type=time] { width: 140px; }
.st-f input:focus, .st-f select:focus { outline: none; border-color: #3f9bd2; }
.st-f select:disabled, .st-f input:disabled { background-color: #fff; color: #a8a8a8; border-color: #e1e1e1; cursor: default; }
.st-f.cb { margin: 0 0 15px; }
.st-f.cb label { font-size: 13.33px; color: #000; gap: 6px; }
.st-f.cb input[type=checkbox] { width: 13px; height: 13px; min-height: 0; margin: 0; }
.st-datebox { width: 214px; height: 26px; border-color: #cacaca; border-radius: 0; }
.st-empty { padding: 20px 26px; }
.uv-list { width: 200px; background: #e3e2e0; border-right: 1px solid #c5c5c5; }
.uv-list:not(.uv-cols) a { display: flex; align-items: center; height: 40px; padding: 0 6px 0 8px; background: #fff;
  border-bottom: 0; font-size: 13.33px; color: #000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uv-list:not(.uv-cols) a:hover:not(.on) { background: #eef6fb; }
.uv-list:not(.uv-cols) a.on { background: #b8dff2; }
.uv-list:not(.uv-cols) .uv-listhdr { height: 35px; box-sizing: border-box; display: flex; align-items: center;
  padding: 0 8px; background: #f3f2f1; border-bottom: 1px solid #c5c5c5; color: #2e2e2e; font-size: 13.33px; }
.bar .uv-searchwrap { width: 200px; }
.uv-search { height: 24px; min-height: 0; border: 1px solid #9c9b9a; border-radius: 0; padding: 3px;
  font: italic 13.33px Arial, Helvetica, sans-serif; color: #000; }
.uv-search:not(:placeholder-shown) { font-style: normal; }
.bar .uv-searchwrap .uv-burger { width: 24px; height: 24px; min-height: 0; border: 0; border-radius: 0; background: transparent;
  padding: 0; box-shadow: none; }
.bar .uv-searchwrap .uv-burger span { width: 15px; height: 2px; background: #3a3a3a; }
/* Employee editor + Users fields: same PayClock field style as Setup (measured on PayClock's
   Employee General tab and Setup › Users: 26px, 1px #cacaca, square, Arial 13.33px, label 5px above,
   15px between fields; dropdowns rounded 7px with an arrow cell). Beats the global 36px min-height. */
.ef { margin-bottom: 15px; }
.ef > label { font-size: 13.33px; color: #2e2e2e; margin-bottom: 5px; line-height: normal; }
.ef .req { color: #f00; }
.ef input:not([type=checkbox]):not([type=radio]):not([type=file]), .ef select {
  height: 26px; min-height: 0; box-sizing: border-box; border: 1px solid #cacaca; border-radius: 0; padding: 3px;
  font: 13.33px Arial, Helvetica, sans-serif; color: #000; background-color: #fff; box-shadow: none; }
.ef select { border-radius: 7px; padding-right: 28px; -webkit-appearance: none; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='24'%3E%3Cpath d='M.5 3v18' stroke='%23cacaca'/%3E%3Cpath d='M10 10.5h7l-3.5 4z' fill='%23555'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 100% 50%; }
.ef input:focus, .ef select:focus { outline: none; border-color: #3f9bd2; }
.ef input:disabled, .ef select:disabled { color: #a8a8a8; border-color: #e1e1e1; background-color: #fff; }
/* Employee › General widths (PayClock): name/email 224, M.I. 24 + Name At Clock 195,
   Employee Number/PIN/Badge 138, Classification dropdowns 214, Date Of Hire 138; 65px between columns. */
.emp-general .eg-two { gap: 65px; }
.emp-general .eg-two > div:first-child .ef > input { width: 224px; }
.emp-general .eg-two > div:first-child .ef > div > input:first-child { width: 24px; padding: 3px 2px; }
.emp-general .eg-two > div:first-child .ef > div > input:last-child { width: 195px; }
.emp-general .eg-two > div:nth-child(2) .ef > input { width: 138px; }
/* Left column is exactly the Last Name box wide (224), so Employee Number sits 65px to its right;
   the Resend / Manage Pay Rates buttons stack instead of widening the column. */
.emp-general .eg-two > div:first-child { width: 224px; flex: none; }
.emp-general .eg-two > div:first-child > .btn, .emp-general .eg-two > div:first-child > div > .btn { display: block; }
.emp-general section > .ef > select { width: 214px; }
.emp-general section > .ef > input { width: 138px; }
/* Employee › Benefit Accruals (PayClock): Policies = one 210px card per pay code, #eae8e8 header,
   policy dropdown below; the + (new policy) is a 42x32 button. Which bits show follows the setting. */
.emp-accr .acc-card { width: 210px; min-width: 0; border-collapse: collapse; margin: 0 0 12px; }
.emp-accr .acc-card th { background: #eae8e8; color: #313131; font-size: 13.33px; font-weight: 400; text-align: left;
  height: 29px; padding: 6.67px 8px 5.33px; border: 1px solid #d5d5d5; }
.emp-accr .acc-card td { padding: 0; border: 0; }
/* Accrual History (PayClock View/Edit Details): stacked over the Manage window. */
/* Manage › Benefit Time tables (PayClock): #eae8e8 29px headers in normal case, Remaining header bold,
   read-only numbers in small gray boxes, 10px heading→button, 14px button→table. */
.bm-pane .bm-h { margin: 0 0 10px; }
.bm-pane .bm-h ~ .bm-h { margin-top: 10px; }
.bm-tbl { max-width: none; width: 100%; table-layout: fixed; margin: 14px 0 20px; border-collapse: collapse; }
#bmov .bm-tbl th { background: #eae8e8; color: #313131; font-size: 13.33px; font-weight: 400; height: 29px; box-sizing: border-box;
  padding: 6.67px 8px 5.33px; text-transform: none; letter-spacing: normal; border: 1px solid #d5d5d5; white-space: nowrap; }
#bmov .bm-acc th:last-child, #bmov .bm-tbl:not(.bm-acc) th:nth-child(4) { font-weight: 700; }
#bmov .bm-tbl th:first-child { width: 25%; }
#bmov .bm-tbl select { max-width: 100%; }
.bm-tbl td { border: 1px solid #d5d5d5; padding: 6px 8px; height: 38px; box-sizing: border-box; font-size: 13.33px; color: #2e2e2e; }
.bm-tbl .bm-c, .bm-tbl .bm-rem { text-align: left; font-weight: 400; }
.bm-box { display: inline-block; width: 73px; height: 26px; line-height: 24px; box-sizing: border-box; text-align: center;
  border: 1px solid #e1e1e1; color: #a8a8a8; background: #fff; font-variant-numeric: tabular-nums; }
.bm-tbl select { width: 175px; height: 26px; min-height: 0; border: 1px solid #cacaca; border-radius: 7px; padding: 0 28px 0 3px;
  -webkit-appearance: none; appearance: none; font: 13.33px Arial, Helvetica, sans-serif; color: #000;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='24'%3E%3Cpath d='M.5 3v18' stroke='%23cacaca'/%3E%3Cpath d='M10 10.5h7l-3.5 4z' fill='%23555'/%3E%3C/svg%3E") no-repeat 100% 50%; }
.bm-tbl input:not([type=checkbox]) { height: 26px; min-height: 0; border: 1px solid #cacaca; border-radius: 0; text-align: center;
  font: 13.33px Arial, Helvetica, sans-serif; }
.bm-tbl input[name=man_start] { width: 73px !important; }
/* Department window (Setup › Departments and the Manage › Departments + pop-up), PayClock layout:
   Details | Locations columns, Unselect All + new, Assigned/Available Locations box (300px). */
.dpw-cols { display: flex; gap: 0; }
.dpw-cols > .st-sec { margin: 20px 55px 30px 10px; }
.dpw .st-f input[type=text] { width: 218px; }
.dpw-lbl { display: block; font-size: 13.33px; color: #2e2e2e; margin-bottom: 8px; }
.dpw-btns { display: flex; gap: 10px; margin-bottom: 8px; }
.dpw-btns .btn { height: 32px; }
.dpw-plus { width: 42px !important; height: 32px !important; font-size: 24px; font-weight: 300; text-decoration: none; color: #2e2e2e; }
.dpw-locs { width: 300px; min-width: 0; border-collapse: collapse; border: 1px solid #d5d5d5; font-size: 13.33px; }
.dpw .dpw-locs tr.dpw-h th { background: #fff; color: #2e2e2e; font-weight: 400; font-size: 13.33px; text-align: left; height: 29px; padding: 0 8px;
  border-bottom: 1px solid #d5d5d5; text-transform: none; letter-spacing: normal; }
.dpw-locs .dpw-av .dpw-h th { border-top: 1px solid #d5d5d5; }
.dpw-locs td { padding: 6px 12px; border: 0; }
.dp-chk { display: flex; align-items: center; gap: 6px; margin: 0; cursor: pointer; }
.dpw .st-f .dpw-num { width: 90px; text-align: center; }
.bm-modal.dpw-modal { max-width: 700px; height: min(680px, 90vh); }
.dpw-body { flex: 1; overflow: auto; }
.dpw-body .sh-tabstrip { margin: 0; }
#dpwov { z-index: 4350; }
.dp-locsel { margin-left: 6px; display: inline-flex; align-items: center; gap: 4px; }
#bmov .dp-locsel select { width: auto; height: 26px; min-height: 0; border: 1px solid #cacaca; border-radius: 3px; font-size: 13.33px; padding: 0 4px; background: #fff; }
.dp-add { display: flex; gap: 10px; }
.dp-add a.sqbtn { display: grid; place-items: center; width: 42px; height: 32px; font-size: 24px; font-weight: 300; color: #2e2e2e; text-decoration: none; border-radius: 3px; }
#bmf-clocks .dp-add { margin-top: 12px; }
.dp-add .btn { height: 32px; }
.dp-add .sqbtn { width: 42px; height: 32px; font-size: 24px; font-weight: 300; color: #2e2e2e; border-radius: 3px; }
/* Employee › Access (PayClock): label row as wide as the 214px dropdown with the (i) at its right
   end; two columns 425px apart. */
.emp-acc .ef > label { display: flex; align-items: center; justify-content: space-between; width: 214px; }
.emp-acc .ef > label .st-i { margin-left: 6px; }
.emp-acc .ef > input:not([type=checkbox]) { width: 214px; }
.emp-acc.emp-general > section:first-child { min-width: 334px; }
.emp-acc .ef.cbrow > label { width: auto; justify-content: flex-start; gap: 6px; }
/* Employee › Advanced (PayClock): columns 210 / 320 px wide (+26, +301, +686), checkbox rows 31px,
   long override labels wrap at 290px, Auto-Deduct heading 184px below Punched Break. */
.emp-adv > section:nth-child(1) { width: 210px; flex: none; }
.emp-adv > section:nth-child(2) { width: 320px; flex: none; }
.emp-adv .ef.cbrow { margin-bottom: 0; min-height: 31px; }
.emp-adv .ef.cbrow > label { max-width: 290px; align-items: flex-start; line-height: 16px; }
.emp-adv > section:nth-child(2) .ef + .ef.cbrow { margin-top: 8px; }
.emp-adv > section:nth-child(2) .ef.cbrow { margin-bottom: 10px; }
.emp-adv > section:nth-child(2) .ef.cbrow + .ef:not(.cbrow) { margin-top: -10px; }
.emp-adv h3.adv-ad { margin-top: 99px; }
/* Picture / Custom Fields (no column sections): PayClock puts them 26px in, 20px down. Custom
   Fields: 42x32 +, then an 898px grid — Name 150px, Value the rest, #eae8e8 left-aligned headers. */
.epane > .emp-pane-pad:not(:has(> .emp-general)) { padding: 20px 26px; }
#cftable { width: 898px; max-width: none; margin-top: 10px; border-collapse: collapse; table-layout: fixed; }
#cftable th { background: #eae8e8; color: #313131; font-weight: 400; font-size: 13.33px; text-align: left; height: 29px;
  padding: 0 8px; border: 1px solid #d5d5d5; text-transform: none; letter-spacing: normal; }
#cftable th:first-child { width: 150px; } #cftable th:last-child { width: 40px; }
#cftable td { border: 1px solid #d5d5d5; padding: 3px 6px; }
#cftable td input { width: 100%; box-sizing: border-box; }
.epane .emp-pane-pad > .sqbtn { width: 42px; height: 32px; font-size: 24px; font-weight: 300; color: #2e2e2e; border-radius: 3px; }
/* Employee › Wages (PayClock): 42x32 +/−, a 460px pay grid (245 / 215) with #eae8e8 left-aligned
   headers and 38px rows. */
#hourlySec .rowbtns { display: flex; gap: 10px; margin: 4px 0 8px; }
#hourlySec .rowbtns .sqbtn { width: 42px; height: 32px; font-size: 24px; font-weight: 300; color: #2e2e2e; border-radius: 3px; }
#prtable { width: 460px; max-width: none; border-collapse: collapse; table-layout: fixed; margin-bottom: 16px; }
#prtable th { background: #eae8e8; color: #313131; font-weight: 400; font-size: 13.33px; text-align: left; height: 29px;
  padding: 0 8px; border: 1px solid #d5d5d5; text-transform: none; letter-spacing: normal; }
#prtable th:first-child { width: 245px; }
#prtable td { border: 1px solid #d5d5d5; height: 38px; padding: 0 8px; }
/* Manage › Schedule: full-screen calendar (PayClock "<Name> Scheduling") */
.schc-ov { position: fixed; inset: 0; z-index: 4500; background: #fff; display: flex; flex-direction: column; }
.schc-ov[hidden] { display: none; }
.schc-title { background: #006e95; color: #fff; text-align: center; font-size: 16px; height: 25px; line-height: 25px; }
.schc-bar { background: #005077; height: 40px; display: flex; align-items: center; padding: 0 8px; }
.schc-ov iframe { flex: 1; border: 0; width: 100%; }
/* Manage › Departments (PayClock grid) */
.dp-add { margin: 0 0 10px; }
.dp-add .sqbtn { width: 42px; height: 32px; font-size: 24px; font-weight: 300; text-decoration: none; color: #2e2e2e; border-radius: 3px; }
#bmov .dp-tbl thead th:first-child { width: 50%; }
#bmov .dp-tbl td { height: 33px; padding: 5.33px 8px; border-width: 0 0 0 1px; }
#bmov .dp-tbl td:first-child { border-left: 0; }
#bmov .dp-tbl { border: 1px solid #d5d5d5; }
#bmov .dp-tbl tr.dp-bar th { font-weight: 400; width: auto; }
#bmov .dp-tbl .bm-chk { display: flex; align-items: center; gap: 6px; margin: 0; }
#bmov .dp-tbl tbody#dpAsg tr:hover td, #bmov .dp-tbl tbody#dpAvail tr:hover td { background: #eae8e8; }
.ah-ov { z-index: 4300; }
#adjov { z-index: 4400; }
.ah-ov .bm-bar { justify-content: flex-start; }
.ah-yr { margin-left: auto; color: #fff; font-size: 14.67px; }
.ah-yr select { height: 26px; min-height: 0; margin-left: 4px; border: 1px solid #cacaca; border-radius: 3px; font-size: 13.33px; }
.ah-body { padding: 24px 46px; overflow: auto; flex: 1; }
.ah-sec { margin-bottom: 18px; }
.ah-head { display: flex; align-items: center; gap: 10px; font-size: 14.67px; color: #2e2e2e; margin-bottom: 8px; min-height: 32px; }
.ah-tog { cursor: pointer; color: #555; font-size: 12px; text-decoration: none; }
.ah-sec.shut .ah-tog { display: inline-block; transform: rotate(-90deg); }
.ah-sec.shut .ah-tbl { display: none; }
.ah-head .ah-add { margin-left: auto; }
.ah-tbl { width: 100%; min-width: 0; border-collapse: collapse; font-size: 13.33px; }
#ahov .ah-tbl th { background: #eae8e8; color: #313131; font-weight: 400; text-align: left; height: 29px; padding: 0 8px;
  border: 1px solid #d5d5d5; text-transform: none; letter-spacing: normal; }
.ah-tbl td { border: 1px solid #d5d5d5; padding: 0 8px; height: 31px; }
.ah-tbl td.n { text-align: right; font-variant-numeric: tabular-nums; }
.ah-tbl th:nth-child(1) { width: 23%; } .ah-tbl th:nth-child(2) { width: 10%; }
.ah-tbl th:nth-child(3), .ah-tbl th:nth-child(4) { width: 12%; }
.bm-modal.adj-modal { max-width: 490px; height: auto; }
.adj-body { padding: 22px 24px 40px; font-size: 13.33px; color: #2e2e2e; }
.adj-row { display: flex; gap: 100px; margin-bottom: 26px; }
.adj-body label { display: block; margin-bottom: 4px; }
.adj-body select { display: block; width: 114px; height: 26px; min-height: 0; margin-bottom: 6px; border: 1px solid #cacaca; border-radius: 7px; font-size: 13.33px; }
.adj-body .adj-amt { width: 120px; height: 26px; min-height: 0; text-align: center; border: 1px solid #cacaca; border-radius: 0; font-size: 13.33px; }
.adj-body textarea { width: 100%; box-sizing: border-box; border: 1px solid #cacaca; border-radius: 0; font: 13.33px Arial, Helvetica, sans-serif; resize: vertical; }
.adj-info { line-height: 20px; padding-top: 2px; }
.emp-accr .acc-card th { text-transform: none; letter-spacing: normal; }
.emp-general.emp-accr section > .ef > select { width: 210px; }
/* Every employee tab starts at the same spot as General (PayClock: 26px in) and scrolls with the
   pane itself, so the sideways scrollbar is at the bottom of the window on every tab. */
.epane > .emp-pane-pad { padding: 0; overflow: visible; }
.emp-accr .acc-card select { width: 210px; height: 26px; min-height: 0; box-sizing: border-box; border: 1px solid #cacaca;
  border-radius: 7px; padding: 3px 28px 3px 3px; font: 13.33px Arial, Helvetica, sans-serif; color: #000;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='24'%3E%3Cpath d='M.5 3v18' stroke='%23cacaca'/%3E%3Cpath d='M10 10.5h7l-3.5 4z' fill='%23555'/%3E%3C/svg%3E") no-repeat 100% 50%;
  -webkit-appearance: none; appearance: none; }
.emp-accr .acc-card select:disabled { color: #6b6b6b; cursor: default; }
.emp-accr .acc-add { margin: 0 0 12px; }
.emp-accr .acc-add .sqbtn { width: 42px; height: 32px; font-size: 24px; font-weight: 300; text-decoration: none;
  color: #2e2e2e; border-radius: 3px; }
.emp-accr .acc-cls, .emp-accr .acc-ovr { display: block; }
.emp-accr[data-acc="Override Pay Class Settings"] .acc-cls,
.emp-accr:not([data-acc="Override Pay Class Settings"]) .acc-ovr,
.emp-accr:not([data-acc="Override Pay Class Settings"]) .acc-add,
.emp-accr[data-acc="Do Not Use Accruals"] .acc-mgr,
.emp-accr[data-acc="Do Not Use Accruals"] .acc-pols { display: none; }
/* Setup child grids (Holiday Calendar dates etc.): Kendo-grid look — #f3f2f1 header,
   1px #d5d5d5 cell rules, compact 24px fields in the cells; small gray toolbar buttons. */
#childtable { border-collapse: collapse; border: 1px solid #c5c5c5; font-size: 13.33px; }
#childtable th { background: #f3f2f1; color: #2e2e2e; font-size: 13.33px; font-weight: 400; height: 35px;
  padding: 0 8px; border: 1px solid #c5c5c5; text-align: left; }
#childtable td { padding: 3px 6px; border: 1px solid #d5d5d5; background: #fff; }
#childtable tr.sel td, #childtable tr.on td { background: #b8dff2; }
#childtable input:not([type=checkbox]), #childtable select { height: 24px; min-height: 0; box-sizing: border-box;
  border: 1px solid #cacaca; border-radius: 0; padding: 2px 3px; font: 13.33px Arial, Helvetica, sans-serif;
  color: #000; background-color: #fff; box-shadow: none; }
.cbtn { height: 26px; min-height: 0; padding: 0 10px; border: 1px solid #b4b4b4; border-radius: 2px;
  background: #f3f3f3; color: #2e2e2e; font-size: 13.33px; font-weight: 400; }
.cbtn:hover { background: #e6e6e6; }
/* ===== Shell, measured from live PayClock 2026-11-13: 40px top bar, 160px sidebar with 40px
   items 10px apart (13.33px regular white), 35px tab strips with 18.67px/300 white tabs
   (active = white tab, dark text). ===== */
.app { grid-template-columns: 160px 1fr; grid-template-rows: 40px 35px 1fr; }
.app.notabs { grid-template-rows: 40px 1fr; }
.app.navcol { grid-template-columns: 56px 1fr; }
.side .brand { height: 40px; }
.bar .ctl, .bar .burger, .bar .uv-btn, .bar .ig-tb { height: 40px; }
.sch-wrap { height: calc(100vh - 40px - 34px); }
.sch-panel { top: 40px; }
.side > a, .side .nav > a, .side .nav-sub > a { height: 40px; font-size: 13.33px; font-weight: 400; }
.side > a, .side .nav > a, .side .nav-sub { margin: 0 0 10px; }
.side .brand + * { margin-top: 9px; }
.side a.on { font-weight: 400; }
.tabs { align-items: stretch; }
.tabs a, .uv-tab, .emp-tabs .etab { height: 35px; box-sizing: border-box; display: inline-flex; align-items: center;
  padding: 0 15px; font-size: 18.67px; font-weight: 300; color: #fff; }
.tabs a.on, .uv-tab.on, .emp-tabs .etab.on { background: #fff; color: #2e2e2e; font-weight: 300; }
.tabs a:hover:not(.on), .uv-tab:hover:not(.on), .emp-tabs .etab:hover:not(.on) { background: rgba(255,255,255,.1); color: #fff; }
/* ===== Timecard / grids / buttons, measured from PayClock's Timecard page 2026-11-13:
   name 21.33px/300 #313131; section titles 18px/300; buttons 32px white, 1px #cacaca, radius 4,
   13.33px black; grid header #e7e7e7, 31px, 1px #cacaca; cells 36px, 1px #9f9e9d, 13.33px;
   date column #f8f8f8; selected row #dcf4ff, selected cell #7bb5d9. ===== */
.detail h1 { font-size: 21.33px; font-weight: 300; color: #313131; }
.detail .section { font-size: 18px; font-weight: 300; color: #313131; }
.detail .section .tri { font-size: 11px; color: #555; }
.btn { height: 32px; min-height: 0; padding: 0 10px; border: 1px solid #cacaca; border-radius: 4px; background: #fff;
  color: #000; font-size: 13.33px; font-weight: 400; }
.btn:hover:not(:disabled) { background: #f3f3f3; }
.btn:disabled, .btn.disabled { color: #a8a8a8; background: #fff; }
.btn.primary { color: #fff; }
.grid th { background: #e7e7e7; color: #000; font-size: 13.33px; height: 31px; border: 1px solid #cacaca; border-radius: 0 !important; }
.grid td { height: 36px; font-size: 13.33px; border: 1px solid #9f9e9d; color: #000; }
.grid td.date, .grid td.ctx { background: #f8f8f8; }
.grid tr.on td, .grid tr.sel td, .grid tr.rowsel td { background: #dcf4ff; }
.grid td.cell-sel { outline: 0; background: #7bb5d9 !important; }
/* employee list search strip + no gap under the list header */
.list .head.tc-head { margin: 0; }
.list .search { height: 40px; box-sizing: border-box; padding: 0 7px; align-items: center; border-bottom: 0; }
.list .search input { height: 24px; min-height: 0; border: 1px solid #9c9b9a; border-radius: 0; padding: 3px;
  font: italic 13.33px Arial, Helvetica, sans-serif; color: #000; background: #fff; }
.list .search input:not(:placeholder-shown) { font-style: normal; }
/* the closed punch-edit side panel must not cast its shadow onto the page */
.slidein:not(.open) { box-shadow: none; visibility: hidden; }
.detail > h1:first-child, .detail h1 { font-size: 21.33px; font-weight: 300; color: #313131; }
/* Drag-to-resize for the two-column master lists (Employees, Clocks…): splitter after the
   list + a grip on the Name|Number rule; added by LIST_RESIZE in NAV_MENU_JS. */
.uv-list.uv-cols { position: relative; }
.uv-cols .uv-listhdr span:last-child, .uv-cols a .uv-enum { width: var(--numw, 70px); }
.uv-cols .uv-listhdr span:last-child { position: relative; }
.uv-split { position: relative; flex: none; width: 0; z-index: 6; }
.uv-split i { position: absolute; left: -4px; top: 0; bottom: 0; width: 7px; cursor: col-resize; }
.uv-split i::after { content: ""; position: absolute; left: 2px; top: 50%; width: 3px; height: 16px; margin-top: -8px; background: #2e2e2e; }
.uv-split i:hover, .uv-split i.drag { background: #2e2e2e; }
.uv-cols .col-grip { position: absolute; left: -4px; top: 0; width: 7px; height: 100%; cursor: col-resize; z-index: 2; }
.uv-cols .col-grip:hover, .uv-cols .col-grip.drag { background: rgba(46,46,46,.35); }
/* Summary tab (PayClock): header #f3f2f1 34px with a #c5c5c5 rule; 40px white rows with
   only vertical #d5d5d5 rules; selected #b8dff2; gray #e3e2e0 page below the table. */
.detail:has(.sumgrid) { background: #e3e2e0; }
.sumgrid th { background: #f3f2f1; height: 34px; border: 0; border-bottom: 1px solid #c5c5c5; border-right: 1px solid #d5d5d5; }
.sumgrid td { height: 40px; border: 0; border-right: 1px solid #d5d5d5; background: #fff; vertical-align: middle; }
.sumgrid td.chk input { vertical-align: middle; margin: 0; }
.sumgrid tr.sel td { background: #b8dff2; }
.sumgrid tbody tr:hover td { background: #eef6fb; }
.sumgrid tfoot td { background: #f3f2f1; border-top: 1px solid #c5c5c5; }
.body.exc-empty .list { background: #e3e2e0; }
.body.exc-empty .detail { background: #fff; }
.re-search { height: 24px; min-height: 0; border: 1px solid #9c9b9a; border-radius: 0; padding: 3px;
  font: italic 13.33px Arial, Helvetica, sans-serif; }
/* Employee editor tabs (PayClock): sections laid out like Setup groups (margin 20/55/30/10 on a
   16px-padded pane), fields 214 wide, checkbox rows 16px tall 15px apart; Wages is one stacked
   column with "Hourly Base Pay" as a label over +/− and a #f3f2f1-headed rate table. */
.emp-general { gap: 0; padding: 0 0 0 16px; }
.emp-general > section { margin: 20px 55px 30px 10px; }
.emp-pane-pad .ef input:not([type=checkbox]):not([type=radio]):not([type=file]):not(.dp-in), .emp-pane-pad .ef select { width: 214px; }
.ef.cbrow { margin: 0 0 15px; }
.ef.cbrow > label { margin-top: 0; font-size: 13.33px; color: #000; line-height: 16px; gap: 6px; }
.emp-general:not(.eg-stack) { flex-wrap: nowrap; width: max-content; }
.emp-pane-pad { overflow-x: auto; }
.epane { overflow-x: auto; }
/* Employee tabs fill the window so the sideways scrollbar sits at the bottom, like PayClock. */
.uv-main:has(> form > .epane) { display: flex; flex-direction: column; overflow: hidden; }
.uv-main > form:has(> .epane) { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; }
.uv-main > form > .epane { flex: 1 1 0; min-height: 0; overflow: auto; }
.eg-stack { flex-direction: column; flex-wrap: nowrap; }
.eg-stack > section { margin: 20px 0 0 10px; }
.eg-stack > section + section { margin-top: 0; }
.eg-stack > p { margin: 15px 0 0 10px; }
input[type=checkbox], input[type=radio] { min-height: 0; padding: 0; }
/* Integrations (PayClock): 40px gray search strip with a 24px box, header row 35px, page
   headings 21.33px/300, sub-headings 18px/300. */
.ig-list { background: #e3e2e0; }
.ig-search { height: 24px; min-height: 0; margin: 8px 7px; width: calc(100% - 14px); box-sizing: border-box;
  border: 1px solid #9c9b9a; border-radius: 0; padding: 3px; font: italic 13.33px Arial, Helvetica, sans-serif; }
.ig-hdr { height: 35px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; background: #f3f2f1;
  border-bottom: 1px solid #c5c5c5; color: #2e2e2e; font-size: 13.33px; }
.ig-main h2, .ig h2 { font-size: 21.33px; font-weight: 300; color: #000; }
.ig-main h3, .ig h3 { font-size: 18px; font-weight: 300; color: #000; }
/* Manage Employee window (PayClock "Manage Garcia, Carlos"): large fixed-size window, gray
   dim behind it, 50px left-nav items 13.33px white, fields in the PayClock style. */
.bm-modal { max-width: 960px; height: min(600px, 86vh); display: flex; flex-direction: column; }
.bm-areas { width: 160px; background: #292d35; padding: 0; }
.bm-area { height: 50px; display: flex; align-items: center; justify-content: center; padding: 0 10px; font-size: 13.33px;
  color: #fff; cursor: pointer; }
.bm-area.on { background: #9bf2fe; color: #000; }
.bm-area:hover:not(.on) { background: #343842; }
.bm-main { padding: 20px 16px 20px 26px; }
.bm-h { font-size: 21.33px; font-weight: 300; color: #000; margin: 0 0 10px; }
.bm-f { margin: 0 0 15px; }
.bm-f > label { font-size: 13.33px; color: #2e2e2e; margin: 0 0 5px; }
.bm-f select:not(.wp-list), .bm-f input:not([type=checkbox]):not([type=radio]) { height: 26px; min-height: 0; min-width: 0;
  width: 254px; box-sizing: border-box; border: 1px solid #cacaca; border-radius: 0; padding: 3px;
  font: 13.33px Arial, Helvetica, sans-serif; color: #000; background-color: #fff; }
.bm-f select:not(.wp-list) { border-radius: 7px; padding-right: 28px; -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='24'%3E%3Cpath d='M.5 3v18' stroke='%23cacaca'/%3E%3Cpath d='M10 10.5h7l-3.5 4z' fill='%23555'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 100% 50%; }
/* ===== App-wide field defaults = PayClock's field (replaces the old modern-theme 36px
   minimum). Element-level, so any class rule with its own size still wins. ===== */
input, select, textarea, button { min-height: 0; }
input:where(:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]):not([type=submit]):not([type=button])),
select { height: 26px; box-sizing: border-box; border: 1px solid #cacaca; border-radius: 0; padding: 3px;
  font: 13.33px Arial, Helvetica, sans-serif; color: #000; background-color: #fff; box-shadow: none; }
select { border-radius: 7px; padding-right: 28px; -webkit-appearance: none; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='24'%3E%3Cpath d='M.5 3v18' stroke='%23cacaca'/%3E%3Cpath d='M10 10.5h7l-3.5 4z' fill='%23555'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 100% 50%; }
select[multiple], select[size] { height: auto; padding-right: 3px; background-image: none; border-radius: 0; }
input:focus, select:focus, textarea:focus { outline: none; border-color: #3f9bd2; }
button:not([class]) { height: 32px; padding: 0 10px; border: 1px solid #cacaca; border-radius: 4px; background: #fff;
  color: #000; font-size: 13.33px; font-weight: 400; }
button:not([class]):hover { background: #f3f3f3; border-color: #cacaca; }
.lg-right input:not([type=checkbox]) { height: 40px; border: 1px solid #c3c8cf; border-radius: 6px; padding: 0 10px;
  font: 14px Roboto, "Segoe UI", Arial, sans-serif; }
.lg-right input:focus { border-color: #3f9bd2; }
/* Setup / Clocks sub-tab strips = the 35px PayClock tab strip */
.sh-tab { height: 35px; box-sizing: border-box; padding: 0 15px; font-size: 18.67px; font-weight: 300; color: #fff; }
.sh-tab.on { background: #fff; color: #2e2e2e; }
.sh-tab:hover:not(.on) { background: rgba(255,255,255,.1); }
/* PayClock date picker (DATEPICK_JS): 155px centered text + 26px calendar cell; Kendo pop-up. */
.dp { display: inline-flex; vertical-align: middle; max-width: 100%; }
.dp input.dp-in { width: 155px; min-width: 0; height: 26px; text-align: center; border: 1px solid #cacaca; border-radius: 0;
  padding: 3px; font: 13.33px Arial, Helvetica, sans-serif; color: #000; background: #fff; }
.emp-general .ef .dp input.dp-in, .ef .dp input.dp-in { width: 155px; }
.dp input.dp-in:disabled { color: #a8a8a8; border-color: #e1e1e1; }
.dp input.dp-in.bad { border-color: #d64545; background: #fff3f3; }
.dp button.dp-btn { width: 26px; height: 26px; flex: none; margin-left: -1px; padding: 0; border: 1px solid #cacaca; border-radius: 0;
  background: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.dp button.dp-btn:hover:not(:disabled) { background: #f0f0f0; }
.dp button.dp-btn:disabled { cursor: default; opacity: .45; }
#childtable .dp input.dp-in, .emp-tbl .dp input.dp-in { width: 112px; height: 24px; }
#childtable .dp button.dp-btn, .emp-tbl .dp button.dp-btn { width: 24px; height: 24px; }
.dp-pop { position: fixed; z-index: 6000; width: 202px; background: #fff; border: 1px solid #c5c5c5; box-shadow: 0 3px 10px rgba(0,0,0,.22);
  font: 13.33px Roboto, Arial, sans-serif; color: #2e2e2e; user-select: none; }
.dp-pop[hidden] { display: none; }
.dp-hd { display: flex; align-items: center; height: 25px; background: #2f5c84; }
.dp-nav { width: 24px; height: 24px; min-height: 0; padding: 0; border: 0; border-radius: 0; background: #292d35; color: #fff; font-size: 9px; cursor: pointer; }
.dp-nav:hover { background: #3a3f49; }
.dp-title { flex: 1; text-align: center; color: #fff; }
.dp-pop table { width: 200px; min-width: 0; table-layout: fixed; border-collapse: collapse; margin: 0; }
.dp-pop table th, .dp-pop table td { padding: 0; }
.dp-pop table th { background: #f5f5f5; color: #2e2e2e; height: 28px; }
#childtable select { padding-right: 26px; border-radius: 7px; -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='22'%3E%3Cpath d='M.5 3v16' stroke='%23cacaca'/%3E%3Cpath d='M9 9.5h7l-3.5 4z' fill='%23555'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 100% 50%; }
.dp-pop table th, .dp-pop table td { min-width: 0; max-width: none; width: auto; border: 0; text-transform: none; letter-spacing: 0;
  font-size: 13.33px; font-weight: 400; white-space: nowrap; overflow: visible; }
.dp-pop th { background: #f5f5f5; height: 28px; font-weight: 400; color: #2e2e2e; }
.dp-pop td { height: 27px; padding: 1px; text-align: center; }
.dp-pop td a { display: block; line-height: 24px; border-radius: 4px; cursor: pointer; color: #2e2e2e; }
.dp-pop td a:hover { background: #e9f4fb; }
.dp-pop td.oth a { color: #c3c3c3; }
.dp-pop td.sel a { background: #e3e2e0; }
.dp-pop td.tod a { box-shadow: inset 0 0 0 1px #f35800; color: #f35800; font-weight: 700; }
.dp-pop td.dis a { color: #dedede; pointer-events: none; }
.dp-ft { text-align: center; padding: 7px 0 9px; }
.dp-ft a { cursor: pointer; color: #2e2e2e; }
.dp-ft a:hover { text-decoration: underline; }
/* Scheduling employee list (PayClock): "All Employees" bold #545352 35px (white when chosen,
   never highlighted), employees 36px indented 34px, selected #b8dff2, gray below the rows. */
.sch-left { width: 200px; background: #e3e2e0; }
.sch-left .sch-all { height: 35px; box-sizing: border-box; display: flex; align-items: center; padding: 0 0 0 8px; border-bottom: 0;
  background: transparent; font-size: 13.33px; font-weight: 700; color: #545352; }
.sch-left .sch-all.on { background: #fff; }
.sch-left .uv-list.sch-list { background: #e3e2e0; width: auto; border-right: 0; flex: 1 1 auto; min-height: 0; overflow: auto; }
.sch-left .uv-list.sch-list a { height: 36px; padding: 0 6px 0 34px; background: #fff; color: #000; font-size: 13.33px; }
.sch-left .uv-list.sch-list a.on { background: #b8dff2; }
/* Day view: the name column is as wide as the search box above it, so hours line up with their grid lines */
.sch-dayv .sch-dname { width: 200px; }
.sch-dayv .sch-drow .sch-pen { left: 188px; }
.sch-left .uv-list.sch-list a:hover:not(.on) { background: #eef6fb; }
/* Home widgets (PayClock): 21.33px/400 black titles on a white header, In/Out header row white
   with a #c5c5c5 rule, 14px names, rounded 7px dropdown with the arrow cell. */
.panel .phead { font-size: 21.33px; font-weight: 400; color: #000; background: #fff; border-bottom: 0; }
.panel .phead .cnt { font-size: 13px; }
.ioboard table.io-tbl thead th { background: #fff; color: #000; font-size: 14px; border-top: 0; border-bottom: 1px solid #c5c5c5; }
.io-tbl td { font-size: 14px; color: #2e2e2e; }
.panel select { height: 26px; min-height: 0; border: 1px solid #cacaca; border-radius: 7px; padding: 3px 28px 3px 4px;
  font: 13.33px Arial, Helvetica, sans-serif; color: #000; -webkit-appearance: none; appearance: none; background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='24'%3E%3Cpath d='M.5 3v18' stroke='%23cacaca'/%3E%3Cpath d='M10 10.5h7l-3.5 4z' fill='%23555'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 100% 50%; }
.eg-lbl { display: block; font-size: 13.33px; color: #2e2e2e; margin: 0 0 5px; }
.sqbtn { width: 24px; height: 24px; min-height: 0; padding: 0; border: 1px solid #cacaca; border-radius: 2px; background: #fff;
  color: #2e2e2e; font-size: 16px; line-height: 1; }
.emp-tbl { border-collapse: collapse; min-width: 460px; margin-top: 6px; border: 1px solid #c5c5c5; }
.emp-tbl th { background: #f3f2f1; font-size: 13.33px; font-weight: 400; color: #2e2e2e; height: 30px; padding: 0 8px;
  border: 1px solid #c5c5c5; text-align: center; }
.emp-tbl td { height: 30px; padding: 2px 6px; border: 1px solid #d5d5d5; background: #fff; font-size: 13.33px; }
.emp-tbl input { height: 24px; min-height: 0; border: 1px solid #cacaca; border-radius: 0; padding: 2px 3px;
  font: 13.33px Arial, Helvetica, sans-serif; }
.detail .tools .search input, .detail .sum-search input { height: 24px; min-height: 0; border: 1px solid #9c9b9a; border-radius: 0;
  padding: 3px; font: italic 13.33px Arial, Helvetica, sans-serif; }
.list .tc-empty { background: #fff; padding: 12px 34px; }
.uv-list.uv-cols { background: #e3e2e0; }
.uv-cols .uv-listhdr { background: #f3f2f1; border-bottom: 1px solid #c5c5c5; color: #313131; font-size: 13.33px; height: 34px; }
.uv-cols .uv-listhdr span { display: flex; align-items: center; justify-content: center; padding: 0 8px; }
.uv-cols .uv-listhdr span:first-child { border-right: 0; }
.uv-cols .uv-listhdr span:last-child { width: 70px; border-left: 1px solid #c5c5c5; }
.uv-list.uv-cols a { background: #fff; border-bottom: 0; color: #000; font-size: 13.33px; min-height: 40px; align-items: stretch; }
.uv-list.uv-cols a:hover:not(.on) { background: #eef6fb; }
.uv-list.uv-cols a.on { background: #b8dff2; }
.uv-cols a .uv-ename { display: flex; align-items: center; padding: 6px 6px 6px 26px; border-right: 0; }
.uv-cols a .uv-enum { width: 70px; display: flex; align-items: center; justify-content: center; padding: 0 4px;
  border-left: 1px solid #c5c5c5; color: #000; font-size: 13.33px; }
.sch-left { background: #e3e2e0; }
.sch-all { background: #f3f2f1; border-bottom: 1px solid #c5c5c5; font-weight: 400; color: #313131; height: 34px;
  display: flex; align-items: center; padding: 0 8px 0 34px; box-sizing: border-box; flex: none; }
.sch-all.on { background: #b8dff2; }
.sch-list { background: #e3e2e0; }
.sch-list a { background: #fff; color: #000; font-size: 13.33px; height: 40px; display: flex !important; align-items: center;
  padding: 0 6px 0 34px !important; border-bottom: 0 !important; white-space: nowrap; overflow: hidden; }
.sch-list a.on { background: #b8dff2; }
.sch-list a:hover:not(.on) { background: #eef6fb; }

@media (max-width: 760px) {
  .app, .app.navcol { grid-template-columns: minmax(0, 1fr); }
  .app > .bar, .app > .tabs, .app > .body, .app > .detail { grid-column: 1; min-width: 0; }
  .side { position: fixed; top: 0; left: 0; bottom: 0; width: 230px; z-index: 60; transform: translateX(-100%);
    transition: transform .18s ease; box-shadow: 0 0 40px rgba(0,0,0,.5); overflow-y: auto; }
  body.nav-open .side { transform: none; }
  .app.navcol .side .lbl, .app.navcol .side .chev { display: revert; }
  .app.navcol .side a { justify-content: flex-start; padding: 0 12px; }
  .bar .burger { display: inline-flex; align-items: center; }
  /* top bar: wrap onto more lines instead of running off the right edge (a scrolling bar would
     clip its drop-down menus); the account menu stays on the right */
  .app, .app.notabs { grid-template-rows: auto auto minmax(0, 1fr); }
  .app.notabs { grid-template-rows: auto minmax(0, 1fr); }
  .app > .bar { height: auto; min-height: 40px; flex-wrap: wrap; row-gap: 0; align-items: center; }
  .app > .bar > .right { margin-left: auto; }
  .bar .sep, .bar .uv-sep { display: none; }
  .bar .uv-searchwrap { flex: 1 1 150px; min-width: 0; }
  .bar .uv-searchwrap input { width: 100%; min-width: 0; }
  .app > .tabs { overflow-x: auto; scrollbar-width: none; }
  .app > .tabs::-webkit-scrollbar { display: none; }
  .app > .tabs a { flex: none; }
  /* list + details pages (Employees, Setup…): list on top, details full width below */
  .uv-body { flex-direction: column; }
  .uv-body > .uv-list { width: auto !important; max-height: 34vh; flex: none; overflow: auto; }
  .uv-body > .uv-split { display: none; }
  .uv-body > .uv-main { flex: 1 1 auto; min-width: 0; width: auto !important; }
  /* Home: the widget-layout button sits under the (taller) bar instead of over it */
  .wtray { position: relative; top: auto; right: auto; margin: 0 0 6px; }
  /* Employee form: sections and their two field columns stack */
  .emp-general { flex-wrap: wrap; gap: 18px; padding: 14px 14px; }
  .emp-general > section { min-width: 0; max-width: 100%; }
  .emp-general .eg-two { flex-wrap: wrap; gap: 0 24px; }
  .epane { overflow-x: auto; }
  .emp-general .eg-two > div { flex: 1 1 100% !important; width: auto !important; }
  /* Scheduling: employee list on top, calendar full width below */
  .sch-wrap { flex-direction: column; height: auto !important; min-height: calc(100dvh - 160px); }
  .sch-wrap > .sch-left { width: auto !important; flex: none; max-height: 30vh; }
  .sch-wrap > .sch-left .sch-list { height: auto !important; overflow: auto; }
  .sch-wrap > .sch-right { flex: 1 1 auto; min-width: 0; min-height: 60vh; overflow: auto; }
  /* Reports: list full width on top */
  .rpt-wrap > .rl-col { width: auto !important; }
  .rpt-wrap { height: auto; min-height: calc(100dvh - 120px); overflow: visible; }
  .rc-col { flex-direction: column; overflow: visible; }
  .rc-col > .rc-cfg { width: auto !important; max-width: 100%; }
  .rc-col > .rpv { min-height: 70vh; }
  .bar .rg-bar { height: 40px; }
}
