:root {
  color-scheme: light;
  --bg: #f6f7f2;
  --surface: #ffffff;
  --text: #1f2933;
  --muted: #65717d;
  --line: #dce1e6;
  --primary: #16745f;
  --primary-strong: #0f5748;
  --accent: #b84a36;
  --soft: #eef6f3;
  --shadow: 0 18px 45px rgba(31, 41, 51, 0.1);
  --shadow-raised: 0 22px 55px rgba(31, 41, 51, 0.16);
  --shadow-pressed: 0 10px 26px rgba(31, 41, 51, 0.12);
  --ease: 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(22, 116, 95, 0.12), transparent 38%),
    linear-gradient(315deg, rgba(184, 74, 54, 0.12), transparent 34%),
    var(--bg);
  color: var(--text);
  font-family:
    "Segoe UI", "Inter", "Noto Sans", Tahoma, Arial, system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
  font-weight: 400;
}

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

button {
  cursor: pointer;
  transform: translateZ(0);
  transition:
    transform var(--ease),
    box-shadow var(--ease),
    background-color var(--ease),
    border-color var(--ease),
    color var(--ease);
}

.app-shell {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0;
}

.landing-view {
  position: relative;
  display: grid;
  min-height: calc(100vh - 56px);
  place-items: center;
  text-align: center;
  touch-action: pan-y;
}

.landing-content {
  display: grid;
  justify-items: center;
  gap: 16px;
}

.landing-enter {
  min-height: 58px;
  border: 0;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  padding: 0 34px;
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 750;
  box-shadow: 0 16px 34px rgba(22, 116, 95, 0.26);
}

.landing-enter:hover {
  background: var(--primary-strong);
  box-shadow: 0 20px 42px rgba(22, 116, 95, 0.32);
  transform: translateY(-3px);
}

.landing-or {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  margin: 2px 0 4px;
}

.landing-view p {
  color: #0f2745;
  font-size: clamp(22px, 3.5vw, 38px);
  font-weight: 750;
  letter-spacing: 0;
  animation: landingFloat 1.8s ease-in-out infinite;
}

.landing-exiting .landing-content {
  animation: none;
  opacity: 0.55;
  transform: translateY(-10px);
  transition:
    opacity var(--ease),
    transform var(--ease);
}

.swipe-cue {
  position: absolute;
  left: 50%;
  bottom: 30px;
  display: grid;
  gap: 2px;
  transform: translateX(-50%);
  opacity: 0.72;
}

.swipe-cue span {
  display: block;
  width: 22px;
  height: 22px;
  border-top: 4px solid var(--primary);
  border-left: 4px solid var(--primary);
  transform: rotate(45deg);
  animation: swipeArrowUp 1.4s ease-in-out infinite;
}

.swipe-cue span:nth-child(2) {
  animation-delay: 160ms;
  opacity: 0.55;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0 26px;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 720;
  line-height: 1.05;
}

h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.eyebrow {
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.session {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
  color: var(--muted);
  font-weight: 600;
}

.session span {
  overflow-wrap: anywhere;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  transform: translateZ(0);
  transition:
    transform var(--ease),
    box-shadow var(--ease),
    border-color var(--ease);
}

.panel:hover {
  border-color: rgba(22, 116, 95, 0.18);
  box-shadow: var(--shadow-raised);
  transform: translateY(-2px);
}

.login-grid {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 390px);
  gap: 32px;
  padding: 34px;
}

.intro {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 12px;
  padding-top: 8px;
}

.intro h2 {
  color: #0f2745;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 720;
  line-height: 1.08;
}

