:root {
  --ink: #16202f;
  --muted: #687489;
  --soft: #f7f3eb;
  --page: #fbfaf7;
  --panel: #ffffff;
  --line: #e7dece;
  --line-strong: #d8c6aa;
  --navy: #0a2540;
  --blue: #124e78;
  --blue-soft: #e8f2f8;
  --gold: #d9a441;
  --gold-soft: #fff4d9;
  --green: #0f9f6e;
  --green-soft: #e8f7ef;
  --red: #c9352b;
  --red-soft: #fff0ee;
  --orange: #dc6b2f;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(26, 32, 44, 0.08);
  --sidebar: 292px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
}

body.access-mode {
  background: #061426;
}

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

button {
  cursor: pointer;
}

button:disabled {
  cursor: wait;
  opacity: 0.68;
}

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

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: #fffaf1;
  padding: 20px 14px;
  z-index: 20;
}

.brand {
  display: grid;
  gap: 10px;
  padding: 8px 10px 20px;
  border-bottom: 1px solid var(--line);
}

.brand-logo-card {
  height: 68px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(216, 198, 170, 0.8);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 244, 217, 0.86), rgba(255, 255, 255, 0.96)),
    #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75), 0 10px 28px rgba(10, 37, 64, 0.08);
  padding: 10px 12px;
  overflow: hidden;
}

.brand-logo {
  width: 100%;
  max-height: 50px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.brand-copy {
  display: grid;
  gap: 2px;
  padding: 0 2px;
}

.brand strong {
  display: block;
  color: var(--navy);
  font-size: 16px;
}

.brand span,
.sidebar-footer span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.side-nav {
  display: grid;
  gap: 4px;
  padding: 18px 0;
  overflow: auto;
}

.nav-group-label {
  margin: 18px 10px 6px;
  color: #8b785d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-item {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  padding: 10px 12px;
  text-align: left;
}

.nav-item:hover {
  background: #fff4d9;
}

.nav-item.active {
  background: var(--navy);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(10, 37, 64, 0.2);
}

.nav-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: rgba(217, 164, 65, 0.16);
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.nav-item.active .nav-icon {
  background: rgba(255, 255, 255, 0.14);
  color: #fff4d9;
}

.sidebar-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 16px 10px 4px;
}

.main {
  min-width: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(220px, 520px) minmax(180px, 1fr) auto;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.9);
  backdrop-filter: blur(12px);
  padding: 12px 28px;
}

.search-wrap {
  min-width: 0;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 0 14px;
}

.search-wrap input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
}

.top-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.primary-button,
.ghost-button,
.icon-button,
.segmented button {
  min-height: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  padding: 0 14px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 700;
}

.primary-button {
  border-color: var(--gold);
  background: var(--gold);
  color: #111827;
}

.ghost-button {
  background: transparent;
}

.inline-link {
  min-height: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.icon-button {
  width: 42px;
  padding: 0;
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 6px 10px 6px 6px;
}

.connection-strip {
  min-height: 34px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--muted);
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
}

.connection-strip.online {
  border-color: rgba(15, 159, 110, 0.24);
  background: var(--green-soft);
  color: #08704e;
}

.connection-strip.offline {
  border-color: rgba(201, 53, 43, 0.26);
  background: var(--red-soft);
  color: var(--red);
}

.user-chip span,
.avatar {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-soft);
  color: #5b3c00;
  font-weight: 800;
}

.page {
  padding: 32px 28px 56px;
}

body.access-mode .app-shell {
  display: block;
  min-height: 100vh;
}

body.access-mode .sidebar,
body.access-mode .topbar {
  display: none;
}

body.access-mode .main {
  min-height: 100vh;
}

body.access-mode .page {
  min-height: 100vh;
  padding: 0;
}

.access-entry {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #061426;
}

.access-media,
.access-overlay {
  position: absolute;
  inset: 0;
}

.access-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.access-overlay {
  background:
    linear-gradient(90deg, rgba(6, 20, 38, 0.96) 0%, rgba(6, 20, 38, 0.84) 42%, rgba(6, 20, 38, 0.58) 100%),
    linear-gradient(180deg, rgba(217, 164, 65, 0.18), rgba(6, 20, 38, 0.18));
}

.access-content {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(320px, 440px);
  grid-template-areas:
    "brand panel"
    "copy panel"
    "roles roles";
  gap: 28px 46px;
  align-content: space-between;
  padding: clamp(26px, 4vw, 54px);
}

.access-brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 560px;
}

