/* Generated by Design/build.py from Design/tokens.json (briannarimm/resuite). Do not edit by hand.
 * ReSuite's shared tokens for web interfaces: the same values the native apps use. */
:root {
  --suite-radius-window: 22px;
  --suite-radius-panel: 18px;
  --suite-radius-card: 14px;
  --suite-radius-control: 11px;
  --suite-radius-small: 8px;
  --suite-space-xs: 4px;
  --suite-space-s: 8px;
  --suite-space-m: 12px;
  --suite-space-l: 16px;
  --suite-space-xl: 22px;
  --suite-blur: 24px;
  --suite-saturate: 180%;
  --suite-snappy: 0.22s;
  --suite-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  --suite-font-rounded: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, sans-serif;
  --suite-size-display: 34px;
  --suite-size-title: 28px;
  --suite-size-heading: 20px;
  --suite-size-body: 13px;
  --suite-size-label: 13px;
  --suite-size-small: 11.5px;
  --suite-size-section: 10.5px;
  --suite-hl-yellow: #ffd60a;
  --suite-hl-green: #5fcf7a;
  --suite-hl-blue: #6aaeff;
  --suite-hl-pink: #ff7fbf;
  --suite-hl-orange: #ffa043;
  --suite-hl-red: #ff6161;
  --suite-hl-purple: #a98bff;
  --suite-hl-teal: #2fc7bf;
  --suite-hl-lime: #b5e655;
  --suite-hl-brown: #c79a6b;
  --suite-hl-gray: #a7b0ba;
  --suite-hl-indigo: #6f86ff;
  --suite-reword: #1f4e8c;
  --suite-reword-tile: linear-gradient(135deg, #3a74b8, #1f4e8c 55%, #14325e);
  --suite-republish: #0e7c8c;
  --suite-republish-tile: linear-gradient(135deg, #36b9c6, #0e7c8c 55%, #0a4652);
  --suite-repdf: #5b45d6;
  --suite-repdf-tile: linear-gradient(135deg, #8d74f2, #5b45d6 55%, #2c1f7a);
  --suite-hub: #2f3546;
  --suite-hub-tile: linear-gradient(135deg, #5a6378, #2f3546 55%, #161a24);
}
:root, :root[data-theme="light"] {
  --suite-ink: #1D1D1F;
  --suite-muted: #6E6E73;
  --suite-faint: #8E8E93;
  --suite-line: rgba(0,0,0,0.08);
  --suite-glass: rgba(255,255,255,0.50);
  --suite-glassStrong: rgba(255,255,255,0.76);
  --suite-glassEdge: rgba(255,255,255,0.75);
  --suite-field: rgba(0,0,0,0.06);
  --suite-window: rgba(246,245,242,0.70);
  --suite-wall: #C7D3E6;
  --suite-light1: rgba(31,78,140,0.55);
  --suite-light2: rgba(120,170,200,0.60);
  --suite-light3: rgba(230,215,190,0.80);
  --suite-ok: #1E7A3D;
  --suite-warn: #B26A00;
  --suite-bad: #B3261E;
  --suite-shadow: 0 6px 20px rgba(0,0,0,0.10);
  --suite-accent: #1F4E8C;
  --suite-accentText: #1F4E8C;
  --suite-accentInk: #FFFFFF;
  --suite-accentSoft: rgba(31,78,140,0.12);
  --suite-hover: rgba(31,78,140,0.10);
  --suite-selected: rgba(31,78,140,0.15);
}
:root[data-theme="dark"], :root[data-theme="dark-paper"] {
  --suite-ink: #ECECF0;
  --suite-muted: #A0A0A8;
  --suite-faint: #8A8A92;
  --suite-line: rgba(255,255,255,0.09);
  --suite-glass: rgba(48,48,54,0.52);
  --suite-glassStrong: rgba(62,62,70,0.80);
  --suite-glassEdge: rgba(255,255,255,0.16);
  --suite-field: rgba(255,255,255,0.07);
  --suite-window: rgba(26,26,30,0.70);
  --suite-wall: #0D1422;
  --suite-light1: rgba(40,80,150,0.65);
  --suite-light2: rgba(30,110,130,0.50);
  --suite-light3: rgba(90,60,120,0.45);
  --suite-ok: #5FD08A;
  --suite-warn: #FFB54D;
  --suite-bad: #FF8A80;
  --suite-shadow: 0 6px 20px rgba(0,0,0,0.35);
  --suite-accent: #6EA8FF;
  --suite-accentText: #8CBCFF;
  --suite-accentInk: #0B1A30;
  --suite-accentSoft: rgba(110,168,255,0.18);
  --suite-hover: rgba(110,168,255,0.14);
  --suite-selected: rgba(110,168,255,0.20);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --suite-ink: #ECECF0;
    --suite-muted: #A0A0A8;
    --suite-faint: #8A8A92;
    --suite-line: rgba(255,255,255,0.09);
    --suite-glass: rgba(48,48,54,0.52);
    --suite-glassStrong: rgba(62,62,70,0.80);
    --suite-glassEdge: rgba(255,255,255,0.16);
    --suite-field: rgba(255,255,255,0.07);
    --suite-window: rgba(26,26,30,0.70);
    --suite-wall: #0D1422;
    --suite-light1: rgba(40,80,150,0.65);
    --suite-light2: rgba(30,110,130,0.50);
    --suite-light3: rgba(90,60,120,0.45);
    --suite-ok: #5FD08A;
    --suite-warn: #FFB54D;
    --suite-bad: #FF8A80;
    --suite-shadow: 0 6px 20px rgba(0,0,0,0.35);
    --suite-accent: #6EA8FF;
    --suite-accentText: #8CBCFF;
    --suite-accentInk: #0B1A30;
    --suite-accentSoft: rgba(110,168,255,0.18);
    --suite-hover: rgba(110,168,255,0.14);
    --suite-selected: rgba(110,168,255,0.20);
  }
}

/* The label above a group of controls, as every ReSuite app draws it. */
.suite-section { font-size: var(--suite-size-section); font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--suite-muted); }
/* A glass panel, as in the native apps. */
.suite-glass {
  background: var(--suite-glass);
  -webkit-backdrop-filter: blur(var(--suite-blur)) saturate(var(--suite-saturate)); backdrop-filter: blur(var(--suite-blur)) saturate(var(--suite-saturate));
  box-shadow: inset 0 1px 0 var(--suite-glassEdge), inset 0 0 0 1px var(--suite-line), var(--suite-shadow);
  border-radius: var(--suite-radius-panel);
}
/* An app's icon at menu size. */
.suite-app-icon { width: 20px; height: 20px; flex: none; }

/* ReKanban interface. Built on the ReSuite tokens above (--suite-*). */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font: 400 var(--suite-size-body)/1.4 var(--suite-font);
  color: var(--suite-ink);
  background: var(--suite-wall);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
  cursor: default;
}
a { color: var(--suite-accentText); text-decoration: none; cursor: pointer; }
a:hover { text-decoration: underline; }
h1, h2, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: default; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--suite-accent); outline-offset: 1px; }
.muted { color: var(--suite-muted); }
.spacer { flex: 1; }
.ic { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Project colors (boards) and highlight colors (cards, columns). */
[data-pc="p1"] { --pc: #3B6FD4; } [data-pc="p2"] { --pc: #2E9E6B; } [data-pc="p3"] { --pc: #C2412D; } [data-pc="p4"] { --pc: #9B51C9; }
[data-pc="p5"] { --pc: #D4932B; } [data-pc="p6"] { --pc: #1F8FA6; } [data-pc="p7"] { --pc: #C23B7A; } [data-pc="p8"] { --pc: #6B7280; }
[data-color="yellow"] { --c: var(--suite-hl-yellow); } [data-color="green"] { --c: var(--suite-hl-green); } [data-color="blue"] { --c: var(--suite-hl-blue); }
[data-color="pink"] { --c: var(--suite-hl-pink); } [data-color="orange"] { --c: var(--suite-hl-orange); } [data-color="red"] { --c: var(--suite-hl-red); }
[data-color="purple"] { --c: var(--suite-hl-purple); } [data-color="teal"] { --c: var(--suite-hl-teal); } [data-color="lime"] { --c: var(--suite-hl-lime); }
[data-color="brown"] { --c: var(--suite-hl-brown); } [data-color="gray"] { --c: var(--suite-hl-gray); } [data-color="indigo"] { --c: var(--suite-hl-indigo); }

/* The wall: the backdrop behind the glass. */
.wall {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 15% 20%, var(--suite-light1), transparent 70%),
    radial-gradient(50% 60% at 85% 30%, var(--suite-light2), transparent 70%),
    radial-gradient(60% 60% at 60% 95%, var(--suite-light3), transparent 70%),
    var(--suite-wall);
}
.wall::after { content: ""; position: absolute; inset: 0; background: var(--suite-window); }

/* Window shell */
.shell { display: grid; grid-template-columns: 276px minmax(0, 1fr); height: 100%; }
.shell.no-side { grid-template-columns: minmax(0, 1fr); }
.shell.no-side .sidebar { display: none; }
.sidebar { margin: 10px; padding: 10px; display: flex; flex-direction: column; gap: 2px; min-height: 0; }
.switch { display: flex; align-items: center; gap: 8px; padding: 4px 6px 10px; color: inherit; }
.switch:hover { text-decoration: none; }
.app-icon { width: 24px; height: 24px; border-radius: 6px; filter: drop-shadow(0 1px 3px rgba(47,143,91,.35)); }
.app-name { font-size: 15px; font-weight: 650; }
.row { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 10px; color: inherit; transition: background var(--quick, .12s) ease; min-height: 30px; }
.row:hover { background: var(--suite-hover); text-decoration: none; }
.row .ic { color: var(--suite-accentText); opacity: .85; }
.row.active { background: var(--suite-selected); color: var(--suite-accentText); font-weight: 600; }
.row.active .ic { opacity: 1; }
.row-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pc); flex: none; margin: 0 4px; }
.search-btn { display: flex; align-items: center; gap: 8px; margin: 8px 0 4px; padding: 6px 10px; border: 0; border-radius: 9px; background: var(--suite-line); color: var(--suite-muted); text-align: left; }
.search-btn span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
kbd { font: 600 11px var(--suite-font-rounded); color: var(--suite-faint); }
.side-scroll { flex: 1; overflow-y: auto; min-height: 0; margin: 0 -4px; padding: 0 4px; }
.side-scroll .suite-section { padding: 12px 10px 8px; }
.side-foot { display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--suite-line); padding: 10px 4px 0; margin-top: 6px; }
.who { flex: 1; font-size: 12px; color: var(--suite-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar { width: 22px; height: 22px; border-radius: 50%; }

.main { display: flex; flex-direction: column; min-width: 0; min-height: 0; height: 100%; }
.toolbar { display: flex; align-items: center; gap: 8px; padding: 12px 14px 8px 4px; }
.shell.no-side .toolbar { padding-left: 14px; }
.title-block { min-width: 0; }
.title { font-size: 15px; font-weight: 650; max-width: 360px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sub { font-size: 11px; color: var(--suite-muted); font-variant-numeric: tabular-nums; min-height: 15px; }
.content { flex: 1; min-height: 0; overflow: auto; padding: 0 14px 14px 4px; transition: padding var(--suite-snappy) cubic-bezier(.2,.8,.2,1); }
.shell.no-side .content { padding-left: 14px; }
.shell.assist-open .content { padding-right: 350px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: 13px; color: var(--suite-ink); background: var(--suite-glassStrong); box-shadow: inset 0 0 0 1px var(--suite-line), 0 1px 2px rgba(0,0,0,.08); transition: filter .12s ease, background .12s ease; white-space: nowrap; }
.btn:hover { filter: brightness(1.06); text-decoration: none; }
.btn:active { filter: brightness(.95); }
.btn.primary { background: var(--suite-accent); color: var(--suite-accentInk); box-shadow: none; }
.btn.primary:hover { filter: brightness(1.08); }
.btn.danger { color: var(--suite-bad); }
.btn.small { padding: 3px 9px; font-size: 12px; }
.btn.wide { width: 100%; }
.btn:disabled { opacity: .4; }
.icon-btn { display: inline-grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: none; color: var(--suite-ink); flex: none; transition: background .12s ease; }
.icon-btn:hover { background: var(--suite-hover); }
.icon-btn.sm { width: 28px; height: 28px; color: var(--suite-muted); }
.tb-group { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--suite-glass); box-shadow: inset 0 1px 0 var(--suite-glassEdge), inset 0 0 0 1px var(--suite-line); }
.rb-btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border: 0; border-radius: 999px; background: none; font-weight: 600; transition: background .12s ease; }
.rb-btn:hover { background: var(--suite-hover); }
.rb-btn.on { background: var(--suite-glassStrong); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.chip, .cid { font-variant-numeric: tabular-nums; }
.chip { display: inline-block; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding: 1px 6px; border-radius: 999px; background: var(--suite-accentSoft); color: var(--suite-accentText); }

/* Fields */
.field { width: 100%; font-size: 13px; padding: 7px 10px; border-radius: 11px; border: 1px solid var(--suite-line); background: var(--suite-field); outline: none; }
.field::placeholder { color: var(--suite-faint); }
.field:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--suite-accent) 28%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--suite-accent) 75%, transparent); }
select.field { appearance: none; -webkit-appearance: none; padding-right: 26px; text-overflow: ellipsis; background-image: linear-gradient(45deg, transparent 50%, var(--suite-muted) 50%), linear-gradient(135deg, var(--suite-muted) 50%, transparent 50%); background-position: calc(100% - 15px) 55%, calc(100% - 10px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.form { display: flex; flex-direction: column; gap: 12px; }
.form label, .fields label { display: flex; flex-direction: column; gap: 4px; }
.form label > span, .fields label > span, .lbl-text { font-size: 12px; color: var(--suite-muted); display: block; margin-bottom: 4px; }
.form label > span, .fields label > span { margin-bottom: 0; }
.form h2, .sheet h2 { font: 700 20px var(--suite-font-rounded); }
.actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.help { font-size: 11px; color: var(--suite-muted); }
.error { color: var(--suite-bad); background: color-mix(in srgb, var(--suite-bad) 12%, transparent); padding: 8px 12px; border-radius: 11px; }
.seg { display: inline-flex; align-self: flex-start; gap: 2px; padding: 3px; border-radius: 999px; background: var(--suite-line); }
.seg button { border: 0; background: none; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; transition: background var(--suite-snappy) cubic-bezier(.2,.8,.2,1); }
.seg button.on { background: var(--suite-accent); color: var(--suite-accentInk); }
.swatches { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 2px; }
.sw-grid { display: grid; grid-template-columns: repeat(6, 28px); gap: 8px; }
.sw { display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 9px; padding: 0; background: var(--c, var(--pc)); color: rgba(0,0,0,.72); box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); transition: transform .12s ease, box-shadow .12s ease; }
.sw[data-pc] { color: #fff; }
.sw .ic { width: 14px; height: 14px; stroke-width: 2.4; opacity: 0; }
.sw.on .ic { opacity: 1; }
.sw:hover { transform: scale(1.12); }
.sw.on { box-shadow: 0 0 0 2px var(--suite-glassStrong), 0 0 0 4px var(--suite-accent); }
.sw-none { border: 0; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 600; background: var(--suite-field); color: var(--suite-muted); }
.sw-none:hover { background: var(--suite-hover); }
.sw-none.on { background: var(--suite-accentSoft); color: var(--suite-accentText); }

/* Board */
.board { height: 100%; margin: 0 -14px -14px -4px; }
.cols { display: flex; align-items: flex-start; gap: 12px; height: 100%; overflow-x: auto; overflow-y: hidden; padding: 2px 14px 14px 4px; }
.shell.no-side .cols { padding-left: 14px; }
.col { flex: 0 0 280px; display: flex; flex-direction: column; max-height: 100%; border-radius: var(--suite-radius-panel); background: var(--suite-glass); box-shadow: inset 0 1px 0 var(--suite-glassEdge), inset 0 0 0 1px var(--suite-line), var(--suite-shadow); }
.col[data-color] { box-shadow: inset 0 3px 0 var(--c), inset 0 0 0 1px var(--suite-line), var(--suite-shadow); }
.col-head { display: flex; align-items: center; gap: 6px; padding: 10px 8px 6px 14px; }
.col-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; }
.col:not([data-color]) .col-dot { display: none; }
.col-name { flex: 1; font-size: 13px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.col-count { font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; padding: 1px 8px; border-radius: 999px; background: var(--suite-accentSoft); color: var(--suite-accentText); white-space: nowrap; }
.col.full .col-count { background: color-mix(in srgb, var(--suite-warn) 16%, transparent); color: var(--suite-warn); }
.col.full .col-count::after { content: " · full"; }
.col.over-limit .col-count { background: color-mix(in srgb, var(--suite-bad) 14%, transparent); color: var(--suite-bad); }
.col.over-limit .col-count::after { content: " · over"; }
/* Plain block flow, not flex: with thousands of cards the browser can re-use the
   layout of every card that didn't change when one is added, moved or removed. */
.cards { display: block; padding: 2px 8px 0; overflow-y: auto; min-height: 28px; flex: 1; }
.cards > * { margin-bottom: 6px; }
.card { position: relative; flex: none; padding: 8px 10px; border-radius: 10px; background: var(--suite-glassStrong); box-shadow: inset 0 0 0 1px var(--suite-line), 0 1px 3px rgba(0,0,0,.10); content-visibility: auto; contain-intrinsic-size: auto 52px; overflow: hidden; }
.card:hover { box-shadow: inset 0 0 0 1px var(--suite-line), 0 2px 8px rgba(0,0,0,.16); }
.card[data-color] { padding-left: 14px; }
.card[data-color]::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c); }
.card.flash { animation: flash 2.4s ease-out; }
@keyframes flash { from { box-shadow: 0 0 0 3px color-mix(in srgb, var(--suite-accent) 35%, transparent); background: color-mix(in srgb, var(--suite-accent) 45%, var(--suite-glassStrong)); } }
.card-t { font-weight: 600; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.card-m { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 4px; font-size: 11.5px; color: var(--suite-muted); font-variant-numeric: tabular-nums; }
.card-m span { display: inline-flex; align-items: center; gap: 3px; }
.card-m .ic { width: 12px; height: 12px; }
.due.over { color: var(--suite-bad); font-weight: 600; }
.due.over::after { content: "· overdue"; margin-left: 2px; }
.due.soon { color: var(--suite-warn); font-weight: 600; }
.chk.all { color: var(--suite-ok); }
.add-card { padding: 4px 8px 8px; }
.add-card .field, .add-col .field { background: transparent; border-color: transparent; }
.add-card .field:hover, .add-col .field:hover, .add-card .field:focus, .add-col .field:focus { background: var(--suite-field); }
.add-col { flex: 0 0 240px; padding: 6px; border-radius: var(--suite-radius-panel); background: var(--suite-glass); box-shadow: inset 0 0 0 1px var(--suite-line); opacity: .85; }

/* Home, panels and pages */
.home, .page { display: flex; flex-direction: column; gap: 22px; padding: 6px 0 40px; max-width: 1100px; }
.page { max-width: 640px; gap: 16px; }
.group-head { display: flex; align-items: center; gap: 4px; min-height: 28px; margin-bottom: 8px; }
.group-head .suite-section { margin-right: 4px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.board-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 14px 20px; border-radius: var(--suite-radius-card); background: var(--suite-glassStrong); color: inherit; box-shadow: inset 0 0 0 1px var(--suite-line), 0 1px 3px rgba(0,0,0,.10); overflow: hidden; transition: box-shadow .12s ease; }
.board-card:hover { text-decoration: none; box-shadow: inset 0 0 0 1px var(--suite-line), 0 4px 14px rgba(0,0,0,.16); }
.board-card .stripe { position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--pc); }
.bc-name { font-size: 15px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bc-meta { font-size: 11.5px; color: var(--suite-muted); }
.board-card .chip { position: absolute; top: 10px; right: 10px; }
.pad { padding: 0 2px; }
.empty { text-align: center; padding: 80px 30px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.lead { font-size: 16px; font-weight: 600; }
.panel { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.panel h2 { font: 700 20px var(--suite-font-rounded); }
.panel-head { display: flex; align-items: center; gap: 8px; }
.people { display: flex; flex-direction: column; }
.person, .kv { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--suite-line); font-size: 12.5px; min-height: 36px; }
.p-name { font-weight: 600; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kv { justify-content: space-between; }
.kv span:last-child { font-weight: 600; }
.team-add, .share-form { display: flex; gap: 8px; }
.share-form select { flex: 0 0 110px; }

/* Sheets, menus, palette, toast */
dialog { color: inherit; }
dialog::backdrop { background: rgba(0,0,0,.18); }
.sheet { border: 0; border-radius: var(--suite-radius-window); padding: 22px; width: min(640px, calc(100vw - 24px)); max-height: calc(100vh - 48px); overflow-y: auto; background: var(--suite-glassStrong); -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%); box-shadow: inset 0 1px 0 var(--suite-glassEdge), inset 0 0 0 1px var(--suite-line), 0 30px 80px rgba(0,0,0,.30); }
.sheet.small { width: min(440px, calc(100vw - 24px)); }
.sheet-head { display: flex; align-items: center; gap: 8px; margin: -6px -6px 8px 0; }
.sheet-head .cid, .where { font-size: 12px; color: var(--suite-muted); }
.sheet-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--suite-line); font-size: 11.5px; }
.card-sheet, .board-sheet { display: flex; flex-direction: column; gap: 8px; }
.card-sheet .suite-section, .board-sheet .suite-section { margin-top: 12px; }
.title-input { width: 100%; font: 700 20px var(--suite-font-rounded); padding: 4px 8px; margin: 0 -8px; border: 0; border-radius: 11px; background: transparent; outline: none; }
.title-input:hover, .title-input:focus { background: var(--suite-field); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
.fields > div { grid-column: 1 / -1; }
.desc-view { white-space: pre-wrap; overflow-wrap: anywhere; padding: 8px 10px; margin: 0 -10px; border-radius: 11px; line-height: 1.55; min-height: 36px; }
.card-sheet[data-ro="0"] .desc-view:hover { background: var(--suite-field); }
.desc-view.blank { color: var(--suite-faint); }
.desc-wrap { position: relative; display: flex; flex-direction: column; gap: 6px; }
.desc-wrap .actions { justify-content: space-between; }
.desc-edit { width: 100%; min-height: 120px; resize: vertical; padding: 8px 10px; border-radius: 11px; border: 1px solid var(--suite-line); background: var(--suite-field); line-height: 1.55; outline: none; }
.desc-edit:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--suite-accent) 28%, transparent); }
.ref, a.ref { display: inline; padding: 0 4px; border-radius: 3px; background: color-mix(in srgb, var(--suite-accent) 9%, transparent); border-bottom: 1px dotted color-mix(in srgb, var(--suite-accent) 60%, transparent); color: var(--suite-accentText); font-variant-numeric: tabular-nums; }
.ref:hover { background: color-mix(in srgb, var(--suite-accent) 18%, transparent); text-decoration: none; }
.backrefs { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.sec-row { display: flex; align-items: baseline; justify-content: space-between; }
.chk-count { font-size: 11px; font-weight: 600; color: var(--suite-muted); font-variant-numeric: tabular-nums; }
.bar { width: 100%; height: 6px; border: 0; border-radius: 999px; overflow: hidden; background: var(--suite-line); appearance: none; -webkit-appearance: none; }
.bar::-webkit-progress-bar { background: var(--suite-line); }
.bar::-webkit-progress-value { background: var(--suite-accent); border-radius: 999px; }
.bar::-moz-progress-bar { background: var(--suite-accent); }
.check, .file { display: flex; align-items: center; gap: 8px; min-height: 30px; }
.check input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--suite-accent); flex: none; margin: 0; }
.check-text { flex: 1; min-width: 0; border: 0; background: transparent; padding: 4px 6px; border-radius: 8px; outline: none; }
.check-text:hover, .check-text:focus { background: var(--suite-field); }
.check input:checked + .check-text { color: var(--suite-muted); text-decoration: line-through; }
.file a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file .ic { color: var(--suite-muted); }
.attach { align-self: flex-start; }
.card-sheet.dropping { outline: 3px dashed var(--suite-accent); outline-offset: 8px; border-radius: 12px; }
.menu, .ref-menu { position: fixed; z-index: 50; min-width: 200px; max-width: 320px; padding: 6px; border-radius: var(--suite-radius-card); background: var(--suite-glassStrong); -webkit-backdrop-filter: blur(28px) saturate(180%); backdrop-filter: blur(28px) saturate(180%); box-shadow: inset 0 1px 0 var(--suite-glassEdge), inset 0 0 0 1px var(--suite-line), 0 18px 50px rgba(0,0,0,.22); }
.ref-menu { position: absolute; left: 0; right: 0; top: 100%; max-width: none; margin-top: -30px; }
.menu .mi, .ref-menu button, .results a { display: flex; align-items: center; gap: 9px; width: 100%; border: 0; background: none; text-align: left; font-size: 13px; font-weight: 500; padding: 5px 8px; border-radius: 8px; color: inherit; }
.menu .mi:hover, .menu .mi:focus-visible, .ref-menu button:hover, .ref-menu button.on, .results a:hover, .results a.on { background: var(--suite-accent); color: var(--suite-accentInk); text-decoration: none; }
.menu .mi.danger { color: var(--suite-bad); }
.menu .mi.danger:hover, .menu .mi.danger:focus-visible { background: var(--suite-bad); color: #fff; }
.menu .mi:disabled { opacity: .4; pointer-events: none; }
.menu .mi:focus-visible { outline: none; }
.menu .mi .ic { opacity: .7; }
.menu .mi .lbl { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu .mi .ck { opacity: 1; }
.menu .mi .gap { width: 16px; flex: none; }
.menu .mh { font-size: 10px; font-weight: 600; color: var(--suite-muted); padding: 6px 8px 3px; }
.menu hr { border: 0; border-top: 1px solid var(--suite-line); margin: 5px 10px; }
.menu .swatches { padding: 4px 8px 6px; }
.menu { outline: none; max-height: calc(100vh - 16px); overflow-y: auto; }
.ref-menu .t, .results .t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ref-menu .b, .results .b { font-size: 11px; opacity: .7; flex: none; max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.palette { border: 0; border-radius: 16px; padding: 6px; width: min(520px, calc(100vw - 24px)); margin-top: 12vh; background: var(--suite-glassStrong); -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%); box-shadow: inset 0 1px 0 var(--suite-glassEdge), inset 0 0 0 1px var(--suite-line), 0 30px 80px rgba(0,0,0,.30); }
.palette .field { border-radius: 999px; }
.results { display: flex; flex-direction: column; padding-top: 6px; max-height: 50vh; overflow-y: auto; }
.results:empty { display: none; }
.results .none { padding: 8px; color: var(--suite-muted); }
.toast { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 100; padding: 9px 18px; border-radius: 999px; font-size: 13px; max-width: calc(100vw - 24px); background: color-mix(in srgb, var(--suite-ink) 86%, transparent); color: var(--suite-wall); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 10px 30px rgba(0,0,0,.22); }
.toast.bad { background: color-mix(in srgb, var(--suite-bad) 92%, transparent); color: #fff; }

/* Assistant (inspector) */
.assistant { position: fixed; right: 14px; top: 60px; bottom: 14px; width: 322px; z-index: 20; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.assist-head { display: flex; align-items: center; justify-content: space-between; margin: -4px -6px 0 0; }
.assist-log { flex: 1; overflow-y: auto; min-height: 0; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.assist-log .q { align-self: flex-end; max-width: 90%; padding: 6px 12px; border-radius: 14px; background: var(--suite-accentSoft); color: var(--suite-accentText); font-weight: 600; }
.assist-log .a { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; padding: 10px 12px; border-radius: 12px; background: var(--suite-glassStrong); box-shadow: inset 0 0 0 1px var(--suite-line); max-width: 100%; }
.assist-log .a.wait { color: var(--suite-muted); animation: pulse 1s ease-in-out infinite alternate; }
.assist-log .a.bad { color: var(--suite-bad); }
@keyframes pulse { from { opacity: .4; } to { opacity: 1; } }
.presets { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-btn { border: 0; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 600; background: var(--suite-accentSoft); color: var(--suite-accentText); }
.chip-btn:hover { background: var(--suite-hover); }
.assist-form { display: flex; gap: 6px; }
.assist-form .field { border-radius: 999px; }

/* Create cards from a plan */
.btn.build { align-self: stretch; }
.form label.btn { flex-direction: row; }
.builder { display: flex; flex-direction: column; gap: 12px; }
.builder .sheet-head { margin-bottom: 0; }
.plan { min-height: 200px; resize: vertical; line-height: 1.5; }
.actions.split { justify-content: space-between; }
.btn.busy { animation: pulse 1s ease-in-out infinite alternate; }
.plan-list { max-height: min(52vh, 520px); overflow-y: auto; margin: 0 -6px; padding: 0 6px; }
.plan-col-head { display: flex; align-items: center; gap: 8px; margin: 12px 0 8px; }
.plan-col-head:first-child { margin-top: 0; }
.plan-card { display: flex; align-items: flex-start; gap: 8px; padding: 8px 6px 8px 12px; margin-bottom: 6px; border-radius: 10px; background: var(--suite-glassStrong); box-shadow: inset 0 0 0 1px var(--suite-line); }
.plan-body { flex: 1; min-width: 0; }
.plan-title { font-weight: 600; overflow-wrap: anywhere; }
.plan-meta { font-size: 11.5px; color: var(--suite-muted); font-variant-numeric: tabular-nums; }
.plan-desc { font-size: 12px; color: var(--suite-muted); margin-top: 2px; white-space: pre-wrap; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Sign-in */
body.center { display: grid; place-items: center; overflow: auto; }
.login { width: min(380px, calc(100vw - 24px)); padding: 30px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; border-radius: var(--suite-radius-window); }
.login h1 { font: 700 28px var(--suite-font-rounded); }
.login-icon { width: 72px; height: 72px; border-radius: 17px; filter: drop-shadow(0 4px 10px rgba(47,143,91,.35)); }
.dev-login { display: flex; flex-direction: column; gap: 8px; width: 100%; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--suite-line); text-align: left; }

/* Renaming in place */
.inline { width: 100%; min-width: 60px; font: inherit; letter-spacing: inherit; text-transform: none; color: var(--suite-ink); padding: 2px 6px; margin: -3px -7px; border: 1px solid transparent; border-radius: 8px; background: var(--suite-glassStrong); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--suite-accent) 28%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--suite-accent) 75%, transparent); }
.editing { overflow: visible !important; text-overflow: clip !important; display: block; -webkit-line-clamp: unset; }
[data-rename-board], [data-rename-cat], [data-rename-team], .board[data-ro="0"] .col-name { border-radius: 6px; transition: background .12s ease; }
[data-rename-board]:hover, [data-rename-cat]:hover, [data-rename-team]:hover, .board[data-ro="0"] .col-name:hover { background: var(--suite-hover); box-shadow: 0 0 0 4px var(--suite-hover); }
.editing:hover { background: none !important; box-shadow: none !important; }
.col-name.editing, .title.editing { flex: 1; }

/* Dragging */
.card, .row[data-board], .board-card, .col-head { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.board[data-ro="0"] .col-head { cursor: grab; }
body.is-dragging, body.is-dragging * { cursor: grabbing !important; -webkit-user-select: none; user-select: none; }
.card.lifted { z-index: 1000; pointer-events: none; content-visibility: visible; box-shadow: 0 0 0 2px var(--suite-accent), 0 0 34px 4px color-mix(in srgb, var(--suite-accent) 70%, transparent), 0 18px 40px rgba(0,0,0,.28); }
.card.armed { box-shadow: 0 0 0 2px var(--suite-accent), 0 0 18px color-mix(in srgb, var(--suite-accent) 45%, transparent); }
.card-ph { flex: none; border-radius: 10px; border: 2px dashed color-mix(in srgb, var(--suite-accent) 55%, transparent); background: color-mix(in srgb, var(--suite-accent) 9%, transparent); animation: ph-glow 1s ease-in-out infinite alternate; }
@keyframes ph-glow { from { box-shadow: 0 0 0 0 color-mix(in srgb, var(--suite-accent) 0%, transparent); } to { box-shadow: 0 0 14px 1px color-mix(in srgb, var(--suite-accent) 40%, transparent); } }
.col { transition: box-shadow .16s ease; }
.col.drop { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--suite-accent) 65%, transparent), 0 0 30px 2px color-mix(in srgb, var(--suite-accent) 45%, transparent), var(--suite-shadow); }
.col.refuse { box-shadow: inset 0 0 0 2px var(--suite-bad), 0 0 22px color-mix(in srgb, var(--suite-bad) 35%, transparent), var(--suite-shadow); }
.col.lifted-col { position: relative; z-index: 5; box-shadow: inset 0 0 0 2px var(--suite-accent), 0 0 28px color-mix(in srgb, var(--suite-accent) 50%, transparent), 0 18px 40px rgba(0,0,0,.25); }
.drop-line { position: fixed; left: 0; top: 0; z-index: 999; height: 3px; border-radius: 3px; pointer-events: none; background: var(--suite-accent); box-shadow: 0 0 12px 2px color-mix(in srgb, var(--suite-accent) 70%, transparent); }
.card.settle, .col.settle, .board-card.settle, .row.settle { animation: settle .8s ease-out; }
@keyframes settle { 0% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--suite-accent) 80%, transparent), 0 0 36px 6px color-mix(in srgb, var(--suite-accent) 70%, transparent); } }
.card.pop { animation: pop .24s cubic-bezier(.2,.8,.2,1); }
@keyframes pop { from { opacity: 0; transform: scale(.92) translateY(6px); } }
.card { transition: box-shadow .12s ease, transform .12s ease; }
.card:hover { transform: translateY(-1px); }
.card.lifted:hover { transform: none; }
.board-card { transition: box-shadow .12s ease, transform .12s ease; }
.board-card:hover { transform: translateY(-2px); }
.board-ghost { position: fixed; left: 0; top: 0; z-index: 1000; pointer-events: none; display: flex; align-items: center; gap: 8px; max-width: 260px; padding: 7px 14px 7px 10px; border-radius: 999px; font-weight: 600; background: var(--suite-glassStrong); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 0 0 2px var(--suite-accent), 0 0 24px color-mix(in srgb, var(--suite-accent) 55%, transparent), 0 14px 34px rgba(0,0,0,.25); }
.board-ghost span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drag-src { opacity: .4; }
.cat-group { border-radius: 12px; padding-bottom: 2px; margin-bottom: 2px; transition: background .14s ease, box-shadow .14s ease; }
.home .group { border-radius: 18px; padding: 8px 10px 10px; margin: -8px -10px -10px; transition: background .14s ease, box-shadow .14s ease; }
.drop-zone { background: var(--suite-accentSoft); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--suite-accent) 55%, transparent), 0 0 20px color-mix(in srgb, var(--suite-accent) 28%, transparent); }
.col-count { transition: background .16s ease, color .16s ease; }