.intro p {
  max-width: 560px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.form-stack {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  padding: 0 12px;
  outline: none;
  transition:
    border-color var(--ease),
    box-shadow var(--ease),
    background-color var(--ease);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(22, 116, 95, 0.14);
}

.primary,
.ghost,
.danger {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(31, 41, 51, 0.08);
}

.password-control {
  position: relative;
  display: block;
}

.password-control input {
  padding-right: 74px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  min-height: 32px;
  border: 0;
  border-radius: 7px;
  background: #edf3f1;
  color: var(--primary-strong);
  padding: 0 10px;
  font-size: 13px;
  font-weight: 650;
  transform: translateY(-50%);
  box-shadow: none;
}

.password-toggle:hover {
  background: #dcece7;
  transform: translateY(-50%);
}

.primary {
  background: var(--primary);
  color: #fff;
}

.primary:hover {
  background: var(--primary-strong);
  box-shadow: 0 12px 24px rgba(15, 87, 72, 0.22);
  transform: translateY(-2px);
}

.primary:disabled {
  cursor: not-allowed;
  background: #9ba7a3;
  box-shadow: none;
  transform: none;
}

.primary:disabled:hover {
  background: #9ba7a3;
  box-shadow: none;
  transform: none;
}

.ghost {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
}

.ghost:hover {
  border-color: rgba(22, 116, 95, 0.28);
  background: #f8fbfa;
  box-shadow: 0 12px 24px rgba(31, 41, 51, 0.1);
  transform: translateY(-2px);
}

.danger {
  background: #fff1ee;
  color: #a93524;
}

.danger:hover {
  background: #ffe5df;
  box-shadow: 0 12px 24px rgba(169, 53, 36, 0.14);
  transform: translateY(-2px);
}

.primary:active,
.ghost:active,
.danger:active,
.table-confirm:active,
.table-delete:active,
#submitAttendanceBtn:active {
  box-shadow: var(--shadow-pressed);
  transform: translateY(0) scale(0.99);
}

.message {
  min-height: 20px;
  color: var(--accent);
  font-weight: 700;
}

.workspace {
  display: grid;
  gap: 18px;
}

.workspace .panel {
  padding: 28px;
}

#attendanceView .panel {
  width: min(520px, 100%);
  justify-self: center;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

#attendanceView .section-heading {
  align-items: center;
  justify-content: center;
  text-align: center;
}

#attendanceView .eyebrow,
#attendanceView .pill,
#attendanceView .submit-message {
  display: none;
}

#attendanceView h2 {
  color: #4f6380;
  font-size: 20px;
  font-weight: 500;
}

.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.collapse-toggle {
  min-height: 32px;
  padding: 0 12px;
  white-space: nowrap;
}

.danger-toggle {
  min-height: 36px;
  border-color: #f2c9c1;
  color: #a93524;
  white-space: nowrap;
}

.danger-toggle.active {
  border-color: #d74b3a;
  background: #fff1ee;
  color: #9f2f20;
}

.collapsible-panel.collapsed .collapsible-body {
  display: none;
}

.collapsible-panel.collapsed .section-heading {
  margin-bottom: 0;
}

.backup-restore-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
}

.admin-tool-block {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
}

.admin-tool-block h3 {
  margin: 0;
  color: #0f2745;
  font-size: 18px;
  font-weight: 900;
}

.pill {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  white-space: nowrap;
  border-radius: 999px;
  background: var(--soft);
  color: var(--primary-strong);
  padding: 0 12px;
  font-size: 13px;
  font-weight: 900;
}

.add-form,
.export-form,
.restore-form,
.backup-form {
  display: grid;
  align-items: end;
  gap: 12px;
  margin-bottom: 20px;
}

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

.export-form,
.restore-form {
  grid-template-columns: 1fr auto;
}

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

.toggle-row {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.toggle-row input {
  width: 22px;
  min-height: 22px;
  flex: 0 0 22px;
}

.backup-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.backup-config-status {
  min-height: 46px;
  margin: 0;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

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

.attendance-list {
  gap: 10px;
}

.employee-row,
.attendance-row {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px 14px;
  transform: translateZ(0);
  transition:
    transform var(--ease),
    box-shadow var(--ease),
    border-color var(--ease),
    background-color var(--ease);
}

.attendance-row {
  border: 0;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(31, 41, 51, 0.07);
}

.employee-row:hover,
.attendance-row:hover {
  border-color: rgba(22, 116, 95, 0.22);
  background: #fff;
  box-shadow: 0 14px 30px rgba(31, 41, 51, 0.13);
  transform: translateY(-3px);
}

.attendance-row:has(input:checked) {
  box-shadow:
    0 14px 30px rgba(22, 116, 95, 0.14),
    inset 4px 0 0 var(--primary);
}

.employee-name {
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 850;
}

.employee-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.employee-actions .ghost,
.employee-actions .danger {
  min-height: 36px;
  padding: 0 12px;
  white-space: nowrap;
}

.attendance-check {
  display: flex;
  width: 100%;
  min-width: 0;
  flex: 1;
  grid-template-columns: none;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
}

.attendance-check input {
  position: relative;
  width: 38px;
  flex: 0 0 38px;
  height: 38px;
  min-height: 38px;
  appearance: none;
  border: 0;
  border-radius: 10px;
  background: #dde3ec;
  padding: 0;
  cursor: pointer;
  transition:
    transform var(--ease),
    box-shadow var(--ease),
    background-color var(--ease);
}

.attendance-check input:checked {
  background: var(--primary);
  box-shadow: 0 8px 18px rgba(22, 116, 95, 0.24);
}

.attendance-check input:checked::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 48%;
  width: 10px;
  height: 18px;
  border: solid #fff;
  border-width: 0 4px 4px 0;
  border-radius: 2px;
  transform: translate(-50%, -50%) rotate(45deg);
  transform-origin: center;
}

.attendance-check input:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 18px rgba(31, 41, 51, 0.14);
}

