/* Kill Moe Teams — matte pouch black, slime green, marker accents. Phone first, three panes on desktop. */
:root {
  --bg: #090b06; --side: #0e110a; --slab: #13160d; --slab-2: #1a1e12; --slab-3: #22271a;
  --line: #262c19; --line-2: #343b24;
  --lime: #c3f02c; --lime-ink: #0a0c07; --lime-soft: rgba(195, 240, 44, .12); --lime-line: rgba(195, 240, 44, .35);
  --text: #e9efdc; --text-2: #c9d1b8; --muted: #a3ad8e;
  --late: #ff8a5c; --late-bg: #2e1910; --owed: #ffd166; --owed-bg: #2a230e; --ok: #8fe37a;
  --f-display: "Anton", Impact, sans-serif; --f-brush: "Permanent Marker", cursive; --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 12px; --side-w: 280px; --thread-w: 380px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.5 var(--f-body); }
a { color: var(--lime); }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 10px; top: 10px; z-index: 99; background: var(--lime); color: var(--lime-ink); padding: 8px 12px; }
.muted { color: var(--muted); } .small { font-size: 13px; } .pad { padding: 8px 14px; }

/* buttons & fields */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 9px 16px; border-radius: 10px; border: 1px solid var(--lime); background: var(--lime); color: var(--lime-ink); font-weight: 700; cursor: pointer; text-decoration: none; }
.btn.ghost { background: transparent; color: var(--lime); border-color: var(--line-2); }
.btn.small { min-height: 34px; padding: 6px 12px; font-size: 13px; }
.btn.danger { color: var(--late); border-color: rgba(255, 138, 92, .4); }
.mini { min-width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); background: transparent; cursor: pointer; display: inline-grid; place-items: center; font-size: 15px; }
.mini:hover { background: var(--slab-2); }
input[type=text], input[type=email], input[type=password], input[type=search], input[type=date], input:not([type]), textarea, select {
  width: 100%; min-height: 42px; padding: 9px 12px; background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px; }
