:root {
  --navy: #162443;
  --navy-soft: #223055;
  --aqua: #39d7f5;
  --aqua-soft: #dff8fc;
  --paper: #f8f5ee;
  --white: #ffffff;
  --ink: #28324d;
  --ink-soft: #66708b;
  --line: rgba(32, 48, 80, 0.12);
  --shadow: 0 24px 42px rgba(17, 29, 55, 0.12);
  --shadow-soft: 0 14px 28px rgba(17, 29, 55, 0.1);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  overflow-x: hidden;
}

body,
button,
input,
textarea {
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}

body {
  color: var(--ink);
  overflow-x: hidden;
}

.site-body {
  background:
    linear-gradient(180deg, rgba(248, 245, 238, 0) 0%, rgba(248, 245, 238, 1) 78%),
    var(--paper);
}

.site-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

.hero-stage {
  position: relative;
  background:
    linear-gradient(rgba(19, 29, 56, 0.74), rgba(19, 29, 56, 0.78)),
    radial-gradient(circle at left bottom, rgba(255, 255, 255, 0.16), transparent 34%),
    url("/hero-verein.jpg") center/cover no-repeat;
}

.hero-stage-admin {
  background:
    linear-gradient(rgba(19, 29, 56, 0.78), rgba(19, 29, 56, 0.82)),
    radial-gradient(circle at left bottom, rgba(255, 255, 255, 0.12), transparent 34%),
    url("https://images.unsplash.com/photo-1517457373958-b7bdd4587205?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.login-chip,
.action-pill,
.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--aqua);
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 120ms ease, opacity 120ms ease;
}

.public-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.login-chip-secondary {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  box-shadow: none;
}

.login-chip:hover,
.action-pill:hover,
.nav-link:hover {
  transform: translateY(-1px);
}

.action-pill-secondary {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  box-shadow: none;
}

.action-pill:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}

.brand-lockup {
  text-align: right;
}

.brand-line {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.76);
}

.brand-name {
  display: block;
  margin-top: 4px;
  color: var(--aqua);
  font-size: clamp(1.2rem, 2.2vw, 1.95rem);
  font-weight: 800;
  text-transform: uppercase;
}

.hero-copywrap {
  max-width: 1080px;
  margin: 84px auto 0;
  position: relative;
}

.hero-copywrap-admin {
  margin-top: 72px;
}

.hero-kicker,
.section-kicker {
  margin: 0 0 12px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-kicker {
  color: rgba(255, 255, 255, 0.82);
}

.hero-copywrap h1 {
  margin: 0;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.8vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.2);
}

.hero-wave {
  margin-right: 8px;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}

.hero-lead {
  max-width: 900px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  line-height: 1.55;
}

.hero-edit-button {
  position: absolute;
  top: -8px;
  right: 0;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.hero-edit-button:hover {
  background: rgba(255, 255, 255, 0.26);
}

.content-stage {
  display: grid;
  gap: 42px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2vw, 2.2rem);
  line-height: 1.05;
}

.section-kicker {
  color: var(--ink-soft);
}

.count-token {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 122px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(57, 215, 245, 0.14);
  color: var(--navy);
  font-weight: 800;
}

.count-token-done {
  background: rgba(22, 36, 67, 0.08);
}

.accordion-list {
  display: grid;
  gap: 18px;
}

.task-accordion {
  overflow: hidden;
  border: 1px solid rgba(36, 48, 78, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(241, 252, 255, 0.95), rgba(255, 255, 255, 0.98));
  box-shadow: var(--shadow-soft);
}

.task-accordion-done {
  background: linear-gradient(180deg, rgba(247, 251, 255, 0.95), rgba(255, 255, 255, 0.98));
}

.task-accordion.task-urgency-green {
  background: linear-gradient(180deg, rgba(232, 247, 234, 0.96), rgba(255, 255, 255, 0.98));
  border-color: rgba(90, 182, 113, 0.2);
}

.task-accordion.task-urgency-yellow {
  background: linear-gradient(180deg, rgba(255, 248, 221, 0.96), rgba(255, 255, 255, 0.98));
  border-color: rgba(232, 197, 84, 0.22);
}

.task-accordion.task-urgency-red {
  background: linear-gradient(180deg, rgba(255, 236, 236, 0.96), rgba(255, 255, 255, 0.98));
  border-color: rgba(231, 122, 122, 0.22);
}