.attendance-check input:focus {
  box-shadow: 0 0 0 4px rgba(22, 116, 95, 0.14);
}

.attendance-check input:checked:focus {
  box-shadow: 0 0 0 4px rgba(22, 116, 95, 0.14);
}

.day-note-input {
  min-height: 92px;
  border-color: #c9d7e8;
  border-radius: 12px;
  margin-top: 18px;
  padding: 14px;
  resize: vertical;
  font-size: 16px;
  line-height: 1.5;
}

.status-text {
  display: none;
  white-space: nowrap;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.submit-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 20px;
  padding-top: 0;
}

.submit-message {
  min-width: 0;
  color: var(--muted);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(31, 41, 51, 0.07);
}

.metadata-wrap {
  margin-bottom: 14px;
}

.admin-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 14px;
}

.metadata-table {
  min-width: 360px;
}

.metadata-table th,
.metadata-table td {
  white-space: normal;
}

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

.admin-table th {
  position: sticky;
  top: 0;
  background: var(--soft);
  color: var(--primary-strong);
  font-weight: 900;
}

.admin-table td:first-child,
.admin-table th:first-child {
  position: sticky;
  left: 0;
  background: #fff;
  font-weight: 850;
}

.admin-table th:first-child {
  background: var(--soft);
}

.admin-table td:nth-last-child(5) {
  min-width: 220px;
  white-space: normal;
}

.admin-table .duplicate-row td {
  background: #fff7e8;
}

.admin-table .duplicate-row td:first-child {
  background: #ffefd0;
  color: #8b4b12;
}

.table-delete {
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  background: #fff1ee;
  color: #a93524;
  padding: 0 12px;
  font-weight: 900;
  transition:
    transform var(--ease),
    box-shadow var(--ease),
    background-color var(--ease);
}

.table-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.table-confirm {
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  background: #e8f7f1;
  color: var(--primary-strong);
  padding: 0 12px;
  font-weight: 900;
  transition:
    transform var(--ease),
    box-shadow var(--ease),
    background-color var(--ease);
}

.table-confirm:hover {
  background: #d8f0e7;
  box-shadow: 0 10px 20px rgba(22, 116, 95, 0.14);
  transform: translateY(-2px);
}

.table-delete:hover {
  background: #ffe2dc;
  box-shadow: 0 10px 20px rgba(169, 53, 36, 0.14);
  transform: translateY(-2px);
}

#submitAttendanceBtn {
  width: 100%;
  min-height: 54px;
  border-radius: 12px;
  background: #2f64e5;
  font-size: 16px;
  text-transform: uppercase;
  box-shadow: 0 14px 30px rgba(47, 100, 229, 0.28);
}

#submitAttendanceBtn:hover {
  background: #2456cb;
  box-shadow: 0 18px 38px rgba(47, 100, 229, 0.34);
  transform: translateY(-2px);
}

.empty {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 18px;
  color: var(--muted);
  text-align: center;
}

.hidden {
  display: none !important;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  background: rgba(31, 41, 51, 0.55);
  padding: 18px;
  animation: modalBackdropIn 160ms ease-out;
}

.modal-card {
  width: min(460px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(31, 41, 51, 0.28);
  padding: 24px;
  animation: modalCardIn 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-origin: center;
}

.modal-heading {
  margin-bottom: 18px;
}

.modal-heading h2 {
  color: #0f2745;
  font-size: 21px;
  font-weight: 900;
}

.icon-button {
  width: 42px;
  min-width: 42px;
  padding: 0;
  font-size: 28px;
  line-height: 1;
}

.confirm-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.confirm-meta div {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
  padding: 12px;
}

.confirm-meta span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.confirm-meta strong {
  overflow-wrap: anywhere;
}

.confirm-warning {
  border: 0;
  border-radius: 12px;
  background: #fff0f1;
  color: #e11d2a;
  margin-bottom: 14px;
  padding: 12px 14px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.4;
}

.confirm-list {
  display: grid;
  gap: 0;
}

.confirm-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 0;
  border-bottom: 1px solid #edf1f5;
  border-radius: 0;
  padding: 10px 0;
  font-size: 16px;
}

