:root {
  color-scheme: light;
  --bg-top: #dce7f2;
  --bg-bottom: #f6f8fb;
  --panel: rgba(255, 255, 255, 0.84);
  --panel-strong: #ffffff;
  --border: rgba(13, 35, 64, 0.11);
  --shadow: 0 20px 50px rgba(20, 37, 57, 0.12);
  --text-main: #12304a;
  --text-soft: #557187;
  --brand: #0e7a6b;
  --brand-deep: #0b5f54;
  --brand-bright: #0b6ee8;
  --accent: #f39a43;
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  font-family: "Segoe UI", "Trebuchet MS", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, rgba(243, 154, 67, 0.14), transparent 30%),
    linear-gradient(155deg, var(--bg-top), var(--bg-bottom));
}

body.auth-mode {
  background: linear-gradient(180deg, #edf4ff 0%, #ffffff 48%, #f7fbff 100%);
}

body.dashboard-mode {
  background: linear-gradient(180deg, #edf4ff 0%, #f9fbff 38%, #f6fbff 100%);
}

body.auth-mode::before,
body.auth-mode::after,
body.dashboard-mode::before,
body.dashboard-mode::after {
  content: "";
  position: fixed;
  inset: -10%;
  pointer-events: none;
  z-index: -1;
}

body.auth-mode::before {
  background:
    radial-gradient(circle at 10% 8%, rgba(116, 163, 240, 0.62), transparent 23%),
    radial-gradient(circle at 50% 45%, rgba(74, 131, 230, 0.42), transparent 18%),
    radial-gradient(circle at 92% 80%, rgba(61, 188, 188, 0.28), transparent 20%),
    radial-gradient(circle at 10% 92%, rgba(116, 171, 237, 0.4), transparent 22%);
  filter: blur(36px);
}

body.auth-mode::after {
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.95), transparent 34%),
    radial-gradient(circle at 50% 42%, rgba(75, 131, 228, 0.22), transparent 16%);
}

body.dashboard-mode::before {
  background:
    radial-gradient(circle at 6% 10%, rgba(123, 168, 240, 0.48), transparent 24%),
    radial-gradient(circle at 50% 98%, rgba(107, 160, 240, 0.3), transparent 22%),
    radial-gradient(circle at 94% 88%, rgba(52, 181, 185, 0.24), transparent 18%);
  filter: blur(42px);
}

body.dashboard-mode::after {
  background:
    linear-gradient(180deg, rgba(118, 163, 232, 0.1), transparent 18%),
    radial-gradient(circle at 58% 48%, rgba(255, 255, 255, 0.92), transparent 38%);
}

body.startup-loading {
  overflow: hidden;
}

body.startup-loading .page-shell {
  opacity: 0;
  pointer-events: none;
}

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

button {
  cursor: pointer;
}

.page-shell {
  width: min(1280px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 36px 0 40px;
  position: relative;
  transition: opacity 220ms ease;
}

.startup-loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 18% 16%, rgba(98, 147, 233, 0.26), transparent 24%),
    radial-gradient(circle at 84% 78%, rgba(52, 181, 185, 0.2), transparent 20%),
    linear-gradient(180deg, rgba(241, 247, 255, 0.96), rgba(255, 255, 255, 0.98));
  backdrop-filter: blur(10px);
}

.startup-loader-card {
  width: min(540px, calc(100vw - 40px));
  min-height: 420px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 22px;
  padding: 42px 38px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 255, 0.92));
  border: 1px solid rgba(89, 122, 171, 0.12);
  box-shadow: 0 30px 70px rgba(31, 59, 96, 0.14);
  text-align: center;
}

.startup-loader-brand {
  width: min(320px, 72%);
}

.startup-loader-logo {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 30px rgba(31, 74, 143, 0.14));
}

.startup-loader-spinner {
  position: relative;
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    conic-gradient(
      from 90deg,
      rgba(14, 122, 107, 0.12),
      rgba(11, 110, 232, 0.2),
      rgba(11, 110, 232, 0.98),
      rgba(14, 122, 107, 0.24)
    );
  animation: startup-spin 1s linear infinite;
  box-shadow: inset 0 0 0 1px rgba(77, 112, 167, 0.08);
}

.startup-loader-spinner::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
}

.startup-loader-spinner-core {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(180deg, #0d75eb, #0453b5);
  box-shadow:
    0 0 0 8px rgba(13, 117, 235, 0.1),
    0 18px 30px rgba(18, 98, 208, 0.18);
}

.startup-loader-copy {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.startup-loader-eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 800;
  color: #6e86a6;
}

.startup-loader-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1;
  color: #163e77;
}

.startup-loader-copy p {
  margin: 0;
  max-width: 360px;
  color: #5f7595;
  line-height: 1.6;
  font-size: 1rem;
}

@keyframes startup-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

body.auth-mode .page-shell {
  width: 100%;
  min-height: 100vh;
  padding: 0;
}

body.dashboard-mode .page-shell {
  width: 100%;
  min-height: 100vh;
  padding: 0;
}

body.auth-mode .hero {
  display: none;
}

body.dashboard-mode .hero {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.eyebrow,
.section-tag,
.card-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-soft);
}

.hero h1,
.panel h2,
.panel h3 {
  margin: 8px 0 0;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 0.96;
}

.subtitle {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--text-soft);
  font-size: 1.02rem;
}

.hero-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  color: var(--text-main);
}

.content-grid {
  display: grid;
  gap: 22px;
}

body.auth-mode .content-grid {
  min-height: 100vh;
  align-items: center;
  padding: 40px 24px 72px;
}

body.dashboard-mode .content-grid {
  min-height: 100vh;
  gap: 0;
}

.panel,
.sub-panel,
.status-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--panel);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.panel {
  padding: 24px;
}

.auth-panel {
  max-width: 620px;
}

body.auth-mode .auth-panel {
  width: 100%;
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.dashboard-panel {
  display: grid;
  gap: 22px;
}

.dashboard-view {
  width: 100%;
}

body.dashboard-mode .dashboard-view {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 28px 46px;
  background: linear-gradient(90deg, rgba(121, 166, 236, 0.9), rgba(255, 255, 255, 0.84));
  border-bottom: 1px solid rgba(86, 119, 169, 0.14);
  box-shadow: 0 10px 26px rgba(66, 100, 144, 0.08);
}

.topbar-brand,
.topbar-user {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar-mark {
  width: min(260px, 36vw);
  flex: 0 0 auto;
  filter: drop-shadow(0 10px 18px rgba(15, 73, 154, 0.14));
}

.topbar-logo,
.topbar-logo-image {
  display: block;
  width: 100%;
  height: auto;
}

.topbar-brand-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 2vw, 2.4rem);
  color: #ffffff;
  text-shadow: 0 8px 22px rgba(39, 82, 153, 0.24);
}

