@import url('/fonts/fonts.css');
:root {
  --primary: #5b3ff0; --primary-hover: #4a2fd6; --selected: #e4defe; --selected-hover: #d3c9fd; --highlight: #f5f2ff;
  --text: #323338; --text2: #676879; --disabled: rgba(50,51,56,.38); --bg: #fff; --hover: rgba(103,104,121,.1);
  --grey-bg: #f6f7fb; --ui-bg: #e7e9ef; --ui-border: #c3c6d4; --border: #d0d4e4; --link: #1f76c2; --positive: #00854d; --negative: #d83a52;
  --font: Figtree, Roboto, 'Helvetica Neue', sans-serif; --title: Figtree, 'Helvetica Neue', sans-serif;
  --sh-xs: 0 4px 6px -4px rgba(0,0,0,.1); --sh-s: 0 4px 8px rgba(0,0,0,.2); --sh-m: 0 6px 20px rgba(0,0,0,.2); --sh-pop: 0 4px 17px 6px rgba(0,0,0,.1);
  --ease: cubic-bezier(0,0,.35,1);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: var(--font); font-size: 14px; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow: hidden; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
a { color: var(--link); }
.ic { flex: none; display: block; }
h1, h2, h3 { font-family: var(--title); font-weight: 500; margin: 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 4px 12px; border-radius: 4px; background: var(--primary); color: #fff; font-size: 14px; white-space: nowrap; transition: background .1s; }
.btn:hover { background: var(--primary-hover); }
.btn.sec { background: #fff; color: var(--text); border: 1px solid var(--ui-border); }
.btn.sec:hover { background: var(--hover); }
.btn.ghost { background: none; color: var(--text); }
.btn.ghost:hover { background: var(--hover); }
.btn.danger { background: var(--negative); }
.btn.big { height: 40px; padding: 8px 16px; font-size: 16px; }
.btn[disabled] { background: var(--ui-bg); color: var(--disabled); cursor: default; border-color: transparent; }
.iconbtn { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 4px; color: var(--text); }
.iconbtn:hover { background: var(--hover); }
.iconbtn.sm { width: 24px; height: 24px; }
.tbtn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 4px 8px; border-radius: 4px; color: var(--text); white-space: nowrap; }
.tbtn:hover { background: var(--hover); }
.tbtn.on { background: var(--selected); }
.tbtn .badge { background: var(--primary); color: #fff; border-radius: 10px; font-size: 12px; padding: 0 6px; line-height: 18px; }
.input { width: 100%; height: 40px; border: 1px solid var(--ui-border); border-radius: 4px; padding: 8px 12px; outline: none; font-size: 14px; background: #fff; }
.input:focus { border-color: var(--primary); }
.input.sm { height: 32px; padding: 4px 8px; }
textarea.input { height: auto; min-height: 80px; resize: vertical; }
select.input { padding: 4px 8px; }
.flabel { display: block; font-size: 14px; margin: 16px 0 6px; color: var(--text); }
.av { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; font-weight: 500; flex: none; object-fit: cover; letter-spacing: .3px; }
.av.empty { background: none; color: #c3c6d4; border: 1px solid #c3c6d4; }
.av.empty .ic { width: 70%; height: 70%; }
.avs { display: inline-flex; } .avs .av + .av { margin-left: -8px; box-shadow: 0 0 0 2px #fff; }
.new-badge { font-size: 12px; color: var(--primary); border: 1px solid var(--primary); border-radius: 4px; padding: 0 4px; line-height: 16px; }
.muted { color: var(--text2); }
.toggle { width: 36px; height: 20px; border-radius: 10px; background: #c3c6d4; position: relative; flex: none; cursor: pointer; transition: background .15s; }
.toggle::after { content: ''; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .15s; }
.toggle.on { background: var(--primary); } .toggle.on::after { left: 18px; }
.toggle.green.on { background: #00c875; }
.cb { width: 16px; height: 16px; border: 1px solid var(--ui-border); border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; background: #fff; cursor: pointer; flex: none; }
.cb.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.cb.on::after { content: ''; width: 8px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px,-1px); }

/* ---------- app chrome ---------- */
#app { display: grid; grid-template-rows: 48px 1fr; grid-template-columns: 72px auto 1fr; height: 100vh; background: #fff; }
.topbar { grid-column: 1 / -1; display: flex; align-items: center; padding: 0 24px 0 4px; gap: 8px; border-bottom: 1px solid transparent; }
.logo { display: flex; align-items: center; gap: 10px; padding: 0 12px 0 18px; height: 48px; font-family: var(--title); font-weight: 600; font-size: 16px; color: var(--text); cursor: pointer; }
.logo-mark { width: 26px; height: 26px; border-radius: 7px; background: linear-gradient(135deg, var(--primary), #8f7bff); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; letter-spacing: -.5px; }
.logo-sep { width: 1px; height: 20px; background: var(--border); }
.top-search { margin: 0 auto; width: 400px; height: 32px; border-radius: 10px; background: var(--hover); display: flex; align-items: center; gap: 8px; padding: 0 12px; color: var(--text2); cursor: text; }
.top-right { display: flex; align-items: center; gap: 4px; }
.top-right .iconbtn { position: relative; }
.dot-badge { position: absolute; top: 2px; right: 1px; background: var(--primary); color: #fff; font-size: 10px; border-radius: 8px; min-width: 15px; height: 15px; line-height: 15px; text-align: center; padding: 0 3px; border: 2px solid #fff; box-sizing: content-box; }
.top-sep { width: 1px; height: 24px; background: var(--border); margin: 0 6px; }

.rail { grid-row: 2; display: flex; flex-direction: column; align-items: center; padding-top: 6px; border-right: 1px solid var(--border); background: #fff; }
.rail-item { width: 58px; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; font-size: 12px; color: var(--text); cursor: pointer; }
.rail-item .ri { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.rail-item:hover .ri { background: var(--hover); }
.rail-item.on .ri { background: var(--selected); color: var(--primary); }
.rail-sep { width: 40px; height: 1px; background: var(--border); margin: 6px 0; }

.side { grid-row: 2; width: 277px; border-right: 1px solid var(--border); display: flex; flex-direction: column; overflow: hidden; background: #fff; transition: width .2s var(--ease); }
.side.collapsed { width: 0; border-right: 0; }
.side-head { display: flex; align-items: center; padding: 16px 16px 8px 18px; gap: 4px; }
.side-head .t { flex: 1; font-size: 14px; color: var(--text2); }
.ws-row { display: flex; gap: 8px; padding: 4px 16px 8px 18px; }
.ws-switch { flex: 1; height: 40px; border: 1px solid var(--ui-border); border-radius: 4px; display: flex; align-items: center; gap: 8px; padding: 0 10px; cursor: pointer; min-width: 0; }
.ws-switch:hover { background: var(--hover); }
.ws-switch .n { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-av { width: 22px; height: 22px; border-radius: 4px; color: #fff; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; position: relative; flex: none; }
.ws-av.big { width: 100px; height: 100px; border-radius: 16px; font-size: 52px; font-family: var(--title); box-shadow: 0 0 0 4px #fff; }
.ws-plus { width: 40px; height: 40px; border: 1px solid var(--ui-border); border-radius: 4px; display: flex; align-items: center; justify-content: center; }
.ws-plus:hover { background: var(--hover); }
.side-sec { display: flex; align-items: center; padding: 14px 16px 6px 26px; font-size: 13px; font-weight: 500; }
.side-sec .t { flex: 1; }
.side-sec .iconbtn { width: 24px; height: 24px; opacity: .8; }
.side-list { flex: 1; overflow: auto; padding: 0 16px 16px 16px; }
.side-item { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 8px 0 10px; border-radius: 4px; cursor: pointer; position: relative; color: var(--text); user-select: none; }
.side-item:hover { background: var(--hover); }
.side-item.on { background: var(--selected); }
.side-item .n { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-item .dots { display: none; width: 24px; height: 24px; }
.side-item:hover .dots, .side-item.on .dots { display: inline-flex; }
.side-item .ic { color: var(--text2); }
.side-item.drop-target { box-shadow: inset 0 0 0 2px var(--primary); }
.side-item.folder .chev { width: 16px; color: var(--text2); }
.side-children { padding-left: 18px; }
.side-search { margin: 0 16px 6px 18px; }

main { grid-row: 2; overflow: hidden; position: relative; display: flex; flex-direction: column; min-width: 0; }
.page { flex: 1; overflow: auto; }

/* ---------- popovers & menus ---------- */
.pop { position: fixed; z-index: 1000; background: #fff; border-radius: 8px; box-shadow: var(--sh-m); padding: 8px; max-height: calc(100vh - 16px); overflow: auto; animation: popin .1s var(--ease); }
@keyframes popin { from { opacity: 0; transform: translateY(-4px); } }
.menu { min-width: 220px; padding: 8px; }
.menu-item { display: flex; align-items: center; gap: 8px; width: 100%; height: 32px; padding: 4px 8px; border-radius: 4px; text-align: left; white-space: nowrap; font-size: 14px; }
.menu-item:hover, .menu-item.active { background: var(--hover); }
.menu-item.danger { color: var(--text); }
.menu-item.disabled { color: var(--disabled); cursor: default; }
.menu-item.disabled:hover { background: none; }
.menu-item .ml { flex: 1; overflow: hidden; text-overflow: ellipsis; }
.menu-item .mr { color: var(--text2); font-size: 12px; }
.menu-item .mcheck { color: var(--primary); }
.menu-item .ic { color: var(--text); }
.menu-item .sw { width: 16px; height: 16px; border-radius: 50%; flex: none; }
.menu-head { font-size: 12px; color: var(--text2); padding: 8px 8px 4px; }
.menu-div { height: 1px; background: var(--border); margin: 6px 0; }
.pop-title { font-size: 16px; font-weight: 500; padding: 4px 4px 8px; display: flex; align-items: center; gap: 8px; }
.pop-sub { color: var(--text2); font-size: 14px; }

/* ---------- toasts & modals ---------- */
.toast { position: fixed; top: 56px; left: 50%; transform: translateX(-50%); z-index: 3000; background: var(--positive); color: #fff; border-radius: 4px; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; font-size: 14px; box-shadow: var(--sh-s); animation: popin .15s; }
.toast.err { background: var(--negative); }
.toast-undo { border: 1px solid #fff; border-radius: 4px; padding: 2px 10px; color: #fff; }
.toast-x { color: #fff; display: flex; padding: 4px; }
.modal-back { position: fixed; inset: 0; background: rgba(41,47,76,.7); z-index: 900; display: flex; align-items: center; justify-content: center; animation: fade .12s; }
@keyframes fade { from { opacity: 0; } }
.modal { background: #fff; border-radius: 8px; box-shadow: var(--sh-m); padding: 24px 32px; max-width: calc(100vw - 48px); max-height: calc(100vh - 48px); overflow: auto; }
.modal-back.full .modal { width: calc(100vw - 48px); height: calc(100vh - 48px); padding: 0; display: flex; flex-direction: column; }
.mhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.mhead h2 { font-size: 24px; font-weight: 500; }
.mtext { color: var(--text); font-size: 16px; line-height: 24px; margin: 8px 0 24px; }
.mfoot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 24px; }
.seg { display: inline-flex; border: 1px solid var(--ui-border); border-radius: 4px; overflow: hidden; }
.seg button { padding: 6px 14px; font-size: 14px; }
.seg button.on { background: var(--selected); color: var(--primary); }
.radio-row { display: flex; gap: 24px; margin-top: 4px; }
.radio-row label { display: flex; align-items: center; gap: 6px; cursor: pointer; }

/* ---------- page headers ---------- */
.bhead { padding: 20px 32px 0 40px; flex: none; }
.btitle-row { display: flex; align-items: center; gap: 4px; height: 44px; }
.btitle { font-family: var(--title); font-size: 24px; font-weight: 500; padding: 0 4px; border: 1px solid transparent; border-radius: 4px; cursor: text; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 460px; }
.btitle:hover { border-color: var(--border); }
.inline-input { font: inherit; border: 1px solid var(--primary); border-radius: 4px; outline: none; padding: 0 4px; background: #fff; }
.bhead-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.vtabs { display: flex; align-items: center; gap: 2px; border-bottom: 1px solid var(--border); margin-top: 2px; }
.vtab { display: flex; align-items: center; gap: 6px; padding: 6px 12px 8px; border-radius: 4px 4px 0 0; position: relative; cursor: pointer; white-space: nowrap; }
.vtab:hover { background: var(--hover); }
.vtab.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--primary); }
.vtab .iconbtn { width: 20px; height: 20px; }
.vtab .ic { color: var(--text2); }
.toolbar { display: flex; align-items: center; gap: 4px; padding: 16px 0 12px; }
.splitbtn { display: inline-flex; }
.splitbtn .btn:first-child { border-radius: 4px 0 0 4px; }
.splitbtn .btn:last-child { border-radius: 0 4px 4px 0; padding: 4px 6px; margin-left: 1px; }
.tb-search { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 8px; border: 1px solid var(--primary); border-radius: 4px; width: 200px; }
.tb-search input { border: 0; outline: 0; flex: 1; min-width: 0; }
.empty-state { text-align: center; color: var(--text2); padding: 80px 20px; }
.empty-state h3 { color: var(--text); font-size: 18px; margin-bottom: 8px; }

/* ---------- board table ---------- */
.board-body { flex: 1; overflow: auto; padding: 0 0 120px 40px; position: relative; }
.grp { margin-bottom: 40px; width: max-content; min-width: calc(100% - 20px); }
.grp-head { display: flex; align-items: center; height: 40px; position: sticky; left: 0; gap: 4px; margin-left: -34px; padding-left: 0; width: max-content; }
.grp-head .gdots { width: 28px; height: 28px; visibility: hidden; }
.grp-head:hover .gdots { visibility: visible; }
.grp-head .gchev { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 4px; }
.grp-head .gchev:hover { background: var(--hover); }
.grp-title { font-family: var(--title); font-size: 18px; font-weight: 500; padding: 0 4px; border: 1px solid transparent; border-radius: 4px; cursor: text; white-space: nowrap; }
.grp-title:hover { border-color: var(--border); }
.grp-count { color: var(--text2); font-size: 14px; margin-left: 6px; visibility: hidden; }
.grp-head:hover .grp-count { visibility: visible; }
.grp.collapsed .grp-count { visibility: visible; }
.tbl { display: grid; position: relative; border-left: 6px solid var(--gc); border-radius: 4px 0 0 4px; }
.row { display: contents; }
.cell { height: 36px; border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); display: flex; align-items: center; justify-content: center; background: #fff; position: relative; min-width: 0; font-size: 14px; }
.row.hdr .cell { border-top: 1px solid var(--border); font-size: 14px; color: var(--text); padding: 0 24px 0 8px; }
.row.hdr .cell .ht { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row.hdr .cell .hacts { position: absolute; right: 2px; display: none; align-items: center; }
.row.hdr .cell:hover .hacts { display: flex; }
.row.hdr .cell .iconbtn { width: 22px; height: 22px; }
.row.hdr .cell.sorted .ht::after { content: ' ↑'; color: var(--primary); }
.row.hdr .cell.sorted.desc .ht::after { content: ' ↓'; }
.resize { position: absolute; right: -3px; top: 0; bottom: 0; width: 6px; cursor: col-resize; z-index: 2; }
.resize:hover { background: var(--primary); opacity: .5; }
.cell.ck { width: 40px; position: sticky; left: 0; z-index: 3; }
.cell.nm { position: sticky; left: 40px; z-index: 3; justify-content: flex-start; padding: 0 0 0 8px; gap: 4px; background: var(--bg); }
.row.hdr .cell.nm { justify-content: center; }
.cell.nm .nmtxt { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 2px 4px; border: 1px solid transparent; border-radius: 4px; cursor: text; }
.cell.nm .nmtxt:hover { border-color: var(--border); }
.cell.nm .upd { width: 64px; height: 35px; border-left: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text2); flex: none; position: relative; }
.cell.nm .upd:hover { color: var(--primary); }
.cell.nm .upd.has { color: var(--primary); }
.cell.nm .upd .cnt { position: absolute; bottom: 5px; right: 17px; background: var(--primary); color: #fff; border-radius: 50%; width: 14px; height: 14px; font-size: 10px; display: flex; align-items: center; justify-content: center; }
.cell.nm .xchev { width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; color: var(--text2); border-radius: 4px; margin-left: -4px; }
.cell.nm .xchev.hide { visibility: hidden; }
.row:hover .cell.nm .xchev.hide { visibility: visible; }
.cell.nm .subcnt { font-size: 12px; color: var(--text2); background: var(--ui-bg); border-radius: 8px; padding: 0 6px; margin-right: 4px; }
.row:hover > .cell { background: #f5f6f8; }
.row:hover > .cell.st, .row:hover > .cell.pr { background: inherit; }
.row.sel > .cell { background: var(--selected) !important; }
.row.sel > .cell.st, .row.sel > .cell.pr { background: inherit !important; }
.row .rdots { position: absolute; left: -36px; top: 4px; width: 28px; height: 28px; display: none; }
.row:hover .rdots { display: inline-flex; }
.cell.add { color: var(--text2); cursor: pointer; }
.cell.add:hover { background: var(--hover); }
.row.addrow .cell { border-bottom: 1px solid var(--border); }
.row.addrow .cell.nm input { border: 1px solid transparent; outline: 0; height: 24px; width: 272px; padding-left: 16px; border-radius: 4px; background: transparent; }
.row.addrow .cell.nm input:focus { border-color: var(--primary); background: #fff; }
.row.addrow .cell.fill { border-right: 0; }
.cell.fill { border-right: 0; background: transparent !important; }
.row.addrow .cell.ck { opacity: .5; }
.foot .cell { border-bottom: 1px solid var(--border); height: 35px; background: #fff; }
.foot .cell.blank { border: 0; background: transparent; }
.foot .cell.first { border-left: 1px solid var(--border); }
.cell.focus { outline: 1px solid #323338; outline-offset: -1px; z-index: 1; }
.dragging-row > .cell { opacity: .4; }
.drop-above > .cell { box-shadow: inset 0 2px 0 var(--primary); }
.add-group { margin: 0 0 40px -0px; }

/* cell types */
.cell.st, .cell.pr { color: #fff; cursor: pointer; padding: 0; transition: filter .1s; }
.cell.st:hover::after, .cell.pr:hover::after { content: ''; position: absolute; top: 0; right: 0; border-style: solid; border-width: 0 10px 10px 0; border-color: transparent rgba(0,0,0,.2) transparent transparent; }
.cell.st:hover, .cell.pr:hover { filter: brightness(1.06); }
.cell .lbl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 8px; }
.cell.pp { cursor: pointer; }
.cell.pp .add-p { position: absolute; left: 8px; color: #fff; background: var(--primary); border-radius: 50%; width: 16px; height: 16px; display: none; align-items: center; justify-content: center; }
.cell.pp:hover .add-p { display: flex; }
.cell.dt { cursor: pointer; gap: 6px; }
.cell.dt .dic { position: absolute; left: 8px; }
.cell.dt .dic.late { color: var(--negative); }
.cell.dt .dic.ok { color: #00c875; }
.cell.dt.done .dv { text-decoration: line-through; color: var(--text2); }
.cell.dt .clr { position: absolute; right: 6px; display: none; color: var(--text2); }
.cell.dt:hover .clr { display: flex; }
.cell.dt .hint { color: var(--text2); display: none; }
.cell.dt:hover .hint { display: flex; }
.cell.tx { cursor: text; padding: 0 8px; justify-content: center; }
.cell.tx .tv { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cell.tx.num .tv { font-variant-numeric: tabular-nums; }
.cell input.cell-input { width: 100%; height: 26px; border: 1px solid var(--primary); border-radius: 4px; outline: 0; padding: 0 6px; text-align: center; }
.cell.cbx { cursor: pointer; }
.cell.cbx .cbm { width: 20px; height: 20px; border: 1px solid var(--ui-border); border-radius: 4px; display: flex; align-items: center; justify-content: center; color: #00c875; }
.cell.tl .tlbar { width: calc(100% - 24px); height: 22px; border-radius: 11px; color: #fff; font-size: 13px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; background: #333; }
.cell.tl .tlbar .tlfill { position: absolute; left: 0; top: 0; bottom: 0; }
.cell.tl .tlbar span { position: relative; }
.cell.tl .tlempty { width: calc(100% - 24px); height: 22px; border-radius: 11px; background: #c4c4c4; color: #fff; display: flex; align-items: center; justify-content: center; }
.cell.dd { gap: 4px; padding: 0 6px; cursor: pointer; overflow: hidden; }
.chip { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 11px; font-size: 13px; white-space: nowrap; background: var(--ui-bg); color: var(--text); flex: none; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.cell.fl { gap: 4px; cursor: pointer; }
.fthumb { width: 26px; height: 26px; border-radius: 4px; border: 1px solid var(--border); object-fit: cover; background: var(--grey-bg); display: inline-flex; align-items: center; justify-content: center; font-size: 9px; color: var(--text2); overflow: hidden; }
.cell .stars { color: #ffcb00; letter-spacing: 1px; cursor: pointer; font-size: 16px; }
.cell .stars .off { color: #e7e9ef; }
.cell .lnk { color: var(--link); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 8px; }
.cell.ro { color: var(--text2); font-size: 13px; gap: 6px; padding: 0 8px; }
.prog { width: calc(100% - 24px); height: 22px; background: var(--ui-bg); border-radius: 2px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.prog i { position: absolute; left: 0; top: 0; bottom: 0; background: #00c875; }
.prog span { position: relative; }

/* footer summaries */
.battery { display: flex; width: calc(100% - 16px); height: 24px; overflow: hidden; }
.battery i { display: block; height: 100%; }
.battery.empty { background: #c4c4c4; }
.date-pill { height: 22px; border-radius: 11px; color: #fff; font-size: 14px; display: flex; align-items: center; justify-content: center; width: calc(100% - 32px); position: relative; overflow: hidden; }
.date-pill.empty { background: #c4c4c4 !important; }
.sum { font-size: 14px; display: flex; flex-direction: column; align-items: center; line-height: 14px; }
.sum small { font-size: 11px; color: var(--text2); }

/* subitems */
.subwrap { grid-column: 1 / -1; padding: 0 0 8px 32px; position: relative; background: #fff; }
.subwrap::before { content: ''; position: absolute; left: 20px; top: 0; height: 18px; width: 12px; border-left: 1px solid var(--border); border-bottom: 1px solid var(--border); border-bottom-left-radius: 6px; }
.subwrap .tbl { border-left-color: var(--gc); border-left-width: 4px; opacity: 1; }
.subwrap .row.hdr .cell { font-size: 13px; }

/* status picker */
.spick { width: 200px; display: flex; flex-direction: column; gap: 6px; padding: 12px; align-items: center; }
.spick .lb { width: 152px; height: 32px; border-radius: 2px; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.spick .lb:hover { filter: brightness(.92); }
.spick .lb.blank { border: 1px dashed var(--ui-border); }
.spick .edit { display: flex; align-items: center; gap: 6px; padding: 8px; border-radius: 4px; width: 100%; justify-content: center; }
.spick .edit:hover { background: var(--hover); }
.lab-edit { width: 260px; padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.lab-edit .lr { display: flex; align-items: center; gap: 4px; border: 1px solid var(--border); border-radius: 2px; height: 32px; }
.lab-edit .lr .swb { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; color: #fff; flex: none; cursor: pointer; }
.lab-edit .lr input { border: 0; outline: 0; flex: 1; min-width: 0; text-align: center; }
.lab-edit .lr .iconbtn { width: 24px; height: 24px; }
.lab-edit .lr .dh { cursor: grab; color: var(--text2); display: flex; }
.palette { display: grid; grid-template-columns: repeat(8, 24px); gap: 6px; padding: 12px; }
.palette.g5 { grid-template-columns: repeat(5, 24px); }
.palette button { width: 24px; height: 24px; border-radius: 4px; }
.palette button:hover { transform: scale(1.12); }
.palette.round button { border-radius: 50%; }

/* people picker */
.ppick { width: 300px; padding: 12px; }
.ppick .chosen { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.ppick .pchip { display: flex; align-items: center; gap: 6px; background: var(--selected); border-radius: 16px; padding: 2px 8px 2px 2px; font-size: 13px; }
.ppick .prow { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 4px; cursor: pointer; }
.ppick .prow:hover { background: var(--hover); }

/* date picker */
.dpick { width: 296px; padding: 16px; }
.dpick .dtop { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; }
.dpick .mnav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-weight: 500; }
.dpick .dgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.dpick .dgrid .dw { font-size: 12px; color: var(--text2); padding: 4px 0; }
.dpick .dgrid button { height: 34px; border-radius: 4px; font-size: 14px; }
.dpick .dgrid button:hover { background: var(--hover); }
.dpick .dgrid button.other { color: var(--disabled); }
.dpick .dgrid button.today { color: var(--primary); font-weight: 600; }
.dpick .dgrid button.sel, .dpick .dgrid button.inrange.sel { background: var(--primary); color: #fff; }
.dpick .dgrid button.inrange { background: var(--selected); border-radius: 0; }

/* add column popover */
.addcol { width: 373px; padding: 16px 16px 0; }
.addcol .cgh { font-size: 13px; color: var(--text2); margin: 14px 0 6px; }
.addcol .cgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 8px; }
.addcol .ctype { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 8px; border-radius: 4px; text-align: left; }
.addcol .ctype:hover { background: var(--hover); }
.ctile { width: 20px; height: 20px; border-radius: 4px; color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.ctile .ic { width: 14px; height: 14px; }
.addcol .more { border-top: 1px solid var(--border); text-align: center; padding: 12px; margin-top: 12px; display: block; width: 100%; }
.addcol .more:hover { background: var(--hover); }

/* column center modal */
.colcenter { display: grid; grid-template-columns: 220px 1fr; height: 100%; }
.colcenter .cc-side { border-right: 1px solid var(--border); padding: 24px 12px; }
.colcenter .cc-side button { display: block; width: 100%; text-align: left; padding: 8px 12px; border-radius: 4px; }
.colcenter .cc-side button.on { background: var(--selected); }
.colcenter .cc-main { padding: 24px 32px; overflow: auto; }
.colcenter .cc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 16px; }
.colcenter .cc-card { border: 1px solid var(--border); border-radius: 8px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.colcenter .cc-card .ctile { width: 32px; height: 32px; } .colcenter .cc-card .ctile .ic { width: 20px; height: 20px; }
.colcenter .cc-card p { color: var(--text2); margin: 0; flex: 1; font-size: 14px; }

/* toolbar panels */
.fpanel { width: 760px; padding: 16px 20px; }
.fpanel .fhead { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.fpanel .fhead b { font-weight: 500; font-size: 16px; }
.fpanel .fcols { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; }
.fpanel .fcol { min-width: 150px; max-width: 170px; }
.fpanel .fcol h4 { margin: 0 0 8px; font-weight: 400; color: var(--text2); font-size: 14px; }
.fpanel .fopt { display: flex; align-items: center; gap: 6px; width: 100%; padding: 4px 8px; border-radius: 4px; margin-bottom: 4px; background: var(--grey-bg); font-size: 13px; height: 30px; text-align: left; }
.fpanel .fopt:hover { background: var(--hover); }
.fpanel .fopt.on { background: var(--selected); }
.fpanel .fopt .n { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fpanel .fopt .sw { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.fpanel .fopt .c { color: var(--text2); }
.fpanel .ffoot { border-top: 1px solid var(--border); margin-top: 12px; padding-top: 10px; }
.frule { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.frule .w { width: 60px; color: var(--text2); }
.frule select { height: 32px; border: 1px solid var(--ui-border); border-radius: 4px; padding: 0 6px; min-width: 140px; background: #fff; }
.frule input { height: 32px; border: 1px solid var(--ui-border); border-radius: 4px; padding: 0 8px; width: 160px; }
.linkbtn { color: var(--primary); display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px; border-radius: 4px; }
.linkbtn:hover { background: var(--hover); }
.hide-panel { width: 300px; padding: 12px; }
.hide-panel label { display: flex; align-items: center; gap: 8px; padding: 6px 4px; cursor: pointer; border-radius: 4px; }
.hide-panel label:hover { background: var(--hover); }

/* bulk bar */
.bulk { position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%); background: #fff; border-radius: 8px; box-shadow: var(--sh-m); display: flex; align-items: stretch; height: 66px; z-index: 500; overflow: hidden; animation: popin .15s; }
.bulk .bc { background: var(--primary); color: #fff; width: 66px; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.bulk .bt { display: flex; flex-direction: column; justify-content: center; padding: 0 24px; font-size: 18px; border-right: 1px solid var(--border); }
.bulk .bt .dots { display: flex; gap: 3px; margin-top: 4px; } .bulk .bt .dots i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.bulk .ba { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 76px; font-size: 13px; color: var(--text); }
.bulk .ba:hover { background: var(--hover); }
.bulk .bx { width: 56px; display: flex; align-items: center; justify-content: center; border-left: 1px solid var(--border); }

/* item panel */
.ipanel-back { position: fixed; inset: 48px 0 0 0; z-index: 400; pointer-events: none; }
.ipanel { position: absolute; right: 0; top: 0; bottom: 0; width: 700px; max-width: 100vw; background: #fff; box-shadow: -6px 0 20px rgba(0,0,0,.12); pointer-events: auto; display: flex; flex-direction: column; animation: slidein .2s var(--ease); }
@keyframes slidein { from { transform: translateX(40px); opacity: 0; } }
.ipanel .ih { display: flex; align-items: center; gap: 8px; padding: 18px 16px 8px 16px; }
.ipanel .ih .ititle { font-family: var(--title); font-size: 24px; line-height: 34px; font-weight: 500; flex: 1; padding: 0 6px; border: 1px solid transparent; border-radius: 4px; cursor: text; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ipanel .ih .ititle:hover { border-color: var(--border); }
.ipanel .crumb { padding: 0 24px; color: var(--text2); font-size: 13px; display: flex; gap: 6px; align-items: center; }
.ipanel .itabs { display: flex; gap: 4px; padding: 0 16px; border-bottom: 1px solid var(--border); margin-top: 8px; }
.ipanel .ibody { flex: 1; overflow: auto; padding: 16px; }
.icolumns { display: grid; grid-template-columns: 160px 1fr; gap: 4px 12px; margin-bottom: 16px; }
.icolumns .k { display: flex; align-items: center; gap: 6px; color: var(--text2); height: 36px; }
.icolumns .v { height: 36px; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; display: flex; }
.icolumns .v .cell { flex: 1; border: 0; height: 34px; }
.composer { border: 1px solid var(--border); border-radius: 8px; margin-bottom: 16px; }
.composer.idle { cursor: text; }
.composer .ctb { display: flex; gap: 2px; padding: 6px 8px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.composer .ctb .iconbtn { width: 28px; height: 28px; }
.composer .cbody { min-height: 60px; padding: 12px; outline: 0; line-height: 22px; }
.composer .cbody:empty::before { content: attr(data-ph); color: var(--text2); }
.composer .cfoot { display: flex; align-items: center; gap: 4px; padding: 6px 8px 8px; }
.composer .cfoot .btn { margin-left: auto; }
.composer .cfiles { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 12px 8px; }
.upd-card { border: 1px solid var(--border); border-radius: 8px; margin-bottom: 16px; }
.upd-card .uh { display: flex; align-items: center; gap: 10px; padding: 16px 16px 6px; }
.upd-card .uh b { font-weight: 600; }
.upd-card .ub { padding: 8px 24px 16px; line-height: 22px; word-wrap: break-word; }
.upd-card .ub img { max-width: 100%; border-radius: 4px; }
.upd-card .ureact { padding: 0 24px 8px; display: flex; gap: 6px; }
.upd-card .ureact span { border: 1px solid var(--border); border-radius: 12px; padding: 0 8px; font-size: 13px; }
.upd-card .uacts { display: flex; border-top: 1px solid var(--border); }
.upd-card .uacts button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; height: 48px; color: var(--text2); max-width: 100px; }
.upd-card .uacts button:hover { background: var(--hover); }
.upd-card .uacts button.liked { color: var(--primary); }
.upd-card .reply { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--border); align-items: flex-start; }
.upd-card .reply .rbox { flex: 1; border: 1px solid var(--border); border-radius: 4px; padding: 10px 16px; min-height: 40px; outline: 0; }
.upd-card .reply .rbox:empty::before { content: attr(data-ph); color: var(--text2); }
.upd-card .rp { display: flex; gap: 8px; padding: 10px 16px; border-top: 1px solid var(--border); background: var(--grey-bg); }
.upd-card .rp .rpb { background: #fff; border-radius: 8px; padding: 8px 12px; flex: 1; }
.mention { color: var(--primary); background: var(--highlight); border-radius: 4px; padding: 0 2px; }
.act-row { display: flex; align-items: center; gap: 12px; padding: 10px 4px; border-bottom: 1px solid var(--border); font-size: 14px; }
.act-row .t { width: 44px; color: var(--text2); font-size: 13px; }
.act-row .nm { width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.act-row .cl { width: 140px; display: flex; gap: 6px; align-items: center; color: var(--text2); }
.act-row .fr { color: var(--text2); text-decoration: line-through; }
.dropzone { border: 2px dashed var(--border); border-radius: 8px; padding: 48px 20px; text-align: center; color: var(--text2); }
.dropzone.over { border-color: var(--primary); background: var(--highlight); }
.fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.fcard { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; cursor: pointer; }
.fcard .fprev { height: 110px; background: var(--grey-bg); display: flex; align-items: center; justify-content: center; }
.fcard .fprev img, .fcard .fprev video { width: 100%; height: 100%; object-fit: cover; }
.fcard .fn { padding: 8px; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* workspace home & simple pages */
.wshome .cover { height: 170px; background: var(--grey-bg); }
.wshome .whead { display: flex; align-items: flex-end; gap: 20px; padding: 0 64px; margin-top: -54px; }
.wshome .whead h1 { font-size: 30px; font-weight: 500; }
.wshome .wdesc { color: var(--text2); margin-top: 6px; cursor: text; }
.wshome .wbody { padding: 20px 64px; }
.ptabs { display: flex; gap: 8px; border-bottom: 1px solid var(--border); }
.ptabs button { display: flex; align-items: center; gap: 6px; padding: 10px 12px; position: relative; color: var(--text); }
.ptabs button.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--primary); }
.ptabs button.locked { color: var(--disabled); }
.lrow { display: flex; align-items: center; gap: 12px; padding: 0 12px; height: 57px; border-bottom: 1px solid var(--border); cursor: pointer; }
.lrow:hover { background: var(--grey-bg); }
.lrow .n { flex: 1; }
.lrow .m { color: var(--text2); font-size: 13px; width: 180px; }
.lrow .star { color: var(--text2); } .lrow .star.on { color: #ffcb00; }
.plain-page { padding: 28px 40px; max-width: 1200px; }
.plain-page h1 { font-size: 30px; margin-bottom: 16px; }
.mw-sec { margin-top: 20px; }
.mw-sec h3 { font-size: 18px; display: flex; gap: 8px; align-items: center; margin-bottom: 8px; cursor: pointer; }
.mw-tbl { width: 100%; border-collapse: collapse; }
.mw-tbl td, .mw-tbl th { border-bottom: 1px solid var(--border); height: 40px; padding: 0 10px; text-align: left; font-weight: 400; }
.mw-tbl th { color: var(--text2); font-size: 13px; }
.mw-tbl tr:hover td { background: var(--grey-bg); cursor: pointer; }
.mw-tbl td.stc { color: #fff; text-align: center; width: 140px; }

/* notifications panel */
.notif { width: 520px; max-height: 640px; padding: 0; }
.notif .nh { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px 10px; }
.notif .nh h2 { font-size: 24px; }
.notif .nrow { display: flex; gap: 12px; padding: 12px 24px; cursor: pointer; position: relative; }
.notif .nrow:hover { background: var(--grey-bg); }
.notif .nrow.unread::after { content: ''; position: absolute; right: 18px; top: 22px; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.notif .nrow .nt { flex: 1; line-height: 20px; }
.notif .nrow .nt small { color: var(--text2); display: block; }

/* global search */
.gsearch { width: 640px; padding: 0; }
.gsearch .gin { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.gsearch .gin input { flex: 1; border: 0; outline: 0; font-size: 18px; }
.gsearch .gres { max-height: 460px; overflow: auto; padding: 8px; }
.gsearch .gr { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 4px; cursor: pointer; }
.gsearch .gr:hover, .gsearch .gr.on { background: var(--hover); }
.gsearch .gr small { color: var(--text2); margin-left: auto; }

/* linked items, pulled values, time tracking */
.cell.cn { cursor: pointer; padding: 0 6px; overflow: hidden; justify-content: flex-start; }
.lchips { display: flex; gap: 4px; overflow: hidden; min-width: 0; }
.lchip { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 13px; white-space: nowrap; max-width: 160px; overflow: hidden; text-overflow: ellipsis; background: #fff1ea; color: #a8411b; border: 1px solid #ffd9c7; flex: none; cursor: pointer; }
.lchip:hover { background: #ffe2d3; }
.cell.mr { overflow: hidden; justify-content: flex-start; }
.mchip { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 4px; color: #fff; font-size: 12px; white-space: nowrap; flex: none; }
.cpick .cp-list { max-height: 260px; overflow: auto; margin-top: 6px; }
.cpick .prow { gap: 8px; }
.cpick .gdot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.cpick .cp-n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cpick .cp-b { font-size: 12px; flex: none; }
.cell.tt { gap: 8px; justify-content: flex-start; padding: 0 10px; cursor: pointer; font-size: 13px; color: var(--text2); }
.cell.tt.on { color: #6c2bd9; font-weight: 500; }
.ttbtn { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--border); background: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.ttbtn:hover { border-color: #9d50dd; }
.ttbtn .pl { width: 0; height: 0; border-left: 8px solid #9d50dd; border-top: 5px solid transparent; border-bottom: 5px solid transparent; margin-left: 2px; }
.ttbtn .sq { width: 8px; height: 8px; background: #df2f4a; border-radius: 1px; }
.cell.tt.on .ttbtn { border-color: #df2f4a; animation: ttpulse 1.6s infinite; }
@keyframes ttpulse { 50% { box-shadow: 0 0 0 4px rgba(223,47,74,.15); } }
.ttpick { width: 280px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.ttbig { font-size: 26px; font-family: var(--title); font-weight: 500; text-align: center; }
.tts { display: flex; justify-content: space-between; font-size: 13px; color: var(--text2); padding: 2px 0; }
.linkbtn { background: none; border: 0; color: var(--text2); font-size: 12px; cursor: pointer; text-decoration: underline; align-self: center; margin-top: 4px; }
.linked-from { margin-top: 18px; }
.linked-from h4 { font-size: 14px; font-weight: 500; margin: 0 0 8px; }
.linked-from .lf-row { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 6px; cursor: pointer; font-size: 14px; }
.linked-from .lf-row:hover { background: var(--ui-bg); }

/* create board: template picker */
.tplgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; max-height: 340px; overflow: auto; padding: 2px; }
.tplc { position: relative; display: grid; grid-template-columns: 24px 1fr; gap: 2px 10px; text-align: left; padding: 12px; border: 1px solid var(--border); border-radius: 8px; background: #fff; cursor: pointer; font: inherit; color: var(--text); }
.tplc:hover { border-color: var(--primary); }
.tplc.on { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); background: #f4f8ff; }
.tplc .ic { grid-row: span 2; color: var(--text2); margin-top: 1px; }
.tplc b { font-weight: 500; font-size: 14px; }
.tplc span { font-size: 12.5px; color: var(--text2); line-height: 1.35; }
.tplc .tpl-del { position: absolute; top: 8px; right: 8px; color: var(--text2); display: none; }
.tplc:hover .tpl-del { display: block; }

/* colour rows by rule */
.row.cond-row > .cell:not(.st):not(.pr):not(.fill) { background-color: color-mix(in srgb, var(--cond) 16%, #fff); }
.row.cond-row > .cell.ck { box-shadow: inset 4px 0 0 var(--cond); }
.row.cond-cell > .cell.cond-hit:not(.st):not(.pr) { background-color: color-mix(in srgb, var(--cond) 22%, #fff); box-shadow: inset 0 0 0 1.5px var(--cond); }
.cond-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.cond-rule { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; }
.cond-rule select.input { width: auto; min-width: 110px; height: 32px; }
.cond-sw { display: flex; gap: 4px; }
.cond-sw button { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--border); cursor: pointer; padding: 0; }
.cond-sw button.on { box-shadow: 0 0 0 2px var(--text); }

/* ---- extras: pinned columns, dependencies, more column types, repeating items ---- */
.cell.pinned { position: sticky; z-index: 2; background: #fff; }
.row.hdr .cell.pinned { background: #fff; }
.cell.pin-last { box-shadow: 4px 0 6px -4px rgba(0,0,0,.18); }
.row.sel > .cell.pinned:not(.st):not(.pr) { background: var(--selected); }
.cell.dep { gap: 6px; }
.dep-flag { flex: none; font-size: 11px; font-weight: 600; color: #fff; background: var(--negative); border-radius: 10px; padding: 1px 8px; }
.dep-ok { flex: none; color: var(--positive); display: inline-flex; }
.wkpill { background: var(--ui-bg); border-radius: 12px; padding: 2px 10px; font-size: 13px; white-space: nowrap; }
.vote { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 12px; border: 1px solid var(--border); font-size: 13px; }
.vote.on { background: var(--selected); border-color: var(--primary); color: var(--primary); }
.cbtn { display: inline-block; color: #fff; font-size: 13px; font-weight: 500; padding: 4px 12px; border-radius: 4px; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.cbtn:hover { filter: brightness(.92); }
.swc { width: 16px; height: 16px; border-radius: 4px; flex: none; margin-right: 6px; border: 1px solid rgba(0,0,0,.1); }
.rep { color: var(--primary); display: inline-flex; flex: none; }
/* cover the 40px gutter left of the table so cells don't show through when scrolled sideways; keeps the group colour bar in place */
.board-body .tbl > .row > .cell.ck::before { content: ''; position: absolute; top: -1px; bottom: -1px; right: 100%; width: 46px; background: linear-gradient(to right, var(--bg) 40px, var(--gc) 40px); pointer-events: none; }
.board-body .tbl > .row.foot > .cell.ck::before, .board-body .subwrap .cell.ck::before { display: none; }
.board-body .row.foot > .cell.blank:nth-child(1) { position: sticky; left: 0; z-index: 3; background: var(--bg); }
.board-body .row.foot > .cell.blank:nth-child(2) { position: sticky; left: 40px; z-index: 3; background: var(--bg); }
.board-body .row.foot > .cell.blank:nth-child(1)::before { content: ''; position: absolute; top: 0; bottom: 0; right: 100%; width: 46px; background: var(--bg); pointer-events: none; }
.cell.tx a.lnk { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