.task-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  cursor: pointer;
  list-style: none;
}

.task-summary::-webkit-details-marker {
  display: none;
}

.task-summary-main,
.task-summary-side {
  display: grid;
  gap: 8px;
}

.task-summary-side {
  justify-items: end;
  text-align: right;
}

.task-summary-hint {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 700;
}

.task-content {
  display: grid;
  gap: 18px;
  padding: 28px 24px 28px;
  border-top: 1px solid var(--line);
}

.task-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.task-card-field {
  display: grid;
  gap: 10px;
}

.task-field-label {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.task-card-actions {
  display: flex;
  justify-content: flex-end;
}

.task-complete-button {
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--aqua);
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.task-complete-button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.task-table {
  overflow: hidden;
  border: 1px solid rgba(36, 48, 78, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(241, 252, 255, 0.95), rgba(255, 255, 255, 0.98));
}

.task-table-header,
.task-row {
  display: grid;
  align-items: center;
  gap: 16px;
}

.task-table-open-header,
.task-row-open {
  grid-template-columns: minmax(220px, 1.7fr) minmax(130px, 0.85fr) minmax(180px, 1.1fr) minmax(170px, 0.95fr) minmax(220px, 1.2fr) 86px;
}

.task-table-done-header,
.task-table-done-row {
  grid-template-columns: minmax(220px, 1.6fr) minmax(130px, 0.85fr) minmax(200px, 1.15fr) minmax(200px, 1.15fr) 110px;
}

.task-table-header {
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 800;
}

.task-table-body {
  display: grid;
}

.task-row {
  padding: 18px 24px;
  border-top: 1px solid var(--line);
}

.task-row:nth-child(odd) {
  background: linear-gradient(90deg, rgba(57, 215, 245, 0.16), rgba(57, 215, 245, 0.04) 38%, rgba(255, 255, 255, 0.82) 100%);
}

.task-row-done:nth-child(odd) {
  background: rgba(22, 36, 67, 0.03);
}

.task-cell {
  min-width: 0;
}

.task-name {
  font-size: clamp(1.06rem, 1.8vw, 1.32rem);
  font-weight: 600;
}

.task-category {
  display: inline-flex;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(57, 215, 245, 0.14);
  color: #14869b;
  font-size: 0.82rem;
  font-weight: 800;
}

.task-period,
.task-note-block,
.task-note-muted,
.status-banner,
.admin-access-hint,
.admin-task-note,
.admin-task-meta {
  color: var(--ink-soft);
  line-height: 1.5;
}

.task-period,
.admin-task-period {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(22, 36, 67, 0.08);
  color: var(--ink);
  font-weight: 800;
}

.task-period-green,
.admin-task-period-green {
  background: rgba(90, 182, 113, 0.16);
  color: #1f6f50;
}

.task-period-yellow,
.admin-task-period-yellow {
  background: rgba(232, 197, 84, 0.18);
  color: #8b6807;
}

.task-period-red,
.admin-task-period-red {
  background: rgba(231, 122, 122, 0.18);
  color: #a03b3b;
}

.task-inline-input,
.task-inline-note,
.editor-field input,
.editor-field textarea {
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(21, 30, 54, 0.14);
  color: var(--ink);
}

.task-inline-input,
.editor-field input {
  min-height: 52px;
  padding: 14px 18px;
}

.task-inline-note,
.editor-field textarea {
  min-height: 52px;
  padding: 14px 18px;
  resize: vertical;
  border-radius: 22px;
}

.task-inline-input::placeholder,
.task-inline-note::placeholder,
.editor-field input::placeholder,
.editor-field textarea::placeholder {
  color: #959db2;
}

.task-complete-cell {
  display: flex;
  justify-content: center;
}

.task-toggle {
  width: 46px;
  height: 46px;
  border: 4px solid #1aa4bd;
  border-radius: 15px;
  background: transparent;
  cursor: pointer;
}

.task-toggle:hover {
  background: rgba(57, 215, 245, 0.12);
}

.task-toggle:disabled {
  opacity: 0.55;
  cursor: wait;
}

.task-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(31, 167, 194, 0.13);
  color: #16869b;
  font-weight: 800;
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.status-banner {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.92);
}

.admin-access-hint {
  margin-top: 14px;
  max-width: 760px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.96);
}

