:root {
  --bg: #f2f6f9;
  --surface: #ffffff;
  --surface-soft: #f7fafc;
  --ink: #14232d;
  --muted: #6e7f8b;
  --muted-2: #97a5ae;
  --line: #dfe8ed;
  --line-strong: #cad8df;
  --accent: #138caf;
  --accent-strong: #087695;
  --accent-soft: #e7f6fa;
  --navy: #173340;
  --success: #1f9463;
  --success-soft: #e8f7f0;
  --warning: #bd7a12;
  --warning-soft: #fff4dc;
  --danger: #c94949;
  --danger-soft: #fff0ef;
  --shadow: 0 16px 42px rgba(39, 64, 78, 0.08);
  --shadow-soft: 0 8px 24px rgba(39, 64, 78, 0.06);
  --radius-lg: 14px;
  --radius: 12px;
  --radius-sm: 10px;
  --radius-control: 8px;
  --radius-tag: 6px;
  --sidebar-width: 252px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
}

.hidden {
  display: none !important;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(480px, 1.08fr);
  background: var(--surface);
}

.login-intro {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: clamp(48px, 8vw, 104px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #f5fbfd;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(145deg, #183d4b 0%, #145f73 52%, #138caf 100%);
}

.login-intro::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(255, 255, 255, 0.04), 0 0 0 104px rgba(255, 255, 255, 0.025);
}

.brand-mark {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 40px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
}

.brand-mark span {
  width: 10px;
  border-radius: 9px;
  background: currentColor;
  transform: skew(-12deg);
}

.brand-mark span:nth-child(1) { height: 22px; opacity: 0.58; }
.brand-mark span:nth-child(2) { height: 38px; }
.brand-mark span:nth-child(3) { height: 29px; opacity: 0.78; }

.brand-mark.compact {
  width: 34px;
  height: 30px;
  color: var(--accent);
}

.brand-mark.compact span { width: 7px; }
.brand-mark.compact span:nth-child(1) { height: 17px; }
.brand-mark.compact span:nth-child(2) { height: 29px; }
.brand-mark.compact span:nth-child(3) { height: 22px; }

