:root {
  --bg: #1097aa;
  --panel: #ffffff;
  --panel-soft: #f7f9fc;
  --ink: #182233;
  --muted: #657287;
  --line: #d7e0eb;
  --nav: #111827;
  --nav-deep: #0a1020;
  --purple: #6f49d8;
  --purple-dark: #5833b6;
  --purple-soft: #f0ebff;
  --blue: #2f80ed;
  --green: #1f9d63;
  --amber: #f59e0b;
  --red: #ef4444;
  --radius: 8px;
  --shadow: 0 18px 42px rgba(20, 31, 51, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  grid-template-columns: 244px 1fr;
  color: var(--ink);
  font-family: "Inter", sans-serif;
  background: var(--bg);
}

body.modal-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

.app-loader {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-content: center;
  gap: 12px;
  color: var(--ink);
  text-align: center;
  background: rgba(248, 251, 255, 0.96);
}

.app-loader strong {
  font-size: 18px;
}

.app-loader span {
  color: var(--muted);
  font-size: 14px;
}

.loader-mark {
  width: 54px;
  height: 54px;
  justify-self: center;
  border: 4px solid #dbe6f3;
  border-top-color: var(--purple);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

.route-loader {
  position: fixed;
  inset: 0;
  z-index: 35;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 10px;
  padding-top: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  background: rgba(248, 251, 255, 0.58);
  backdrop-filter: blur(3px);
}

.route-loader-bar {
  width: min(420px, calc(100vw - 40px));
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: #dbe6f3;
}

.route-loader-bar::before {
  display: block;
  width: 42%;
  height: 100%;
  content: "";
  border-radius: inherit;
  background: linear-gradient(90deg, var(--purple), #2f80ed);
  animation: route-progress 0.72s ease-in-out infinite;
}

.auth-screen {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1fr);
  gap: 0;
  padding: 0;
  background: linear-gradient(135deg, #1d2142, #4d318f);
}

.auth-brand-panel {
  display: grid;
  align-content: center;
  gap: 22px;
  min-height: 100vh;
  padding: clamp(34px, 7vw, 86px);
  color: #ffffff;
  background:
    radial-gradient(circle at 20% 22%, rgba(139, 92, 246, 0.42), transparent 32%),
    linear-gradient(160deg, #171936 0%, #2c245d 54%, #5f38b6 100%);
}

.auth-logo {
  display: flex;
  align-items: center;
}

.auth-logo img {
  width: min(260px, 100%);
  height: auto;
  padding: 12px 16px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
}

.auth-brand-panel h2 {
  max-width: 420px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
}

.auth-brand-panel p {
  max-width: 480px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 17px;
  line-height: 1.7;
}

.auth-brand-panel a {
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.auth-card {
  align-self: center;
  justify-self: center;
  display: grid;
  gap: 22px;
  width: min(460px, 100%);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 22px 58px rgba(15, 23, 42, 0.24);
}

.auth-card h1 {
  font-size: 42px;
}

.auth-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.auth-form {
  display: grid;
  gap: 16px;
}

.auth-switch.subtle {
  min-height: auto;
  margin-top: -8px;
  color: #8f91a0;
  font-size: 12px;
}

.auth-alert {
  margin: 0 !important;
  padding: 12px;
  border: 1px solid #fecaca;
  border-radius: var(--radius);
  color: #991b1b !important;
  font-size: 14px;
  font-weight: 800;
  background: #fef2f2;
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  padding-right: 42px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 28px;
  height: 28px;
  min-height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: #7b8798;
  background: transparent;
  transform: translateY(-50%);
  cursor: pointer;
}

.password-toggle:hover,
.password-toggle:focus-visible {
  color: var(--purple);
  background: transparent;
  outline: 0;
}

.password-toggle[aria-pressed="true"] {
  color: #4f39c5;
  background: transparent;
}

.password-toggle svg {
  grid-area: 1 / 1;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.password-toggle .icon-eye-off {
  display: none;
}

.password-toggle[aria-pressed="true"] .icon-eye {
  display: none;
}

.password-toggle[aria-pressed="true"] .icon-eye-off {
  display: block;
}

.mobile-app-bar,
.mobile-nav-backdrop,
.mobile-menu-close {
  display: none;
}

.sidebar {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 22px 16px;
  background: linear-gradient(180deg, #171b2d 0%, #11182b 52%, #0d1322 100%);
  color: #ffffff;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px 0 26px;
}

.brand-mark {
  width: min(168px, 100%);
  height: auto;
  padding: 7px 10px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.nav-list {
  display: grid;
  align-content: start;
  gap: 8px;
}

.nav-list a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
  text-decoration: none;
}

.nav-list a[data-icon="logs"]::before {
  content: "#";
}

.nav-list a.active,
.nav-list a:hover {
  background: rgba(255, 255, 255, 0.11);
  color: #ffffff;
}

.nav-list a[href="#dashboard"].active,
.nav-list a[href="#dashboard"]:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #128a9a, #646b73);
  box-shadow: 0 10px 22px rgba(18, 138, 154, 0.22);
}

.sidebar-help {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.sidebar-help span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  line-height: 1.45;
}

.sidebar-help button {
  min-height: 36px;
  border: 0;
  border-radius: var(--radius);
  background: rgba(124, 77, 206, 0.72);
  color: #ffffff;
  font-weight: 800;
}

.sidebar-session button {
  border: 1px solid rgba(240, 100, 100, 0.36);
  color: #ff9b9b;
  background: rgba(240, 100, 100, 0.1);
}

.app-shell {
  width: 100%;
  padding: 28px 34px 34px;
}

.dashboard-view,
.settings-view,
.reports-view,
.logs-view,
.team-view {
  width: min(1600px, 100%);
}

.dashboard-view,
.settings-view,
.logs-view,
.reports-view {
  display: grid;
  gap: 18px;
}

.team-view {
  display: grid;
  gap: 18px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  padding-bottom: 4px;
}

.topbar-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.create-task-action {
  min-height: 40px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 0 14px 0 8px;
  border: 0;
  border-radius: var(--radius);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  background: linear-gradient(135deg, #1d2750, #5d3fd3);
  box-shadow: 0 8px 16px rgba(29, 39, 80, 0.16);
  cursor: pointer;
}

.create-task-action span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.16);
}

.create-task-action:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #26345f, #6748df);
  box-shadow: 0 10px 20px rgba(29, 39, 80, 0.2);
}

.account-menu {
  position: relative;
}

.account-menu-toggle {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 10px 4px 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-color: #cfd8e6;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(23, 32, 51, 0.08);
  cursor: pointer;
}

.session-avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 7px;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, var(--purple), #2f80ed);
  font-size: 13px;
  font-weight: 800;
}

.session-avatar img,
.team-avatar img,
.profile-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-menu-toggle:hover {
  border-color: var(--purple);
  color: var(--purple);
  background: #fbf9ff;
}

.menu-chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-2px);
}

.account-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 10;
  display: grid;
  gap: 2px;
  width: 196px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(23, 32, 51, 0.16);
}

