/* =========================================================
   Symmetry Sambreville 2026 — thème dark
   ========================================================= */
:root {
  --bg: #07070b;
  --bg-2: #0c0c13;
  --surface: #11111a;
  --surface-2: #171723;
  --surface-3: #1f1f2e;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.13);
  --text: #f2f1f7;
  --muted: #8d8ca3;
  --dim: #5d5c72;
  --accent: #ff3d6e;
  --accent-2: #8b5cff;
  --ok: #3ee08f;
  --warn: #ffb020;
  --grad: linear-gradient(120deg, #ff3d6e 0%, #c43dff 50%, #6a5cff 100%);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.8);
  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }

/* grain */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- boutons & champs ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  color: var(--text);
  font-weight: 600; font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--surface-3); border-color: rgba(255,255,255,.22); }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--grad);
  border-color: transparent;
  box-shadow: 0 10px 30px -10px rgba(255, 61, 110, .6);
}
.btn-primary:hover { background: var(--grad); filter: brightness(1.1); box-shadow: 0 14px 40px -10px rgba(196, 61, 255, .7); }
.btn-ghost { background: transparent; }
.btn-danger { background: transparent; border-color: rgba(255, 61, 110, .4); color: #ff7b9a; }
.btn-danger:hover { background: rgba(255, 61, 110, .12); }
.btn-sm { padding: 6px 12px; font-size: 13px; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.input, select.input, textarea.input {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
textarea.input { resize: vertical; min-height: 90px; }
.input:focus { border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(139, 92, 255, .2); }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 30px; }
select.input option { background: var(--surface); }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* =========================================================
   LANDING
   ========================================================= */
.landing { overflow-x: hidden; }
.l-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 48px);
  background: linear-gradient(to bottom, rgba(7,7,11,.85), rgba(7,7,11,0));
  backdrop-filter: blur(4px);
}
.logo {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: .32em;
  font-size: 15px;
  text-decoration: none;
}
.logo span { color: var(--accent); }

.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg .blob {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55;
  animation: float 16s ease-in-out infinite alternate;
}
.hero-bg .blob { width: max(46vw, 340px); height: max(46vw, 340px); }
.hero-bg .b1 { left: -8vw; top: 10vh; background: #ff3d6e; }
.hero-bg .b2 { right: -8vw; top: 10vh; background: #6a5cff; animation-delay: -8s; }
.hero-bg .b3 { width: 30vw; height: 30vw; left: 35vw; bottom: -10vw; background: #c43dff; opacity: .35; animation-duration: 22s; }
@keyframes float {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(0, -6vh, 0) scale(1.12); }
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, var(--bg) 72%);
}
.hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .35; }
.axis {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.35), transparent);
  z-index: -1;
}

.eyebrow {
  font-size: 12px; letter-spacing: .4em; text-transform: uppercase;
  color: var(--muted); font-weight: 700;
  margin-bottom: 22px;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(54px, 13vw, 190px);
  line-height: .9;
  letter-spacing: -.03em;
  margin: 0;
  position: relative;
}
.hero-title .mirror {
  display: block;
  transform: scaleY(-1);
  opacity: .22;
  -webkit-mask-image: linear-gradient(to bottom, transparent 35%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 35%, #000 100%);
  margin-top: -0.12em;
  filter: blur(1px);
  user-select: none;
}
.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(18px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: .5em;
  text-transform: uppercase;
  margin: -0.6em 0 18px;
  padding-left: .5em;
}
.hero-tagline { color: var(--muted); font-size: clamp(15px, 1.6vw, 19px); max-width: 560px; margin: 0 auto 38px; }

.countdown { display: flex; gap: clamp(10px, 2vw, 22px); justify-content: center; margin-bottom: 40px; }
.cd-item {
  min-width: clamp(70px, 11vw, 110px);
  padding: 16px 10px 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: rgba(17, 17, 26, .55);
  backdrop-filter: blur(10px);
}
.cd-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 5vw, 52px); line-height: 1; font-variant-numeric: tabular-nums; }
.cd-lab { font-size: 11px; color: var(--muted); letter-spacing: .2em; text-transform: uppercase; margin-top: 8px; }
.cd-soon { font-family: var(--font-display); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-bottom: 40px; }

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); color: var(--dim); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; }