.topbar-brand-copy p {
  margin: 4px 0 0;
  color: #e8f0ff;
  font-weight: 600;
}

.welcome-copy {
  margin: 0;
  font-size: 1.1rem;
  color: #123c79;
}

.topbar-notifications {
  position: relative;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(113, 139, 179, 0.22);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 245, 255, 0.94));
  box-shadow: 0 10px 22px rgba(76, 108, 156, 0.1);
  color: #22519b;
  display: grid;
  place-items: center;
  transition:
    transform 140ms ease,
    box-shadow 140ms ease,
    border-color 140ms ease;
}

.topbar-notifications:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(76, 108, 156, 0.14);
}

.topbar-notifications.has-notifications {
  border-color: rgba(13, 117, 235, 0.24);
  color: #0d5fcb;
}

.topbar-notifications-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
}

.topbar-notifications-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.topbar-notifications-badge,
.nav-notification-badge {
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff7c6f, #df2d2d);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.74rem;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(189, 46, 46, 0.26);
}

.topbar-notifications-badge {
  position: absolute;
  top: -7px;
  right: -7px;
}

.user-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #ffffff, #e9f0fb);
  border: 2px solid rgba(90, 124, 176, 0.22);
  box-shadow: 0 8px 18px rgba(80, 111, 158, 0.12);
  color: #22519b;
  font-weight: 800;
}

.topbar-logout {
  min-width: 108px;
  border: 1px solid rgba(113, 139, 179, 0.28);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f2f6fc);
  color: #0b5ccf;
  box-shadow: 0 10px 24px rgba(76, 108, 156, 0.12);
  padding: 14px 20px;
  font-size: 1rem;
  font-weight: 800;
}

.workspace-shell {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  min-height: calc(100vh - 117px);
}

.dashboard-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 0;
  border-right: 1px solid rgba(88, 117, 165, 0.12);
  background: linear-gradient(180deg, rgba(243, 247, 255, 0.78), rgba(255, 255, 255, 0.56));
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #4d6284;
  padding: 18px 28px;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
}

.nav-notification-badge {
  flex: 0 0 auto;
  margin-left: auto;
}

.nav-item:hover {
  background: rgba(96, 142, 224, 0.08);
}

.nav-item.is-active {
  background: linear-gradient(90deg, rgba(110, 153, 231, 0.24), rgba(110, 153, 231, 0.08));
  color: #1256be;
}

.nav-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: currentColor;
}

.nav-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.dashboard-main {
  padding: 34px 32px 42px;
}

.content-page {
  display: grid;
  gap: 0;
  min-height: 0;
}

.dashboard-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.dashboard-heading h2 {
  margin: 6px 0 0;
  font-size: clamp(2.1rem, 3vw, 3rem);
  color: #143f7f;
}

.page-copy {
  margin: 10px 0 0;
  max-width: 620px;
  color: #6a7d99;
  line-height: 1.6;
}

.page-action-button {
  min-width: 200px;
  border: 1px solid rgba(97, 127, 174, 0.18);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f4f8ff);
  color: #0d5ac7;
  padding: 14px 18px;
  font-size: 0.98rem;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(81, 109, 149, 0.1);
}

.dashboard-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(94, 123, 169, 0.16);
  box-shadow: 0 14px 24px rgba(84, 109, 150, 0.08);
  color: #4b6b95;
  font-weight: 700;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: stretch;
}

.dashboard-card,
.activity-card,
.meta-card {
  border-radius: 22px;
  border: 1px solid rgba(95, 122, 163, 0.12);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 20px 44px rgba(73, 103, 145, 0.12);
}

.dashboard-card {
  padding: 28px;
}

.clock-card {
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
  min-height: 312px;
}

.live-time {
  margin: 0;
  font-size: clamp(3.8rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 0.9;
  color: #1d315a;
}

.live-date {
  margin: 12px 0 0;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  color: #5f7394;
}

.clock-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 28px;
}

.clock-action-button {
  min-width: 174px;
  min-height: 58px;
  border: 0;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(76, 108, 152, 0.16);
}

.clock-action-spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.32);
  border-top-color: rgba(255, 255, 255, 0.98);
  display: none;
  flex: 0 0 auto;
  animation: startup-spin 0.8s linear infinite;
}

.clock-action-button.is-loading {
  opacity: 0.9;
}

.clock-action-button.is-loading .clock-action-spinner {
  display: inline-block;
}

.clock-action-button.is-loading .action-icon {
  display: none;
}

.clock-action-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.clock-in-action {
  background: linear-gradient(180deg, #2fba7f 0%, #158653 100%);
}

.clock-out-action {
  background: linear-gradient(180deg, #e95f5f 0%, #c53636 100%);
}

.action-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
}

.action-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.quick-note-field {
  width: min(100%, 520px);
  display: grid;
  gap: 8px;
  margin-top: 24px;
  text-align: left;
}

.quick-note-field span {
  font-size: 0.92rem;
  font-weight: 700;
  color: #5f7394;
}

.quick-note-field input {
  min-height: 54px;
  border-radius: 14px;
  background: rgba(247, 250, 255, 0.98);
}

.clock-action-pending {
  margin: 16px 0 0;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(11, 110, 232, 0.1);
  color: #255ca8;
  font-size: 0.96rem;
  font-weight: 700;
}

.clock-action-pending[hidden] {
  display: none;
}

.clock-action-pending-spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(37, 92, 168, 0.22);
  border-top-color: #255ca8;
  animation: startup-spin 0.8s linear infinite;
}

.clock-state {
  margin: 24px 0 0;
  font-size: 1.12rem;
  font-weight: 800;
  color: #244f91;
}

.clock-state.is-pending {
  color: #255ca8;
}

.clock-state.is-live {
  color: #178856;
}

.clock-state.is-idle {
  color: #c54040;
}

.clock-state-detail {
  margin: 8px 0 0;
  font-size: 1rem;
  color: #657996;
}

.feature-card {
  min-height: 260px;
  display: grid;
  justify-items: center;
  align-content: start;
  text-align: center;
}

.feature-icon {
  width: 74px;
  height: 74px;
  margin-bottom: 14px;
  color: #0e67db;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.feature-card h3 {
  margin: 0;
  font-size: 1.55rem;
  color: #1f3154;
}

.feature-card p {
  margin: 14px 0 0;
  font-size: 1.02rem;
  line-height: 1.55;
  color: #657996;
}

.feature-meta {
  font-size: 0.92rem !important;
  font-weight: 700;
  color: #3a67ae !important;
}

