:root {
  --bg: #eef0eb;
  --surface: #ffffff;
  --surface-2: #f1f2ee;
  --surface-3: #ffffff;
  --text: #121212;
  --muted: #696c67;
  --faint: #a5a8a2;
  --line: #cfd2cc;
  --accent: #20211f;
  --accent-soft: rgba(32, 33, 31, .08);
  --blue: #537da3;
  --cyan: #0891b2;
  --green: #5f8b72;
  --amber: #c48a2b;
  --red: #b8655b;
  --radius: 8px;
  --shadow: 4px 5px 0 rgba(32, 33, 31, .14);
  --font: "Plus Jakarta Sans", "Noto Sans Thai", system-ui, sans-serif;
}

[data-theme="dark"] {
  --bg: #dfe2dc;
  --surface: #f7f8f5;
  --surface-2: #e9ebe6;
  --surface-3: #ffffff;
  --text: #20211f;
  --muted: #626660;
  --faint: #969a94;
  --line: #bfc3bc;
  --accent: #20211f;
  --accent-soft: rgba(32, 33, 31, .09);
  --shadow: 4px 5px 0 rgba(32, 33, 31, .16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255,255,255,.45), rgba(255,255,255,0) 360px),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  letter-spacing: 0;
}

button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }

.offline-banner {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--red);
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
}

.shell {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 16px 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.brand, .top-actions, .avatar-area, .sync-status, .tabs, .tab-btn, .primary-button,
.secondary-button, .danger-button, .icon-button, .ghost-icon, .section-heading,
.kanban-column-header > div, .task-actions, .toast, .warning-text {
  display: flex;
  align-items: center;
}

.brand { gap: 14px; min-width: 0; }
.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--surface);
  border-radius: var(--radius);
  flex: 0 0 auto;
}
.brand h1 {
  font-size: clamp(1.7rem, 2.5vw, 2.6rem);
  line-height: .98;
  font-weight: 800;
}
.eyebrow {
  font-size: .68rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--muted);
}
.muted { color: var(--muted); font-size: .9rem; margin-top: 3px; }

.top-actions { gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.sync-status {
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255,255,255,.24);
  font-size: .82rem;
  font-weight: 700;
}
.status-dot { width: 8px; height: 8px; border-radius: 99px; background: var(--amber); }
.sync-status.synced .status-dot { background: var(--green); }
.sync-status.error .status-dot { background: var(--red); }
.sync-status.connecting .status-dot { animation: pulse 1s infinite; }
@keyframes pulse { 50% { transform: scale(1.35); opacity: .55; } }

.primary-button, .secondary-button, .danger-button, .icon-button, .ghost-icon {
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 40px;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
.primary-button, .secondary-button, .danger-button {
  gap: 8px;
  padding: 0 15px;
  font-weight: 800;
}
.primary-button { color: var(--surface); background: var(--accent); border-color: var(--accent); }
.secondary-button { color: var(--text); background: transparent; }
.danger-button { color: #fff; background: var(--red); border-color: var(--red); }
.icon-button, .ghost-icon { width: 40px; background: transparent; color: var(--text); }
.icon-button.notification-enabled { background: var(--accent); color: var(--surface); border-color: var(--accent); }
.primary-button:hover, .secondary-button:hover, .danger-button:hover, .icon-button:hover, .ghost-icon:hover { transform: translateY(-1px); }
.secondary-button:hover, .icon-button:hover, .ghost-icon:hover { background: var(--surface-2); }
.sun-icon { display: block; }
.moon-icon, [data-theme="dark"] .sun-icon { display: none; }
[data-theme="dark"] .moon-icon { display: block; }
i, svg { width: 18px; height: 18px; stroke-width: 2; }

.hero-panel {
  min-height: 230px;
  margin: 28px 0 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 24px;
  align-items: end;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.hero-copy h2 {
  max-width: 760px;
  margin-top: 10px;
  font-size: clamp(2.2rem, 7vw, 6.2rem);
  line-height: .93;
  font-weight: 800;
}
.hero-copy p:last-child {
  max-width: 560px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}
.hero-number {
  justify-self: end;
  text-align: right;
}
.hero-number span {
  display: block;
  font-size: clamp(4.5rem, 12vw, 8.5rem);
  line-height: .8;
  font-weight: 500;
}
.hero-number small {
  display: inline-block;
  margin-top: 18px;
  color: var(--muted);
  font-weight: 800;
}

.tabs {
  gap: 8px;
  margin: 18px 0;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  width: fit-content;
  background: rgba(255,255,255,.22);
}
.tab-btn {
  gap: 8px;
  min-height: 38px;
  padding: 0 13px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
}
.tab-btn.active { background: var(--text); color: var(--surface); }

.control-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin-bottom: 20px;
}
.search-box {
  position: relative;
}
.search-box > i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}
.search-box input, .member-filter select, .form-group input, .form-group textarea, .form-group select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  outline: none;
}
.search-box input {
  height: 46px;
  padding: 0 48px 0 44px;
}
.search-box input:focus, .member-filter select:focus, .form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--text);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.search-box .ghost-icon {
  position: absolute;
  right: 4px;
  top: 3px;
  border: 0;
}
.member-filter {
  display: grid;
  gap: 5px;
}
.member-filter label, .form-group label {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
}
.member-filter select { min-width: 150px; height: 46px; padding: 0 12px; }

