:root {
  color-scheme: light;
  --bg: #f4f5f2;
  --panel: #ffffff;
  --panel-soft: #f8f8f5;
  --line: #d8ded2;
  --line-strong: #bac6b1;
  --ink: #17201a;
  --muted: #667064;
  --muted-strong: #3e4a42;
  --accent: #167a5b;
  --accent-strong: #0d6047;
  --accent-soft: #e2f3ec;
  --warm: #cb5f45;
  --warm-soft: #f8e8e2;
  --gold: #946c1f;
  --gold-soft: #f3ead2;
  --shadow: 0 18px 50px rgba(29, 43, 34, 0.12);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  overflow: hidden;
}

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

button {
  cursor: pointer;
}

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

.login-screen {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(rgba(244, 245, 242, 0.86), rgba(244, 245, 242, 0.94)),
    repeating-linear-gradient(
      90deg,
      rgba(22, 122, 91, 0.08) 0,
      rgba(22, 122, 91, 0.08) 1px,
      transparent 1px,
      transparent 28px
    );
}

.login-screen.is-hidden {
  display: none;
}

.login-panel {
  width: min(420px, 100%);
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.login-panel h1,
.login-panel p {
  margin: 0;
}

.login-panel h1 {
  font-size: 28px;
  line-height: 1.1;
}

.login-panel p {
  color: var(--muted);
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}

.login-panel label,
.task-dialog label {
  display: grid;
  gap: 7px;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 700;
}

.login-panel input,
.task-dialog input,
.task-dialog textarea,
.task-dialog select,
.search-wrap input,
.composer textarea {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  outline: none;
}

.login-panel input,
.task-dialog input,
.task-dialog textarea,
.task-dialog select {
  padding: 11px 12px;
}

.login-panel input:focus,
.task-dialog input:focus,
.task-dialog textarea:focus,
.task-dialog select:focus,
.search-wrap input:focus,
.composer textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(22, 122, 91, 0.12);
}

.login-panel button,
.primary-button,
.send-button {
  border: 0;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}

.login-panel button,
.primary-button {
  padding: 11px 14px;
}

.login-panel button:hover,
.primary-button:hover,
.send-button:hover {
  background: var(--accent-strong);
}

.app-shell {
  height: 100vh;
  display: grid;
  grid-template-columns: minmax(230px, 280px) minmax(0, 1fr) minmax(300px, 360px);
  background: var(--bg);
}

.app-shell[aria-hidden="true"] {
  filter: blur(1px);
}

.chat-sidebar,
.conversation-panel,
.task-sidebar {
  min-width: 0;
  min-height: 0;
}

.chat-sidebar,
.task-sidebar {
  display: flex;
  flex-direction: column;
  background: var(--panel);
}

.chat-sidebar {
  border-right: 1px solid var(--line);
}

.task-sidebar {
  border-left: 1px solid var(--line);
}

.sidebar-header,
.conversation-header,
.task-header,
.task-dialog header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--line);
}

.sidebar-header h2,
.conversation-header h1,
.task-header h2,
.task-dialog h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
}

.conversation-header h1 {
  font-size: 23px;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.icon-button {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-soft);
  color: var(--muted-strong);
  font-size: 18px;
  font-weight: 800;
}

.icon-button:hover,
.icon-button:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.search-wrap {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  margin: 14px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-soft);
  color: var(--muted);
}

.search-wrap input {
  width: 100%;
  padding: 10px 0;
  border: 0;
  background: transparent;
}

.chat-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 0 10px 12px;
}

.chat-filter {
  min-height: 30px;
  padding: 0 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 800;
}

.chat-filter.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.chat-list {
  display: grid;
  gap: 6px;
  padding: 0 10px 16px;
  overflow-y: auto;
}

.chat-item {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.chat-item:hover {
  background: var(--panel-soft);
}

.chat-item.is-active {
  border-color: var(--line-strong);
  background: var(--accent-soft);
}

.chat-item[data-chat-type="direct"] .avatar {
  background: var(--muted-strong);
}

.chat-item[data-chat-type="group"] .avatar {
  background: var(--gold);
}

.chat-item[data-chat-type="task"] .avatar {
  background: var(--accent-strong);
}

.avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--muted-strong);
  color: #fff;
  font-weight: 900;
}

.chat-name,
.chat-preview,
.task-title,
.task-source,
.message-text {
  overflow-wrap: anywhere;
}

.chat-name {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.22;
}

.chat-kind {
  width: fit-content;
  display: block;
  margin-bottom: 3px;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--panel-soft);
  color: var(--muted);
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
}