.feature-version {
  margin: 8px 0 0 !important;
  font-size: 0.95rem !important;
  font-weight: 700;
  color: #5f7394 !important;
}

.feature-actions {
  width: 100%;
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
}

.card-button,
.card-ghost-button {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 800;
}

.card-button {
  background: linear-gradient(180deg, #0d75eb 0%, #0453b5 100%);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(18, 98, 208, 0.2);
}

.card-ghost-button {
  background: rgba(16, 97, 216, 0.08);
  color: #0d5ac7;
}

.activity-card {
  margin-top: 28px;
  overflow: hidden;
}

.timesheet-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.summary-card {
  border-radius: 22px;
  border: 1px solid rgba(95, 122, 163, 0.12);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 20px 44px rgba(73, 103, 145, 0.12);
  padding: 24px;
}

.summary-card span {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: #7390b1;
}

.summary-card strong {
  display: block;
  margin-top: 12px;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  color: #183f7a;
}

.summary-card p {
  margin: 12px 0 0;
  color: #6a7d99;
  line-height: 1.55;
}

.payslips-history-card,
.payslip-detail-card {
  margin-top: 0;
}

.payslips-filter-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 220px)) auto;
  gap: 14px;
  align-items: end;
  padding: 0 28px 28px;
}

.payslips-filter-field {
  display: grid;
  gap: 8px;
}

.payslips-filter-field span {
  font-size: 0.9rem;
  font-weight: 700;
  color: #557187;
}

.payslips-filter-button {
  width: auto;
  min-width: 160px;
}

.payslips-table-row.is-selected {
  background: rgba(13, 117, 235, 0.08);
}

.payslip-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.payslip-status-badge.is-paid {
  background: rgba(38, 168, 103, 0.14);
  color: #16784a;
}

.payslip-status-badge.is-draft,
.payslip-status-badge.is-pending,
.payslip-status-badge.is-processing {
  background: rgba(243, 154, 67, 0.16);
  color: #b96a17;
}

.payslip-status-badge.is-issued {
  background: rgba(13, 117, 235, 0.12);
  color: #0b5ec8;
}

.payslip-detail-grid {
  margin-bottom: 20px;
}

.payslip-detail-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0 28px 28px;
}

.payslip-detail-item {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(240, 246, 255, 0.7);
  border: 1px solid rgba(95, 122, 163, 0.1);
}

.payslip-detail-item span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
  color: #7390b1;
}

.payslip-detail-item strong {
  color: #183f7a;
  line-height: 1.45;
}

.payslip-detail-note {
  grid-column: 1 / -1;
}

.leave-form-card,
.leave-history-card {
  margin-top: 0;
}

.leave-tab-row {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0 22px;
}

.leave-tab-button {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(98, 129, 174, 0.18);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #f4f8ff);
  color: #285388;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 20px rgba(64, 102, 156, 0.08);
  transition:
    transform 140ms ease,
    box-shadow 140ms ease,
    border-color 140ms ease,
    background-color 140ms ease,
    color 140ms ease;
}

.leave-tab-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(64, 102, 156, 0.12);
}

.leave-tab-button.is-active {
  border-color: rgba(13, 117, 235, 0.26);
  background: linear-gradient(180deg, #0d75eb, #0453b5);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(18, 98, 208, 0.2);
}

.leave-tab-count {
  min-width: 26px;
  min-height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.84rem;
  font-weight: 900;
}

.leave-admin-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.leave-admin-actions .table-action-button {
  min-width: 118px;
}

.leave-admin-complete {
  font-weight: 800;
  color: #5f7394;
}

.leave-history-copy p {
  margin: 0;
  color: #6a7d99;
}

.leave-request-form {
  display: grid;
  gap: 20px;
  padding: 0 28px 28px;
}

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

.leave-type-row {
  grid-template-columns: minmax(0, 420px);
}

.leave-form-field {
  display: grid;
  gap: 8px;
}

.leave-form-field span {
  font-size: 0.92rem;
  font-weight: 700;
  color: #557187;
}

.leave-form-field-wide {
  grid-column: 1 / -1;
}

.leave-preview-banner {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(95, 122, 163, 0.12);
  background: rgba(242, 247, 255, 0.86);
}

.leave-preview-banner strong {
  color: #173f7d;
}

.leave-preview-banner p {
  margin: 0;
  color: #5f7394;
  line-height: 1.55;
}

.leave-preview-banner.is-info {
  background: rgba(237, 244, 255, 0.92);
  border-color: rgba(13, 117, 235, 0.16);
}

.leave-preview-banner.is-success {
  background: rgba(232, 247, 237, 0.92);
  border-color: rgba(32, 153, 93, 0.18);
}

.leave-preview-banner.is-warning {
  background: rgba(255, 245, 230, 0.94);
  border-color: rgba(243, 154, 67, 0.2);
}

.leave-upload-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.leave-upload-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, #0d75eb 0%, #0453b5 100%);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(18, 98, 208, 0.2);
  cursor: pointer;
}

.leave-upload-name {
  color: #627694;
  line-height: 1.5;
}

.leave-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(18, 48, 74, 0.08);
}

.leave-form-actions .card-button,
.leave-form-actions .card-ghost-button {
  width: auto;
  min-width: 180px;
}

.leave-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 94px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.leave-status-badge.is-submitted {
  background: rgba(13, 117, 235, 0.12);
  color: #0b5ec8;
}

.leave-status-badge.is-approved {
  background: rgba(38, 168, 103, 0.14);
  color: #16784a;
}

.leave-status-badge.is-declined,
.leave-status-badge.is-cancelled {
  background: rgba(226, 84, 84, 0.12);
  color: #c14545;
}

.timesheet-history-card {
  margin-top: 0;
}

.admin-management-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.employee-tools-grid {
  grid-template-columns: 0.95fr 0.95fr 1.2fr;
}

.admin-tool-card {
  margin-top: 0;
}

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

.admin-form-grid.compact {
  grid-template-columns: 1fr;
}

.admin-form-grid label {
  display: grid;
  gap: 8px;
}

.admin-form-grid label span {
  font-size: 0.92rem;
  font-weight: 700;
  color: #557187;
}

.admin-form-actions {
  display: flex;
  align-items: end;
}

.admin-form-span {
  grid-column: 1 / -1;
}

.admin-note-list {
  display: grid;
  gap: 14px;
  padding: 0 28px 28px;
}

.admin-note-actions {
  padding: 0 28px 28px;
}

.admin-note-item {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(240, 246, 255, 0.78);
  border: 1px solid rgba(95, 122, 163, 0.1);
}

.admin-note-item strong {
  color: #173f7d;
}