.login-intro h1 {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0;
  font-size: clamp(44px, 5.2vw, 74px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.login-intro .eyebrow {
  color: #8de0ef;
}

.intro-copy {
  position: relative;
  z-index: 1;
  max-width: 540px;
  margin: 28px 0 0;
  color: rgba(241, 251, 253, 0.74);
  font-size: 17px;
}

.intro-points {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.intro-points > div {
  display: flex;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.intro-points strong {
  color: #8de0ef;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.intro-points span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  line-height: 1.65;
}

.login-panel {
  min-height: 100vh;
  padding: 48px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 75% 12%, rgba(19, 140, 175, 0.07), transparent 24%),
    #fbfdfe;
}

.login-card {
  width: min(100%, 430px);
  padding: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.login-heading {
  margin-bottom: 30px;
}

.login-heading h2 {
  margin: 0 0 7px;
  font-size: 32px;
  line-height: 1.2;
}

.login-heading > p:last-child {
  margin: 0;
  color: var(--muted);
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.field > span,
.field-label {
  color: #38505c;
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field textarea,
.field select,
.control {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  outline: none;
  color: var(--ink);
  background: var(--surface);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field input,
.field select,
.control {
  min-height: 46px;
  padding: 10px 13px;
}

.field textarea {
  min-height: 120px;
  padding: 12px 13px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus,
.control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(19, 140, 175, 0.12);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a4b0b7;
}

.field-hint {
  margin-top: -2px;
  color: var(--muted);
  font-size: 12px;
}

.button {
  min-height: 42px;
  padding: 9px 17px;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ink);
  background: var(--surface-soft);
  font-weight: 750;
  text-decoration: none;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button:focus-visible,
.text-button:focus-visible,
.icon-button:focus-visible,
.nav-item:focus-visible,
.image-thumb:focus-visible {
  outline: 3px solid rgba(19, 140, 175, 0.28);
  outline-offset: 2px;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.button.primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(19, 140, 175, 0.2);
}

.button.primary:hover { background: var(--accent-strong); }
.button.secondary { border-color: var(--line-strong); background: var(--surface); }
.button.danger { color: var(--danger); border-color: #f0c9c6; background: var(--danger-soft); }
.button.ghost { color: var(--accent-strong); background: var(--accent-soft); }
.button.large { min-height: 50px; }
.button.small { min-height: 34px; padding: 6px 11px; border-radius: var(--radius-control); font-size: 13px; }
.button.full { width: 100%; }

.text-button {
  padding: 2px;
  border: 0;
  color: var(--accent-strong);
  background: transparent;
  font-weight: 750;
}

.danger-text { color: var(--danger); }

.form-error,
.inline-alert {
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid #f0c9c6;
  border-radius: var(--radius-control);
  color: #9f3030;
  background: var(--danger-soft);
  font-size: 13px;
}

.inline-alert.info {
  border-color: #c6e5ed;
  color: #21657a;
  background: var(--accent-soft);
}

.inline-alert.warning {
  border-color: #f2d69f;
  color: #8b5d13;
  background: var(--warning-soft);
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: var(--sidebar-width);
  height: 100vh;
  padding: 24px 18px 20px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.sidebar-brand {
  min-height: 54px;
  padding: 0 10px 22px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid var(--line);
}

.sidebar-brand > div:nth-child(2) {
  display: grid;
  line-height: 1.25;
}

.sidebar-brand strong {
  font-size: 16px;
  letter-spacing: -0.01em;
}

.sidebar-brand span {
  color: var(--muted);
  font-size: 11px;
}

.main-nav {
  flex: 1;
  overflow-y: auto;
  padding: 22px 0;
  display: grid;
  align-content: start;
  gap: 6px;
}

.nav-section-label {
  margin: 14px 12px 5px;
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.nav-item {
  width: 100%;
  min-height: 44px;
  padding: 10px 13px;
  border: 0;
  border-radius: var(--radius-control);
  display: flex;
  align-items: center;
  gap: 11px;
  color: #50636e;
  background: transparent;
  text-align: left;
  font-weight: 700;
  transition: color 150ms ease, background 150ms ease;
}

.nav-item:hover {
  color: var(--ink);
  background: var(--surface-soft);
}

.nav-item.active {
  color: var(--accent-strong);
  background: var(--accent-soft);
}

.nav-icon {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-tag);
  display: grid;
  place-items: center;
  color: inherit;
  background: rgba(19, 140, 175, 0.07);
  font-size: 12px;
  font-weight: 900;
}

.sidebar-footer {
  padding: 18px 10px 2px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
}

.user-compact {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-compact > div {
  min-width: 0;
  display: grid;
  line-height: 1.35;
}

.user-compact strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.user-compact span:last-child {
  color: var(--muted);
  font-size: 11px;
}

.avatar {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #1b9aba, #176578);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 7px 16px rgba(19, 140, 175, 0.18);
}

.content-shell {
  min-width: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 35;
  min-height: 88px;
  padding: 16px clamp(24px, 4vw, 56px);
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(202, 216, 223, 0.72);
  background: rgba(242, 246, 249, 0.88);
  backdrop-filter: blur(18px);
}

.topbar > div:nth-child(2) {
  min-width: 0;
  flex: 1;
}

.topbar h1 {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-kicker {
  margin: 0 0 2px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.today-label {
  color: var(--muted);
  font-size: 12px;
}

.icon-button {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--surface);
}

.menu-button,
.sidebar-close,
.sidebar-overlay {
  display: none;
}

.menu-button span {
  width: 17px;
  height: 2px;
  display: block;
  margin: 2px 0;
  border-radius: 3px;
  background: currentColor;
}

.page-content {
  width: min(100%, 1500px);
  min-height: calc(100vh - 88px);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 52px);
  outline: none;
}

.page-stack {
  display: grid;
  gap: 24px;
}

.hero-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.hero-copy h2,
.section-heading h2 {
  margin: 0;
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.22;
  letter-spacing: -0.035em;
}

.hero-copy p,
.section-heading p {
  margin: 8px 0 0;
  color: var(--muted);
}

.section-heading h2 { font-size: 22px; }

.hero-actions,
.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 16px;
}

.stat-card {
  position: relative;
  overflow: hidden;
  min-height: 146px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.stat-card.accent {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #168faf 0%, #11788f 100%);
}

.stat-card.accent::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -50px;
  width: 150px;
  height: 150px;
  border: 26px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}

.stat-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.stat-card.accent .stat-label { color: rgba(255, 255, 255, 0.76); }

.stat-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
}

.stat-dot.pending { background: #eca72f; }
.stat-dot.progress { background: var(--accent); }
.stat-dot.done { background: var(--success); }
.stat-card.accent .stat-dot { background: rgba(255, 255, 255, 0.8); }

.stat-value {
  position: relative;
  z-index: 1;
  margin-top: 19px;
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 780;
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat-caption {
  margin-top: 11px;
  color: var(--muted);
  font-size: 12px;
}

.stat-card.accent .stat-caption { color: rgba(255, 255, 255, 0.7); }

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.65fr);
  gap: 20px;
}

.panel {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.panel.flush {
  padding: 0;
  overflow: hidden;
}

.panel-header {
  padding: 0 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel.flush .panel-header {
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--line);
}

.panel-header h3 {
  margin: 0;
  font-size: 17px;
}

.panel-header p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.quick-list {
  display: grid;
  gap: 10px;
}

.quick-action {
  width: 100%;
  min-height: 68px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  background: var(--surface-soft);
  text-align: left;
}

.quick-action:hover {
  border-color: #b7dfe8;
  background: var(--accent-soft);
}

.quick-action .nav-icon {
  flex: 0 0 auto;
  color: var(--accent-strong);
  background: var(--surface);
}

.quick-action > span:nth-child(2) {
  min-width: 0;
  display: grid;
}

.quick-action strong { font-size: 13px; }
.quick-action small { color: var(--muted); font-size: 11px; }
.quick-action > span:last-child { margin-left: auto; color: var(--muted-2); }

.data-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.data-table th,
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.panel.flush .data-table th:first-child,
.panel.flush .data-table td:first-child { padding-left: 24px; }
.panel.flush .data-table th:last-child,
.panel.flush .data-table td:last-child { padding-right: 24px; }

.data-table th {
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover td { background: #fbfdfe; }

.task-title-cell {
  min-width: 190px;
  display: grid;
  gap: 2px;
}

.task-title-cell strong { color: var(--ink); font-size: 13px; }
.task-title-cell small { color: var(--muted); }

.status-badge,
.role-badge,
.count-badge {
  width: fit-content;
  padding: 4px 9px;
  border-radius: var(--radius-tag);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.status-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status-pending { color: var(--warning); background: var(--warning-soft); }
.status-progress { color: var(--accent-strong); background: var(--accent-soft); }
.status-completed { color: var(--success); background: var(--success-soft); }
.role-badge { color: var(--navy); background: #eaf0f3; }
.role-badge.admin { color: #6f4a13; background: #fff1d7; }
.count-badge { color: var(--accent-strong); background: var(--accent-soft); }

.filters-panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.78);
}

.filters-grid {
  display: grid;
  grid-template-columns: minmax(180px, 1.6fr) repeat(4, minmax(130px, 0.8fr)) auto;
  gap: 12px;
  align-items: end;
}

.filters-grid .field { margin: 0; gap: 6px; }
.filters-grid .button { min-height: 46px; }

.form-panel {
  max-width: 980px;
  margin: 0 auto;
}

.form-section {
  padding-bottom: 26px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.form-section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.form-section-heading {
  margin-bottom: 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.form-section-heading h3 {
  margin: 0;
  font-size: 17px;
}

.form-section-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-grid .field { margin: 0; }
.form-grid .span-2 { grid-column: span 2; }

.note-drafts {
  display: grid;
  gap: 14px;
}

.note-draft {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
}

.note-draft-header {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.note-draft-header strong { font-size: 13px; }

.file-picker {
  min-height: 88px;
  padding: 15px;
  border: 1px dashed #afc8d2;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: var(--muted);
  background: var(--surface);
  text-align: center;
  cursor: pointer;
}

.file-picker:hover { border-color: var(--accent); background: #fbfeff; }
.file-picker input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-picker strong { color: var(--accent-strong); }
.file-picker small { display: block; margin-top: 2px; font-size: 11px; }

.file-preview-list,
.image-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 10px;
}

.file-preview {
  min-width: 0;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--surface);
}

.file-preview img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-tag);
  display: block;
  object-fit: cover;
}

.file-preview span {
  margin-top: 5px;
  overflow: hidden;
  display: block;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.62fr);
  gap: 20px;
  align-items: start;
}

.detail-main,
.detail-side {
  display: grid;
  gap: 20px;
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.meta-card {
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
}

.meta-card span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.meta-card strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
  font-size: 13px;
}

.description-block {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.description-block h4 {
  margin: 0 0 8px;
  font-size: 13px;
}

.description-block p {
  margin: 0;
  color: #49606b;
  white-space: pre-wrap;
}

.notes-list {
  display: grid;
  gap: 14px;
}

.note-group {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
}

.note-group-header {
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
}

.note-group-text {
  margin: 0;
  color: #314b57;
  white-space: pre-wrap;
}

.image-thumb {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: #e9eff2;
}

.image-thumb img {
  width: 100%;
  aspect-ratio: 1.25;
  display: block;
  object-fit: cover;
  transition: transform 180ms ease;
}

.image-thumb:hover img { transform: scale(1.035); }

.image-thumb::after {
  content: "查看大图";
  position: absolute;
  right: 7px;
  bottom: 7px;
  padding: 3px 7px;
  border-radius: var(--radius-tag);
  color: #fff;
  background: rgba(20, 35, 45, 0.7);
  font-size: 9px;
}

.timeline {
  display: grid;
  gap: 0;
}

.timeline-item {
  position: relative;
  padding: 0 0 18px 22px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.timeline-item::after {
  content: "";
  position: absolute;
  top: 17px;
  bottom: 0;
  left: 6px;
  width: 1px;
  background: var(--line);
}

.timeline-item:last-child::after { display: none; }
.timeline-item strong { display: block; font-size: 12px; }
.timeline-item p { margin: 2px 0; color: var(--muted); font-size: 11px; }
.timeline-item time { color: var(--muted-2); font-size: 10px; }

.empty-state {
  min-height: 210px;
  padding: 36px 24px;
  display: grid;
  place-items: center;
  text-align: center;
}

.empty-state-mark {
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  border: 1px solid #c8e2e9;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 22px;
  font-weight: 300;
}

.empty-state h3 { margin: 0; font-size: 16px; }
.empty-state p { max-width: 360px; margin: 6px auto 0; color: var(--muted); font-size: 12px; }

.storage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
}

.storage-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.storage-card .image-thumb {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.storage-card .image-thumb img { aspect-ratio: 1.55; }

.storage-card-body {
  padding: 14px;
  display: grid;
  gap: 9px;
}

.storage-card-body strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.storage-meta {
  color: var(--muted);
  font-size: 10px;
}

.storage-actions {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.report-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 20px;
  align-items: start;
}

.report-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mini-stat {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.mini-stat span { color: var(--muted); font-size: 11px; }
.mini-stat strong { display: block; margin-top: 5px; font-size: 25px; line-height: 1; }

.timeline-bars {
  min-height: 240px;
  padding-top: 12px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  overflow-x: auto;
}

.bar-group {
  min-width: 50px;
  height: 205px;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 8px;
}

.bars {
  min-height: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
}

.bar {
  width: 12px;
  min-height: 3px;
  border-radius: 5px 5px 2px 2px;
  background: var(--accent);
}

.bar.completed { background: var(--success); }
.bar-group small { overflow: hidden; color: var(--muted); font-size: 9px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }

.legend {
  display: flex;
  gap: 15px;
  color: var(--muted);
  font-size: 11px;
}

.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 8px; height: 8px; border-radius: 3px; background: var(--accent); }
.legend i.completed { background: var(--success); }

.toast-region {
  position: fixed;
  z-index: 120;
  right: 22px;
  top: 22px;
  width: min(360px, calc(100vw - 32px));
  display: grid;
  gap: 10px;
  pointer-events: none;
}

.toast {
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--success);
  border-radius: var(--radius-sm);
  color: #29414b;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow);
  animation: toast-in 180ms ease-out both;
  font-size: 13px;
}

.toast.error { border-left-color: var(--danger); }

@keyframes toast-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  padding: 22px;
  display: grid;
  place-items: center;
  background: rgba(12, 28, 36, 0.64);
  backdrop-filter: blur(7px);
}

.modal {
  width: min(100%, 520px);
  max-height: calc(100vh - 44px);
  overflow-y: auto;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 30px 80px rgba(7, 22, 29, 0.3);
}

.modal.wide { width: min(100%, 720px); }

.modal-header {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.modal-header h2 { margin: 0; font-size: 21px; }
.modal-header p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.modal-close { width: 34px; height: 34px; border: 0; background: var(--surface-soft); font-size: 20px; }

.modal-actions {
  margin-top: 22px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.danger-confirm {
  padding: 14px;
  border: 1px solid #f0c9c6;
  border-radius: var(--radius-sm);
  color: #8f3030;
  background: var(--danger-soft);
  font-size: 12px;
}

.image-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  color: #fff;
  background: rgba(7, 15, 20, 0.93);
}

.image-modal-toolbar {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.image-modal-toolbar strong {
  min-width: 0;
  margin-right: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.image-modal-toolbar button {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-control);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.image-modal-stage {
  overflow: auto;
  padding: 24px;
  display: grid;
  place-items: center;
}

.image-modal-stage img {
  max-width: none;
  transform-origin: center;
  transition: width 140ms ease;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
}

.loading-state {
  min-height: 280px;
  display: grid;
  place-items: center;
  color: var(--muted);
}

.spinner {
  width: 28px;
  height: 28px;
  margin: 0 auto 10px;
  border: 3px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1180px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(150px, 1fr)); }
  .filters-grid { grid-template-columns: repeat(3, minmax(150px, 1fr)); }
  .filters-grid .button { width: 100%; }
  .detail-layout,
  .report-layout { grid-template-columns: 1fr; }
  .detail-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
  .login-page { grid-template-columns: 1fr; background: var(--bg); }
  .login-intro { min-height: auto; padding: 38px 28px 54px; gap: 46px; }
  .login-intro h1 { font-size: clamp(36px, 8vw, 54px); }
  .intro-points { display: none; }
  .login-panel { min-height: auto; margin-top: -24px; padding: 0 18px 34px; place-items: start center; background: transparent; }
  .login-card { padding: 30px 24px; }

  .app-shell { display: block; }
  .sidebar {
    position: fixed;
    left: 0;
    transform: translateX(-105%);
    transition: transform 200ms ease;
    box-shadow: 22px 0 60px rgba(20, 35, 45, 0.2);
  }
  body.sidebar-open .sidebar { transform: translateX(0); }
  .sidebar-close { display: grid; margin-left: auto; }
  .sidebar-overlay {
    position: fixed;
    inset: 0;
    z-index: 45;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
    background: rgba(16, 35, 44, 0.46);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }
  body.sidebar-open .sidebar-overlay { display: block; opacity: 1; pointer-events: auto; }
  .menu-button { display: grid; }
  .today-label { display: none; }
  .page-content { padding: 26px 20px 38px; }
  .topbar { min-height: 76px; padding: 12px 20px; }
  .dashboard-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 14px; }
  .login-intro { padding: 28px 22px 46px; }
  .intro-copy { margin-top: 18px; font-size: 14px; }
  .login-card { border-radius: var(--radius-lg); }
  .topbar-actions .avatar { display: none; }
  .page-content { padding: 22px 15px 36px; }
  .hero-row { align-items: flex-start; flex-direction: column; }
  .hero-actions { width: 100%; }
  .hero-actions .button { flex: 1; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat-card { min-height: 126px; padding: 17px; border-radius: var(--radius); }
  .stat-value { margin-top: 15px; font-size: 34px; }
  .stat-caption { margin-top: 8px; font-size: 10px; }
  .panel { padding: 18px; border-radius: var(--radius); }
  .panel.flush .panel-header { padding: 18px; }
  .filters-panel { padding: 15px; }
  .filters-grid { grid-template-columns: 1fr 1fr; }
  .filters-grid .field:first-child { grid-column: span 2; }
  .filters-grid .button { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: auto; }
  .form-panel { padding: 18px; }
  .form-section-heading { flex-direction: column; }
  .detail-meta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-side { grid-template-columns: 1fr; }
  .image-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .storage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .storage-card-body { padding: 11px; }
  .report-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .data-table.responsive thead { display: none; }
  .data-table.responsive,
  .data-table.responsive tbody,
  .data-table.responsive tr,
  .data-table.responsive td { display: block; width: 100%; }
  .data-table.responsive tr {
    padding: 13px 16px;
    border-bottom: 1px solid var(--line);
  }
  .data-table.responsive tr:last-child { border-bottom: 0; }
  .data-table.responsive td,
  .panel.flush .data-table.responsive td:first-child,
  .panel.flush .data-table.responsive td:last-child {
    padding: 5px 0;
    border: 0;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
  }
  .data-table.responsive td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
  }
  .data-table.responsive td[data-label="任务"] { display: block; padding-bottom: 10px; }
  .data-table.responsive td[data-label="任务"]::before { display: none; }
  .data-table.responsive .button-row { justify-content: flex-start; }
  .task-title-cell { min-width: 0; }

  .modal-backdrop { padding: 10px; align-items: end; }
  .modal { width: 100%; max-height: calc(100vh - 20px); padding: 22px 18px; border-radius: var(--radius-lg) var(--radius-lg) var(--radius-sm) var(--radius-sm); }
  .modal-actions { flex-direction: column-reverse; }
  .modal-actions .button { width: 100%; }
  .image-modal-stage { padding: 10px; place-items: center; }
}

@media (max-width: 430px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-label { font-size: 10px; }
  .stat-card { padding: 14px; }
  .stat-value { font-size: 30px; }
  .filters-grid { grid-template-columns: 1fr; }
  .filters-grid .field:first-child { grid-column: auto; }
  .storage-grid { grid-template-columns: 1fr; }
  .detail-meta-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Designer frontend: reuses the existing tokens and controls in a mobile-first shell. */
.status-lobby {
  color: #186f86;
  background: #e6f6fa;
}

.stat-dot.lobby {
  background: var(--accent);
}

.app-shell.designer-mode {
  display: block;
  min-height: 100vh;
  background: #f5f8fa;
}

.designer-mode .sidebar,
.designer-mode .sidebar-overlay,
.designer-mode .menu-button {
  display: none !important;
}

.designer-mode .content-shell {
  width: 100%;
}

.designer-mode .topbar {
  min-height: 76px;
  padding: 12px max(20px, calc((100vw - 1120px) / 2));
  border-bottom-color: rgba(202, 216, 223, 0.9);
  background: rgba(255, 255, 255, 0.94);
}

.designer-mode .topbar h1 {
  font-size: 22px;
}

.designer-mode .page-content {
  width: min(100%, 1120px);
  min-height: calc(100vh - 76px);
  padding: 30px 22px 116px;
}

.designer-logout-button {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  color: var(--muted);
  background: var(--surface);
  font-size: 12px;
  font-weight: 750;
}

.designer-nav {
  position: fixed;
  z-index: 42;
  left: 50%;
  bottom: 18px;
  width: min(560px, calc(100vw - 32px));
  min-height: 68px;
  padding: 7px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 52px rgba(29, 52, 64, 0.18);
  transform: translateX(-50%);
  backdrop-filter: blur(16px);
}

.designer-nav-item {
  min-width: 0;
  min-height: 52px;
  padding: 5px 7px;
  border: 0;
  border-radius: var(--radius-control);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  color: var(--muted);
  background: transparent;
}

.designer-nav-item span {
  width: 25px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-tag);
  font-size: 12px;
  font-weight: 900;
}

.designer-nav-item strong {
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.designer-nav-item.active {
  color: var(--accent-strong);
  background: var(--accent-soft);
}

.designer-front-page {
  gap: 20px;
}

.designer-welcome {
  padding: clamp(24px, 5vw, 44px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
  border: 1px solid #cce6ed;
  border-radius: var(--radius-lg);
  background: #eaf7fa;
}

.designer-welcome.compact {
  padding: 28px 30px;
  align-items: center;
  background: var(--surface);
}

.designer-welcome h2 {
  max-width: 700px;
  margin: 10px 0 8px;
  font-size: clamp(27px, 4vw, 43px);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.designer-welcome.compact h2 {
  font-size: clamp(27px, 3vw, 36px);
}

.designer-welcome p {
  max-width: 720px;
  margin: 0;
  color: #55727e;
}

.designer-front-pill,
.task-source {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: var(--radius-tag);
  color: var(--accent-strong);
  background: rgba(19, 140, 175, 0.11);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.task-source.lobby {
  color: #276a53;
  background: var(--success-soft);
}

.lobby-callout {
  padding: 20px 22px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.lobby-callout-count {
  min-width: 96px;
  padding-right: 20px;
  border-right: 1px solid var(--line);
}

.lobby-callout-count strong {
  display: block;
  color: var(--accent-strong);
  font-size: 36px;
  line-height: 1;
}

.lobby-callout-count span,
.lobby-callout p {
  color: var(--muted);
  font-size: 12px;
}

.lobby-callout h3,
.lobby-callout p {
  margin: 0;
}

.designer-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.designer-stat-row > div {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
}

.designer-stat-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.designer-stat-row strong {
  font-size: 28px;
  line-height: 1;
}

.designer-section-heading {
  margin: 4px 0 14px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.designer-section-heading .eyebrow {
  margin-bottom: 2px;
}

.designer-section-heading h2 {
  margin: 0;
  font-size: 24px;
}

.refresh-time {
  color: var(--muted);
  font-size: 11px;
}

.designer-task-list,
.lobby-task-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.designer-task-card,
.lobby-task-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.designer-task-card-top,
.lobby-task-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lobby-task-head > small {
  color: var(--muted);
  font-size: 10px;
}

.designer-task-card-copy {
  flex: 1;
  margin: 18px 0;
}

.designer-task-card-copy small {
  color: var(--muted);
  font-size: 10px;
}

.designer-task-card h3,
.lobby-task-card h3 {
  margin: 6px 0 7px;
  font-size: 19px;
  line-height: 1.35;
}

.designer-task-card p,
.lobby-task-card > p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.designer-task-meta,
.lobby-task-facts {
  margin: 2px 0 16px;
  padding: 13px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  border-top: 1px solid var(--line);
}

.designer-task-meta span,
.lobby-task-facts span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.designer-task-meta small,
.lobby-task-facts small {
  color: var(--muted);
  font-size: 10px;
}

.designer-task-meta strong,
.lobby-task-facts strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lobby-task-card > p {
  min-height: 67px;
  margin-bottom: 14px;
}

.designer-segmented {
  padding: 5px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.designer-segmented button {
  min-height: 39px;
  border: 0;
  border-radius: var(--radius-control);
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 750;
}

.designer-segmented button.active {
  color: var(--accent-strong);
  background: var(--accent-soft);
}

.designer-context-banner {
  padding: 14px 17px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #c6e5ed;
  border-radius: var(--radius-sm);
  color: #286a7c;
  background: var(--accent-soft);
}

.designer-context-banner span {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 850;
}

.designer-context-banner p {
  margin: 0;
  font-size: 12px;
}

.designer-action-dock {
  display: none;
}

.dispatch-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.dispatch-choice label {
  position: relative;
  min-height: 96px;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: flex-start;
  gap: 11px;
  background: var(--surface);
  cursor: pointer;
}

.dispatch-choice label:has(input:checked) {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(19, 140, 175, 0.1);
}

.dispatch-choice input {
  margin-top: 4px;
  accent-color: var(--accent);
}

.dispatch-choice span {
  display: grid;
  gap: 5px;
}

.dispatch-choice small {
  color: var(--muted);
}

@media (max-width: 760px) {
  .designer-mode .topbar {
    min-height: 68px;
    padding: 10px 15px;
  }

  .designer-mode .today-label,
  .designer-mode .topbar-actions .avatar {
    display: none;
  }

  .designer-mode .page-content {
    min-height: calc(100vh - 68px);
    padding: 16px 13px 102px;
  }

  .designer-nav {
    bottom: 0;
    width: 100%;
    min-height: 72px;
    padding: 6px max(6px, env(safe-area-inset-right)) max(6px, env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left));
    border-width: 1px 0 0;
    border-radius: var(--radius) var(--radius) 0 0;
    transform: translateX(-50%);
  }

  .designer-welcome,
  .designer-welcome.compact {
    padding: 22px 20px;
    align-items: stretch;
    flex-direction: column;
    border-radius: var(--radius-lg);
  }

  .designer-welcome h2,
  .designer-welcome.compact h2 {
    font-size: 29px;
  }

  .designer-welcome .button {
    width: 100%;
  }

  .lobby-callout {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
  }

  .lobby-callout-count {
    min-width: 70px;
    padding-right: 14px;
  }

  .lobby-callout .button {
    grid-column: span 2;
    width: 100%;
  }

  .designer-stat-row {
    gap: 7px;
  }

  .designer-stat-row > div {
    padding: 13px 10px;
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    border-radius: var(--radius);
  }

  .designer-task-list,
  .lobby-task-list,
  .dispatch-choice {
    grid-template-columns: 1fr;
  }

  .designer-task-card,
  .lobby-task-card {
    padding: 18px;
    border-radius: var(--radius);
  }

  .designer-context-banner {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .designer-front-page .hero-row .hero-actions {
    display: none;
  }

  .designer-action-dock {
    position: sticky;
    z-index: 26;
    bottom: 78px;
    padding: 10px;
    display: block;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 30px rgba(28, 49, 61, 0.16);
  }

  .designer-action-dock .button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .designer-mode .topbar h1 {
    font-size: 19px;
  }

  .designer-segmented button {
    min-height: 37px;
    padding: 4px;
    font-size: 11px;
  }

  .designer-task-meta,
  .lobby-task-facts {
    grid-template-columns: 1fr;
  }

  .designer-logout-button {
    padding: 0 10px;
  }
}