.chat-item[data-chat-type="direct"] .chat-kind {
  color: var(--muted-strong);
}

.chat-item[data-chat-type="group"] .chat-kind {
  background: var(--gold-soft);
  color: var(--gold);
}

.chat-item[data-chat-type="task"] .chat-kind {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.chat-preview {
  display: -webkit-box;
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.25;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.chat-time {
  align-self: start;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.conversation-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  background:
    linear-gradient(rgba(248, 248, 245, 0.82), rgba(248, 248, 245, 0.82)),
    radial-gradient(circle at 1px 1px, rgba(102, 112, 100, 0.16) 1px, transparent 0);
  background-size: auto, 22px 22px;
}

.header-actions {
  display: flex;
  gap: 8px;
}

.message-stream {
  min-height: 0;
  padding: 20px clamp(16px, 3vw, 40px);
  overflow-y: auto;
  scroll-behavior: smooth;
}

.day-divider {
  width: fit-content;
  margin: 0 auto 18px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.participant-panel {
  position: sticky;
  top: 0;
  z-index: 3;
  display: grid;
  gap: 10px;
  margin: 0 auto 16px;
  width: min(720px, 100%);
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
}

.participant-line {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
}

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

.participant-line > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.participant-chip {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 7px 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-soft);
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 900;
}

.participant-chip button {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
  font-weight: 900;
}

.participant-request {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.participant-request div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.participant-request strong {
  font-size: 13px;
}

.participant-request span,
.participant-request p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.message-row {
  display: flex;
  margin: 10px 0;
}

.message-row.is-me {
  justify-content: flex-end;
}

.message-bubble {
  position: relative;
  width: min(620px, 82%);
  padding: 10px 44px 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 4px 16px rgba(29, 43, 34, 0.06);
  touch-action: none;
  transition:
    transform 120ms ease,
    box-shadow 120ms ease,
    border-color 120ms ease;
  will-change: transform;
}

.message-bubble::before {
  content: attr(data-swipe-label);
  position: absolute;
  inset: auto 42px calc(100% + 4px) auto;
  min-height: 24px;
  display: grid;
  place-items: center;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--muted-strong);
  font-size: 11px;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition:
    opacity 120ms ease,
    transform 120ms ease,
    border-color 120ms ease,
    color 120ms ease;
}

.message-bubble.is-swiping {
  z-index: 2;
  cursor: grabbing;
}

.message-bubble.is-swiping::before {
  opacity: 1;
  transform: translateY(0);
}

.message-bubble.is-swipe-ready {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(22, 122, 91, 0.14);
}

.message-bubble.is-swipe-ready::before {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.message-row.is-me .message-bubble {
  border-color: #b6d7ca;
  background: #e7f6ef;
}

.message-bubble.is-linked {
  border-color: var(--warm);
  box-shadow: 0 0 0 3px rgba(203, 95, 69, 0.14);
}

.message-bubble.has-task {
  border-left: 4px solid var(--accent);
}

.message-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.message-author {
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 900;
}

.message-time {
  color: var(--muted);
  font-size: 12px;
}

.message-text {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.42;
}

.message-image {
  width: min(330px, 100%);
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  margin: 8px 0 2px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-soft);
}

.message-menu-button {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  font-weight: 900;
  opacity: 0;
}

.message-bubble:hover .message-menu-button,
.message-menu-button:focus-visible {
  opacity: 1;
}

.message-menu-button:hover {
  border-color: var(--line);
  background: var(--panel-soft);
  color: var(--accent);
}

.composer {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding: 14px clamp(14px, 3vw, 28px);
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}

.composer textarea {
  width: 100%;
  max-height: 130px;
  resize: none;
  padding: 10px 12px;
  line-height: 1.35;
}

.send-button {
  min-height: 38px;
  padding: 0 16px;
}

.task-filters {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}

.filter-pill {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.filter-pill.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.task-list {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px;
  overflow-y: auto;
}

.task-empty {
  padding: 22px 4px;
  color: var(--muted);
  line-height: 1.45;
}

.task-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.reminder-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #c8d2df;
  border-radius: var(--radius);
  background: #f8fbff;
}

.task-card[data-status="doing"] {
  border-color: #d5bf7c;
  background: #fffaf0;
}

.task-card[data-status="done"] {
  border-color: #bad5c9;
  background: #f1fbf6;
}

.task-topline {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}

.task-title {
  margin: 0;
  font-size: 15px;
  line-height: 1.3;
}

.task-assignee {
  margin: -2px 0 0;
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 800;
}

.task-acceptance {
  margin: -2px 0 0;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.task-origin {
  width: fit-content;
  margin: -2px 0 0;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--panel-soft);
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.status-badge {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--warm-soft);
  color: var(--warm);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.task-card[data-status="doing"] .status-badge {
  background: var(--gold-soft);
  color: var(--gold);
}

.task-card[data-status="done"] .status-badge {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.reminder-card .status-badge {
  background: #e8eef8;
  color: #335c88;
}

.reminder-card[data-status="done"] {
  opacity: 0.72;
}

.reminder-time {
  margin: -2px 0 0;
  color: #335c88;
  font-size: 13px;
  font-weight: 900;
}

.sidebar-section-label {
  margin: 8px 2px 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.task-source {
  margin: 0;
  padding-left: 10px;
  border-left: 3px solid var(--line-strong);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.task-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-items: center;
}

.task-actions select {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 36px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}

.task-primary-action {
  grid-column: 1 / -1;
}

.source-button,
.ghost-button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted-strong);
  font-weight: 800;
}

.source-button {
  padding: 0 10px;
  white-space: nowrap;
}

.source-button:disabled {
  cursor: default;
  opacity: 0.62;
}

.source-button:hover,
.ghost-button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.context-menu {
  position: fixed;
  z-index: 20;
  width: 220px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.context-menu button {
  width: 100%;
  min-height: 36px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-weight: 700;
}

.context-menu button:hover {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.swipe-toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 30;
  max-width: min(360px, calc(100vw - 32px));
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted-strong);
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 800;
  transform: translateX(-50%);
}

.task-dialog {
  width: min(560px, calc(100vw - 28px));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.task-dialog::backdrop {
  background: rgba(23, 32, 26, 0.35);
}

.task-dialog form {
  display: grid;
  gap: 16px;
  padding: 0 18px 18px;
}

.task-dialog header {
  margin: 0 -18px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.logic-note {
  display: grid;
  gap: 5px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-soft);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.logic-note span {
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 800;
}

.mode-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mode-picker label {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-soft);
  color: var(--muted-strong);
  font-weight: 900;
}

.mode-picker label:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.member-picker {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.member-picker legend {
  margin-bottom: 8px;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 800;
}

#groupMemberList {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

#taskGroupMemberList {
  max-height: 210px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  overflow-y: auto;
  padding-right: 2px;
}

.member-option {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 8px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.member-option span,
.member-option small {
  overflow-wrap: anywhere;
}

.member-option small {
  grid-column: 2;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.invite-mode-list {
  display: grid;
  gap: 8px;
}

.invite-mode {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 9px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.invite-mode:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.invite-mode span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.invite-mode small {
  grid-column: 2;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.task-dialog blockquote {
  margin: 0;
  padding: 12px;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--panel-soft);
  color: var(--muted-strong);
  line-height: 1.4;
}

.task-dialog footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.ghost-button,
.primary-button {
  min-width: 104px;
}

@media (max-width: 1040px) {
  .app-shell {
    grid-template-columns: 86px minmax(0, 1fr) minmax(290px, 330px);
  }

  .sidebar-header {
    justify-content: center;
  }

  .sidebar-header > div,
  .search-wrap,
  .chat-filters,
  .chat-preview,
  .chat-kind,
  .chat-time {
    display: none;
  }

  .chat-list {
    padding: 12px 8px;
  }

  .chat-item {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 8px;
  }

  .chat-name {
    font-size: 11px;
    text-align: center;
  }
}

@media (max-width: 760px) {
  body {
    overflow: hidden;
  }

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

  .chat-sidebar {
    display: none;
  }

  .conversation-header {
    min-height: 68px;
  }

  .conversation-header h1 {
    font-size: 19px;
  }

  .message-stream {
    padding: 14px 10px;
  }

  .message-bubble {
    width: min(92vw, 620px);
  }

  .task-sidebar {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 8;
    width: min(88vw, 360px);
    box-shadow: var(--shadow);
    transform: translateX(104%);
    transition: transform 160ms ease;
  }

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

  .composer {
    grid-template-columns: 38px minmax(0, 1fr) 78px;
    padding: 10px;
  }

  .send-button {
    padding: 0 10px;
  }

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

  .participant-line,
  .participant-request div {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .participant-request div {
    display: grid;
  }

  #groupMemberList,
  #taskGroupMemberList,
  .mode-picker {
    grid-template-columns: 1fr;
  }
}