.account-menu-item {
  min-height: 42px;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  color: var(--ink);
  font-weight: 800;
  text-align: left;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
}

.account-menu-item:hover {
  color: var(--purple);
  background: var(--purple-soft);
}

.account-menu-item:disabled {
  color: var(--muted);
  opacity: 0.52;
  cursor: not-allowed;
}

.session-user {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-align: left;
  white-space: nowrap;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
}

h2 {
  font-size: 22px;
}

.primary-action,
.secondary-action,
.danger-action,
.text-action {
  min-height: 36px;
  padding: 0 12px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 800;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
  cursor: pointer;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(135deg, #1d2750, #5d3fd3);
  box-shadow: 0 8px 16px rgba(29, 39, 80, 0.16);
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-1px);
  color: #ffffff;
  background: linear-gradient(135deg, #26345f, #6748df);
  box-shadow: 0 10px 20px rgba(29, 39, 80, 0.2);
}

.primary-action.pending {
  position: relative;
  padding-left: 34px;
}

.primary-action.pending::before {
  position: absolute;
  left: 12px;
  width: 12px;
  height: 12px;
  content: "";
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.primary-action:disabled,
.secondary-action:disabled {
  opacity: 0.52;
  transform: none;
  box-shadow: none;
  cursor: not-allowed;
}

.primary-action.full {
  width: 100%;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.metrics article,
.task-form,
.task-board,
.people-panel,
.approval-panel,
.profile-panel,
.reports-panel,
.weekly-report-panel,
.team-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.metrics article {
  position: relative;
  min-height: 116px;
  padding: 18px;
  overflow: hidden;
}

.metrics article::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 78px;
  height: 78px;
  content: "";
  border-radius: 0 0 0 100%;
  background: rgba(47, 128, 237, 0.08);
}

.metrics span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.metrics strong {
  font-size: 34px;
}

.task-board {
  padding: 20px;
}

.board-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 0 0 16px;
}

.board-header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.board-header span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.filters {
  display: grid;
  grid-template-columns: minmax(220px, 1.25fr) minmax(120px, 0.58fr) minmax(120px, 0.58fr) minmax(170px, 0.85fr) minmax(170px, 0.85fr) minmax(150px, 0.72fr);
  gap: 12px;
  margin-bottom: 18px;
  padding: 0;
  border-bottom: 0;
  background: transparent;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

label small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 500;
  background: #ffffff;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}

input[type="date"] {
  color: #3d4757;
  font-weight: 400;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0.78;
  cursor: pointer;
}

select {
  appearance: none;
  padding-right: 42px;
  border-color: #cbd6e5;
  color: #1d2838;
  font-weight: 700;
  background:
    linear-gradient(45deg, transparent 50%, #657287 50%) calc(100% - 19px) 50% / 6px 6px no-repeat,
    linear-gradient(135deg, #657287 50%, transparent 50%) calc(100% - 14px) 50% / 6px 6px no-repeat,
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 1px 2px rgba(15, 23, 42, 0.04);
  cursor: pointer;
}

select:hover {
  border-color: #aebbd0;
  background:
    linear-gradient(45deg, transparent 50%, #4f39c5 50%) calc(100% - 19px) 50% / 6px 6px no-repeat,
    linear-gradient(135deg, #4f39c5 50%, transparent 50%) calc(100% - 14px) 50% / 6px 6px no-repeat,
    linear-gradient(180deg, #ffffff 0%, #f3f6ff 100%);
}

select:disabled {
  color: #7b8798;
  border-color: #dbe3ef;
  background:
    linear-gradient(45deg, transparent 50%, #9aa6b8 50%) calc(100% - 19px) 50% / 6px 6px no-repeat,
    linear-gradient(135deg, #9aa6b8 50%, transparent 50%) calc(100% - 14px) 50% / 6px 6px no-repeat,
    #f4f7fb;
  box-shadow: none;
  cursor: not-allowed;
}

select option {
  color: var(--ink);
  background: #ffffff;
  font-weight: 600;
}

textarea {
  font-weight: 400;
}

input::placeholder,
textarea::placeholder {
  color: #7b8798;
  font-weight: 400;
}

input:focus,
select:focus,
textarea:focus {
  outline: 0;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(111, 73, 216, 0.14), 0 8px 18px rgba(29, 39, 80, 0.08);
}

select:focus {
  background:
    linear-gradient(45deg, transparent 50%, var(--purple) 50%) calc(100% - 19px) 50% / 6px 6px no-repeat,
    linear-gradient(135deg, var(--purple) 50%, transparent 50%) calc(100% - 14px) 50% / 6px 6px no-repeat,
    linear-gradient(180deg, #ffffff 0%, #f6f2ff 100%);
}

textarea {
  min-height: 108px;
  padding: 12px;
  resize: vertical;
}

.task-list {
  display: grid;
  gap: 10px;
}

.pagination-bar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: end;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.pagination-bar label {
  width: 150px;
}

.pagination-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.pagination-actions span {
  min-width: 92px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.task-list.loading {
  pointer-events: none;
}

.task-skeleton {
  min-height: 162px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent),
    linear-gradient(#e8edf5 0 0) 18px 22px / 34% 18px no-repeat,
    linear-gradient(#edf2f8 0 0) 18px 54px / 62% 12px no-repeat,
    linear-gradient(#edf2f8 0 0) 18px 78px / 48% 12px no-repeat,
    linear-gradient(#edf2f8 0 0) 18px 118px / 26% 28px no-repeat,
    #ffffff;
  background-size: 220px 100%, 34% 18px, 62% 12px, 48% 12px, 26% 28px, auto;
  animation: shimmer 1.4s linear infinite;
}

.task-card {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) 170px;
  gap: 18px;
  align-items: start;
  padding: 18px 18px 18px 14px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.task-card:hover {
  transform: translateY(-1px);
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(20, 31, 51, 0.08);
}

.task-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.task-card p {
  margin: 0;
  color: var(--muted);
}

.task-description {
  max-width: 620px;
  color: #30394d !important;
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.planning-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.planning-summary span {
  min-width: 0;
  padding: 9px;
  border-radius: var(--radius);
  background: #f5f2ff;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.planning-summary strong {
  display: block;
  margin-bottom: 4px;
  color: var(--purple-dark);
}

.badge {
  padding: 6px 9px;
  border-radius: var(--radius);
  background: #edf1f8;
  color: #344054;
  font-size: 12px;
  font-weight: 800;
}

.badge.completed {
  background: #dcfce7;
  color: var(--green);
}

.badge.progress {
  background: #dbeafe;
  color: var(--blue);
}

.badge.review {
  background: #fff3d6;
  color: var(--amber);
}

.badge.blocked {
  background: #fee2e2;
  color: var(--red);
}

.badge.high {
  background: #fee2e2;
  color: var(--red);
}

.badge.urgent {
  background: #ffe4e6;
  color: #be123c;
}

.badge.low {
  background: #dbeafe;
  color: var(--blue);
}

.task-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-content: start;
  margin-top: 8px;
}

.task-side {
  display: grid;
  gap: 14px;
  align-content: start;
}

.task-side .badges {
  margin-top: 0;
}

.task-meta span {
  min-width: 0;
  padding: 9px;
  border-radius: var(--radius);
  background: #f5f2ff;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.task-meta strong {
  display: block;
  margin-bottom: 4px;
  color: var(--purple-dark);
}

.assignment-meta {
  display: grid;
}

.assignment-meta span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.assignment-meta strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.task-notes,
.attachment-summary,
.review-ready,
.review-blocked {
  display: none;
}

.task-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-content: start;
}

.task-actions select {
  flex: 1 1 100%;
  min-height: 34px;
  padding: 0 34px 0 10px;
  font-size: 12px;
}

.task-actions .secondary-action,
.task-actions .danger-action {
  min-height: 30px;
  padding: 0 9px;
  font-size: 11px;
}

.task-card.progress {
  border-left-color: var(--blue);
}

.task-card.completed {
  border-left-color: var(--green);
}

.task-card.review {
  border-left-color: var(--amber);
}

.task-card.blocked {
  border-left-color: var(--red);
}

.task-card.todo {
  border-left-color: #94a3b8;
}

.danger-action {
  border: 1px solid #fecaca;
  background: #ffffff;
  color: var(--red);
}

.danger-action:hover {
  background: #fff5f5;
}

.text-action {
  border: 0;
  background: transparent;
  color: var(--purple);
}

.text-action:hover {
  border-color: var(--purple);
  color: var(--purple);
}

.people-panel,
.approval-panel,
.profile-panel,
.logs-panel,
.reports-panel,
.team-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(320px, 1.2fr);
  gap: 18px;
  align-items: start;
  padding: 22px;
}

.weekly-report-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.people-panel p,
.approval-panel p,
.profile-panel p,
.logs-panel p,
.reports-panel p,
.weekly-report-panel p,
.team-panel p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.weekly-report-controls {
  display: grid;
  grid-template-columns: minmax(170px, 0.8fr) minmax(170px, 0.8fr) auto 30px 30px auto;
  gap: 8px;
  align-items: end;
  padding: 12px;
  border: 1px solid #e3eaf4;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fbfdff, #f6f9fd);
}

.weekly-report-output {
  min-height: 260px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  line-height: 1.7;
  white-space: pre-wrap;
  background: #fbfdff;
}

.weekly-report-controls .primary-action,
.weekly-report-controls .secondary-action,
.weekly-report-controls .icon-action {
  min-height: 36px;
}

.weekly-report-controls .copy-report-action {
  width: 30px;
  height: 30px;
  min-height: 30px;
  align-self: end;
  border-radius: 999px;
}

.weekly-report-controls .primary-action {
  padding: 0 14px;
}

.copy-report-action span {
  position: relative;
  width: 10px;
  height: 12px;
  border: 1.7px solid currentColor;
  border-radius: 3px;
}

.copy-report-action span::before {
  position: absolute;
  top: -4px;
  left: 3px;
  width: 10px;
  height: 12px;
  content: "";
  border: 1.7px solid currentColor;
  border-radius: 3px;
  background: #f7f8fb;
}

.copy-report-action {
  border: 1px solid #c8ced8;
  color: #485160;
  background: #f7f8fb;
}

.copy-report-action:hover {
  color: #1f2530;
  border-color: #aeb6c4;
  background: #eef1f5;
}

.clear-report-action {
  width: 30px;
  height: 30px;
  min-height: 30px;
  align-self: end;
  border: 1px solid #c8ced8;
  border-radius: 999px;
  color: #9f3434;
  background: #fff7f7;
}

.clear-report-action span {
  position: relative;
  width: 12px;
  height: 12px;
}

.clear-report-action span::before,
.clear-report-action span::after {
  position: absolute;
  top: 5px;
  left: 0;
  width: 12px;
  height: 1.8px;
  border-radius: 999px;
  content: "";
  background: currentColor;
}

.clear-report-action span::before {
  transform: rotate(45deg);
}

.clear-report-action span::after {
  transform: rotate(-45deg);
}

.clear-report-action:hover {
  color: #ffb4b4;
  border-color: #7a3a3a;
  background: rgba(240, 100, 100, 0.14);
}

.report-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  align-items: end;
}

.team-list {
  display: grid;
  gap: 0;
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-soft);
}

.approval-list {
  display: grid;
  gap: 0;
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-soft);
}

.approval-list .empty-activity {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 0 16px;
  border-left: 3px solid #5e6ad2;
  background: rgba(94, 106, 210, 0.06);
}

.team-member,
.approval-request {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) max-content minmax(218px, max-content);
  gap: 12px;
  align-items: center;
  min-height: 76px;
  min-width: 0;
  padding: 13px 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.team-member:last-child,
.approval-request:last-child {
  border-bottom: 0;
}

.team-member:hover,
.approval-request:hover {
  background: rgba(94, 106, 210, 0.08);
}

.approval-request {
  position: relative;
}

.approval-request::before {
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 0;
  width: 3px;
  border-radius: 0 999px 999px 0;
  content: "";
  background: #f0b429;
}

.team-member-identity {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.team-avatar {
  display: inline-grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #cfd8ea;
  border-radius: 999px;
  overflow: hidden;
  color: #3f46b8;
  font-size: 12px;
  font-weight: 800;
  background: #eef2ff;
}

.pending-avatar {
  color: #8a5400;
  border-color: #f7d489;
  background: #fff7db;
}

.team-member-details {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.team-member strong,
.approval-request strong {
  font-size: 14px;
}

.team-member span,
.approval-request span {
  color: var(--muted);
  font-size: 13px;
}

.team-member-details strong,
.team-member-details span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.role-badge {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--ink) !important;
  font-size: 12px !important;
  font-weight: 800;
  background: #eaf2ff;
}

.pending-role {
  color: #8a5400 !important;
  background: #fff4c7;
}

.team-member-meta,
.request-meta {
  display: grid;
  gap: 6px;
  justify-items: start;
  min-width: 0;
}

.request-time {
  font-size: 12px !important;
}

.team-member-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.role-select {
  width: 150px;
  max-width: 100%;
  min-height: 36px;
  font-size: 13px;
}

.approval-role-select {
  min-width: 170px;
}

.danger-action {
  color: #b42318;
  border-color: #fecaca;
  background: #fff7f7;
}

.people-form,
.profile-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
}

.profile-form {
  grid-template-columns: 72px minmax(220px, 1fr) minmax(220px, 1fr) auto;
  align-self: start;
  align-content: start;
  max-width: 920px;
}

.profile-image-preview {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  background: var(--purple-soft);
  color: var(--purple);
  font-weight: 800;
  overflow: hidden;
}

.logs-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 22px;
}

.logs-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.logs-header span {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--purple);
  font-size: 12px;
  font-weight: 800;
  background: var(--purple-soft);
}

.logs-list {
  display: grid;
  gap: 10px;
}

.workspace-log {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--purple);
  border-radius: var(--radius);
  background: var(--panel-soft);
}

.workspace-log.deleted {
  border-left-color: var(--red);
}

.workspace-log.status {
  border-left-color: #d99a2b;
}

.workspace-log-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.log-type {
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  background: #eaf2ff;
}

.log-time,
.log-description {
  color: var(--muted);
  font-size: 12px;
}

.log-description {
  margin: 0;
  line-height: 1.55;
}

.log-changes {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 12px;
}

#profileImage::file-selector-button {
  min-height: 26px;
  margin-right: 10px;
  padding: 0 10px;
  border: 0;
  border-radius: 5px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  background: #eef2ff;
  cursor: pointer;
}

.settings-denied {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px;
  border-radius: var(--radius);
  color: #991b1b;
  font-weight: 800;
  background: #fee2e2;
}

.task-form {
  display: grid;
  gap: 18px;
  padding: 26px;
  border-radius: 10px;
}

.form-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding-bottom: 4px;
}

.required-star {
  color: var(--red);
}

.icon-action {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #1d2750, #5d3fd3);
  color: #ffffff;
  box-shadow: 0 8px 16px rgba(29, 39, 80, 0.16);
  font-size: 17px;
  font-weight: 800;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  cursor: pointer;
}

.icon-action:hover {
  transform: translateY(-1px);
  color: #ffffff;
  background: linear-gradient(135deg, #26345f, #6748df);
  box-shadow: 0 10px 20px rgba(29, 39, 80, 0.2);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.68);
}

.modal-panel {
  width: min(820px, 100%);
  max-height: min(92vh, 980px);
  overflow: auto;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
}

.message-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.56);
  backdrop-filter: blur(3px);
}

.message-modal-panel {
  display: grid;
  gap: 14px;
  width: min(380px, 100%);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.24);
}

.message-modal-panel h2 {
  margin: 10px 0 6px;
  font-size: 20px;
}

.message-modal-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.message-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.message-modal-actions .primary-action,
.message-modal-actions .secondary-action {
  min-width: 92px;
}

.message-modal-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  background: linear-gradient(135deg, #1d2750, #5d3fd3);
  box-shadow: 0 8px 18px rgba(29, 39, 80, 0.18);
}

.description-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.task-form input,
.task-form select,
.task-form textarea {
  border-color: #cfdae8;
  font-weight: 500;
}

.task-form select {
  font-weight: 700;
  background:
    linear-gradient(45deg, transparent 50%, #657287 50%) calc(100% - 19px) 50% / 6px 6px no-repeat,
    linear-gradient(135deg, #657287 50%, transparent 50%) calc(100% - 14px) 50% / 6px 6px no-repeat,
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.task-form select:hover {
  background:
    linear-gradient(45deg, transparent 50%, #4f39c5 50%) calc(100% - 19px) 50% / 6px 6px no-repeat,
    linear-gradient(135deg, #4f39c5 50%, transparent 50%) calc(100% - 14px) 50% / 6px 6px no-repeat,
    linear-gradient(180deg, #ffffff 0%, #f3f6ff 100%);
}

.task-form input:focus,
.task-form select:focus,
.task-form textarea:focus {
  outline: 2px solid rgba(111, 73, 216, 0.18);
  border-color: var(--purple);
}

.task-form select:focus {
  background:
    linear-gradient(45deg, transparent 50%, var(--purple) 50%) calc(100% - 19px) 50% / 6px 6px no-repeat,
    linear-gradient(135deg, var(--purple) 50%, transparent 50%) calc(100% - 14px) 50% / 6px 6px no-repeat,
    linear-gradient(180deg, #ffffff 0%, #f6f2ff 100%);
}

.task-form h2 {
  font-size: 24px;
}

.task-form label {
  color: #526174;
}

.description-toolbar span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.segmented-control {
  display: grid;
  grid-template-columns: repeat(2, minmax(96px, 1fr));
  gap: 6px;
}

.mode-button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.mode-button.active {
  border-color: var(--purple);
  background: var(--purple-soft);
  color: var(--purple);
}

.attachment-dropzone {
  position: relative;
  display: grid;
  place-items: center;
  gap: 6px;
  min-height: 128px;
  padding: 18px;
  border: 2px dashed #b8c4d6;
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
  background: var(--panel-soft);
  cursor: pointer;
}

.attachment-dropzone strong {
  color: var(--ink);
}

.attachment-dropzone.dragging {
  border-color: var(--purple);
  background: var(--purple-soft);
}

.file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.attachment-list {
  display: grid;
  gap: 8px;
}

.empty-attachments {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.attachment-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.attachment-item.has-preview {
  grid-template-columns: 52px minmax(0, 1fr) auto;
}

.attachment-item:has(img) {
  grid-template-columns: 52px minmax(0, 1fr) auto;
}

.attachment-item.no-preview {
  grid-template-columns: 52px minmax(0, 1fr) auto;
}

.attachment-item img,
.attachment-file-preview {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
}

.attachment-item img {
  object-fit: cover;
  background: #eef2f7;
}

.attachment-file-preview {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  background: #eef2f7;
}

.attachment-details {
  display: grid;
  gap: 3px;
  min-width: 0;
  width: 100%;
}

.attachment-item strong,
.attachment-item span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.attachment-item span {
  color: var(--muted);
  font-size: 12px;
}

.activity-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-soft);
}

.activity-panel h3 {
  margin: 0;
  font-size: 16px;
}

.activity-list {
  display: grid;
  gap: 8px;
}

.activity-item {
  display: grid;
  gap: 4px;
  padding: 10px;
  border-radius: var(--radius);
  background: #ffffff;
}

.activity-item strong {
  font-size: 13px;
}

.activity-item span,
.activity-item p,
.empty-activity {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.hidden {
  display: none !important;
}

.empty-state {
  padding: 24px;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
  background: #ffffff;
}

.toast-region {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 36px));
}

.toast {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--purple);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.16);
}

.toast strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.toast span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.toast.success {
  border-left-color: var(--green);
}

.toast.warning {
  border-left-color: var(--amber);
}

.toast.danger {
  border-left-color: var(--red);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.92);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  to {
    background-position: calc(100% + 220px) 0, 18px 22px, 18px 54px, 18px 78px, 18px 118px, 0 0;
  }
}

@keyframes route-progress {
  from {
    transform: translateX(-120%);
  }

  to {
    transform: translateX(340%);
  }
}

@media (max-width: 1180px) {
  .task-card {
    grid-template-columns: 1fr;
  }

  .planning-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .task-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .auth-screen {
    grid-template-columns: 1fr;
    align-content: start;
    min-height: 100dvh;
    overflow-y: auto;
  }

  .auth-brand-panel {
    min-height: auto;
    padding: 28px;
  }

  .auth-card {
    justify-self: stretch;
    width: auto;
    margin: 0 28px 28px;
  }

  body {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    min-height: auto;
  }

  .metrics,
  .people-panel,
  .profile-panel,
.logs-panel,
  .reports-panel,
  .weekly-report-panel,
  .team-panel,
  .people-form,
  .profile-form,
  .weekly-report-controls,
  .filters {
    grid-template-columns: 1fr;
  }

  .team-member,
  .approval-request {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    align-items: start;
  }

  .team-member-meta,
  .request-meta,
  .team-member-actions {
    justify-items: start;
    justify-content: flex-start;
    padding-left: 46px;
  }
}

@media (max-width: 640px) {
  .app-shell {
    padding: 18px;
  }

  .topbar,
  .board-header,
  .form-header,
  .description-toolbar,
  .pagination-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .topbar-actions {
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .board-header-actions {
    flex-wrap: wrap;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .segmented-control {
    width: 100%;
  }

  .task-meta,
  .planning-summary {
    grid-template-columns: 1fr;
  }

  .attachment-item.has-preview {
    grid-template-columns: 42px minmax(0, 1fr) auto;
  }

  .attachment-item:has(img) {
    grid-template-columns: 42px minmax(0, 1fr) auto;
  }

  .attachment-item.no-preview {
    grid-template-columns: 42px minmax(0, 1fr) auto;
  }

  .attachment-item img,
  .attachment-file-preview {
    width: 42px;
    height: 42px;
  }

  .metrics article,
  .task-form,
  .people-panel,
  .profile-panel {
    padding: 16px;
  }

  .toast-region {
    right: 18px;
    bottom: 18px;
  }
}

/* Compact premium task metadata + stronger task hover */
.task-card {
  position: relative;
  grid-template-columns: minmax(320px, 1fr) 180px;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.task-card::before {
  position: absolute;
  inset: 8px auto 8px 0;
  width: 4px;
  content: "";
  border-radius: 0 999px 999px 0;
  background: #38383f;
  opacity: 0;
  transition: opacity 160ms ease, background 160ms ease;
}

.task-card:hover {
  z-index: 1;
  transform: translateY(-1px) translateX(2px);
  border-color: rgba(94, 106, 210, 0.34);
  background:
    linear-gradient(90deg, rgba(94, 106, 210, 0.16), transparent 48%),
    #1a1a1f;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.36),
    inset 0 0 0 1px rgba(94, 106, 210, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.task-card:hover::before {
  opacity: 1;
  background: #5e6ad2;
}

.task-card.progress:hover::before {
  background: var(--blue);
}

.task-card.completed:hover::before {
  background: var(--green);
}

.task-card.review:hover::before {
  background: var(--amber);
}

.task-card.blocked:hover::before {
  background: var(--red);
}

.task-meta,
.planning-summary {
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.task-meta span,
.planning-summary span {
  position: relative;
  min-height: 44px;
  padding: 8px 10px 8px 13px;
  border: 1px solid #292a31;
  border-radius: 10px;
  color: #d9d9df;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    #17171a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.task-meta span::before,
.planning-summary span::before {
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: 0;
  width: 2px;
  content: "";
  border-radius: 999px;
  background: #5e6ad2;
  opacity: 0.72;
}

.task-meta strong,
.planning-summary strong {
  margin-bottom: 3px;
  color: #aaaab2;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.1;
  text-transform: uppercase;
}

.task-card:hover .task-meta span,
.task-card:hover .planning-summary span {
  border-color: #454653;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent),
    #202027;
}

.task-card:hover h3 {
  color: #ffffff;
}

.task-card:hover .task-description {
  color: #c5c5cb !important;
}

@media (max-width: 1180px) {
  .task-meta,
  .planning-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .task-card {
    grid-template-columns: 1fr;
  }

  .task-meta,
  .planning-summary {
    grid-template-columns: 1fr;
  }
}

/* Linear-inspired dark workspace theme */
:root {
  --bg: #080808;
  --panel: #111112;
  --panel-soft: #171719;
  --ink: #f4f4f5;
  --muted: #9b9ca1;
  --line: #27272a;
  --nav: #050505;
  --nav-deep: #050505;
  --purple: #5e6ad2;
  --purple-dark: #8b92f8;
  --purple-soft: rgba(94, 106, 210, 0.16);
  --blue: #5e8cff;
  --green: #2fb67c;
  --amber: #d99a2b;
  --red: #f06464;
  --radius: 8px;
  --shadow: none;
}

html {
  background: var(--bg);
}

body {
  grid-template-columns: 236px 1fr;
  color: var(--ink);
  background: var(--bg);
}

.app-loader {
  color: var(--ink);
  background: rgba(8, 8, 8, 0.98);
}

.loader-mark {
  border-color: #2a2a2d;
  border-top-color: var(--purple);
}

.route-loader {
  color: var(--muted);
  background: rgba(8, 8, 8, 0.55);
}

.route-loader-bar {
  height: 2px;
  background: #232326;
}

.route-loader-bar::before {
  background: var(--purple);
}

.sidebar {
  padding: 10px 10px 14px;
  border-right: 1px solid #202023;
  background: #050505;
  color: var(--muted);
}

.brand {
  justify-content: space-between;
  gap: 8px;
  padding: 0 0 14px;
}

.brand-mark {
  width: 94px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: brightness(1.45) saturate(0.9);
}

.sync-pill {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid #2a2a2d;
  border-radius: 999px;
  color: #e9e9eb;
  font-size: 12px;
  font-weight: 700;
  background: #0d0d0e;
}

.sync-pill::before {
  width: 6px;
  height: 6px;
  margin-right: 8px;
  content: "";
  border-radius: 50%;
  background: #2fb67c;
  box-shadow: 0 0 0 3px rgba(47, 182, 124, 0.12);
}

.nav-list {
  gap: 2px;
}

.nav-section-label {
  display: block;
  margin: 18px 2px 8px;
  color: #77777d;
  font-size: 12px;
  font-weight: 700;
}

.nav-section-label::after {
  content: "  v";
  color: #77777d;
  font-size: 10px;
}

.nav-list a {
  min-height: 28px;
  gap: 8px;
  padding: 0 8px;
  border-radius: 6px;
  color: #9a9aa0;
  font-size: 13px;
  font-weight: 600;
}

.nav-list a::before {
  width: 14px;
  color: #8b8b91;
  font-size: 13px;
  text-align: center;
}

.nav-list a[data-icon="inbox"]::before {
  content: "□";
}

.nav-list a[data-icon="issues"]::before {
  content: "◉";
}

.nav-list a[data-icon="team"]::before {
  content: "◇";
}

.nav-list a[data-icon="reports"]::before {
  content: "≋";
}

.nav-list a[data-icon="settings"]::before {
  content: "⚙";
}

.nav-list a.active,
.nav-list a:hover,
.nav-list a[href="#dashboard"].active,
.nav-list a[href="#dashboard"]:hover {
  color: #f4f4f5;
  background: #202024;
  box-shadow: none;
}

.nav-list a.active::before,
.nav-list a:hover::before {
  color: #f4f4f5;
}

.sidebar-help {
  gap: 8px;
  padding: 10px;
  border: 1px solid #242428;
  border-radius: 8px;
  background: #101012;
}

.sidebar-help strong {
  color: #e8e8ea;
  font-size: 13px;
}

.sidebar-help span {
  color: #8d8d93;
}

.sidebar-help button {
  min-height: 30px;
  border: 1px solid #2c2c30;
  border-radius: 6px;
  color: #e7e7ea;
  background: #19191c;
}

.sidebar-session button {
  border-color: rgba(240, 100, 100, 0.38);
  color: #ff9b9b;
  background: rgba(240, 100, 100, 0.1);
}

.sidebar-session button:hover {
  color: #ffd2d2;
  background: rgba(240, 100, 100, 0.16);
}

.app-shell {
  min-height: 100vh;
  padding: 0;
  background: #080808;
}

.dashboard-view,
.settings-view,
.reports-view,
.logs-view,
.team-view {
  width: 100%;
  min-height: 100vh;
  gap: 0;
  align-content: start;
  padding: 0;
}

.settings-view {
  display: block;
  min-height: auto;
  padding: 16px 18px 24px;
}

.topbar {
  min-height: 45px;
  align-items: center;
  padding: 0 18px;
  border-bottom: 1px solid #202023;
  background: #101011;
}

.topbar .eyebrow {
  display: none;
}

h1 {
  font-size: 14px;
  line-height: 1;
}

h2 {
  color: #f3f3f5;
  font-size: 18px;
  font-weight: 650;
}

.topbar-actions {
  gap: 8px;
}

.create-task-action,
.primary-action,
.secondary-action,
.icon-action {
  min-height: 30px;
  border: 1px solid #303036;
  border-radius: 999px;
  color: #f4f4f6;
  background: #1b1b1f;
  box-shadow: none;
}

.create-task-action {
  padding: 0 12px 0 8px;
}

.create-task-action span {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #27272d;
}

.create-task-action:hover,
.primary-action:hover,
.secondary-action:hover,
.icon-action:hover {
  transform: none;
  border-color: #42424a;
  color: #ffffff;
  background: #24242a;
  box-shadow: none;
}

.primary-action {
  border-color: #6670df;
  background: #5e6ad2;
}

.primary-action:hover {
  border-color: #7a84ee;
  background: #6975e3;
}

.secondary-action {
  color: #dedee3;
}

.danger-action {
  border: 1px solid rgba(240, 100, 100, 0.34);
  color: #ff8a8a;
  background: rgba(240, 100, 100, 0.08);
}

.danger-action:hover {
  background: rgba(240, 100, 100, 0.14);
}

.text-action {
  color: #b8bdf8;
}

.account-menu-toggle {
  min-height: 32px;
  border-color: #2a2a2e;
  border-radius: 999px;
  background: #151517;
  box-shadow: none;
}

.account-menu-toggle:hover {
  border-color: #3a3a42;
  color: #f4f4f5;
  background: #1c1c20;
}

.session-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #f7f7fb;
  background: #5e6ad2;
  font-size: 10px;
}

.session-user {
  max-width: 210px;
  color: #a5a5ab;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.menu-chevron {
  border-color: #77777d;
}

.account-menu-panel {
  top: calc(100% + 8px);
  width: 164px;
  padding: 6px;
  border-color: #2a2a2f;
  border-radius: 8px;
  background: #171719;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
}

.account-menu-item {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 6px;
  color: #dedee3;
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
}

.account-menu-item:hover {
  color: #ffffff;
  background: #232328;
}

.metrics {
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 0;
  padding: 16px 18px 0;
}

.metrics article,
.task-form,
.task-board,
.people-panel,
.approval-panel,
.profile-panel,
.logs-panel,
.reports-panel,
.weekly-report-panel,
.team-panel {
  border-color: #26262a;
  border-radius: 8px;
  background: #111112;
  box-shadow: none;
}

.metrics article {
  min-height: 82px;
  padding: 14px 16px;
  border-radius: 0;
  border-right: 0;
}

.metrics article:first-child {
  border-radius: 8px 0 0 8px;
}

.metrics article:last-child {
  border-right: 1px solid #26262a;
  border-radius: 0 8px 8px 0;
}

.metrics article::after {
  display: none;
}

.metrics span,
.board-header span,
.pagination-actions span,
.people-panel p,
.approval-panel p,
.profile-panel p,
.logs-panel p,
.reports-panel p,
.weekly-report-panel p,
.team-panel p,
.task-card p,
.task-description,
.assignment-meta span,
.attachment-item span,
.activity-item span,
.activity-item p,
.empty-activity,
.toast span {
  color: #9b9ca1;
}

.task-description {
  color: #9b9ca1 !important;
}

.metrics strong {
  color: #f7f7f8;
  font-size: 26px;
  font-weight: 650;
}

.task-board {
  margin: 16px 18px 18px;
  padding: 0;
  overflow: hidden;
}

.board-header {
  min-height: 48px;
  padding: 0 14px;
  border-bottom: 1px solid #242428;
}

.filters {
  grid-template-columns: minmax(220px, 1.25fr) minmax(120px, 0.58fr) minmax(120px, 0.58fr) minmax(170px, 0.85fr) minmax(170px, 0.85fr) minmax(150px, 0.72fr);
  gap: 10px;
  margin: 0;
  padding: 12px 14px;
  border-bottom: 1px solid #242428;
  background: #111112;
}

label {
  color: #9b9ca1;
  font-size: 11px;
  font-weight: 650;
}

input,
select,
textarea {
  min-height: 34px;
  border-color: #2c2c31;
  border-radius: 6px;
  color: #f2f2f4;
  background: #171719;
  box-shadow: none;
}

input[type="date"] {
  color: #d6d6da;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 1;
  filter: invert(1) brightness(1.7) contrast(0.9);
}

input::placeholder,
textarea::placeholder {
  color: #6f6f76;
}

select,
.task-form select,
select:hover,
.task-form select:hover,
select:focus,
.task-form select:focus {
  color: #e8e8ec;
  border-color: #2c2c31;
  background:
    linear-gradient(45deg, transparent 50%, #8e8e96 50%) calc(100% - 17px) 50% / 5px 5px no-repeat,
    linear-gradient(135deg, #8e8e96 50%, transparent 50%) calc(100% - 12px) 50% / 5px 5px no-repeat,
    #171719;
  box-shadow: none;
}

select:disabled {
  color: #77777e;
  border-color: #29292d;
  background:
    linear-gradient(45deg, transparent 50%, #66666d 50%) calc(100% - 17px) 50% / 5px 5px no-repeat,
    linear-gradient(135deg, #66666d 50%, transparent 50%) calc(100% - 12px) 50% / 5px 5px no-repeat,
    #141416;
}

select option {
  color: #f4f4f5;
  background: #171719;
}

input:focus,
select:focus,
textarea:focus,
.task-form input:focus,
.task-form select:focus,
.task-form textarea:focus {
  border-color: #5e6ad2;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(94, 106, 210, 0.18);
}

.task-list {
  gap: 0;
}

.task-card {
  grid-template-columns: minmax(320px, 1fr) 180px;
  gap: 16px;
  padding: 14px;
  border: 0;
  border-bottom: 1px solid #232327;
  border-left: 0;
  border-radius: 0;
  background: #111112;
}

.task-card:hover {
  transform: none;
  background: #151518;
  box-shadow: none;
}

.task-card h3 {
  color: #f5f5f6;
  font-size: 14px;
  font-weight: 650;
}

.badge,
.planning-summary span,
.task-meta span,
.role-badge {
  border: 1px solid #2d2d33;
  border-radius: 999px;
  color: #c9c9cf;
  background: #1b1b1f;
}

.planning-summary,
.task-meta {
  gap: 6px;
}

.planning-summary strong,
.task-meta strong,
.assignment-meta strong {
  color: #e9e9ec;
}

.badge.completed {
  border-color: rgba(47, 182, 124, 0.35);
  color: #63d59f;
  background: rgba(47, 182, 124, 0.12);
}

.badge.progress,
.badge.low {
  border-color: rgba(94, 140, 255, 0.35);
  color: #8db0ff;
  background: rgba(94, 140, 255, 0.12);
}

.badge.review {
  border-color: rgba(217, 154, 43, 0.35);
  color: #e7b45b;
  background: rgba(217, 154, 43, 0.12);
}

.badge.blocked,
.badge.high,
.badge.urgent {
  border-color: rgba(240, 100, 100, 0.35);
  color: #ff8f8f;
  background: rgba(240, 100, 100, 0.12);
}

.pagination-bar {
  margin: 0;
  padding: 12px 14px;
  border-top: 1px solid #232327;
  background: #101011;
}

.empty-state {
  background: #111112;
}

.task-skeleton {
  border-color: #242428;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.035), transparent),
    linear-gradient(#242428 0 0) 18px 22px / 34% 18px no-repeat,
    linear-gradient(#202024 0 0) 18px 54px / 62% 12px no-repeat,
    linear-gradient(#202024 0 0) 18px 78px / 48% 12px no-repeat,
    linear-gradient(#202024 0 0) 18px 118px / 26% 28px no-repeat,
    #111112;
}

.people-panel,
.approval-panel,
.profile-panel,
.reports-panel,
.team-panel,
.weekly-report-panel {
  margin: 16px 18px 0;
  padding: 16px 18px;
}

.settings-view .profile-panel {
  display: block;
  width: min(940px, 100%);
  min-height: 0;
  margin: 0;
  padding: 22px;
}

.people-panel,
.approval-panel,
.profile-panel,
.reports-panel,
.team-panel {
  grid-template-columns: minmax(220px, 0.72fr) minmax(360px, 1.28fr);
  gap: 16px;
}

.team-panel,
.approval-panel {
  grid-template-columns: minmax(170px, 0.44fr) minmax(0, 1.56fr);
}

.profile-panel {
  align-self: start;
  grid-template-columns: minmax(220px, 0.42fr) minmax(420px, 0.88fr);
}

.settings-view .profile-form {
  display: grid;
  grid-template-columns: 84px minmax(220px, 1fr) minmax(220px, 1fr) auto;
  gap: 14px;
  align-items: end;
  max-width: none;
  margin-top: 22px;
}

.settings-view .profile-image-preview {
  width: 84px;
  height: 84px;
}

.people-panel,
.approval-panel {
  min-height: auto;
}

.people-form {
  align-self: start;
}

.weekly-report-controls {
  border-color: #26262a;
  background: #151518;
}

.weekly-report-controls .copy-report-action {
  color: #f5f5f6;
  border-color: #4b4b54;
  background: #2a2a30;
}

.weekly-report-controls .copy-report-action span::before {
  background: #2a2a30;
}

.weekly-report-controls .copy-report-action:hover {
  color: #ffffff;
  border-color: #696974;
  background: #3a3a42;
}

.weekly-report-controls .copy-report-action:hover span::before {
  background: #3a3a42;
}

.weekly-report-controls .clear-report-action {
  color: #ff9b9b;
  border-color: rgba(240, 100, 100, 0.38);
  background: rgba(240, 100, 100, 0.1);
}

.weekly-report-controls .clear-report-action:hover {
  color: #ffd2d2;
  border-color: rgba(240, 100, 100, 0.56);
  background: rgba(240, 100, 100, 0.16);
}

.weekly-report-output {
  color: #e4e4e7;
  border-color: #26262a;
  background: #0f0f10;
}

.team-member,
.approval-request {
  border-color: #29292f;
  background: transparent;
}

.approval-request {
  border-color: #29292f;
  background: transparent;
}

.team-list,
.approval-list {
  border-color: #29292f;
  background: #141416;
}

.approval-list .empty-activity {
  min-height: 48px;
  color: #b7b8c4;
  border-left-color: #6d78ff;
  background: linear-gradient(90deg, rgba(94, 106, 210, 0.13), rgba(94, 106, 210, 0.04));
}

.team-member:hover,
.approval-request:hover {
  background: #1a1a1f;
}

.team-member strong,
.approval-request strong {
  color: #f2f2f4;
}

.team-member span,
.approval-request span {
  color: #9b9ca1;
}

.team-avatar {
  color: #dfe2ff;
  border-color: #353644;
  background: #202126;
}

.pending-avatar {
  color: #ffd27a;
  border-color: rgba(240, 180, 41, 0.42);
  background: rgba(240, 180, 41, 0.1);
}

.role-badge {
  color: #e5e7ff !important;
  background: #242636;
}

.pending-role {
  color: #ffd27a !important;
  background: rgba(240, 180, 41, 0.13);
}

.profile-image-preview {
  border: 1px solid #303036;
  color: #dfe2ff;
  background: #1b1b20;
}

.logs-panel {
  margin: 16px 18px 0;
  border-color: #26262a;
  background: #111112;
}

.logs-header span {
  color: #dfe2ff;
  background: #242636;
}

.workspace-log {
  border-color: #29292f;
  background: #141416;
}

.workspace-log strong {
  color: #f2f2f4;
}

.log-type {
  color: #e5e7ff;
  background: #242636;
}

.log-time,
.log-description,
.log-changes {
  color: #9b9ca1;
}

#profileImage::file-selector-button {
  color: #f3f3f5;
  background: #27272d;
}

.settings-denied,
.auth-alert {
  border-color: rgba(240, 100, 100, 0.38);
  color: #ff9b9b !important;
  background: rgba(240, 100, 100, 0.12);
}

.modal-overlay,
.message-modal-overlay {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(2px);
}

.task-form,
.message-modal-panel,
.auth-card {
  border-color: #2b2b31;
  background: #121214;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
}

.task-form h2,
.message-modal-panel h2,
.auth-card h1 {
  color: #f4f4f5;
}

.task-form label {
  color: #a8a8ae;
}

.description-toolbar,
.activity-panel,
.attachment-dropzone {
  border-color: #2a2a30;
  background: #171719;
}

.mode-button {
  border-color: #2d2d33;
  color: #d7d7dc;
  background: #151518;
}

.mode-button.active {
  border-color: #6670df;
  color: #ffffff;
  background: #5e6ad2;
}

.attachment-dropzone strong,
.activity-panel h3,
.attachment-item strong,
.activity-item strong {
  color: #eeeeef;
}

.attachment-item,
.activity-item {
  border-color: #29292f;
  background: #111112;
}

.attachment-file-preview {
  border-color: #2d2d33;
  color: #d7d7dc;
  background: #151518;
}

.message-modal-panel p,
.auth-card p {
  color: #9b9ca1;
}

.message-modal-mark {
  border-radius: 50%;
  background: #5e6ad2;
  box-shadow: none;
}

.auth-screen {
  background: #080808;
}

.auth-brand-panel {
  color: #f4f4f5;
  background: #050505;
}

.auth-logo img {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: brightness(1.35);
}

.auth-brand-panel h2 {
  font-size: clamp(30px, 4vw, 54px);
}

.auth-brand-panel p,
.auth-brand-panel a {
  color: #aaaab0;
}

.toast {
  border-color: #2c2c32;
  border-left-color: #5e6ad2;
  background: #171719;
  color: #f4f4f5;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
}

@media (max-width: 980px) {
  body {
    grid-template-columns: 1fr;
  }

  .sidebar {
    border-right: 0;
    border-bottom: 1px solid #202023;
  }

  .metrics,
  .filters,
  .people-panel,
  .profile-panel,
  .reports-panel,
  .weekly-report-panel,
  .team-panel,
  .people-form,
  .profile-form,
  .weekly-report-controls {
    grid-template-columns: 1fr;
  }

  .profile-form {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .settings-view {
    padding: 12px;
  }

  .settings-view .profile-form {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .profile-form label,
  .profile-form button {
    grid-column: 1 / -1;
  }

  .team-member,
  .approval-request {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    align-items: start;
  }

  .team-member-meta,
  .request-meta,
  .team-member-actions {
    justify-items: start;
    justify-content: flex-start;
    padding-left: 46px;
  }

  .metrics article,
  .metrics article:first-child,
  .metrics article:last-child {
    border-right: 1px solid #26262a;
    border-radius: 8px;
  }
}

@media (max-width: 640px) {
  .app-shell {
    padding: 0;
  }

  .topbar {
    min-height: auto;
    padding: 12px;
  }

  .metrics,
  .task-board,
  .people-panel,
  .approval-panel,
  .profile-panel,
  .logs-panel,
  .reports-panel,
  .team-panel,
  .weekly-report-panel {
    margin: 12px;
  }
}

@media (max-width: 640px) {
  .auth-screen {
    display: block;
    min-height: 100dvh;
    overflow-y: auto;
  }

  .auth-brand-panel {
    gap: 14px;
    min-height: auto;
    padding: 22px 20px 16px;
  }

  .auth-logo img {
    width: min(205px, 76vw);
  }

  .auth-brand-panel h2 {
    max-width: 320px;
    font-size: 34px;
    line-height: 1.08;
  }

  .auth-brand-panel p {
    max-width: 330px;
    font-size: 15px;
    line-height: 1.55;
  }

  .auth-brand-panel a {
    font-size: 15px;
  }

  .auth-card {
    gap: 16px;
    width: auto;
    margin: 0 12px 18px;
    padding: 20px;
    border-radius: 8px;
  }

  .auth-card h1 {
    font-size: 40px;
    line-height: 1;
  }

  .auth-card p {
    font-size: 16px;
    line-height: 1.45;
  }

  .auth-form {
    gap: 14px;
  }

  .auth-form input,
  .auth-form .primary-action {
    min-height: 48px;
  }
}

@media (max-width: 390px) {
  .auth-brand-panel {
    padding: 18px 18px 14px;
  }

  .auth-logo img {
    width: min(178px, 72vw);
  }

  .auth-brand-panel h2 {
    font-size: 30px;
  }

  .auth-brand-panel p,
  .auth-card p {
    font-size: 15px;
  }

  .auth-card {
    margin-inline: 8px;
    padding: 18px;
  }

  .auth-card h1 {
    font-size: 36px;
  }
}

@media (max-width: 980px) {
  body {
    grid-template-columns: 1fr;
  }

  .mobile-app-bar {
    position: sticky;
    top: 0;
    z-index: 24;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding: 10px 14px;
    border-bottom: 1px solid #202023;
    background: rgba(5, 5, 5, 0.96);
    backdrop-filter: blur(10px);
  }

  .mobile-app-bar img {
    width: 116px;
    height: auto;
    filter: brightness(1.45) saturate(0.9);
  }

  .mobile-menu-toggle {
    display: grid;
    gap: 5px;
    place-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #303036;
    border-radius: 8px;
    color: #f4f4f5;
    background: #151518;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 99px;
    background: currentColor;
  }

  .mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 28;
    background: rgba(0, 0, 0, 0.58);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease;
  }

  .sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 29;
    display: grid;
    width: min(320px, 86vw);
    min-height: 100dvh;
    padding: 16px;
    border-right: 1px solid #2a2a30;
    border-bottom: 0;
    overflow-y: auto;
    transform: translateX(-104%);
    transition: transform 180ms ease;
    box-shadow: 18px 0 60px rgba(0, 0, 0, 0.44);
  }

  .mobile-menu-close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid #33333a;
    border-radius: 8px;
    color: #f4f4f5;
    background: #171719;
    font-size: 20px;
    line-height: 1;
  }

  body.mobile-nav-open {
    overflow: hidden;
  }

  body.mobile-nav-open .sidebar {
    transform: translateX(0);
  }

  body.mobile-nav-open .mobile-nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .brand {
    justify-content: flex-start;
    padding-right: 48px;
  }

  .nav-list a {
    min-height: 42px;
    font-size: 14px;
  }

  .sidebar-help {
    margin-top: 18px;
  }

  .app-shell {
    min-height: calc(100dvh - 58px);
  }

  .team-view,
  .dashboard-view,
  .settings-view,
  .reports-view,
  .logs-view {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .team-panel,
  .people-panel,
  .approval-panel {
    overflow: hidden;
  }

  .team-view {
    gap: 12px;
  }

  .team-panel,
  .people-panel,
  .approval-panel {
    grid-template-columns: 1fr !important;
    gap: 14px;
    padding: 16px;
  }

  .team-list,
  .approval-list {
    width: 100%;
    min-width: 0;
  }

  .team-member,
  .approval-request {
    grid-template-columns: 1fr !important;
    gap: 12px;
    min-width: 0;
    padding: 14px;
  }

  .team-member-identity {
    align-items: flex-start;
  }

  .team-member-details,
  .team-member-details strong,
  .team-member-details span {
    min-width: 0;
    white-space: normal;
    word-break: break-word;
  }

  .team-member-meta,
  .request-meta,
  .team-member-actions {
    width: 100%;
    min-width: 0;
    padding-left: 0;
  }

  .team-member-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
  }

  .team-member-actions .role-select,
  .team-member-actions button,
  .request-meta .approval-role-select {
    width: 100%;
  }

  .approval-request::before {
    top: 10px;
    bottom: 10px;
  }

  .approval-list .empty-activity {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 0 12px;
    white-space: normal;
  }

  .people-form {
    grid-template-columns: 1fr !important;
  }
}