.access-brand img {
  width: min(250px, 44vw);
  max-height: 82px;
  object-fit: contain;
  border: 1px solid rgba(255, 244, 217, 0.32);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  padding: 10px 14px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.access-brand div {
  display: grid;
  gap: 4px;
}

.access-brand span,
.access-panel-label {
  color: #e9bd68;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.access-brand strong {
  color: #ffffff;
  font-size: 18px;
}

.access-copy {
  grid-area: copy;
  max-width: 760px;
  align-self: end;
}

.access-copy h1 {
  max-width: 720px;
  color: #ffffff;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.98;
}

.phrase-carousel {
  position: relative;
  min-height: 2.8em;
  max-width: 680px;
  margin-top: 24px;
  color: #ffe1a8;
  font-size: clamp(20px, 2.3vw, 30px);
  font-weight: 800;
  line-height: 1.25;
}

.phrase-carousel span {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  opacity: 0;
  transform: translateY(12px);
  animation: phraseFade 12s infinite;
  animation-delay: var(--phrase-delay, 0s);
  will-change: opacity, transform;
}

@keyframes phraseFade {
  0%,
  8% {
    opacity: 0;
    transform: translateY(12px);
  }

  14%,
  30% {
    opacity: 1;
    transform: translateY(0);
  }

  38%,
  100% {
    opacity: 0;
    transform: translateY(-10px);
  }
}

.access-panel {
  grid-area: panel;
  align-self: center;
  display: grid;
  gap: 18px;
  border: 1px solid rgba(255, 244, 217, 0.34);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.94);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  padding: 26px;
}

.access-panel h2 {
  margin-bottom: 6px;
}

.access-panel p {
  margin-bottom: 0;
}

.access-panel .primary-button {
  width: 100%;
}

.access-note {
  font-size: 13px;
}

.access-roles {
  grid-area: roles;
  display: grid;
  grid-template-columns: repeat(7, minmax(150px, 1fr));
  gap: 12px;
  align-items: stretch;
}

.access-role-card {
  min-height: 132px;
  display: grid;
  align-content: start;
  gap: 6px;
  border: 1px solid rgba(255, 244, 217, 0.2);
  border-radius: var(--radius);
  background: rgba(6, 20, 38, 0.74);
  padding: 14px;
}

.access-role-card span {
  color: #e9bd68;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.access-role-card strong {
  color: #ffffff;
}

.access-role-card p {
  margin: 0;
  color: rgba(255, 250, 241, 0.74);
  font-size: 13px;
  line-height: 1.45;
}

.page-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  margin-bottom: 24px;
}

.eyebrow {
  color: var(--gold);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 6px;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
}

h2 {
  color: var(--navy);
  font-size: 22px;
}

h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 16px;
}

p {
  color: var(--muted);
  line-height: 1.55;
}

.module-tabs,
.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.segmented {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 4px;
}

.segmented button {
  border: 0;
  min-height: 34px;
  background: transparent;
}

.segmented button.active {
  background: var(--navy);
  color: #ffffff;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  min-width: 0;
}

.card.pad {
  padding: 20px;
}

.metric {
  min-height: 132px;
  display: grid;
  align-content: space-between;
}

.metric-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.metric strong {
  display: block;
  color: var(--navy);
  font-size: 30px;
}

.metric span {
  color: var(--muted);
}

.metric-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 800;
}

.metric.gold .metric-icon {
  background: var(--gold-soft);
  color: #8b5b00;
}

.metric.green .metric-icon {
  background: var(--green-soft);
  color: var(--green);
}

.metric.red .metric-icon {
  background: var(--red-soft);
  color: var(--red);
}

.platform-card {
  min-height: 320px;
  display: grid;
  align-content: start;
  gap: 14px;
}

.platform-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.platform-stats span {
  min-height: 62px;
  display: grid;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffaf1;
  color: var(--muted);
  padding: 10px;
}

.platform-stats strong {
  color: var(--navy);
  font-size: 20px;
}

.attendance-hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
}

.attendance-control {
  display: grid;
  align-content: space-between;
  gap: 18px;
  min-height: 280px;
}

.clock-status {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffaf1;
  padding: 14px;
}

.clock-status strong {
  color: var(--navy);
  font-size: 26px;
}

.clock-status span {
  color: var(--muted);
}

.clock-status.active {
  border-color: rgba(15, 159, 110, 0.32);
  background: var(--green-soft);
}

.clock-status.idle-watch,
.clock-status.late {
  border-color: rgba(201, 53, 43, 0.32);
  background: var(--red-soft);
}

.clock-status.clocked-out {
  border-color: rgba(217, 164, 65, 0.44);
  background: var(--gold-soft);
}

.attendance-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.attendance-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.section {
  margin-top: 24px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.7fr);
  gap: 18px;
}

.table-wrap {
  overflow: auto;
}

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

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

th {
  color: #8b785d;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #fffaf1;
}

td strong {
  color: var(--navy);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 3px 10px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.badge.gold {
  background: var(--gold-soft);
  color: #815300;
}

.badge.green {
  background: var(--green-soft);
  color: var(--green);
}

.badge.red {
  background: var(--red-soft);
  color: var(--red);
}

.badge.gray {
  background: #eef0f3;
  color: #4b5563;
}

.list {
  display: grid;
  gap: 10px;
}

.list-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: #ffffff;
  min-width: 0;
}

.list-row > div,
.metric,
.platform-card,
.field,
td {
  min-width: 0;
}

.list-row p,
.metric span,
.field label,
td,
th {
  overflow-wrap: anywhere;
}

.progress {
  height: 8px;
  border-radius: 999px;
  background: #edf0f3;
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  width: var(--value, 50%);
  background: var(--gold);
}

.workflow {
  display: grid;
  gap: 10px;
  counter-reset: step;
}

