:root {
  --ink: #16232b; --ink-2: #22343e; --paper: #f6f3ee; --card: #fffdf9; --line: #e6dfd4; --text: #1f2a30; --muted: #6b7479;
  --accent: #e8a33d; --accent-ink: #4a2f05; --go: #1f7a5a; --bad: #b4452f; --link: #1d5f8a;
  --r: 12px; --safe-b: env(safe-area-inset-bottom, 0px);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  color: var(--text); background: var(--paper);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { -webkit-text-size-adjust: 100%; overscroll-behavior: none; }
a { color: var(--link); }
h1, h2, h3 { margin: 0; letter-spacing: -0.01em; }
h3 { margin: 22px 0 6px; font-size: 1.05rem; }
.muted { color: var(--muted); } .small { font-size: .85rem; } .pad { padding: 16px; } .grow { flex: 1; min-width: 0; }
.row { display: flex; gap: 10px; align-items: center; } .row.end { justify-content: flex-end; margin-top: 14px; }
.error { color: var(--bad); font-weight: 600; }
button, .btn { font: inherit; border: 1px solid var(--line); background: var(--card); color: var(--text); border-radius: 10px;
  padding: 9px 14px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; }
button:disabled { opacity: .5; }
.primary { background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 600; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.go { background: var(--go); border-color: var(--go); color: #fff; font-weight: 600; }
.btn.quiet, .ghost { background: transparent; border-color: transparent; color: var(--muted); }
.wide { width: 100%; justify-content: center; }
button.link { border: 0; background: none; padding: 4px 0; min-height: 0; color: var(--link); font-size: .85rem; }
input, textarea, select { font: inherit; font-size: 16px; width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
label { display: block; margin: 10px 0; } label > span { display: block; font-size: .85rem; color: var(--muted); margin-bottom: 4px; }

/* sign-in */
.center { min-height: 100%; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 20% 0%, #fbe7c6 0, transparent 50%), var(--paper); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; margin: 10px 0; }
.auth { width: min(380px, 100%); padding: 28px 24px; box-shadow: 0 10px 40px rgba(22, 35, 43, .08); }
.auth h1 { font-size: 1.5rem; margin-top: 10px; } .auth p { margin: 6px 0 12px; } .logo { width: 52px; height: 52px; }

/* shell */
.shell { display: grid; grid-template-columns: 260px 1fr; height: 100dvh; overflow: hidden; }
.shell.thread-open { grid-template-columns: 260px 1fr min(420px, 40vw); }
.sidebar { background: var(--ink); color: #d6dde0; display: flex; flex-direction: column; padding: 14px 10px calc(14px + var(--safe-b)); overflow-y: auto; }
.brand { display: flex; gap: 10px; align-items: center; padding: 4px 8px 14px; } .brand img { width: 34px; height: 34px; }
.brand b { color: #fff; display: block; } .brand small { color: #93a3ab; }
.nav-label { text-transform: uppercase; font-size: .7rem; letter-spacing: .08em; color: #7d8e96; padding: 14px 10px 6px; }
.nav-item { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 8px; color: #cfd8dc; text-decoration: none; }
.nav-item:hover { background: var(--ink-2); } .nav-item.active { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.nav-item.unread { color: #fff; font-weight: 700; } .hash { width: 16px; text-align: center; opacity: .7; }
.badge { background: var(--bad); color: #fff; border-radius: 999px; font-size: .72rem; padding: 2px 7px; font-weight: 700; }
.badge.soft { background: #3a4d57; } .nav-item.active .badge.soft { background: rgba(0, 0, 0, .15); color: var(--accent-ink); }
.signout { margin-top: auto; color: #93a3ab; justify-content: flex-start; }
.main, .thread-panel { display: flex; flex-direction: column; min-width: 0; height: 100dvh; background: var(--paper); }
.thread-panel { border-left: 1px solid var(--line); background: #fbf9f5; }
.shell:not(.thread-open) .thread-panel { display: none; }
.chan { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.topbar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; padding-top: max(12px, env(safe-area-inset-top)); border-bottom: 1px solid var(--line); background: var(--card); }
.topbar h2 { font-size: 1.05rem; } .topbar small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icon-btn { border: 0; background: none; font-size: 1.3rem; min-width: 40px; justify-content: center; padding: 6px; }
.menu { display: none; }
.scrim-drawer { display: none; }
.seg { display: flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.seg button { border: 0; border-radius: 0; min-height: 34px; padding: 6px 12px; } .seg button.on { background: var(--ink); color: #fff; }

/* messages */
.messages { flex: 1; overflow-y: auto; padding: 8px 0 16px; -webkit-overflow-scrolling: touch; }
.msg { display: flex; gap: 10px; padding: 8px 16px; }
.msg:hover { background: rgba(0, 0, 0, .02); }
.avatar { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; font-size: .8rem;
  background: hsl(var(--h, 200) 45% 88%); color: hsl(var(--h, 200) 45% 28%); }
.avatar.bot { background: #e4eef3; color: var(--ink); } .avatar.system { background: #fbe7c6; color: var(--accent-ink); }
.msg-main { flex: 1; min-width: 0; }
.meta { display: flex; gap: 8px; align-items: baseline; } .meta time { color: var(--muted); font-size: .75rem; }
.tag { font-size: .65rem; text-transform: uppercase; letter-spacing: .05em; background: var(--ink); color: #fff; border-radius: 4px; padding: 1px 5px; }
.body { line-height: 1.45; overflow-wrap: anywhere; margin-top: 2px; }
.msg.system .body { color: var(--muted); font-size: .92rem; }
.msg.bot .body { background: #eef4f6; border-radius: 10px; padding: 8px 10px; }
.msg-actions { display: flex; gap: 16px; }
.req { margin-top: 8px; border: 1px solid var(--line); border-left: 4px solid var(--accent); background: var(--card); border-radius: 10px; padding: 10px 12px; }
.req-top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.req-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.req-links { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; } .note { margin: 8px 0 0; font-style: italic; }
.pill { font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #eee; }
.st-new { background: #fbe7c6; color: #7a4b05; } .st-approved, .st-building { background: #dfeaf6; color: #1d4a73; }
.st-preview { background: #e3f1e6; color: #1f6a3c; } .st-shipping { background: #e0f0ec; color: #155e52; }
.st-shipped { background: var(--go); color: #fff; } .st-declined { background: #ece9e4; color: #6b6a66; } .st-blocked { background: #f8dcd5; color: #8a2f1c; }
.divider { text-align: center; color: var(--muted); font-size: .8rem; margin: 8px 16px; border-top: 1px solid var(--line); padding-top: 8px; }
.empty { text-align: center; padding: 48px 24px; }

/* composer */
.composer { border-top: 1px solid var(--line); background: var(--card); padding: 8px 12px calc(8px + var(--safe-b)); }
.composer-opts { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; } .composer-opts select { width: auto; padding: 6px 10px; }
.composer-row { display: flex; gap: 8px; align-items: flex-end; }
.composer textarea { resize: none; max-height: 160px; }
.composer.requesting { background: #fff6e6; } .composer.requesting textarea { border-color: var(--accent); }
.send { min-width: 46px; justify-content: center; font-size: 1.1rem; }
.switch-label { display: flex; align-items: center; gap: 8px; margin: 0; cursor: pointer; } .switch-label span { color: var(--text); font-size: .9rem; margin: 0; font-weight: 600; }
.switch { appearance: none; width: 40px; height: 24px; border-radius: 99px; background: #d5d0c7; position: relative; padding: 0; border: 0; flex: none; cursor: pointer; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left .15s; }
.switch:checked { background: var(--accent); } .switch:checked::after { left: 19px; }

/* requests board + admin */
.req-row { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; margin: 0 0 12px; }
.req-row-head { display: flex; justify-content: space-between; gap: 8px; } .clip { margin: 6px 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.admin { max-width: 760px; } .row-form { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 10px; align-items: end; } .row-form label { margin: 0; }
.person.off { opacity: .55; } .chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px; margin: 0; background: #fff; }
.chip input { width: auto; }

/* modal + toast */
.scrim { position: fixed; inset: 0; background: rgba(22, 35, 43, .45); display: grid; place-items: end center; z-index: 50; padding: 12px; }
.modal { background: var(--card); width: min(460px, 100%); border-radius: 16px; padding: 20px; padding-bottom: calc(20px + var(--safe-b)); box-shadow: 0 20px 60px rgba(0, 0, 0, .2); }
.modal h3 { margin: 0 0 8px; }
@media (min-width: 700px) { .scrim { place-items: center; } }
.toast { position: fixed; left: 50%; bottom: calc(90px + var(--safe-b)); transform: translate(-50%, 20px); opacity: 0; transition: .25s; background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: 10px; z-index: 60; max-width: 90vw; }
.toast.show { opacity: 1; transform: translate(-50%, 0); } .toast.bad { background: var(--bad); }

/* phones */
@media (max-width: 899px) {
  .shell, .shell.thread-open { grid-template-columns: 1fr; }
  .sidebar { position: fixed; inset: 0 auto 0 0; width: 84vw; max-width: 300px; z-index: 30; transform: translateX(-100%); transition: transform .2s; }
  .drawer-open .sidebar { transform: none; }
  .drawer-open .scrim-drawer { display: block; position: fixed; inset: 0; background: rgba(0, 0, 0, .35); z-index: 20; }
  .menu { display: inline-flex; }
  .thread-panel { position: fixed; inset: 0; z-index: 25; border: 0; }
  .row-form { grid-template-columns: 1fr; }
  .msg { padding: 8px 12px; }
}
.req.working { opacity: .6; pointer-events: none; }

/* app switcher (v2: one app = one repo) */
.app-switch { display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px; background: var(--card); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.app-tab { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line);
  color: var(--text); text-decoration: none; font-weight: 600; font-size: .92rem; background: #fff; }
.app-tab.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.app-tab .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bad); }
.app-card summary { cursor: pointer; padding: 2px 0; } .app-card[open] summary { margin-bottom: 8px; }
.app-form { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 10px; align-items: end; } .app-form label { margin: 0; }
@media (max-width: 899px) { .app-form { grid-template-columns: 1fr; } }
.messages.pad { padding: 16px; }

/* v4 admin: client spaces */
.admin-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .admin-actions .card { margin: 0; }
.card.action summary { cursor: pointer; } .card.action[open] { grid-column: 1 / -1; }
.client { margin-top: 18px; } .client-head { display: flex; align-items: center; gap: 10px; } .client-head h3 { margin: 0; }
.person-row { display: flex; gap: 10px; align-items: center; padding: 8px 0; } .person-row.off { opacity: .55; }
.chip-group { margin-top: 8px; } .add-inline { margin: 4px 0 8px; } .add-inline summary { cursor: pointer; list-style: none; color: var(--link); }
.note-box { background: #fff6e6; border: 1px solid #f0d9ad; border-radius: 10px; padding: 10px 12px; }
.invite-apps { margin: 6px 0 4px; }
@media (max-width: 899px) { .admin-actions { grid-template-columns: 1fr; } }
input.code { font-size: 1.5rem; letter-spacing: .3em; text-align: center; }
input.code::placeholder { letter-spacing: normal; font-size: 1rem; }

/* demo playground */
.demo-banner { background: repeating-linear-gradient(135deg, #e8a33d 0 14px, #f0b85c 14px 28px); color: var(--accent-ink); font-weight: 700; font-size: .8rem; text-align: center; padding: 5px 10px; letter-spacing: .02em; }
.demo-tag { display: inline-block; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: .75rem; border-radius: 6px; padding: 3px 8px; margin: 10px 0 4px; }
.persona { width: 100%; justify-content: flex-start; text-align: left; margin: 8px 0; padding: 10px 12px; gap: 12px; }
.persona:hover { border-color: var(--accent); }
.signout + .signout { margin-top: 0; }

/* outbox (public/outbox.js) */
.outbox .req-top { flex-wrap: wrap; }
.ob-to { margin: 8px 0 2px; overflow-wrap: anywhere; }
.ob-subject { font-weight: 700; margin: 6px 0 2px; }
.ob-body { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 6px 0; overflow-wrap: anywhere; }
.ob-sent, .ob-discarded { opacity: .85; }
.ob-failed { border-color: #f0c2b6; }
.ob-kind { display: flex; align-items: flex-start; gap: 10px; margin: 12px 0; }
.ob-kind input { flex: none; }
.ob-person { flex-wrap: wrap; border-top: 1px solid var(--line); }
.ob-person .chip { font-size: .85rem; padding: 4px 10px; }
.ob-invite { margin-top: 12px; } .ob-invite .row { flex-wrap: wrap; }
.ob-kind .muted { font-weight: 400; color: var(--muted); }
/* screenshots and photos in messages (attachments.js) */
.att-btn { flex: none; min-width: 42px; justify-content: center; padding: 6px; border-color: var(--line); background: #fff; color: var(--muted); }
.att-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.att-btn:hover { color: var(--accent-ink); border-color: var(--accent); }
.att-input { display: none; }
.att-tray { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 8px; }
.att-tray[hidden] { display: none; }
.att-chip { position: relative; flex: none; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #eee8de; }
.att-chip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.att-chip.up img { opacity: .45; }
.att-chip.up::after { content: ""; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--accent); border-top-color: transparent; animation: att-spin .8s linear infinite; }
@keyframes att-spin { to { transform: rotate(360deg); } }
.att-x { position: absolute; top: 2px; right: 2px; min-height: 0; width: 22px; height: 22px; padding: 0; justify-content: center; border-radius: 50%; border: 0; background: rgba(22, 35, 43, .75); color: #fff; font-size: 15px; line-height: 1; }
.composer.att-drop { outline: 2px dashed var(--accent); outline-offset: -4px; background: #fff6e6; }
.att-grid { display: grid; gap: 6px; margin-top: 6px; max-width: 360px; grid-template-columns: repeat(2, 1fr); }
.att-grid.n1 { grid-template-columns: 1fr; max-width: 280px; }
.att-thumb { padding: 0; min-height: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #eee8de; aspect-ratio: 4 / 3; display: block; width: 100%; }
.att-grid.n1 .att-thumb { aspect-ratio: auto; max-height: 260px; }
.att-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.att-grid.n1 .att-thumb img { object-fit: contain; max-height: 260px; background: #eee8de; }
.att-thumb:hover { border-color: var(--accent); }
.att-viewer { position: fixed; inset: 0; z-index: 70; background: rgba(12, 20, 25, .94); display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: max(12px, env(safe-area-inset-top)) 12px calc(12px + var(--safe-b)); }
.att-viewer img { max-width: 100%; max-height: calc(100dvh - 90px); object-fit: contain; border-radius: 6px; }
.att-bar { position: absolute; top: max(10px, env(safe-area-inset-top)); right: 10px; left: 10px; display: flex; gap: 8px; justify-content: flex-end; align-items: center; }
.att-count { color: #cfd8dc; margin-right: auto; font-size: .9rem; }
.att-nav { min-width: 44px; min-height: 44px; justify-content: center; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.4rem; text-decoration: none; padding: 0; }
.att-nav:hover { background: var(--accent); color: var(--accent-ink); }
.att-wrap { display: contents; }
/* clients & billing (public/clients.js) */
.billing .bill-card { margin: 14px 0; } .bill-card .client-head { margin-bottom: 6px; }
.bill-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 12px; align-items: end; } .bill-grid label { margin: 0; }
.clock { display: flex; flex-direction: column; gap: 2px; padding-bottom: 4px; }
.row.wrap { flex-wrap: wrap; margin: 12px 0 4px; }
.checklist-head { margin-top: 14px; }
progress.progress { appearance: none; -webkit-appearance: none; width: 100%; height: 8px; border: 0; border-radius: 99px; background: #ece6dc; overflow: hidden; margin: 8px 0 4px; }
progress.progress::-webkit-progress-bar { background: #ece6dc; border-radius: 99px; }
progress.progress::-webkit-progress-value { background: var(--accent); border-radius: 99px; }
progress.progress::-moz-progress-bar { background: var(--accent); border-radius: 99px; }
.steps { list-style: none; margin: 8px 0 0; padding: 0; }
.steps li { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.steps li:last-child { border-bottom: 0; }
.steps .tick { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-size: .8rem; font-weight: 700; color: #fff; }
.steps li.done .tick { background: var(--go); border-color: var(--go); }
.steps li.done > .grow > span:first-child, .steps.edit li.done .step-check .grow { color: var(--muted); }
.step-check { display: flex; align-items: flex-start; gap: 10px; margin: 0; flex: 1; min-width: 0; cursor: pointer; }
.step-check input { width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: var(--go); }
.step-check .grow { color: var(--text); font-size: 1rem; margin: 0; } .step-note { display: block; margin-top: 2px; }
.add-step { display: flex; gap: 8px; margin-top: 10px; } .add-step input { flex: 1; }
.events { list-style: none; padding: 0; margin: 6px 0; } .events li { padding: 4px 0; }
.setup .setup-card { max-width: 640px; } .setup-card h3 { margin-top: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 899px) { .bill-grid { grid-template-columns: 1fr; } }
/* pipeline (Ken only, public/pipeline.js): stage columns on desktop, a stage picker + one list on phones */
.pl-wrap { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.pl-picker { display: none; gap: 8px; overflow-x: auto; padding: 10px 12px; background: var(--card); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.pl-count { font-size: .75rem; background: rgba(0, 0, 0, .08); border-radius: 99px; padding: 1px 7px; } .app-tab.on .pl-count { background: rgba(255, 255, 255, .2); }
.pl-board { flex: 1; min-height: 0; display: flex; gap: 12px; overflow-x: auto; padding: 14px 16px; align-items: flex-start; }
.pl-col { flex: 0 0 248px; background: #efeae2; border-radius: var(--r); padding: 8px; max-height: 100%; overflow-y: auto; }
.pl-col-head { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 8px; }
.pl-col[data-stage=won] .pl-col-head b { color: var(--go); } .pl-col[data-stage=not_now] .pl-col-head b, .pl-col[data-stage=lost] .pl-col-head b { color: var(--muted); }
.pl-card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; color: var(--text); text-decoration: none; line-height: 1.35; }
.pl-card:hover, .pl-card.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.pl-card-top { display: flex; gap: 6px; justify-content: space-between; align-items: flex-start; } .pl-card-top .pill { font-size: .68rem; padding: 2px 7px; white-space: nowrap; }
.pl-snip { margin: 6px 0 0; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pl-next { margin-top: 6px; color: var(--link); } .pl-next.late { color: var(--bad); font-weight: 600; } .pl-won { color: var(--go); font-weight: 600; margin-top: 4px; }
.pl-empty { padding: 4px 6px; margin: 0; }
.pl-detail .card { margin: 0 0 12px; } .pl-detail h4 { margin: 0 0 8px; font-size: .95rem; } .pl-detail details summary { cursor: pointer; }
.pl-stages { display: flex; flex-wrap: wrap; gap: 6px; }
.pl-stage { min-height: 36px; padding: 6px 11px; font-size: .88rem; } .pl-stage.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 700; }
.pl-make { margin-top: 12px; } .pl-client { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; }
.pl-unibox { margin: 10px 0 0; } .pl-dnc { margin-bottom: 12px; } .pl-bad { color: var(--bad); }
.pl-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; } .pl-row2 label { margin: 6px 0; }
.pl-facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 10px 0; } .pl-facts dt { color: var(--muted); } .pl-facts dd { margin: 0; overflow-wrap: anywhere; }
.pl-hist { padding: 8px 0; border-top: 1px solid var(--line); } .pl-hist:first-of-type { border-top: 0; }
.pl-reply { background: #eef4f6; border-radius: 10px; padding: 8px 10px; white-space: pre-wrap; overflow-wrap: anywhere; margin: 6px 0 0; line-height: 1.45; }
.pl-outline ol { padding-left: 20px; margin: 8px 0 0; } .pl-outline li { margin: 8px 0; }
@media (max-width: 899px) {
  .pl-picker { display: flex; }
  .pl-board { display: block; padding: 12px; overflow-x: visible; overflow-y: auto; }
  .pl-col { background: none; padding: 0; max-height: none; overflow: visible; }
  .pl-col:not(.on), .pl-col-head { display: none; }
  .pl-row2 { grid-template-columns: 1fr; }
}
.scrim .modal { max-height: calc(100dvh - 24px); overflow-y: auto; }   /* long forms (Make them a client) scroll on a phone */