.admin-note-item span {
  color: #627694;
  line-height: 1.5;
}

.timesheet-duration-cell {
  font-weight: 800;
  color: #1f4f95;
}

.timesheet-note-cell {
  color: #5f7394;
  line-height: 1.5;
}

.employee-role-pill,
.employee-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
}

.employee-role-pill {
  background: rgba(13, 117, 235, 0.1);
  color: #0b5ec8;
}

.employee-status-pill.is-live {
  background: rgba(37, 168, 103, 0.14);
  color: #16784a;
}

.employee-status-pill.is-idle {
  background: rgba(226, 84, 84, 0.12);
  color: #c14545;
}

.table-action-button {
  min-width: 140px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #0d75eb 0%, #0453b5 100%);
  color: #ffffff;
  padding: 10px 14px;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(18, 98, 208, 0.16);
}

.table-action-button.is-danger {
  background: linear-gradient(180deg, #e95f5f 0%, #c53636 100%);
  box-shadow: 0 10px 20px rgba(197, 54, 54, 0.18);
}

.admin-calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.9fr);
  gap: 24px;
}

.roster-calendar-shell {
  display: grid;
  gap: 24px;
}

.roster-calendar-layout {
  margin-top: 0;
}

.admin-calendar-month-card,
.admin-calendar-detail-card {
  margin-top: 0;
}

.admin-calendar-month-card {
  overflow: auto;
}

.admin-calendar-header {
  align-items: flex-start;
}

.admin-calendar-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.admin-calendar-toolbar-button {
  width: auto;
  min-width: 144px;
}

.admin-calendar-weekdays,
.admin-calendar-grid {
  min-width: 720px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  padding: 0 28px 28px;
}

.admin-calendar-weekdays {
  padding-bottom: 10px;
}

.admin-calendar-weekdays span {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7188a5;
}

.admin-calendar-day {
  min-height: 112px;
  padding: 14px;
  border: 1px solid rgba(100, 127, 170, 0.14);
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfdff, #eef5fd);
  display: grid;
  align-content: space-between;
  gap: 10px;
  text-align: left;
  color: #1f416f;
  transition:
    transform 140ms ease,
    box-shadow 140ms ease,
    border-color 140ms ease,
    background-color 140ms ease;
}

.admin-calendar-day:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(78, 106, 151, 0.12);
}

.admin-calendar-day.is-other-month {
  opacity: 0.58;
}

.admin-calendar-day.is-selected {
  border-color: rgba(13, 117, 235, 0.3);
  background: linear-gradient(180deg, rgba(13, 117, 235, 0.15), rgba(222, 237, 255, 0.96));
  box-shadow: 0 16px 30px rgba(18, 98, 208, 0.16);
}

.admin-calendar-day.is-today {
  border-color: rgba(243, 154, 67, 0.5);
  background: linear-gradient(180deg, rgba(255, 240, 219, 0.94), rgba(255, 248, 238, 0.98));
  box-shadow: inset 0 0 0 1px rgba(243, 154, 67, 0.18);
}

.admin-calendar-day.is-upcoming-shift {
  border-color: rgba(32, 129, 88, 0.32);
  background: linear-gradient(180deg, rgba(225, 246, 233, 0.98), rgba(244, 252, 246, 0.98));
  box-shadow: 0 14px 28px rgba(47, 145, 98, 0.14);
}

.admin-calendar-day.has-shifts .admin-calendar-day-meta {
  color: #0d5ac7;
}

.admin-calendar-day-number {
  font-size: 1.3rem;
  font-weight: 800;
}

.admin-calendar-day-meta {
  font-size: 0.9rem;
  line-height: 1.45;
  color: #6a7d99;
}

.admin-calendar-day-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-calendar-day-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.admin-calendar-day-badge.is-today {
  background: rgba(243, 154, 67, 0.16);
  color: #b76412;
}

.admin-calendar-day-badge.is-upcoming {
  background: rgba(38, 139, 95, 0.14);
  color: #167247;
}

.admin-calendar-loading {
  grid-column: 1 / -1;
  padding: 24px;
  border-radius: 18px;
  border: 1px dashed rgba(99, 128, 171, 0.18);
  background: rgba(245, 249, 255, 0.88);
  color: #6a7d99;
  text-align: center;
  font-weight: 700;
}

.admin-calendar-date-jump,
.admin-calendar-shifts {
  padding: 0 28px 20px;
}

.admin-calendar-date-jump label {
  display: grid;
  gap: 8px;
}

.admin-calendar-date-jump span {
  font-size: 0.92rem;
  font-weight: 700;
  color: #557187;
}

.admin-calendar-shifts {
  display: grid;
  gap: 12px;
}

.admin-calendar-empty {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px dashed rgba(99, 128, 171, 0.16);
  background: rgba(245, 249, 255, 0.8);
  color: #6a7d99;
  line-height: 1.55;
}

.admin-calendar-shift-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfdff, #edf4fc);
  border: 1px solid rgba(99, 128, 171, 0.12);
}

.admin-calendar-shift-copy {
  display: grid;
  gap: 4px;
}

.admin-calendar-shift-copy strong {
  color: #193f77;
}

.admin-calendar-shift-copy span {
  color: #647a98;
  line-height: 1.45;
}

.admin-calendar-delete-button {
  min-width: 108px;
  flex: 0 0 auto;
}

.roster-calendar-shift-item {
  justify-content: flex-start;
}

.roster-calendar-shift-item.is-upcoming-shift {
  border-color: rgba(32, 129, 88, 0.28);
  background: linear-gradient(180deg, #f5fff8, #e6f5eb);
  box-shadow: 0 14px 26px rgba(47, 145, 98, 0.12);
}

.roster-calendar-shift-copy strong {
  font-size: 1.05rem;
}

.roster-calendar-shift-flag {
  display: inline-flex;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(38, 139, 95, 0.14);
  color: #167247;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.roster-calendar-day {
  min-height: 132px;
  padding: 12px;
  align-content: start;
  gap: 10px;
  background: linear-gradient(180deg, #fefefe, #edf4fd);
}

.roster-calendar-day:hover {
  box-shadow: 0 14px 28px rgba(72, 104, 151, 0.16);
}

.roster-calendar-day.is-empty-day {
  background: linear-gradient(180deg, #fbfdff, #f3f7fd);
}

.roster-calendar-day-top {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.roster-calendar-day-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(92, 122, 167, 0.12);
  box-shadow: 0 8px 18px rgba(88, 116, 160, 0.1);
}

.roster-calendar-day-summary {
  margin-top: auto;
  display: grid;
  gap: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(98, 126, 169, 0.12);
}

.roster-calendar-day-count {
  font-size: 0.92rem;
  font-weight: 800;
  color: #24497a;
}

.roster-calendar-day-hours {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #0d5ac7;
}

.roster-calendar-day-empty {
  font-size: 0.9rem;
  font-weight: 700;
  color: #89a0bb;
}

.roster-calendar-day.is-selected .roster-calendar-day-number {
  background: rgba(255, 255, 255, 0.94);
  color: #0c53b6;
}

.roster-calendar-day.is-today .roster-calendar-day-number {
  background: rgba(255, 243, 226, 0.96);
  color: #bb6510;
}

.roster-calendar-day.is-upcoming-shift .roster-calendar-day-number {
  background: rgba(235, 251, 241, 0.96);
  color: #17774a;
}

.shift-planner-shell {
  margin-top: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: clamp(640px, calc(100vh - 170px), 860px);
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(88, 117, 165, 0.14);
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.96), rgba(236, 243, 252, 0.94));
  box-shadow: 0 22px 48px rgba(74, 102, 144, 0.14);
}

.shift-planner-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 22px 22px 18px;
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(93, 122, 165, 0.14);
}