.loading {
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 180px;
  color: var(--muted);
  font-weight: 700;
}
.spinner {
  width: 32px;
  height: 32px;
  border: 2px solid var(--line);
  border-top-color: var(--text);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

#main-content, .view-content { display: grid; gap: 22px; min-width: 0; }
.view-content > section, .view-content > div { min-width: 0; }
.stats-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.stat-card {
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.stat-card strong {
  display: block;
  margin: 14px 0 8px;
  font-size: 3rem;
  line-height: .85;
  font-weight: 500;
}
.stat-card small { color: var(--muted); font-weight: 700; }
.stat-label { color: var(--muted); font-weight: 800; font-size: .78rem; }

.section-heading {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.section-heading h2 { font-size: 1rem; }
.section-heading p { color: var(--muted); font-size: .86rem; }

.team-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}
.member-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.member-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.member-avatar, .avatar-letter, .mini-avatar {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--member-color, var(--accent));
  color: #fff;
  font-weight: 800;
}
.member-avatar { width: 42px; height: 42px; }
.avatar-letter { width: 54px; height: 54px; font-size: 1.35rem; }
.member-card-name { font-weight: 800; }
.member-card-role { color: var(--muted); font-size: .8rem; margin-top: 2px; }
.member-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.member-stat-item { padding: 10px; background: var(--surface-2); border-radius: var(--radius); }
.member-stat-num { font-size: 1.3rem; font-weight: 800; }
.member-stat-label { color: var(--muted); font-size: .68rem; font-weight: 800; }
.progress-section { margin-top: 14px; }
.progress-section label { display: flex; justify-content: space-between; color: var(--muted); font-size: .78rem; font-weight: 800; margin-bottom: 7px; }
.progress-bar-bg { height: 7px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.progress-bar-fill { height: 100%; border-radius: 99px; background: var(--member-color, var(--accent)); }

.all-tasks-list-container {
  max-width: 100%;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.tasks-table { min-width: 820px; }
.table-row {
  display: grid;
  grid-template-columns: minmax(220px, 2fr) 150px 130px 160px 120px 88px;
  gap: 12px;
  align-items: center;
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
}
.table-row:last-child { border-bottom: 0; }
.table-header { background: var(--surface-2); color: var(--muted); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.task-title-cell { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.completed-text { text-decoration: line-through; color: var(--faint); }
.assignee-chip, .status-chip, .deadline-chip, .card-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  border-radius: 99px;
  padding: 5px 9px;
  font-size: .74rem;
  font-weight: 800;
  white-space: nowrap;
}
.assignee-chip { background: var(--surface-2); color: var(--text); }
.mini-avatar { width: 18px; height: 18px; font-size: .58rem; }
.status-chip.todo { background: rgba(37, 99, 235, .1); color: var(--blue); }
.status-chip.in_progress { background: rgba(217, 119, 6, .12); color: var(--amber); }
.status-chip.completed { background: rgba(5, 150, 105, .12); color: var(--green); }
.deadline-chip.normal, .card-date-badge.normal { background: var(--surface-2); color: var(--muted); }
.deadline-chip.warning, .card-date-badge.warning { background: rgba(217, 119, 6, .12); color: var(--amber); }
.deadline-chip.danger, .card-date-badge.danger { background: rgba(220, 38, 38, .12); color: var(--red); }
.task-actions { gap: 4px; }
.task-actions .icon-button { width: 32px; height: 32px; border: 0; }

.member-board-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.avatar-area { gap: 12px; }
.avatar-area h2 { font-size: 1.45rem; }

.kanban-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.kanban-column {
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  overflow: hidden;
}
.kanban-column.drag-over, .kanban-column.touch-drop-target { outline: 2px solid var(--text); outline-offset: 2px; }
.kanban-column-header {
  justify-content: space-between;
  gap: 10px;
  padding: 13px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.kanban-column-header > div { gap: 8px; }
.kanban-column-header h3 { font-size: .95rem; }
.kanban-column-header span { font-weight: 800; color: var(--muted); }
.col-todo .kanban-column-header i { color: var(--blue); }
.col-progress .kanban-column-header i { color: var(--amber); }
.col-completed .kanban-column-header i { color: var(--green); }
.kanban-cards-container {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 260px;
  padding: 10px;
}
.kanban-card {
  position: relative;
  padding: 14px 44px 14px 14px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--card-accent, var(--text));
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 6px 18px rgba(31, 26, 20, .05);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}
.kanban-card.dragging { opacity: .35; }
.touch-ghost {
  position: fixed;
  z-index: 1000;
  pointer-events: none;
  opacity: .9;
  transform: scale(1.02);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .22);
}
.kanban-card-title { font-weight: 800; line-height: 1.35; }
.kanban-card-desc { margin-top: 7px; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.kanban-card-desc a { color: var(--blue); font-weight: 800; word-break: break-word; }
.kanban-card-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.kanban-card-actions {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  gap: 2px;
  opacity: 0;
}
.kanban-card:hover .kanban-card-actions, .kanban-card:focus-within .kanban-card-actions { opacity: 1; }
.kanban-card-actions .icon-button { width: 30px; height: 30px; border: 0; background: var(--surface-2); }

.tasks-empty {
  display: grid;
  place-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 42px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
  background: rgba(255,255,255,.16);
}
.tasks-empty > i { width: 34px; height: 34px; color: var(--muted); }
.tasks-empty p { max-width: 410px; color: var(--muted); line-height: 1.6; }

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(18, 18, 18, .48);
  backdrop-filter: blur(12px);
}
.modal-card {
  width: min(560px, 100%);
  max-height: min(90vh, 760px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.modal-small { width: min(430px, 100%); }
.modal-header, .modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}
.modal-actions { justify-content: flex-end; border-top: 1px solid var(--line); border-bottom: 0; background: var(--surface-2); }
.modal-body {
  display: grid;
  gap: 15px;
  padding: 18px;
  overflow: auto;
}
.form-group { display: grid; gap: 7px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form-group input, .form-group select { min-height: 42px; padding: 0 12px; }
.form-group textarea { padding: 11px 12px; resize: vertical; }
.required, .error-msg { color: var(--red); }
.error-msg { display: none; font-size: .76rem; font-weight: 800; }
.form-group.invalid .error-msg { display: block; }
.form-group.invalid input { border-color: var(--red); }
.fanout-control {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  cursor: pointer;
}
.fanout-control input { width: 18px; height: 18px; margin-top: 2px; }
.fanout-control strong { display: block; font-size: .92rem; }
.fanout-control small { display: block; margin-top: 2px; color: var(--muted); line-height: 1.45; }
.color-picker-grid {
  display: grid;
  grid-template-columns: repeat(8, 32px);
  gap: 9px;
}
.color-option {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--swatch);
  cursor: pointer;
}
.color-option input[type="radio"] {
  position: absolute;
  opacity: 0;
}
.color-option span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  border: 2px solid transparent;
}
.color-option input[type="radio"]:checked + span,
.color-option input[type="radio"]:checked ~ span {
  border-color: var(--text);
  box-shadow: inset 0 0 0 4px var(--surface);
}
.custom-color { background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.custom-color input[type="color"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
#custom-color-label {
  display: grid;
  place-items: center;
  color: var(--muted);
}
.warning-text { gap: 8px; color: var(--red); font-weight: 800; }

.toast-container {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100% - 36px));
}
.toast {
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--text);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  font-weight: 800;
  animation: toastIn .2s ease, toastOut .25s ease 4.5s forwards;
}
.toast.success { border-left-color: var(--green); }
.toast.error { border-left-color: var(--red); }
.toast.warning { border-left-color: var(--amber); }
.toast.info { border-left-color: var(--blue); }
@keyframes toastIn { from { transform: translateY(10px); opacity: 0; } }
@keyframes toastOut { to { transform: translateY(10px); opacity: 0; } }

@media (hover: none) {
  .kanban-card-actions { opacity: 1; }
}

@media (max-width: 900px) {
  .hero-panel { grid-template-columns: 1fr; min-height: unset; }
  .hero-number { justify-self: start; text-align: left; }
  .kanban-board {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
  }
  .kanban-column {
    flex: 0 0 min(76vw, 300px);
    scroll-snap-align: start;
  }
}

@media (max-width: 680px) {
  .shell { padding: 18px 12px 42px; }
  .topbar { align-items: flex-start; }
  .brand { width: 100%; }
  .top-actions { width: 100%; justify-content: space-between; }
  .sync-status { flex: 1; }
  .primary-button span { white-space: nowrap; }
  .tabs, .control-strip { width: 100%; }
  .tabs { display: grid; grid-template-columns: repeat(2, 1fr); }
  .tab-btn { justify-content: center; }
  .control-strip { grid-template-columns: 1fr; }
  .stats-overview { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 4px; }
  .form-row { grid-template-columns: 1fr; }
  .color-picker-grid { grid-template-columns: repeat(4, 32px); }
  .modal-actions { flex-wrap: wrap; }
  .modal-actions button { flex: 1; }
}

/* TeamBoard Five: light, graphic workspace inspired by the supplied reference. */
body {
  background:
    linear-gradient(rgba(32, 33, 31, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 33, 31, .035) 1px, transparent 1px),
    var(--bg);
  background-size: 32px 32px;
}

.shell { max-width: 1240px; }

.topbar {
  padding: 16px;
  border: 2px solid var(--text);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.brand-mark {
  background: #f4c15d;
  color: #20211f;
  border: 2px solid #20211f;
}

.brand h1 { font-size: clamp(1.7rem, 3vw, 2.8rem); }

.sync-status,
.tabs,
.search-box input,
.member-filter select,
.stat-card,
.member-card,
.all-tasks-list-container,
.kanban-column,
.kanban-card,
.modal-card,
.fanout-control {
  border-width: 2px;
}

.hero-panel {
  min-height: 176px;
  margin: 20px 0 14px;
  padding: 22px;
  border: 2px solid var(--text);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-copy h2 {
  max-width: 720px;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1;
}

.hero-number {
  min-width: 170px;
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.hero-number span { font-size: clamp(4rem, 9vw, 7rem); }

.primary-button {
  background: #20211f;
  color: #fff;
  border-color: #20211f;
}

.primary-button:hover { background: #f4c15d; color: #20211f; }
.tab-btn.active { background: #f4c15d; color: #20211f; }

.stats-overview { gap: 14px; }
.stat-card { box-shadow: 3px 4px 0 rgba(32, 33, 31, .12); }
.stat-card:nth-child(2) { background: #fff8e8; }
.stat-card:nth-child(3) { background: #edf6f0; }

.member-card { box-shadow: 3px 4px 0 rgba(32, 33, 31, .1); }
.member-stat-item { border: 1px solid var(--line); }

.kanban-column {
  background: #eef0eb;
  box-shadow: 3px 4px 0 rgba(32, 33, 31, .12);
}

.kanban-column-header { min-height: 52px; }
.col-todo .kanban-column-header { background: #eef4f8; }
.col-progress .kanban-column-header { background: #fff6dc; }
.col-completed .kanban-column-header { background: #eaf4ed; }

.kanban-card {
  min-height: 112px;
  box-shadow: 2px 3px 0 rgba(32, 33, 31, .1);
}

.kanban-column.drag-over,
.kanban-column.touch-drop-target {
  outline: 3px solid #f4c15d;
  outline-offset: 3px;
  background: #fff8e8;
}

.fanout-control { background: #fff8e8; }
.color-option { border-radius: 6px; }

@media (max-width: 900px) {
  .hero-panel { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .hero-number { justify-self: end; text-align: right; }
  .kanban-board {
    gap: 10px;
    scroll-padding-inline: 2px;
    overscroll-behavior-x: contain;
  }
  .kanban-column { flex-basis: min(72vw, 280px); }
}

@media (max-width: 680px) {
  .shell { padding: 12px 10px 36px; }
  .topbar { padding: 12px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand .muted { display: none; }
  .top-actions { margin-top: 4px; }
  .hero-panel { grid-template-columns: 1fr; padding: 18px; }
  .hero-copy h2 { font-size: 2.15rem; }
  .hero-number {
    justify-self: stretch;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 14px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
    text-align: left;
  }
  .hero-number span { font-size: 4rem; }
  .hero-number small { margin-top: 0; }
  .stats-overview { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .stat-card { min-height: 108px; padding: 12px 9px; }
  .stat-card strong { margin: 12px 0 6px; font-size: 2.2rem; }
  .stat-card small { display: none; }
  .stat-label { font-size: .7rem; }
  .kanban-column { flex-basis: min(70vw, 260px); min-height: 330px; }
  .kanban-cards-container { min-height: 240px; }
}