.admin-access-hint code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.editor-form {
  display: grid;
  grid-template-columns: 1.2fr 1fr 160px;
  gap: 18px;
}

.material-panel {
  max-width: 980px;
  margin: 0 auto;
}

.material-form {
  display: grid;
  gap: 18px;
}

.material-status {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 700;
  line-height: 1.5;
}

.editor-field {
  display: grid;
  gap: 10px;
}

.editor-field span {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ink-soft);
}

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

.editor-toggle-field {
  grid-column: span 2;
}

.editor-toggle-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 14px 18px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(21, 30, 54, 0.14);
}

.editor-toggle-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--aqua);
}

.editor-toggle-row label {
  color: var(--ink);
  font-weight: 600;
}

.editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  grid-column: 1 / -1;
}

.editor-dialog {
  width: min(920px, calc(100% - 24px));
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 60px rgba(17, 29, 55, 0.22);
}

.editor-dialog::backdrop {
  background: rgba(14, 22, 42, 0.5);
  backdrop-filter: blur(4px);
}

.editor-dialog-form {
  display: grid;
  gap: 24px;
  padding: 28px;
}

.editor-dialog-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.editor-dialog-head h2 {
  margin: 6px 0 0;
}

.editor-dialog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.dialog-close {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(22, 36, 67, 0.08);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.admin-task-grid {
  display: grid;
  gap: 18px;
}

.admin-task-groups {
  display: grid;
  gap: 18px;
}

.admin-task-group {
  overflow: hidden;
  border: 1px solid rgba(36, 48, 78, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(241, 252, 255, 0.82), rgba(255, 255, 255, 0.98));
  box-shadow: var(--shadow-soft);
}

.admin-task-group-done {
  background: linear-gradient(180deg, rgba(247, 251, 255, 0.9), rgba(255, 255, 255, 0.98));
}

.admin-task-group-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  cursor: pointer;
  list-style: none;
}

.admin-task-group-summary::-webkit-details-marker {
  display: none;
}

.admin-task-group-summary h3 {
  margin: 6px 0 0;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
}

.admin-task-group > .admin-task-grid {
  padding: 0 24px 24px;
}

.admin-task-grid.is-reordering {
  cursor: grabbing;
}

.bulk-toolbar {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(22, 36, 67, 0.04);
  border: 1px solid rgba(36, 48, 78, 0.08);
}

.bulk-toolbar-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
}

.bulk-toolbar-label {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.bulk-toolbar-count {
  font-weight: 800;
  color: var(--navy);
}

.bulk-toolbar-field {
  display: grid;
  gap: 8px;
  max-width: 520px;
}

.bulk-toolbar-field span {
  font-size: 0.92rem;
  font-weight: 800;
}

.bulk-toolbar-field input {
  min-height: 48px;
  padding: 12px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(21, 30, 54, 0.12);
  color: var(--ink);
}

.bulk-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-task-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(240, 251, 255, 0.85), rgba(255, 255, 255, 0.98));
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.admin-task-card.is-selected {
  outline: 3px solid rgba(57, 215, 245, 0.28);
  box-shadow: 0 0 0 6px rgba(57, 215, 245, 0.08);
}

.admin-task-card.is-dragging {
  opacity: 0.5;
  transform: scale(0.985);
}

.admin-task-card.is-drop-target {
  border-color: rgba(57, 215, 245, 0.8);
  box-shadow: 0 0 0 5px rgba(57, 215, 245, 0.12);
}

.admin-task-card.is-drop-blocked {
  border-color: rgba(231, 122, 122, 0.9);
  box-shadow: 0 0 0 5px rgba(231, 122, 122, 0.12);
}

.admin-task-card-done {
  background: linear-gradient(180deg, rgba(228, 247, 240, 0.92), rgba(255, 255, 255, 0.98));
}

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

.material-admin-link-row {
  display: flex;
  justify-content: flex-start;
  margin: -8px 0 24px;
}

.material-need-card {
  background: linear-gradient(180deg, rgba(241, 252, 255, 0.92), rgba(255, 255, 255, 0.98));
}

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

.material-need-card-procured {
  background: linear-gradient(180deg, rgba(228, 247, 240, 0.92), rgba(255, 255, 255, 0.98));
}

.material-need-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto auto;
  align-items: end;
  gap: 12px;
  margin-top: 18px;
}