.workflow li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 12px;
  list-style: none;
  counter-increment: step;
}

.workflow li::before {
  content: counter(step);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-soft);
  color: #805600;
  font-weight: 800;
}

.callout {
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  background: #fffaf1;
  padding: 16px;
}

.callout.green {
  border-left-color: var(--green);
  background: var(--green-soft);
}

.callout.red {
  border-left-color: var(--red);
  background: var(--red-soft);
}

.callout.gold {
  border-left-color: var(--gold);
  background: var(--gold-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

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

.field label {
  color: var(--navy);
  font-weight: 800;
  font-size: 13px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  padding: 10px 12px;
}

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

.conversation-workbench {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(520px, 1.1fr);
  gap: 18px;
  align-items: start;
}

.conversation-log-panel {
  min-width: 0;
}

.conversation-log-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.conversation-log-grid .span-2 {
  grid-column: 1 / -1;
}

.conversation-field textarea {
  min-height: 150px;
  line-height: 1.5;
}

.conversation-log-grid .span-2 textarea {
  min-height: 180px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

.module-toolbar,
.export-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.filter-select {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  padding: 0 12px;
}

.mobile-only {
  display: none;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 15;
  background: rgba(10, 37, 64, 0.3);
}

.offline-page {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(10, 37, 64, 0.96), rgba(18, 78, 120, 0.84)),
    #0a2540;
}

.offline-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.offline-card {
  width: min(540px, 100%);
  border: 1px solid rgba(255, 244, 217, 0.34);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.96);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.26);
  padding: 28px;
}

.offline-card img {
  width: min(260px, 70vw);
  max-height: 90px;
  object-fit: contain;
  display: block;
  margin-bottom: 22px;
}

.offline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  text-decoration: none;
}

@media (max-width: 1180px) {
  .topbar {
    grid-template-columns: minmax(220px, 1fr) minmax(180px, 0.8fr);
  }

  .top-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .grid.cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .attendance-hero {
    grid-template-columns: 1fr;
  }

  .attendance-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .conversation-workbench {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .access-content {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "copy"
      "panel"
      "roles";
    align-content: start;
  }

  .access-panel {
    max-width: 560px;
  }

  .access-roles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .app-shell {
    display: block;
  }

  .sidebar {
    position: fixed;
    left: 0;
    transform: translateX(-104%);
    width: min(var(--sidebar), 88vw);
    transition: transform 180ms ease;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .mobile-only {
    display: inline-grid;
  }

  .topbar {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 10px 14px;
    gap: 10px;
  }

  .search-wrap {
    height: 40px;
    padding: 0 10px;
  }

  .search-wrap span {
    display: none;
  }

  .connection-strip {
    grid-column: 1 / -1;
    min-height: 30px;
  }

  .primary-button,
  .ghost-button,
  .icon-button,
  .segmented button,
  .filter-select {
    min-height: 44px;
  }

  .top-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow: auto;
    gap: 8px;
  }

  .top-actions .ghost-button,
  .top-actions .primary-button {
    flex: 0 0 auto;
  }

  .page {
    padding: 22px 14px 42px;
  }

  body.access-mode .page {
    padding: 0;
  }

  .access-content {
    gap: 22px;
    padding: 22px 14px 34px;
  }

  .access-brand {
    display: grid;
  }

  .access-brand img {
    width: min(240px, 72vw);
  }

  .access-copy h1 {
    font-size: 34px;
  }

  .phrase-carousel {
    min-height: 78px;
    font-size: 22px;
  }

  .access-panel {
    padding: 18px;
  }

  .access-roles {
    grid-template-columns: 1fr;
  }

  .page-header {
    grid-template-columns: 1fr;
  }

  .grid.cols-2,
  .grid.cols-3,
  .grid.cols-4,
  .attendance-metrics,
  .form-grid {
    grid-template-columns: 1fr;
  }

  table {
    min-width: 0;
  }

  .table-wrap {
    overflow: visible;
  }

  thead {
    display: none;
  }

  tbody {
    display: grid;
    gap: 10px;
  }

  tr,
  td {
    display: block;
  }

  tr {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    padding: 10px 0;
  }

  td {
    border: 0;
    padding: 8px 12px;
  }

  td::before {
    content: attr(data-label);
    display: block;
    color: #8b785d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 3px;
  }
}

@media (max-width: 520px) {
  :root {
    --sidebar: 286px;
  }

  .brand-logo-card {
    height: 60px;
  }

  .topbar {
    align-items: stretch;
  }

  .user-chip {
    max-width: 112px;
  }

  .user-chip strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .module-tabs,
  .segmented,
  .module-toolbar,
  .export-grid,
  .form-actions,
  .attendance-actions {
    width: 100%;
  }

  .module-tabs > *,
  .segmented > *,
  .module-toolbar > *,
  .export-grid > *,
  .form-actions > *,
  .attendance-actions > * {
    flex: 1 1 150px;
  }

  .metric strong {
    font-size: 26px;
  }

  .card.pad,
  .offline-card {
    padding: 16px;
  }

  td {
    padding: 8px 10px;
  }
}