.shift-planner-toolbar-left,
.shift-planner-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.shift-planner-toolbar-left {
  min-width: 0;
}

.shift-planner-toolbar-copy h2 {
  margin: 4px 0 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: #174785;
}

.shift-planner-staff-toggle {
  min-width: 188px;
  border: 1px solid rgba(98, 127, 169, 0.18);
  border-radius: 16px;
  background: linear-gradient(180deg, #eef5fd, #dfeafb);
  color: #244d84;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  font-size: 1.05rem;
  font-weight: 800;
}

.shift-planner-chevron {
  width: 12px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 120ms ease;
}

.shift-planner-staff-toggle.is-collapsed .shift-planner-chevron {
  transform: rotate(-45deg);
}

.shift-planner-toolbar-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.shift-planner-submit-button {
  width: auto;
  min-width: 184px;
  min-height: 58px;
  padding-inline: 28px;
}

.shift-planner-save-button {
  width: auto;
  min-width: 184px;
  min-height: 58px;
  padding-inline: 22px;
}

.shift-planner-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(102, 129, 171, 0.18);
  background: rgba(255, 255, 255, 0.86);
  color: #385781;
  font-weight: 700;
}

.shift-planner-toggle input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.shift-planner-icon-button {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(102, 129, 171, 0.18);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #eff5fd);
  display: grid;
  place-items: center;
  color: #24538d;
}

.shift-planner-icon-button svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.shift-planner-layout {
  display: grid;
  grid-template-columns: clamp(220px, 18vw, 270px) minmax(0, 1fr) clamp(260px, 22vw, 310px);
  gap: 12px;
  padding: 12px;
  min-height: 0;
}

#shift-planner-page.is-staff-collapsed .shift-planner-layout {
  grid-template-columns: 0 minmax(0, 1fr) clamp(260px, 22vw, 310px);
}

#shift-planner-page.is-staff-collapsed .shift-planner-staff-panel {
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  padding: 0;
  border: 0;
}

.shift-planner-staff-panel,
.shift-planner-board-panel,
.shift-planner-detail-panel {
  border-radius: 20px;
  border: 1px solid rgba(95, 122, 163, 0.12);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 32px rgba(73, 103, 145, 0.1);
  min-height: 0;
}

.shift-planner-staff-panel,
.shift-planner-detail-panel {
  padding: 18px;
}

.shift-planner-staff-panel {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 14px;
  overflow: hidden;
}

.shift-planner-panel-heading h3,
.shift-planner-board-heading h3,
.shift-planner-detail-header h3 {
  margin: 0;
  font-size: 1.7rem;
  color: #224270;
}

.shift-planner-panel-heading p,
.shift-planner-detail-header p {
  margin: 8px 0 0;
  color: #6a7d99;
  line-height: 1.5;
}

.shift-planner-filter {
  display: grid;
  gap: 8px;
  margin-top: 0;
}

.shift-planner-filter span {
  font-size: 0.9rem;
  font-weight: 700;
  color: #587390;
}

.shift-planner-filter select {
  min-height: 52px;
  border-radius: 14px;
  background: #f8fbff;
}

.shift-planner-staff-list {
  display: grid;
  gap: 10px;
  margin-top: 0;
  min-height: 0;
  overflow: auto;
  padding-right: 4px;
}

.shift-planner-empty-staff {
  padding: 18px;
  border-radius: 16px;
  background: rgba(241, 246, 255, 0.82);
  color: #67809d;
}

.shift-planner-staff-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(101, 128, 171, 0.12);
  background: linear-gradient(180deg, #fbfdff, #edf4fc);
  color: #21406e;
  cursor: grab;
  user-select: none;
}

.shift-planner-staff-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(76, 108, 152, 0.1);
}

.shift-planner-staff-item:active {
  cursor: grabbing;
}

.shift-planner-staff-item.is-assigned {
  border-color: rgba(13, 117, 235, 0.28);
  background: linear-gradient(180deg, #eff6ff, #dce9fb);
}

.shift-planner-staff-item.is-dragging {
  opacity: 0.52;
  transform: scale(0.98);
  box-shadow: none;
}

.shift-planner-staff-avatar {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #3d7fd4, #1c5fad);
  color: #ffffff;
  font-weight: 800;
}

.shift-planner-staff-copy {
  display: grid;
  gap: 4px;
}

.shift-planner-staff-copy strong {
  font-size: 1rem;
}

.shift-planner-staff-copy span {
  color: #5f7898;
}

.shift-planner-staff-summary {
  display: grid;
  gap: 12px;
  margin-top: 0;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f0f5fc, #e5edf8);
}

.shift-planner-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: #22406c;
  font-weight: 700;
}

.shift-planner-summary-row strong {
  font-size: 1.2rem;
}

.shift-planner-summary-row.is-warning {
  color: #b33a3a;
}

.shift-planner-board-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  overflow: auto;
}

.shift-planner-board-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 0;
}

.shift-planner-board-tools {
  display: grid;
  justify-items: end;
  gap: 12px;
}

.shift-planner-week-label {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6f88a7;
}

.shift-planner-month-copy {
  margin: 8px 0 0;
  max-width: 520px;
  color: #6a7d99;
  line-height: 1.5;
}

.shift-planner-board-metrics {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.shift-planner-board-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(238, 244, 253, 0.94);
  border: 1px solid rgba(99, 128, 172, 0.14);
  color: #3b5d89;
  font-weight: 700;
}

.shift-planner-week-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: end;
  gap: 10px;
}

.shift-planner-week-start {
  display: grid;
  gap: 6px;
  min-width: 188px;
}