.material-assign-field {
  min-width: 0;
}

.admin-task-card-urgency-green {
  background: linear-gradient(180deg, rgba(232, 247, 234, 0.96), rgba(255, 255, 255, 0.98));
  border-color: rgba(90, 182, 113, 0.2);
}

.admin-task-card-urgency-yellow {
  background: linear-gradient(180deg, rgba(255, 248, 221, 0.96), rgba(255, 255, 255, 0.98));
  border-color: rgba(232, 197, 84, 0.22);
}

.admin-task-card-urgency-red {
  background: linear-gradient(180deg, rgba(255, 236, 236, 0.96), rgba(255, 255, 255, 0.98));
  border-color: rgba(231, 122, 122, 0.22);
}

.admin-status-block {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.admin-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(22, 36, 67, 0.08);
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 800;
}

.admin-status-badge-done {
  background: rgba(52, 173, 124, 0.18);
  color: #1f6f50;
}

.admin-item-row,
.admin-task-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.admin-item-main {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.admin-drag-handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  min-width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: rgba(22, 36, 67, 0.08);
  color: var(--ink-soft);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.08em;
  cursor: grab;
}

.admin-drag-handle:active {
  cursor: grabbing;
}

.admin-task-title {
  margin: 0;
  font-size: 1.3rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.admin-task-meta {
  margin: 0 0 8px;
}

.admin-task-period {
  margin: 0 0 8px;
}

.admin-task-note {
  margin: 14px 0 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.admin-task-select {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 6px;
  color: var(--ink);
  font-weight: 700;
  min-width: 0;
  white-space: normal;
}

.admin-task-select input {
  width: 18px;
  height: 18px;
  accent-color: var(--aqua);
}

.admin-task-select span {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.admin-private {
  margin: 16px 0 0;
  color: var(--ink);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.admin-task-actions {
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 18px;
}

.button-secondary-dark,
.button-danger-dark {
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.button-secondary-dark {
  background: rgba(22, 36, 67, 0.08);
  color: var(--ink);
}

.button-danger-dark {
  background: #8a3d43;
  color: var(--white);
}

.button-secondary-dark:disabled,
.button-danger-dark:disabled {
  opacity: 0.55;
  cursor: wait;
}

.empty-state {
  padding: 24px;
  color: var(--ink-soft);
}

@media (max-width: 1120px) {
  .task-summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .task-summary-side {
    justify-items: start;
    text-align: left;
  }

  .task-info-grid {
    grid-template-columns: 1fr;
  }

  .task-table-header {
    display: none;
  }

  .task-row,
  .task-row-open,
  .task-table-done-row {
    grid-template-columns: 1fr;
  }

  .task-complete-cell {
    justify-content: flex-start;
  }

  .editor-form,
  .editor-dialog-grid,
  .material-need-grid,
  .material-need-admin-grid,
  .material-need-controls {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero-shell {
    padding-left: 14px;
    padding-right: 14px;
  }

  .panel {
    padding: 22px;
  }

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

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .count-token,
  .count-token-done {
    min-width: 0;
  }

  .brand-lockup {
    text-align: left;
  }

  .hero-copywrap,
  .hero-copywrap-admin {
    margin-top: 56px;
  }

  .hero-edit-button {
    top: -18px;
  }

  .editor-dialog-form {
    padding: 22px;
  }

  .admin-task-group-summary {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 18px 16px;
  }

  .admin-task-group > .admin-task-grid {
    padding: 0 18px 18px;
  }

  .bulk-toolbar {
    padding: 16px;
  }

  .bulk-toolbar-field {
    max-width: none;
  }

  .admin-task-card {
    padding: 18px;
    overflow: hidden;
  }

  .admin-item-row,
  .admin-item-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-item-main {
    width: 100%;
    min-width: 0;
    gap: 10px;
  }

  .admin-status-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
  }

  .admin-task-title {
    overflow-wrap: anywhere;
  }

  .admin-task-select {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
    width: 100%;
  }

  .admin-task-select span {
    display: block;
    width: 100%;
  }

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

  .admin-task-note,
  .admin-private,
  .admin-task-period,
  .admin-status-badge,
  .admin-task-meta {
    width: 100%;
    min-width: 0;
  }

  .button-secondary-dark,
  .button-danger-dark {
    width: 100%;
  }
}