input:focus, textarea:focus, select:focus { border-color: var(--lime); outline: none; }
.chip { display: inline-flex; align-items: center; font: 600 12px/1 var(--f-body); padding: 5px 9px; border-radius: 99px; background: var(--slab-3); color: var(--text-2); border: 1px solid var(--line-2); }
.chip.ok, .chip.s-approved, .chip.s-paid { color: var(--ok); border-color: #2f5224; background: #12200d; }
.chip.s-pending, .chip.s-requested { color: var(--owed); border-color: #5a4a1a; background: var(--owed-bg); }
.chip.s-approved { } .chip.s-changes-requested, .chip.s-declined { color: var(--late); border-color: #6b2f1a; background: var(--late-bg); }

/* sign in */
body.auth { display: grid; place-items: center; min-height: 100vh; padding: 20px; background: radial-gradient(60% 50% at 50% 0%, rgba(195, 240, 44, .12), transparent 70%), var(--bg); }
.auth-box { width: min(420px, 100%); background: var(--slab); border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: grid; gap: 14px; }
.auth-box h1 { margin: 0; font: 400 34px/1 var(--f-display); text-transform: uppercase; }
.auth-brand, .brand { display: flex; align-items: center; gap: 10px; color: var(--lime); text-decoration: none; margin: 0; }
.auth-brand svg, .brand svg { width: 38px; height: 31px; filter: drop-shadow(0 0 8px rgba(195, 240, 44, .5)); }
.auth-brand span, .brand span { font: 400 26px/1 var(--f-brush); }
.brand span b, .auth-brand span b { font: 400 .62em/1 var(--f-display); letter-spacing: .12em; color: var(--text); margin-left: 4px; vertical-align: middle; }
.stack { display: grid; gap: 10px; }
.flash.err { background: var(--late-bg); color: var(--late); border: 1px solid #6b2f1a; border-radius: 10px; padding: 10px 12px; margin: 0; }

/* shell */
.shell { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); height: 100vh; height: 100dvh; }
body.in-thread .shell { grid-template-columns: var(--side-w) minmax(0, 1fr) var(--thread-w); }
.side { background: var(--side); border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.side-head { padding: 16px 16px 8px; }
.search { padding: 4px 12px 8px; }
.search input { min-height: 38px; font-size: 14px; }
.side-scroll { flex: 1; overflow-y: auto; padding: 4px 8px 16px; }
.side-sec { display: flex; align-items: center; justify-content: space-between; padding: 14px 8px 6px; font: 600 11px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.side-sec .mini { height: 26px; min-width: 26px; }
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.item { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 7px 10px; border-radius: 9px; text-decoration: none; color: var(--text-2); }
.item:hover { background: var(--slab-2); }
.item.on { background: var(--lime-soft); color: var(--text); box-shadow: inset 3px 0 0 var(--lime); }
.item.unread .nm { color: var(--text); font-weight: 700; }
.item .ico { width: 24px; text-align: center; flex: none; }
.item .ico.dm { width: 26px; height: 26px; border-radius: 50%; background: var(--slab-3); display: grid; place-items: center; font: 700 10px/1 var(--f-body); position: relative; }
.item .ico.dm.online::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); border: 2px solid var(--side); }
.item .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item .lock { font-size: 11px; opacity: .8; }
.badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--lime); color: var(--lime-ink); font: 800 11px/20px var(--f-body); text-align: center; }
.badge.hot { background: var(--late); color: #1a0d06; }
.side-tools { display: grid; gap: 1px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.side-foot { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.side-foot form { margin: 0; }
.me-name { flex: 1; min-width: 0; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar { width: 36px; height: 36px; flex: none; border-radius: 10px; background: var(--slab-3); color: var(--text); display: grid; place-items: center; font: 700 13px/1 var(--f-body); }
.avatar.owner { background: var(--lime); color: var(--lime-ink); }
.avatar.me { width: 30px; height: 30px; border-radius: 50%; }

/* main */
.main { display: flex; flex-direction: column; min-width: 0; min-height: 0; position: relative; outline: none; }
.main.drop::after, .thread.drop::after { content: "Drop to attach"; position: absolute; inset: 8px; border: 2px dashed var(--lime); border-radius: 14px; background: rgba(9, 11, 6, .85); display: grid; place-items: center; font: 400 28px var(--f-brush); color: var(--lime); z-index: 20; }
.head { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: rgba(9, 11, 6, .9); flex-wrap: wrap; }
.head-title { flex: 1; min-width: 0; }
.head h1 { margin: 0; font: 700 18px/1.2 var(--f-body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.head p { margin: 2px 0 0; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.back { display: none; width: 38px; height: 38px; border: 0; background: none; font-size: 30px; line-height: 1; cursor: pointer; color: var(--lime); }
.head-tabs, .seg { display: flex; gap: 4px; }
.tab { border: 1px solid transparent; background: none; padding: 7px 12px; border-radius: 8px; cursor: pointer; color: var(--muted); font-weight: 600; font-size: 14px; }
.tab.on { background: var(--slab-3); color: var(--text); border-color: var(--line-2); }
.body { flex: 1; overflow-y: auto; padding: 14px 18px 18px; }
.empty { color: var(--muted); text-align: center; padding: 60px 20px; }
.more { display: block; margin: 0 auto 12px; }
.day { display: flex; align-items: center; gap: 10px; margin: 18px 0 8px; color: var(--muted); font: 600 12px/1 var(--f-body); }
.day::before, .day::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* messages */
.msg { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 8px 10px; margin: 0 -10px; border-radius: 10px; }
.msg:hover { background: rgba(255, 255, 255, .025); }
.msg.pinned { background: rgba(195, 240, 44, .04); }
.msg-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.msg-head b { font-weight: 700; }
.msg-head time { color: var(--muted); font-size: 12px; }
.role { font: 700 10px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--lime); border: 1px solid var(--lime-line); padding: 2px 5px; border-radius: 4px; }
.msg-body { margin-top: 2px; overflow-wrap: anywhere; color: var(--text); }
.mention { background: var(--lime-soft); color: var(--lime); border-radius: 4px; padding: 0 3px; font-weight: 600; }
.mention.me { background: var(--lime); color: var(--lime-ink); }
.deleted { font-style: italic; margin: 2px 0 0; }
.acts { position: absolute; right: 8px; top: -14px; display: none; gap: 2px; background: var(--slab-2); border: 1px solid var(--line-2); border-radius: 9px; padding: 2px; box-shadow: 0 6px 20px rgba(0, 0, 0, .5); }
.msg:hover .acts, .msg:focus-within .acts { display: flex; }
.act { min-width: 32px; height: 30px; border: 0; background: none; border-radius: 7px; cursor: pointer; font-size: 15px; }
.act:hover { background: var(--slab-3); }
.reacts { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.react { border: 1px solid var(--line-2); background: var(--slab); border-radius: 99px; padding: 2px 9px; cursor: pointer; font-size: 13px; }
.react.mine { border-color: var(--lime); background: var(--lime-soft); }
.replies { margin-top: 6px; border: 0; background: none; color: var(--lime); font-weight: 600; cursor: pointer; padding: 2px 0; }
.kind-tag { margin: 4px 0 2px; font: 700 12px/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--lime); }
.msg.k-announcement { background: linear-gradient(90deg, rgba(195, 240, 44, .08), transparent 60%); box-shadow: inset 3px 0 0 var(--lime); }
.ack { display: flex; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.menu { position: fixed; z-index: 80; min-width: 200px; background: var(--slab-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 6px; box-shadow: 0 16px 40px rgba(0, 0, 0, .6); display: grid; }
.menu button { text-align: left; border: 0; background: none; padding: 9px 12px; border-radius: 8px; cursor: pointer; }
.menu button:hover, .menu button:focus { background: var(--slab-3); outline: none; }

/* cards */
.card { margin-top: 6px; background: var(--slab); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; display: grid; gap: 6px; max-width: 560px; }
.card.approval { border-left: 3px solid var(--lime); }
.card.payment { border-left: 3px solid var(--owed); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card h3 { margin: 0; font-size: 16px; }
.card p { margin: 0; }
.card-acts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.pay-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.amount { font: 400 28px/1 var(--f-display); color: var(--owed); }

/* files */
.files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.files .img { border: 0; padding: 0; background: #000; border-radius: 10px; overflow: hidden; cursor: zoom-in; max-width: min(420px, 100%); }
.files .img img { display: block; max-width: 100%; max-height: 340px; width: auto; height: auto; object-fit: contain; }
.files.grid .img { width: 160px; height: 160px; }
.files.grid .img img { width: 160px; height: 160px; object-fit: cover; max-height: none; }
.vid { max-width: min(480px, 100%); max-height: 360px; border-radius: 10px; background: #000; }
.file { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--slab); text-decoration: none; color: var(--text); max-width: 340px; }
.ext { width: 40px; height: 44px; border-radius: 6px; background: var(--lime); color: var(--lime-ink); display: grid; place-items: center; font: 800 11px/1 var(--f-body); flex: none; }
.fn { display: grid; min-width: 0; } .fn b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .fn small { color: var(--muted); }

/* composer */
.composer { border-top: 1px solid var(--line); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--side); display: grid; gap: 8px; }
.compose-kind { display: flex; gap: 6px; flex-wrap: wrap; }
.compose-kind:empty, .compose-extra:empty, .attach-list:empty { display: none; }
.kind { border: 1px solid var(--line-2); background: none; border-radius: 99px; padding: 5px 12px; cursor: pointer; font-size: 13px; color: var(--text-2); }
.kind.on { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); font-weight: 700; }
.compose-extra { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.fld { display: grid; gap: 4px; font-size: 12px; color: var(--muted); }
.fld input, .fld select { min-height: 38px; font-size: 14px; color: var(--text); }
.compose-row { display: flex; align-items: flex-end; gap: 8px; }
.compose-row textarea { min-height: 44px; max-height: 200px; resize: none; line-height: 1.4; }
.attach { width: 44px; height: 44px; cursor: pointer; font-size: 18px; }
.send { width: 46px; height: 44px; border-radius: 10px; border: 0; background: var(--lime); color: var(--lime-ink); font-size: 18px; cursor: pointer; flex: none; }
.send:disabled { opacity: .4; }
.hint { margin: 0; font-size: 12px; color: var(--muted); }
.attach-list { display: flex; flex-wrap: wrap; gap: 6px; }
.att { display: flex; align-items: center; gap: 8px; padding: 4px 6px 4px 4px; background: var(--slab-2); border: 1px solid var(--line-2); border-radius: 9px; font-size: 13px; max-width: 260px; }
.att img { width: 34px; height: 34px; object-fit: cover; border-radius: 6px; }
.att span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.att button { border: 0; background: none; cursor: pointer; color: var(--muted); }
.att.loading { opacity: .6; }

/* thread */
.thread { border-left: 1px solid var(--line); background: var(--side); display: flex; flex-direction: column; min-height: 0; position: relative; }
.thread-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.thread-head h2 { margin: 0; font-size: 16px; }
.thread-body { flex: 1; overflow-y: auto; padding: 12px 16px; }
.composer.slim { padding-top: 8px; }

/* tool views */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 12px; margin-top: 12px; }
.g-item { margin: 0; background: var(--slab); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: grid; }
.g-thumb { display: block; width: 100%; aspect-ratio: 1; border: 0; padding: 0; background: #000; cursor: zoom-in; object-fit: cover; }
.g-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-thumb.doc { display: grid; place-items: center; background: var(--slab-3); color: var(--lime); font: 400 28px var(--f-display); text-decoration: none; cursor: pointer; }
.g-meta { display: grid; padding: 8px 10px 0; min-width: 0; }
.g-meta b { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-meta small { color: var(--muted); font-size: 12px; }
.g-link { font-size: 12px; padding: 4px 10px 10px; text-decoration: none; }
.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.col { background: var(--slab); border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: grid; gap: 8px; }
.col h2 { margin: 0; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.col .msg { margin: 0; background: var(--bg); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-bottom: 14px; }
.kpi { background: var(--slab); border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; gap: 4px; }
.kpi span { font: 600 11px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.kpi strong { font: 400 28px/1 var(--f-display); color: var(--lime); }
.people { display: grid; gap: 8px; margin: 14px 0; }
.person { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--slab); border: 1px solid var(--line); border-radius: 12px; flex-wrap: wrap; }
.p-name { flex: 1; min-width: 160px; display: grid; } .p-name small { color: var(--muted); }
.sub { font: 400 24px/1 var(--f-display); text-transform: uppercase; margin: 26px 0 12px; }
.access { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.access li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 12px; background: var(--slab); border: 1px solid var(--line); border-radius: 10px; }
.access a { text-decoration: none; color: var(--text); }
.brand-bags { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 14px; }
.brand-bags .bag { margin: 0; background: radial-gradient(70% 60% at 50% 40%, rgba(195, 240, 44, .14), transparent 70%), var(--slab); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: grid; gap: 10px; justify-items: center; }
.brand-bags img { width: 100%; max-width: 170px; height: auto; border-radius: 10px; box-shadow: 0 16px 30px rgba(0, 0, 0, .6); }
.brand-bags figcaption { display: flex; justify-content: space-between; gap: 8px; width: 100%; font-size: 13px; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 10px; }
.swatch { display: grid; gap: 4px; text-align: left; background: var(--slab); border: 1px solid var(--line); border-radius: 12px; padding: 10px; cursor: pointer; }
.sw { height: 56px; border-radius: 8px; border: 1px solid var(--line-2); }
.swatch small { color: var(--muted); }
.type-demo { background: var(--slab); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.type-demo p { margin: 0; }
.td-anton { font: 400 52px/1 var(--f-display); }
.td-marker { font: 400 34px/1.2 var(--f-brush); color: var(--lime); text-shadow: 0 0 18px rgba(195, 240, 44, .45); transform: rotate(-2deg); transform-origin: left; margin: 6px 0 10px !important; }
.rules { display: grid; gap: 8px; padding-left: 20px; margin: 16px 0 30px; color: var(--text-2); }

/* dialog, lightbox, toast */
.dialog { border: 1px solid var(--line-2); border-radius: 16px; background: var(--slab); color: var(--text); padding: 0; width: min(460px, calc(100% - 24px)); }
.dialog::backdrop { background: rgba(0, 0, 0, .7); }
.dialog form { padding: 20px; display: grid; gap: 12px; max-height: 80vh; overflow-y: auto; }
.dialog h2 { margin: 0; font: 400 26px/1 var(--f-display); text-transform: uppercase; }
.dialog textarea { min-height: 120px; }
.dlg-acts { display: flex; justify-content: flex-end; gap: 8px; }
.short { max-width: 100px; }
.picker { display: grid; gap: 4px; max-height: 280px; overflow-y: auto; }
.pick { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 9px; cursor: pointer; }
.pick:hover { background: var(--slab-2); }
.pick input { width: 18px; height: 18px; accent-color: var(--lime); }
.pick .avatar { width: 28px; height: 28px; font-size: 11px; }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .92); display: grid; place-items: center; padding: 50px 16px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 8px; }
.lightbox .mini { position: absolute; top: 14px; right: 14px; background: var(--slab); }
.lightbox .btn { position: absolute; bottom: 18px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--slab-3); border: 1px solid var(--line-2); padding: 10px 16px; border-radius: 10px; z-index: 95; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); max-width: calc(100% - 32px); }

/* phones and tablets: one pane at a time */
@media (max-width: 1100px) {
  body.in-thread .shell { grid-template-columns: var(--side-w) minmax(0, 1fr); }
  .thread { position: fixed; inset: 0 0 0 auto; width: min(420px, 100%); z-index: 60; box-shadow: -20px 0 40px rgba(0, 0, 0, .5); }
}
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  body.in-thread .shell { grid-template-columns: 1fr; }
  .side { display: flex; }
  .main { display: none; }
  body.in-main .side { display: none; }
  body.in-main .main { display: flex; }
  .back { display: block; }
  .head { padding: 10px 12px; }
  .head-tabs { order: 3; width: 100%; overflow-x: auto; }
  .body { padding: 10px 12px 14px; }
  .acts { display: flex; position: static; grid-column: 2; justify-self: start; box-shadow: none; margin-top: 2px; background: none; border: 0; padding: 0; }
  .act { height: 28px; min-width: 28px; font-size: 14px; opacity: .7; }
  .board { grid-template-columns: 1fr; }
  .thread { width: 100%; }
  .hint { display: none; }
  .td-anton { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Team & access: add people, setup links */
.add-person { display: grid; gap: 10px; max-width: 560px; background: var(--slab); border: 1px solid var(--line-2); border-radius: 14px; padding: 16px; margin: 0 0 18px; }
.add-person .sub { margin: 0; }
.row-f { display: grid; gap: 4px; }
.row-f label { font-weight: 600; font-size: 14px; }
.link-out { display: grid; gap: 8px; }
.link-out p { margin: 0; }
.copy-row { display: flex; gap: 8px; }
.copy-row input { flex: 1; min-width: 0; font-size: 13px; }
.flash.ok { background: rgba(195, 240, 44, .12); color: var(--lime); border: 1px solid rgba(195, 240, 44, .35); border-radius: 10px; padding: 10px 12px; margin: 0; }

/* Moving posts and files (admins) */
.moved-note { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; justify-content: center; margin: 6px 0; padding: 6px 12px; color: var(--ash, #a3ad8e); font-size: 13px; border-top: 1px dashed var(--line-2); border-bottom: 1px dashed var(--line-2); }
.moved-from { margin: 0 0 4px; font-size: 12px; color: var(--ash, #a3ad8e); }
.select-btn { margin: 0 0 8px; }
.select-bar { position: sticky; top: 0; z-index: 3; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 12px; margin: 0 0 10px; background: var(--slab); border: 1px solid var(--lime-line); border-radius: 12px; }
.select-bar span { flex: 1; font-weight: 600; }
.msg.selectable { position: relative; padding-left: 40px; }
.msg .sel-box { position: absolute; left: 10px; top: 14px; width: 20px; height: 20px; accent-color: var(--lime); }
.g-acts { display: flex; gap: 12px; align-items: center; }
.link-btn { background: none; border: 0; padding: 0; color: var(--lime); font: inherit; cursor: pointer; text-decoration: underline; }