.shift-planner-week-start span {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6f88a7;
}

.shift-planner-week-start input {
  min-height: 42px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
}

.shift-planner-week-button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(99, 128, 172, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #2f5383;
  font-weight: 700;
  transition:
    transform 140ms ease,
    box-shadow 140ms ease,
    background-color 140ms ease,
    color 140ms ease,
    border-color 140ms ease;
}

.shift-planner-week-button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(83, 112, 154, 0.12);
}

.shift-planner-week-button.is-current,
.shift-planner-week-button:disabled {
  border-color: rgba(13, 117, 235, 0.28);
  background: linear-gradient(180deg, #0d75eb 0%, #0453b5 100%);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(18, 98, 208, 0.2);
  cursor: default;
  opacity: 1;
}

.shift-planner-week-button.is-highlighted:not(:disabled) {
  border-color: rgba(13, 117, 235, 0.3);
  background: linear-gradient(180deg, #3393ff 0%, #0d75eb 55%, #0453b5 100%);
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(18, 98, 208, 0.28);
  transform: translateY(-1px) scale(1.01);
}

.shift-planner-week-grid {
  min-width: max(100%, 820px);
  display: grid;
  grid-template-columns: repeat(7, minmax(110px, 1fr));
  border-radius: 18px;
  max-height: clamp(380px, 50vh, 620px);
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(94, 123, 170, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(241, 247, 255, 0.92));
}

.shift-planner-grid-header {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 16px;
  border-right: 1px solid rgba(94, 123, 170, 0.14);
  border-bottom: 1px solid rgba(94, 123, 170, 0.14);
  background: linear-gradient(180deg, #f6f9fe, #edf4fc);
}

.shift-planner-grid-header strong {
  display: block;
  font-size: 1.05rem;
  color: #24406d;
}

.shift-planner-grid-header span {
  display: block;
  margin-top: 6px;
  color: #6c819c;
}

.shift-planner-grid-header:nth-child(7n) {
  border-right: 0;
}

.shift-planner-day-column {
  min-height: 360px;
  padding: 12px;
  border-right: 1px solid rgba(94, 123, 170, 0.14);
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(152, 180, 220, 0.12) 0,
      rgba(152, 180, 220, 0.12) 1px,
      transparent 1px,
      transparent 86px
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 250, 255, 0.88));
  display: grid;
  align-content: start;
  gap: 10px;
}

.shift-planner-day-column:nth-last-child(1) {
  border-right: 0;
}

.shift-planner-day-empty {
  padding: 12px;
  border-radius: 14px;
  border: 1px dashed rgba(118, 145, 186, 0.24);
  background: rgba(247, 250, 255, 0.74);
  color: #8a9ab1;
  text-align: center;
}

.shift-planner-card {
  width: 100%;
  text-align: left;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(80, 115, 172, 0.14);
  box-shadow: 0 12px 24px rgba(78, 106, 151, 0.14);
  display: grid;
  gap: 8px;
  color: #1f3156;
  cursor: pointer;
}

.shift-planner-card.is-selected {
  outline: 2px solid rgba(11, 103, 219, 0.4);
  transform: translateY(-1px);
}

.shift-planner-card.is-drop-target,
.shift-planner-day-column.is-drop-target {
  outline: 2px dashed rgba(12, 108, 226, 0.52);
  outline-offset: -3px;
  box-shadow: inset 0 0 0 999px rgba(12, 108, 226, 0.08);
}

.shift-planner-card.is-sky {
  background: linear-gradient(180deg, rgba(122, 181, 238, 0.95), rgba(214, 235, 255, 0.95));
}

.shift-planner-card.is-mint {
  background: linear-gradient(180deg, rgba(152, 209, 185, 0.95), rgba(231, 247, 239, 0.96));
}

.shift-planner-card.is-violet {
  background: linear-gradient(180deg, rgba(160, 151, 206, 0.95), rgba(234, 230, 248, 0.96));
}

.shift-planner-card.is-amber {
  background: linear-gradient(180deg, rgba(235, 193, 137, 0.95), rgba(255, 245, 223, 0.96));
}

.shift-planner-card-time {
  font-size: 1rem;
  font-weight: 800;
}

.shift-planner-card-people {
  display: grid;
  gap: 8px;
}

.shift-planner-card-person {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.shift-planner-card-person.is-open {
  color: #6f4d12;
}

.shift-planner-card-mini-avatar {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.84);
  font-size: 0.72rem;
  font-weight: 800;
  color: #21406d;
}

.shift-planner-card-warning {
  font-size: 0.82rem;
  font-weight: 700;
  color: #b74646;
}

.shift-planner-detail-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: auto;
}

.shift-planner-detail-focus {
  padding: 18px 0 14px;
  border-bottom: 1px solid rgba(99, 128, 171, 0.12);
}

.shift-planner-detail-time {
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
  color: #18467f;
}

.shift-planner-detail-date {
  margin: 8px 0 0;
  color: #647a98;
}

.shift-planner-detail-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.shift-planner-detail-stat {
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f5f9ff, #edf4fd);
  border: 1px solid rgba(99, 128, 171, 0.12);
}

.shift-planner-detail-stat span {
  display: block;
  min-height: 2.2em;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.35;
  color: #7991af;
}

.shift-planner-detail-stat strong {
  display: block;
  margin-top: 10px;
  font-size: 1.15rem;
  color: #1f406e;
}

.shift-planner-assigned-list,
.shift-planner-warning-list,
.shift-planner-detail-actions,
.shift-planner-detail-footer {
  margin-top: 16px;
}

.shift-planner-assigned-list {
  display: grid;
  gap: 10px;
}

.shift-planner-assigned-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fbff, #edf4fd);
  border: 1px solid rgba(99, 128, 171, 0.12);
}