.section { padding: clamp(70px, 10vw, 130px) clamp(18px, 5vw, 60px); max-width: 1180px; margin: 0 auto; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0 0 40px;
  line-height: 1;
}
.section-title small { display: block; font-family: var(--font-body); font-size: 12px; letter-spacing: .35em; color: var(--accent); text-transform: uppercase; margin-bottom: 14px; font-weight: 700; }

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.info-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--surface) 0%, var(--bg-2) 100%);
  position: relative; overflow: hidden;
}
.info-card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--grad); opacity: .8;
}
.info-card .k { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.info-card .v { font-family: var(--font-display); font-size: 24px; font-weight: 700; margin-top: 10px; line-height: 1.2; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about p { color: #c9c8d8; font-size: 18px; white-space: pre-line; }
.sym-art { aspect-ratio: 1; width: 100%; max-width: 440px; justify-self: center; }
@media (max-width: 800px) { .about { grid-template-columns: 1fr; } }

.members { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.member {
  padding: 26px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform .25s ease, border-color .25s ease;
}
.member:hover { transform: translateY(-4px); border-color: var(--line-2); }
.member .avatar-lg { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 20px; color: #0b0b10; margin-bottom: 18px; }
.member .name { font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.member .role { color: var(--muted); font-size: 14px; min-height: 1.4em; }

.l-footer { border-top: 1px solid var(--line); padding: 30px clamp(18px, 5vw, 60px); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--dim); font-size: 13px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   LOGIN
   ========================================================= */
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 20px; position: relative; isolation: isolate; }
.login-card {
  width: 100%; max-width: 400px;
  padding: 38px 34px;
  border-radius: 20px;
  border: 1px solid var(--line-2);
  background: rgba(17, 17, 26, .75);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}
.login-card h1 { font-family: var(--font-display); font-size: 28px; margin: 6px 0 4px; letter-spacing: -.01em; }
.login-card p.sub { color: var(--muted); margin: 0 0 26px; font-size: 14px; }
.error-msg { color: #ff7b9a; font-size: 14px; min-height: 1.4em; margin: 4px 0 10px; }
.ok-msg { color: var(--ok); font-size: 14px; min-height: 1.4em; margin: 4px 0 10px; }

/* =========================================================
   APP
   ========================================================= */
.app-shell { display: flex; flex-direction: column; min-height: 100vh; }
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 22px;
  padding: 12px clamp(14px, 2.5vw, 28px);
  background: rgba(7, 7, 11, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar .logo { font-size: 13px; }
.topbar .logo small { display: block; letter-spacing: .25em; font-size: 9px; color: var(--muted); font-weight: 700; margin-top: 2px; }
.tabs { display: flex; gap: 4px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  padding: 8px 14px; border-radius: 999px; border: 0; background: transparent;
  color: var(--muted); font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap;
}
.tab:hover { color: var(--text); background: var(--surface); }
.tab.active { color: var(--text); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.me-chip { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.avatar {
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 12px; color: #0b0b10;
  flex-shrink: 0;
}
.avatar.xs { width: 20px; height: 20px; font-size: 10px; }
.avatar.none { background: var(--surface-3); color: var(--muted); border: 1px dashed var(--line-2); }

.banner {
  margin: 14px clamp(14px, 2.5vw, 28px) 0;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 176, 32, .35);
  background: rgba(255, 176, 32, .08);
  color: #ffd58a;
  font-size: 14px;
  display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap;
}

.view { padding: 20px clamp(14px, 2.5vw, 28px) 60px; flex: 1; }
.view[hidden] { display: none; }

.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.toolbar .input { width: auto; min-width: 150px; padding: 8px 12px; font-size: 14px; }
.toolbar .search { flex: 1; min-width: 200px; max-width: 360px; }
.toolbar .spacer { flex: 1; }
.check { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; cursor: pointer; user-select: none; }
.check input { accent-color: var(--accent-2); }

.stats { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.stat { padding: 10px 16px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); display: flex; align-items: baseline; gap: 10px; }
.stat b { font-family: var(--font-display); font-size: 22px; }
.stat span { color: var(--muted); font-size: 13px; }
.progress { flex: 1; min-width: 200px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.progress .bar { height: 6px; border-radius: 6px; background: var(--surface-3); overflow: hidden; }
.progress .bar i { display: block; height: 100%; background: var(--grad); border-radius: 6px; transition: width .4s ease; }
.progress small { color: var(--muted); font-size: 12px; }

/* ---------- board ---------- */
.board {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 14px;
  align-items: start;
}
.column {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex; flex-direction: column;
  max-height: calc(100vh - 230px);
  min-height: 200px;
  transition: border-color .15s, background .15s;
}
.column.drop-over { border-color: var(--accent-2); background: rgba(139, 92, 255, .06); }
.col-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.col-head::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--col-color, var(--dim)); opacity: .9; }
.col-head .name { font-family: var(--font-display); font-weight: 700; font-size: 16px; flex: 1; }
.col-head .count { color: var(--muted); font-size: 12px; font-weight: 700; background: var(--surface-2); padding: 2px 9px; border-radius: 999px; }
.col-body { padding: 10px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; flex: 1; }
.col-empty { color: var(--dim); font-size: 13px; text-align: center; padding: 24px 8px; border: 1px dashed var(--line); border-radius: var(--radius-sm); }
.col-add { margin: 0 10px 10px; padding: 8px; border-radius: var(--radius-sm); border: 1px dashed var(--line-2); background: transparent; color: var(--muted); cursor: pointer; font-size: 13px; font-weight: 600; }
.col-add:hover { color: var(--text); border-color: var(--accent-2); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 12px 12px 10px;
  cursor: pointer;
  transition: border-color .15s, transform .15s, background .15s;
  position: relative;
}
.card:hover { border-color: var(--line-2); background: var(--surface-2); }
.card.dragging { opacity: .4; }
.card.done { opacity: .5; }
.card.done .card-title { text-decoration: line-through; text-decoration-color: var(--dim); }
.card.prio-high::before { content: ''; position: absolute; left: -1px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--accent); }
.card-top { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 7px; align-items: center; }
.card-title { font-weight: 600; font-size: 14px; line-height: 1.35; }
.card-res { margin-top: 6px; font-size: 12.5px; color: var(--ok); }
.card-meta { display: flex; gap: 12px; margin-top: 9px; color: var(--muted); font-size: 12px; align-items: center; }
.card-meta .grow { flex: 1; }

.tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px;
  background: var(--surface-3); color: #c7c6d6;
}
.tag.kind-decision { background: rgba(139, 92, 255, .16); color: #b9a5ff; }
.tag.kind-question { background: rgba(41, 211, 255, .13); color: #8de6ff; }
.tag.kind-task { background: rgba(255, 255, 255, .06); color: #bdbccc; }
.tag.st-todo { background: rgba(255,255,255,.05); color: var(--muted); }
.tag.st-doing { background: rgba(255, 176, 32, .14); color: #ffcd70; }
.tag.st-done { background: rgba(62, 224, 143, .13); color: #7ff0b6; }
.tag.prio { background: rgba(255, 61, 110, .15); color: #ff8aa6; }

/* ---------- liste par thème ---------- */
.groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.group { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.group h3 { font-family: var(--font-display); margin: 0 0 12px; font-size: 18px; display: flex; align-items: center; gap: 10px; }
.group h3 .count { color: var(--muted); font-size: 12px; font-family: var(--font-body); }
.row {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 9px; cursor: pointer;
  border: 1px solid transparent;
}
.row:hover { background: var(--surface); border-color: var(--line); }
.row .t { flex: 1; font-size: 14px; font-weight: 500; }
.row.done .t { color: var(--dim); text-decoration: line-through; }

/* ---------- panneaux ---------- */
.panel { max-width: 720px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-bottom: 18px; }
.panel h2 { font-family: var(--font-display); margin: 0 0 4px; font-size: 22px; }
.panel p.sub { color: var(--muted); margin: 0 0 22px; font-size: 14px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }
.colors { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch { width: 30px; height: 30px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; }
.swatch.sel { border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.15); }

.feed { max-width: 760px; }
.feed-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.feed-item .txt { flex: 1; font-size: 14px; }
.feed-item .txt a { color: var(--text); font-weight: 600; text-decoration: none; cursor: pointer; }
.feed-item .txt a:hover { text-decoration: underline; }
.feed-item time { color: var(--dim); font-size: 12px; white-space: nowrap; }

/* ---------- modal ---------- */
.modal-back {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(3, 3, 6, .7);
  backdrop-filter: blur(6px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 5vh 14px;
  overflow-y: auto;
  animation: fade .15s ease;
}
@keyframes fade { from { opacity: 0; } }
.modal {
  width: 100%; max-width: 860px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  box-shadow: var(--shadow);
  animation: pop .2s ease;
}
@keyframes pop { from { transform: translateY(12px) scale(.98); opacity: 0; } }
.modal-head { display: flex; align-items: flex-start; gap: 12px; padding: 22px 24px 0; }
.modal-head .ttl { flex: 1; }
.modal-head h2 { font-family: var(--font-display); font-size: 24px; margin: 8px 0 0; line-height: 1.2; }
.modal-head .ttl .ref { color: var(--dim); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface-2); cursor: pointer; display: grid; place-items: center; font-size: 18px; color: var(--muted); flex-shrink: 0; }
.icon-btn:hover { color: var(--text); }
.modal-body { display: grid; grid-template-columns: 1fr 250px; gap: 26px; padding: 20px 24px 24px; }
@media (max-width: 760px) { .modal-body { grid-template-columns: 1fr; } }
.side .field { margin-bottom: 12px; }
.side .input { padding: 8px 10px; font-size: 14px; }
.desc { white-space: pre-wrap; word-wrap: break-word; color: #d4d3e2; font-size: 14.5px; }
.desc a, .comment-body a { color: #b9a5ff; word-break: break-all; }
.desc.empty { color: var(--dim); font-style: italic; }
.block-title { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; margin: 24px 0 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.block-title:first-child { margin-top: 0; }
.resolution-box { border: 1px solid rgba(62, 224, 143, .25); background: rgba(62, 224, 143, .05); border-radius: var(--radius-sm); padding: 12px; }
.resolution-box textarea { min-height: 60px; background: transparent; border-color: transparent; padding: 4px; }
.resolution-box textarea:focus { background: var(--bg-2); border-color: var(--line-2); box-shadow: none; }
.take-btn { width: 100%; margin-bottom: 14px; }

.comments { display: flex; flex-direction: column; gap: 12px; }
.comment { display: flex; gap: 10px; }
.comment-main { flex: 1; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.comment-head { display: flex; gap: 8px; align-items: baseline; font-size: 13px; margin-bottom: 3px; }
.comment-head b { font-weight: 700; }
.comment-head time { color: var(--dim); font-size: 12px; }
.comment-head .del { margin-left: auto; background: none; border: 0; color: var(--dim); cursor: pointer; font-size: 12px; }
.comment-head .del:hover { color: #ff7b9a; }
.comment-body { white-space: pre-wrap; word-wrap: break-word; font-size: 14px; color: #d4d3e2; }
.comment-form { display: flex; gap: 10px; margin-top: 12px; align-items: flex-end; }
.comment-form textarea { min-height: 44px; height: 44px; }
.activity-mini { font-size: 12.5px; color: var(--muted); display: flex; flex-direction: column; gap: 5px; }
.activity-mini b { color: #c7c6d6; font-weight: 600; }

.modal-foot { display: flex; gap: 10px; justify-content: flex-end; padding: 0 24px 22px; flex-wrap: wrap; }

/* ---------- toast ---------- */
.toast {
  position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--surface-3); border: 1px solid var(--line-2);
  padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600;
  opacity: 0; transition: all .25s ease; z-index: 80; pointer-events: none;
  box-shadow: var(--shadow);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.err { border-color: rgba(255,61,110,.5); color: #ff9db4; }

@media (max-width: 720px) {
  .topbar { flex-wrap: wrap; gap: 10px; }
  .tabs { order: 3; flex-basis: 100%; }
  .me-chip .nm { display: none; }
  .column { max-height: none; }
  .board { grid-auto-columns: 86vw; scroll-snap-type: x mandatory; }
  .column { scroll-snap-align: start; }
}