/* Entrances */
dialog[open].sheet, dialog[open].palette { animation: sheet-in .2s cubic-bezier(.2,.8,.2,1); }
dialog[open]::backdrop { animation: fade-in .2s ease; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(10px) scale(.97); } }
@keyframes fade-in { from { opacity: 0; } }
.menu { transform-origin: top left; animation: menu-in .12s ease; }
@keyframes menu-in { from { opacity: 0; transform: scale(.96); } }
.toast { animation: toast-in .2s cubic-bezier(.2,.8,.2,1); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 10px); } }
.assistant { animation: slide-in var(--suite-snappy) cubic-bezier(.2,.8,.2,1); }
@keyframes slide-in { from { opacity: 0; transform: translateX(16px); } }

/* Motion off: the Settings switch, in addition to the system's Reduce Motion. */
:root[data-motion="off"] *, :root[data-motion="off"] *::before, :root[data-motion="off"] *::after { animation: none !important; transition: none !important; }
:root[data-motion="off"] .card:hover, :root[data-motion="off"] .board-card:hover, :root[data-motion="off"] .sw:hover { transform: none; }

/* Narrow windows */
@media (max-width: 1100px) {
  .shell.assist-open .content { padding-right: 14px; }
  .assistant { box-shadow: 0 20px 60px rgba(0,0,0,.3); background: var(--suite-glassStrong); }
}
@media (max-width: 900px) {
  .shell, .shell.no-side { grid-template-columns: minmax(0, 1fr); }
  .sidebar, .shell.no-side .sidebar { display: none; }
  .shell.side-open .sidebar { display: flex; position: fixed; z-index: 30; left: 0; top: 0; bottom: 0; width: 276px; background: var(--suite-glassStrong); box-shadow: 0 20px 60px rgba(0,0,0,.3); }
  .toolbar, .shell.no-side .toolbar { padding: 8px; }
  .content, .shell.no-side .content { padding: 0 8px 8px; }
  .board { margin: 0 -8px -8px; }
  .cols, .shell.no-side .cols { padding: 2px 8px 8px; }
  .title { max-width: 180px; }
  .rb-btn .lbl { display: none; }
}
@media (max-width: 640px) {
  .col { flex-basis: 84vw; }
  .fields { grid-template-columns: 1fr; }
  .assistant { left: 8px; right: 8px; width: auto; }
  .share-form, .team-add { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .card:hover, .board-card:hover, .sw:hover { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .suite-glass, .col, .sheet, .menu, .palette, .add-col { background: var(--suite-wall); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --suite-line: rgba(128,128,128,.4); }
}