.shift-planner-assigned-item.is-open {
  background: linear-gradient(180deg, #fff5dc, #ffedd0);
}

.shift-planner-assigned-item.is-preview {
  background: linear-gradient(180deg, #eef6ff, #e1ecfb);
  border-style: dashed;
}

.shift-planner-assigned-avatar {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #3d7fd4, #1c5fad);
  color: #ffffff;
  font-weight: 800;
}

.shift-planner-assigned-item.is-open .shift-planner-assigned-avatar {
  background: linear-gradient(180deg, #f3c363, #d7902c);
}

.shift-planner-assigned-copy {
  display: grid;
  gap: 4px;
}

.shift-planner-assigned-copy strong {
  color: #21406d;
}

.shift-planner-assigned-copy span,
.shift-planner-empty-assigned {
  color: #647a98;
}

.shift-planner-warning-list {
  display: grid;
  gap: 10px;
}

.shift-planner-helper-note {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(237, 244, 253, 0.8);
  border: 1px solid rgba(99, 128, 171, 0.12);
  color: #5a7393;
  line-height: 1.5;
}

.shift-planner-warning-banner {
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff1cf, #ffe1a9);
  border: 1px solid rgba(219, 162, 38, 0.24);
  color: #915a03;
  font-weight: 700;
}

.shift-planner-warning-banner.is-critical {
  background: linear-gradient(180deg, #ffdcdc, #ffcccc);
  border-color: rgba(209, 84, 84, 0.24);
  color: #a13434;
}

.shift-planner-warning-banner.is-success {
  background: linear-gradient(180deg, #e6f7ec, #d2f0de);
  border-color: rgba(52, 155, 96, 0.2);
  color: #1f7c49;
}

.shift-planner-detail-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.shift-planner-detail-form label {
  display: grid;
  align-content: start;
  min-width: 0;
  gap: 8px;
}

.shift-planner-detail-form label span {
  display: flex;
  align-items: flex-end;
  min-height: 2.4em;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  color: #587390;
}

.shift-planner-detail-form input,
.shift-planner-detail-form select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 48px;
  border-radius: 14px;
  background: #f8fbff;
}

.shift-planner-form-span {
  grid-column: 1 / -1;
}

.shift-planner-detail-actions,
.shift-planner-detail-footer {
  display: grid;
  gap: 10px;
}

.shift-planner-secondary-button {
  background: linear-gradient(180deg, #3b7dc4, #255e9d);
}

.shift-planner-detail-footer {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.activity-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 26px 28px 18px;
}

.activity-header h3 {
  margin: 0;
  font-size: 1.85rem;
  color: #23355b;
}

.activity-header p {
  margin: 8px 0 0;
  color: #6a7d99;
}

.activity-toggle {
  min-width: 118px;
  border: 1px solid rgba(98, 129, 174, 0.2);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #f4f8ff);
  color: #0f5ecc;
  padding: 12px 16px;
  font-weight: 800;
}

.activity-list {
  display: grid;
}

.activity-item,
.activity-empty {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 28px;
  border-top: 1px solid rgba(95, 122, 163, 0.12);
}

.activity-empty {
  color: #6a7d99;
}

.activity-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex: 0 0 16px;
}

.activity-dot.clock-in {
  background: #37a36e;
}

.activity-dot.clock-out {
  background: #e05252;
}

.activity-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 1rem;
}

.activity-kind {
  font-weight: 800;
  color: #243558;
}

.activity-when {
  color: #617590;
}

.activity-note {
  color: #8091ab;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.settings-tab-row {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 20px;
}

.settings-tab-button {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(98, 129, 174, 0.2);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #f4f8ff);
  color: #285388;
  font-weight: 800;
}

.settings-tab-button.is-active {
  border-color: rgba(13, 117, 235, 0.26);
  background: linear-gradient(180deg, #0d75eb, #0453b5);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(18, 98, 208, 0.2);
}

.settings-panel {
  display: grid;
  gap: 22px;
}

.settings-grid {
  align-items: start;
}

.settings-form {
  align-items: end;
}

.settings-actions {
  grid-column: 1 / -1;
}

.settings-schedule-card {
  overflow: auto;
}

.settings-day-table {
  display: grid;
  gap: 12px;
  padding: 0 28px 28px;
}

.settings-day-table-header,
.settings-day-row {
  display: grid;
  grid-template-columns: minmax(120px, 1.3fr) 120px repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: center;
}

.settings-day-table-header {
  padding: 0 2px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7188a5;
}

.settings-day-row {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(99, 128, 171, 0.12);
  background: linear-gradient(180deg, #fbfdff, #edf4fc);
}

.settings-day-row strong {
  color: #22406c;
}

.settings-day-row input {
  min-height: 48px;
}

.settings-open-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(99, 128, 171, 0.12);
  background: rgba(255, 255, 255, 0.86);
  color: #385781;
  font-weight: 700;
}

.settings-open-toggle input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.meta-card {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.meta-card span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: #7390b1;
}

.meta-card code {
  font-size: 0.82rem;
  line-height: 1.55;
}

.panel-header,
.dashboard-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.panel-header.compact {
  margin-bottom: 14px;
}

.helper-text {
  color: var(--text-soft);
  line-height: 1.55;
}

.auth-stage {
  width: min(100%, 700px);
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: 22px;
  position: relative;
}

.auth-stage::before {
  content: "";
  position: absolute;
  inset: 12% 10% auto;
  height: 34%;
  background: radial-gradient(circle, rgba(49, 113, 222, 0.28), transparent 70%);
  filter: blur(22px);
  z-index: -1;
}

.login-brand {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.brand-mark {
  width: min(520px, 86vw);
  filter: drop-shadow(0 20px 40px rgba(30, 82, 160, 0.2));
}

.brand-logo,
.brand-logo-image {
  width: 100%;
  height: auto;
  display: block;
}

.login-title {
  margin: 0;
  font-size: clamp(3.1rem, 8vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  color: #ffffff;
  text-shadow:
    0 10px 30px rgba(42, 84, 151, 0.34),
    0 2px 0 rgba(11, 56, 124, 0.1);
}

.login-subtitle {
  max-width: 620px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: #5f7898;
}

.login-card {
  width: min(100%, 640px);
  display: grid;
  gap: 20px;
}

.auth-field {
  position: relative;
  width: 100%;
  display: block;
}

.auth-field input {
  min-height: 82px;
  padding: 0 82px 0 86px;
  border-radius: 18px;
  border: 1px solid rgba(115, 137, 173, 0.2);
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 16px 40px rgba(71, 101, 144, 0.16),
    inset 0 -2px 0 rgba(33, 62, 103, 0.06);
  color: #637d9e;
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
}

.auth-field input::placeholder {
  color: #7189a8;
}

.field-icon,
.field-toggle {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #8094b0;
}

.field-icon {
  left: 24px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.field-toggle {
  right: 20px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  display: grid;
  place-items: center;
}

.field-toggle:hover {
  background: rgba(12, 110, 232, 0.08);
  transform: translateY(-50%);
}

.field-toggle.is-active {
  color: #0b63d7;
}

.field-icon svg,
.field-toggle svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.login-submit {
  min-height: 80px;
  border-radius: 18px;
  background: linear-gradient(180deg, #0d75eb 0%, #0453b5 100%);
  box-shadow:
    0 10px 0 rgba(6, 72, 149, 0.18),
    0 24px 44px rgba(18, 98, 208, 0.28);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.auth-link-button {
  border: 0;
  background: none;
  color: #1064d9;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 10px;
  padding: 10px 14px;
}

.setup-drawer {
  width: min(100%, 640px);
  padding: 26px;
  border-radius: 26px;
  border: 1px solid rgba(87, 112, 150, 0.16);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 60px rgba(43, 69, 112, 0.16);
}

body.auth-mode .setup-drawer input {
  min-height: auto;
  padding: 14px 16px;
  font-size: 1rem;
  color: var(--text-main);
}

body.auth-mode .setup-drawer .secondary-button {
  min-height: 54px;
}

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

.stack-form label,
.note-field {
  display: grid;
  gap: 8px;
}

label span,
.note-field span {
  font-size: 0.94rem;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 16px;
  border: 1px solid rgba(18, 48, 74, 0.15);
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-main);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(14, 122, 107, 0.18);
  border-color: rgba(14, 122, 107, 0.45);
}

.divider {
  height: 1px;
  margin: 18px 0;
  background: linear-gradient(90deg, transparent, rgba(18, 48, 74, 0.16), transparent);
}

.primary-button,
.secondary-button,
.ghost-button {
  border: 0;
  border-radius: 16px;
  padding: 13px 18px;
  font-weight: 700;
  transition: transform 120ms ease, opacity 120ms ease, background-color 120ms ease;
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover {
  transform: translateY(-1px);
}

.primary-button {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
}

.secondary-button {
  background: linear-gradient(135deg, #f8b460, #ef9245);
  color: #fff;
}

.ghost-button {
  background: rgba(18, 48, 74, 0.06);
  color: var(--text-main);
}

.status-grid,
.action-grid {
  display: grid;
  gap: 18px;
}

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

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

.status-card {
  padding: 20px;
}

.accent-card {
  background:
    linear-gradient(135deg, rgba(14, 122, 107, 0.18), rgba(14, 122, 107, 0.04)),
    var(--panel-strong);
}

.status-card h3,
.status-card p {
  margin-top: 10px;
  margin-bottom: 0;
}

.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.config-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.config-list div {
  display: grid;
  gap: 6px;
}

code,
.mono-line {
  font-family: "Cascadia Code", "Consolas", monospace;
  color: var(--text-main);
  word-break: break-all;
}

.table-wrap {
  overflow: auto;
  border-radius: 18px;
  border: 1px solid rgba(18, 48, 74, 0.08);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.72);
}

th,
td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(18, 48, 74, 0.07);
  vertical-align: top;
}

th {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.empty-row {
  text-align: center;
  color: var(--text-soft);
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  max-width: 360px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(18, 48, 74, 0.9);
  color: #fff;
  box-shadow: var(--shadow);
}

.hidden,
[hidden] {
  display: none !important;
}

@media (max-width: 1024px) {
  .hero,
  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .status-grid,
  .action-grid {
    grid-template-columns: 1fr;
  }

  .payslips-filter-bar,
  .payslip-detail-meta,
  .leave-form-grid {
    grid-template-columns: 1fr;
  }

  .leave-type-row {
    grid-template-columns: 1fr;
  }

  .payslips-filter-button {
    width: 100%;
  }

  .leave-form-actions {
    flex-direction: column-reverse;
  }

  .leave-tab-row {
    display: grid;
    width: 100%;
  }

  .leave-tab-button {
    width: 100%;
    justify-content: space-between;
  }

  .leave-form-actions .card-button,
  .leave-form-actions .card-ghost-button {
    width: 100%;
  }

  .leave-admin-actions .table-action-button {
    width: 100%;
  }

  .topbar {
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
  }

  .workspace-shell {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    flex-direction: row;
    overflow-x: auto;
    padding: 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(88, 117, 165, 0.12);
  }

  .nav-item {
    border-radius: 16px;
    white-space: nowrap;
    padding: 14px 18px;
  }

  .dashboard-main {
    padding: 24px 18px 36px;
  }

  .dashboard-grid,
  .meta-grid,
  .timesheet-summary-grid,
  .admin-calendar-layout,
  .admin-management-grid,
  .employee-tools-grid,
  .admin-form-grid,
  .settings-day-table-header,
  .settings-day-row {
    grid-template-columns: 1fr;
  }

  .admin-form-actions {
    align-items: stretch;
  }

  .settings-day-table-header {
    display: none;
  }

  .settings-day-row {
    justify-items: stretch;
  }

  .shift-planner-toolbar,
  .shift-planner-toolbar-left,
  .shift-planner-toolbar-actions,
  .shift-planner-board-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .shift-planner-board-tools,
  .shift-planner-week-actions,
  .shift-planner-board-metrics {
    width: 100%;
    justify-items: stretch;
    justify-content: flex-start;
  }

  .shift-planner-layout,
  #shift-planner-page.is-staff-collapsed .shift-planner-layout {
    grid-template-columns: 1fr;
  }

  .shift-planner-shell {
    height: auto;
  }

  .shift-planner-detail-stats,
  .shift-planner-detail-form,
  .shift-planner-detail-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100vw, calc(100vw - 24px));
    padding-top: 18px;
  }

  body.auth-mode .content-grid {
    padding: 28px 16px 56px;
  }

  .brand-mark {
    width: min(420px, 90vw);
  }

  .auth-field input {
    min-height: 74px;
    padding-left: 76px;
    padding-right: 72px;
  }

  .field-icon {
    left: 20px;
    width: 32px;
    height: 32px;
  }

  .setup-drawer {
    padding: 20px;
  }

  .panel {
    padding: 18px;
  }

  .topbar-user {
    width: 100%;
    flex-wrap: wrap;
  }

  .welcome-copy {
    width: 100%;
  }

  .clock-actions {
    width: 100%;
  }

  .clock-action-button {
    width: 100%;
  }

  .activity-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .activity-toggle {
    width: 100%;
  }

  .page-action-button {
    width: 100%;
  }

  .admin-calendar-toolbar {
    justify-content: stretch;
  }

  .admin-calendar-toolbar-button,
  .admin-calendar-delete-button {
    width: 100%;
  }

  .admin-calendar-shift-item {
    flex-direction: column;
    align-items: stretch;
  }

  .shift-planner-toolbar {
    padding: 18px 16px;
  }

  .shift-planner-staff-toggle,
  .shift-planner-submit-button,
  .shift-planner-save-button {
    width: 100%;
  }

  .shift-planner-icon-button {
    width: 46px;
    height: 46px;
  }

  .shift-planner-layout {
    padding: 12px;
  }

  .shift-planner-board-panel,
  .shift-planner-staff-panel,
  .shift-planner-detail-panel {
    padding: 16px;
  }

  .shift-planner-week-grid {
    min-width: 760px;
  }
}