.confirm-item strong {
  font-weight: 500;
}

.confirm-item p {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.confirm-status {
  flex: 0 0 auto;
  border-radius: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
}

.confirm-status.present {
  background: transparent;
  color: #009261;
}

.confirm-status.absent {
  background: transparent;
  color: #e11d2a;
}

.confirm-note {
  padding: 14px 0 18px;
  color: #0f2745;
  font-size: 16px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.confirm-note strong {
  font-weight: 900;
}

.modal-field {
  display: grid;
  gap: 8px;
  padding: 14px 0 18px;
  color: #0f2745;
  font-size: 15px;
  font-weight: 900;
}

.modal-field input {
  margin-top: 2px;
  font-weight: 700;
}

.success-message {
  display: grid;
  justify-items: center;
  gap: 10px;
  border-radius: 12px;
  background: #eefaf4;
  color: #0b6b4d;
  margin-bottom: 4px;
  padding: 22px 16px;
  font-size: 16px;
  line-height: 1.45;
  text-align: center;
}

.success-check {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: #00875f;
  color: #fff;
  font-size: 46px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(0, 135, 95, 0.24);
  animation: successPop 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.success-message strong {
  color: #00875f;
  font-size: 18px;
}

.success-message span {
  color: #41546b;
}

.success-countdown {
  display: inline-block;
  min-width: 1.2em;
  color: #00875f;
  font-size: 20px;
  font-weight: 900;
  text-align: center;
}

.modal-actions {
  display: grid;
  gap: 10px;
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.modal-actions .primary,
.modal-actions .ghost {
  width: 100%;
  min-height: 54px;
  border-radius: 12px;
  font-size: 16px;
  text-transform: uppercase;
}

.modal-actions .primary.resubmit {
  background: #e5242a;
}

.modal-actions .primary.resubmit:hover {
  background: #c91e24;
}

.modal-actions .ghost {
  border: 1px solid #c8d4e4;
  background: #e8eef6;
  color: #263d5c;
  box-shadow: 0 8px 18px rgba(31, 41, 51, 0.09);
}

.modal-actions .ghost:hover {
  border-color: #9fb0c8;
  background: #dce6f2;
  color: #102a4c;
  box-shadow: 0 12px 24px rgba(31, 41, 51, 0.14);
}

@keyframes modalBackdropIn {
  from {
    background: rgba(31, 41, 51, 0);
  }
  to {
    background: rgba(31, 41, 51, 0.55);
  }
}

@keyframes modalCardIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes successPop {
  0% {
    opacity: 0;
    transform: scale(0.72);
  }
  70% {
    opacity: 1;
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes landingFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes swipeArrowUp {
  0%,
  100% {
    opacity: 0.25;
    transform: translateY(8px) rotate(45deg);
  }
  45% {
    opacity: 1;
    transform: translateY(-4px) rotate(45deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

h1,
.intro h2,
.landing-view p {
  font-weight: 720;
}

h2,
.admin-tool-block h3,
.employee-name,
.admin-table th,
.modal-heading h2 {
  font-weight: 680;
}

label,
.pill,
.submit-message,
.backup-config-status,
.session,
.status-text {
  font-weight: 600;
}

.primary,
.ghost,
.danger,
.table-delete,
.table-confirm,
.collapse-toggle,
.password-toggle {
  font-weight: 650;
}

.eyebrow,
.confirm-note strong,
.confirm-status,
.success-message strong,
.success-countdown {
  font-weight: 700;
}

@media (max-width: 760px) {
  .app-shell {
    width: min(100% - 20px, 1080px);
    padding: 18px 0;
  }

  .topbar,
  .section-heading {
    flex-direction: column;
    align-items: stretch;
  }

  .section-actions {
    justify-content: space-between;
  }

  .session {
    justify-content: space-between;
  }

  .login-grid,
  .workspace .panel {
    padding: 20px;
  }

  .login-grid,
  .add-form,
  .export-form,
  .restore-form,
  .backup-form {
    grid-template-columns: 1fr;
  }

  .backup-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .backup-restore-grid {
    grid-template-columns: 1fr;
  }

  .employee-row,
  .attendance-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .employee-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .attendance-row {
    min-height: 76px;
  }

  .submit-bar,
  .modal-actions,
  .confirm-item {
    align-items: stretch;
    flex-direction: column;
  }

  .confirm-meta {
    grid-template-columns: 1fr;
  }
}
