:root {
  --field: #e8edf4;
  --snow: #f7f9fc;
  --ink: #121a2b;
  --ink-2: #1c2740;
  --hush: #5c677a;
  --line: #d3dce8;
  --live: #ff3d2e;
  --lake: #2b4cff;
  --ok: #0f9f6e;
  --warn: #c24e1d;
  --mine: #171f32;
  --paper: var(--snow);
  --muted: var(--hush);
  --ground: var(--field);
  --pine: var(--ink);
  --pine-2: var(--ink-2);
  --brass: var(--lake);
  --brass-ink: var(--ink);
  --signal: var(--lake);
  --chat-mine: var(--mine);
  --chat-glow: rgba(43, 76, 255, .22);
  --work-mine: var(--mine);
  --rail: 15.25rem;
  --ticker: 1.85rem;
  --radius: 1rem;
  --display: "Unbounded", "Segoe UI", sans-serif;
  --body: "Manrope", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --shadow: 0 1px 0 rgba(18, 26, 43, .04), 0 14px 36px rgba(18, 26, 43, .07);
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--field);
  -webkit-font-smoothing: antialiased;
  font-size: 1.02rem;
  line-height: 1.45;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(18, 26, 43, .08);
}
img { max-width: 100%; display: block; }
a { color: var(--lake); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.03em; margin: 0; line-height: 1.15; text-wrap: pretty; }
h1 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
h2 { font-size: 1.05rem; }
p { margin: 0 0 .75rem; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lake); outline-offset: 3px; }

.skip {
  position: absolute; left: .5rem; top: -3rem; background: var(--ink); color: #fff;
  padding: .4rem .7rem; z-index: 20; border-radius: .5rem;
}
.skip:focus { top: .5rem; }
.sr, .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.shell { display: flex; min-height: 100dvh; }
.rail {
  width: var(--rail); flex-shrink: 0; background: var(--ink); color: #c9d0dc;
  display: flex; flex-direction: column; gap: .12rem;
  padding: 1rem .75rem 1rem; position: sticky; top: 0; height: 100dvh;
  box-shadow: inset -3px 0 0 var(--live);
}
.rail__brand {
  display: flex; align-items: center; gap: .7rem; margin: 0 .2rem .85rem;
  color: #fff; text-decoration: none; font-family: var(--display);
  font-weight: 600; letter-spacing: -.03em; font-size: 1.02rem;
}
.rail__brand img { border-radius: 10px; }
.rail__label {
  margin: .7rem .55rem .2rem; font-size: .62rem; letter-spacing: .14em;
  text-transform: uppercase; color: #7d8798; font-weight: 650;
}
.rail__item {
  display: flex; align-items: center; gap: .65rem;
  width: 100%; color: #c9d0dc; text-decoration: none;
  font-size: .92rem; font-weight: 600; padding: .52rem .65rem;
  border-radius: .8rem; position: relative;
}
.rail__item:hover { background: rgba(255,255,255,.06); color: #fff; }
.rail__item.is-active {
  background: var(--snow); color: var(--ink);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.rail__ico { flex-shrink: 0; }
.rail__foot { margin-top: auto; padding-top: .8rem; }
.rail__user {
  display: flex; align-items: center; gap: .65rem;
  padding: .45rem .5rem; border-radius: .85rem;
  text-decoration: none; color: #e8edf4;
}
.rail__user:hover, .rail__user[aria-current] { background: rgba(255,255,255,.06); color: #fff; }
.rail__user strong, .rail__user em { display: block; }
.rail__user strong { font-size: .88rem; }
.rail__user em { color: #8b95a6; font-size: .75rem; font-style: normal; }
.rail__out {
  width: 100%; margin-top: .35rem; border: 0; background: transparent;
  color: #8b95a6; cursor: pointer; text-align: left;
  padding: .35rem .55rem; border-radius: .6rem; font-size: .82rem;
}
.rail__out:hover { color: #fff; background: rgba(255,255,255,.06); }
.badge {
  position: absolute; top: .4rem; right: .45rem; min-width: 1.15rem; height: 1.15rem;
  background: var(--live); color: #fff; border-radius: 99px;
  font-size: .62rem; display: grid; place-items: center; padding: 0 .25rem;
  font-variant-numeric: tabular-nums; font-weight: 700;
}
.badge.is-empty { display: none; }

.stage { flex: 1; min-width: 0; display: flex; flex-direction: column; min-height: 100dvh; }
.ticker {
  height: var(--ticker); background: color-mix(in srgb, var(--snow) 78%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); color: var(--hush);
  display: flex; align-items: center; font-size: .78rem; z-index: 9; overflow: hidden; flex-shrink: 0;
  isolation: isolate;
}
.ticker__label {
  flex-shrink: 0; background: var(--live); color: #fff; padding: 0 .8rem; height: 100%;
  display: grid; place-items: center; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; font-size: .62rem;
  position: relative; z-index: 2;
}
.ticker__clip {
  flex: 1; min-width: 0; height: 100%; overflow: hidden;
  display: flex; align-items: center; position: relative; z-index: 0;
}
.ticker__track {
  display: flex; gap: 2.2rem; padding: 0 1rem;
  white-space: nowrap; animation: tick 80s linear infinite; width: max-content;
}
.ticker__pause {
  flex-shrink: 0; border: 0; color: var(--hush);
  font-size: .72rem; font-weight: 650; cursor: pointer; padding: 0 .9rem; height: 100%;
  position: relative; z-index: 2;
  background: color-mix(in srgb, var(--snow) 92%, #fff);
}
.ticker__pause:hover { color: var(--ink); }
.ticker.is-paused .ticker__track { animation-play-state: paused; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.top {
  display: flex; align-items: center; gap: 1rem;
  padding: .85rem 1.4rem .75rem; flex-shrink: 0;
}
.top__who { min-width: 0; }
.top h1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search { flex: 1; max-width: 22rem; margin-left: auto; }
.search input, .search--inline input {
  width: 100%; border: 1px solid var(--line); background: #fff;
  padding: .55rem .85rem .55rem 2.35rem; border-radius: 999px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235c677a' stroke-width='1.7'%3E%3Ccircle cx='7' cy='7' r='4.5'/%3E%3Cpath d='M10.5 10.5L14 14'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: .85rem 50%;
}
.search input:focus { outline: 0; box-shadow: 0 0 0 3px color-mix(in srgb, var(--lake) 22%, transparent); border-color: var(--lake); }
.eyebrow {
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--hush); margin: 0 0 .2rem; font-weight: 700;
}
.main { padding: 0 1.4rem 1.6rem; flex: 1; min-height: 0; }
.main--flush { padding: 0; display: flex; flex-direction: column; }
.page { max-width: 58rem; }
.page--narrow { max-width: 34rem; }

html:has(body.is-chat), html:has(body.is-tasks), html:has(body.is-clients), html:has(body.is-projects) { height: 100%; overflow: hidden; }
body.is-chat, body.is-tasks, body.is-clients, body.is-projects {
  height: 100dvh; overflow: hidden; overscroll-behavior: none;
}
body.is-chat .shell, body.is-tasks .shell, body.is-clients .shell, body.is-projects .shell,
body.is-chat .stage, body.is-tasks .stage, body.is-clients .stage, body.is-projects .stage {
  height: 100dvh; min-height: 0; overflow: hidden;
}
body.is-chat .main--flush, body.is-tasks .main--flush, body.is-clients .main--flush, body.is-projects .main--flush {
  min-height: 0; overflow: hidden; flex: 1;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  background: var(--ink); color: #fff; border: 0; padding: .55rem 1.05rem;
  border-radius: 999px; cursor: pointer; font-weight: 650;
}
.btn:hover { background: var(--ink-2); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--sm { padding: .35rem .75rem; font-size: .86rem; }
.btn--warn { background: var(--warn); color: #fff; }
.btn--warn:hover { background: #9a3c16; color: #fff; }

.ava {
  --hue: #2b4cff;
  width: 2.5rem; height: 2.5rem; border-radius: 99px; display: grid; place-items: center;
  background: var(--hue); color: #fff; font-family: var(--display); font-weight: 600; font-size: .78rem;
  flex-shrink: 0;
}
.ava--sm { width: 1.85rem; height: 1.85rem; font-size: .62rem; }
.ava--lg { width: 3.4rem; height: 3.4rem; font-size: 1.05rem; }
.ava--xl { width: 5.2rem; height: 5.2rem; font-size: 1.5rem; }
.ava--group { background: var(--ink); color: #fff; font-size: .62rem; letter-spacing: .04em; text-transform: uppercase; }
.ava--photo { overflow: hidden; padding: 0; background: var(--ink); }
.ava--photo img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }

.dot { width: .55rem; height: .55rem; border-radius: 99px; background: #9aa3b2; display: inline-block; }
.dot--online { background: var(--ok); }
.dot--busy { background: var(--live); }
.dot--away { background: #e0a21a; }

.floor { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(16rem, .85fr); gap: 1.15rem; align-items: start; }
.feed { display: flex; flex-direction: column; gap: 1rem; }
.composer, .post, .panel, .sheet, .card {
  background: #fff; border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.composer { display: grid; grid-template-columns: auto 1fr; gap: .75rem; padding: 1.05rem 1.1rem; align-items: start; }
.composer__body { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; min-width: 0; }
.composer textarea, .stack textarea, label textarea, label input, label select, .mini input {
  width: 100%; border: 1px solid var(--line); background: var(--snow); padding: .55rem .7rem; border-radius: .75rem;
}
.composer textarea:focus, .stack textarea:focus, label :focus, .mini input:focus {
  outline: 0; border-color: var(--lake); background: #fff;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--lake) 16%, transparent);
}
.post { padding: 1.05rem 1.15rem .95rem; }
.post__head { display: flex; gap: .7rem; align-items: center; margin-bottom: .6rem; }
.name { font-weight: 700; color: var(--ink); text-decoration: none; }
.meta { color: var(--hush); font-size: .86rem; margin: 0; }
.post__body { white-space: pre-wrap; margin-bottom: .7rem; overflow-wrap: anywhere; }
.post__foot { display: flex; gap: .5rem; margin-bottom: .5rem; }
.chip {
  border: 0; background: var(--field); border-radius: 99px; padding: .22rem .75rem;
  font-size: .82rem; cursor: pointer; color: var(--hush); font-weight: 650;
}
.chip:hover { background: color-mix(in srgb, var(--lake) 10%, var(--field)); color: var(--ink); }
.chip.is-on { color: #fff; background: var(--lake); }
.chip.is-static { cursor: default; }
.thread { border-top: 1px solid var(--line); padding-top: .65rem; display: flex; flex-direction: column; gap: .4rem; }
.thread p { margin: 0; font-size: .95rem; }
.thread a { font-weight: 650; color: var(--ink); text-decoration: none; }
.mini { display: flex; gap: .4rem; }
.mini input { flex: 1; }

.side { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 4.2rem; }
.panel { padding: 1rem 1.05rem; }
.panel h2 { margin-bottom: .7rem; }
.people { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .15rem; }
.people a {
  display: flex; align-items: center; gap: .55rem; padding: .4rem .4rem; border-radius: .75rem;
  text-decoration: none; color: inherit;
}
.people a:hover, .people a.is-on { background: var(--field); }
.people strong, .people em { display: block; font-style: normal; }
.people em { color: var(--hush); font-size: .8rem; font-weight: 400; }
.people .dot { margin-left: auto; }
.slim { list-style: none; margin: 0 0 .6rem; padding: 0; }
.slim li { border-bottom: 1px solid var(--line); }
.slim a, .slim li { display: block; padding: .5rem 0; color: inherit; text-decoration: none; min-width: 0; }
.slim small { display: block; color: var(--hush); }
.text-link { font-size: .9rem; font-weight: 650; }

.prio { display: inline-block; width: .42rem; height: .42rem; border-radius: 99px; background: #b7c0cc; margin-right: .35rem; vertical-align: middle; }
.prio--high { background: var(--live); }
.prio--low { background: var(--ok); }

.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.muted { color: var(--hush); margin: 0; }
.board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; align-items: start; }
.board--deals { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.board--projects { grid-template-columns: repeat(5, minmax(14.5rem, 1fr)); overflow-x: auto; padding-bottom: .35rem; }
.col--plan { box-shadow: inset 3px 0 0 #8b95a6; }
.card--project { cursor: grab; }
.col {
  background: color-mix(in srgb, #fff 55%, var(--field));
  border: 1px solid var(--line); min-height: 14rem; padding: .7rem;
  border-radius: 1.05rem;
}
.col h2 { font-size: .92rem; display: flex; justify-content: space-between; margin-bottom: .55rem; font-family: var(--body); }
.col h2 small { font-family: var(--mono); color: var(--hush); font-weight: 500; font-variant-numeric: tabular-nums; }
.col.is-over { background: color-mix(in srgb, var(--lake) 10%, #fff); box-shadow: inset 0 0 0 1.5px var(--lake); }
.col--doing, .col--talk, .col--offer { box-shadow: inset 3px 0 0 var(--lake); }
.col--active, .col--win { box-shadow: inset 3px 0 0 var(--ok); }
.col--lost, .col--pause { box-shadow: inset 3px 0 0 #9aa3b2; }
.col--review { box-shadow: inset 3px 0 0 #6b5cff; }
.card { padding: .8rem; margin-bottom: .55rem; cursor: grab; user-select: none; }
.card h2 { font-family: var(--body); font-size: 1.05rem; letter-spacing: -.02em; }
.card:active { cursor: grabbing; }
.card a { color: inherit; text-decoration: none; display: block; min-width: 0; }
.card strong { display: block; margin: .2rem 0; }
.card p { margin: 0; color: var(--hush); font-size: .88rem; }
.card time, .card .meta b { font-family: var(--mono); font-size: .78rem; color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.card--client { cursor: grab; padding: .9rem; }
.card--deal { cursor: grab; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: .85rem; }
.people-dir { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.people-dir > li {
  display: flex; align-items: center; gap: .8rem;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: .7rem .85rem; border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}
.card--person {
  cursor: pointer; text-align: left; text-decoration: none; color: inherit;
  display: flex; flex-direction: row; align-items: center; gap: .85rem;
  flex: 1; min-width: 0; box-shadow: none; border: 0; padding: 0; margin: 0; background: transparent;
}
.card--person__txt { min-width: 0; }
.card--person h2 { font-size: 1.05rem; }
.people-dir .btn { flex-shrink: 0; }

.sheet { padding: 1.25rem 1.35rem; margin-bottom: 1rem; }
.lede { font-size: 1.06rem; max-width: 42rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: .8rem; margin: 1rem 0; }
.facts dt { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--hush); font-weight: 700; }
.facts dd { margin: .15rem 0 0; }
.stack { display: flex; flex-direction: column; gap: .7rem; }
.stack label, form label { display: flex; flex-direction: column; gap: .3rem; font-size: .9rem; font-weight: 650; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.split--3 { grid-template-columns: 1fr 1fr 1fr; }
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.note { display: flex; gap: .5rem; align-items: flex-start; margin: 0 0 .6rem; }
.person-hero { display: flex; gap: 1.2rem; align-items: flex-start; }

.signals { list-style: none; margin: 0; padding: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.signals li { border-bottom: 1px solid var(--line); }
.signals li:last-child { border-bottom: 0; }
.signals a { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 1.1rem; color: inherit; text-decoration: none; min-width: 0; }
.signals a:hover { background: var(--snow); }
.signals .is-new { box-shadow: inset 3px 0 0 var(--live); }
.signals strong { overflow: hidden; text-overflow: ellipsis; }
.signals small { color: var(--hush); flex-shrink: 0; font-variant-numeric: tabular-nums; }

.empty { color: var(--hush); padding: .5rem 0; }
.empty-card { background: #fff; border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); }
.hint { color: var(--hush); font-size: .9rem; }
.hint code { font-family: var(--mono); background: var(--field); padding: .05rem .35rem; border-radius: .35rem; }
.alert { background: color-mix(in srgb, var(--warn) 12%, #fff); border: 1px solid color-mix(in srgb, var(--warn) 40%, #fff); padding: .65rem .85rem; border-radius: .75rem; }

.dlg {
  border: 0; border-radius: 1.25rem; padding: 1.15rem 1.2rem 1.3rem;
  width: min(28rem, 96vw); background: #fff;
  box-shadow: 0 24px 64px rgba(12, 18, 28, .28);
  overscroll-behavior: contain;
}
.dlg::backdrop { background: rgba(18, 26, 43, .48); }
.dlg__bar { display: flex; justify-content: flex-end; margin: 0; }
.dlg h2 { margin-bottom: .8rem; }
.dlg__actions { display: flex; justify-content: flex-end; gap: .5rem; margin-top: 1rem; }
.dlg--wide { width: min(36rem, 96vw); }
.dlg--lg { width: min(34rem, 96vw); }
.dlg--sheet { width: min(26.5rem, 96vw); max-height: min(44rem, 88vh); overflow: auto; padding: 1rem 1.15rem 1.25rem; }

.toast {
  position: fixed; right: 1rem; bottom: 1rem; background: var(--ink); color: #fff;
  padding: .65rem .95rem; border-radius: .85rem; z-index: 30; font-size: .92rem;
  box-shadow: var(--shadow);
}

.auth-body { min-height: 100dvh; background: var(--ink); }
.gate { min-height: 100dvh; display: grid; grid-template-columns: minmax(18rem, 1fr) minmax(20rem, 28rem); }
.gate__plate {
  padding: clamp(2rem, 6vw, 5rem); color: #c9d0dc;
  display: flex; flex-direction: column; justify-content: center;
  background:
    linear-gradient(160deg, transparent 42%, rgba(255, 61, 46, .12)),
    radial-gradient(ellipse 70% 50% at 80% 10%, rgba(43, 76, 255, .18), transparent);
  box-shadow: inset -3px 0 0 var(--live);
}
.gate__plate img { border-radius: 14px; margin-bottom: .8rem; }
.gate__plate h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); color: #fff; margin: .15rem 0 .55rem; }
.gate .lede { max-width: 22rem; color: #a8b1c0; }
.gate__facts { margin: 1.5rem 0 0; padding: 0; list-style: none; font-size: .92rem; }
.gate__facts li { border-top: 1px solid rgba(255,255,255,.1); padding: .5rem 0; }
.gate__form { background: var(--field); padding: clamp(2rem, 5vw, 4rem) 2rem; display: flex; flex-direction: column; justify-content: center; }
.gate__form form { display: flex; flex-direction: column; gap: .8rem; margin: 1rem 0; }
.gate__form .btn { align-self: start; }
.gate--miss { grid-template-columns: 1fr; }
.gate--miss .gate__form { min-height: 100dvh; }
.gate__actions { display: flex; gap: .5rem; flex-wrap: wrap; }

.iconbtn {
  width: 2.15rem; height: 2.15rem; display: grid; place-items: center; border: 0; background: transparent;
  color: var(--hush); cursor: pointer; border-radius: 50%;
}
.iconbtn:hover, .iconbtn.is-on { color: var(--ink); background: color-mix(in srgb, var(--lake) 12%, #fff); }
.iconbtn:active { transform: scale(.96); }

.chat {
  display: grid; grid-template-columns: minmax(17.5rem, 21.5rem) minmax(0, 1fr);
  gap: 0; flex: 1; min-height: 0; align-items: stretch; overflow: hidden;
}
.chat__list {
  background: color-mix(in srgb, #fff 78%, var(--field));
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; min-height: 0; overflow: hidden;
}
.chat__list-top, .work__list-top, .desk__list-top, .yard__list-top {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: 1.05rem 1rem .15rem; flex-shrink: 0;
}
.chat__list-top h2, .work__list-top h2, .desk__list-top h2, .yard__list-top h2 { font-size: 1.4rem; }
.chat__list-top .eyebrow, .work__list-top .eyebrow, .desk__list-top .eyebrow, .yard__list-top .eyebrow { color: var(--hush); }
.chat__filter, .work__filter, .desk__filter, .yard__filter {
  margin: .75rem .85rem .45rem; width: calc(100% - 1.7rem);
  border: 0; background: #fff; padding: .62rem .9rem .62rem 2.35rem; border-radius: 999px; flex-shrink: 0;
  box-shadow: inset 0 0 0 1px var(--line);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%235c677a' stroke-width='1.7'%3E%3Ccircle cx='7.5' cy='7.5' r='5'/%3E%3Cpath d='M11.5 11.5L15 15'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: .85rem 50%;
  appearance: none; -webkit-appearance: none;
}
.chat__filter:focus, .work__filter:focus, .desk__filter:focus, .yard__filter:focus { outline: 0; box-shadow: inset 0 0 0 1.5px var(--lake); }
.chat__nav, .work__nav, .desk__nav, .yard__nav {
  overflow: auto; flex: 1; min-height: 0; padding: .15rem .55rem 1rem;
  overscroll-behavior: contain; scrollbar-width: none;
}
.chat__nav::-webkit-scrollbar, .work__nav::-webkit-scrollbar, .desk__nav::-webkit-scrollbar, .yard__nav::-webkit-scrollbar { width: 0; height: 0; }
.chat__row, .work__row {
  display: flex; align-items: center; gap: .7rem; padding: .62rem .7rem; border-radius: 1rem;
  text-decoration: none; color: inherit; position: relative; margin-bottom: .12rem; min-width: 0;
}
.chat__row:hover, .work__row:hover { background: color-mix(in srgb, #fff 70%, transparent); }
.chat__row.is-on, .work__row.is-on { background: #fff; box-shadow: 0 8px 22px rgba(18, 26, 43, .06); }
.chat__row.is-on::before {
  content: ""; position: absolute; left: .35rem; top: 50%; width: .28rem; height: 1.35rem;
  transform: translateY(-50%); border-radius: 99px; background: var(--live);
}
.chat__row.is-on { padding-left: .95rem; }
.chat__row.has-unread strong { font-weight: 700; }
.chat__row-txt, .work__row-txt { min-width: 0; flex: 1; }
.chat__row-txt strong, .chat__row-txt em, .work__row-txt strong, .work__row-txt em {
  display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.chat__row-txt strong, .work__row-txt strong { font-weight: 650; font-size: .95rem; }
.chat__row-txt em, .work__row-txt em { color: var(--hush); font-size: .8rem; font-weight: 400; font-style: normal; }
.chat__row-meta, .work__row-meta { display: flex; flex-direction: column; align-items: flex-end; gap: .28rem; flex-shrink: 0; }
.chat__row-meta time, .work__row-meta time { font-size: .68rem; color: var(--hush); white-space: nowrap; font-variant-numeric: tabular-nums; }
.chat__row .badge { position: static; background: var(--live); }

.chat__room {
  display: flex; flex-direction: column; min-height: 0; position: relative; overflow: hidden;
  --chat-gutter: clamp(1.4rem, 8vw, 5.5rem);
  background:
    radial-gradient(ellipse 80% 42% at 78% -8%, var(--chat-glow), transparent 58%),
    linear-gradient(180deg, #dfe6ef 0%, var(--field) 100%);
}
.chat__room.is-switching { pointer-events: none; }
.chat__room.is-switching .chat__live { opacity: .45; }
.chat__live { display: flex; flex-direction: column; min-height: 0; flex: 1; overflow: hidden; }
.chat__live[hidden] { display: none; }
.chat__head {
  display: flex; gap: .85rem; align-items: center;
  padding: .7rem var(--chat-gutter, 1.15rem) .7rem 1.2rem; flex-shrink: 0;
  background: color-mix(in srgb, #fff 72%, transparent);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.chat__head-ava.is-openable { cursor: pointer; }
.chat__head-txt { min-width: 0; flex: 1; }
.chat__head-txt strong { display: block; font-family: var(--display); font-size: 1.05rem; }
.chat__head-ops { display: flex; align-items: center; gap: .55rem; flex-shrink: 0; }
.chat__line {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .7rem; color: var(--hush); white-space: nowrap;
  background: color-mix(in srgb, #fff 55%, transparent);
  padding: .32rem .7rem .32rem .55rem; border-radius: 999px;
}
.chat__line em { font-style: normal; font-weight: 500; }
.chat__line i {
  width: .48rem; height: .48rem; border-radius: 99px; background: var(--ok);
  box-shadow: 0 0 0 4px rgba(15, 159, 110, .18); animation: rec-pulse 1.8s ease-in-out infinite;
}
.chat__log {
  flex: 1; padding: 1.1rem var(--chat-gutter, 2.2rem) .6rem 1.25rem;
  display: flex; flex-direction: column; gap: .38rem;
  overflow: auto; overscroll-behavior: contain; min-height: 0; scrollbar-width: none;
}
.chat__log::-webkit-scrollbar { width: 0; height: 0; }
.chat__day {
  align-self: center; margin: .55rem 0 .35rem; font-size: .68rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--hush); font-weight: 700;
}
.chat__day span {
  display: inline-block; background: color-mix(in srgb, #fff 78%, transparent);
  padding: .28rem .75rem; border-radius: 99px;
}
.chat__empty, .work__empty, .desk__empty, .yard__empty {
  margin: auto; text-align: center; padding: 2.4rem 1.6rem 2.2rem; color: var(--hush); max-width: 22rem;
  border-radius: 1.6rem; background: color-mix(in srgb, #fff 78%, transparent);
  box-shadow: var(--shadow);
}
.chat__empty-mark, .work__empty-mark, .desk__empty-mark, .yard__empty-mark {
  display: block; width: 3.2rem; height: 3.2rem; margin: 0 auto 1rem; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--live) 0 6px, transparent 7px);
  box-shadow: 0 0 0 10px color-mix(in srgb, var(--live) 12%, transparent);
}
.chat__empty h2, .work__empty h2, .desk__empty h2, .yard__empty h2 { color: var(--ink); margin-bottom: .4rem; }

.bubble {
  max-width: min(36rem, 86%); margin: 0; padding: .62rem .9rem .5rem;
  background: #fff; border-radius: 1.15rem 1.15rem 1.15rem .35rem; align-self: flex-start;
  animation: bubble-in .28s cubic-bezier(.2, .8, .2, 1) both;
  box-shadow: 0 10px 24px rgba(18, 26, 43, .05);
}
.bubble.is-me {
  align-self: flex-end; background: var(--mine); color: #f4f7fb;
  border-radius: 1.15rem 1.15rem .35rem 1.15rem;
  box-shadow: 0 12px 28px rgba(18, 26, 43, .18);
}
.bubble__who { margin: 0 0 .22rem; font-size: .7rem; opacity: .72; font-weight: 650; }
.bubble__text { margin: 0; overflow-wrap: anywhere; line-height: 1.42; }
.bubble time {
  float: right; position: relative; top: .38em; margin: 0 0 -.15em .55rem;
  font-size: .72rem; font-weight: 500; font-variant-numeric: tabular-nums;
  line-height: 1; white-space: nowrap; opacity: .55;
}
.bubble:not(:has(.bubble__text)) time { float: none; display: block; margin: .35rem 0 0 auto; top: 0; width: max-content; }
.bubble__media { display: block; margin: .1rem -.35rem .4rem; }
.bubble__media img, .bubble video.bubble__media {
  display: block; max-width: min(22rem, 100%); width: auto; height: auto;
  border-radius: .85rem; background: #111;
}
.voice { display: flex; align-items: center; gap: .5rem; margin: .15rem 0; }
.voice audio { height: 2rem; max-width: 16rem; }
.voice__t { font-size: .72rem; opacity: .7; }
.filechip {
  display: flex; flex-direction: column; gap: .15rem; padding: .55rem .7rem; margin: .15rem 0 .3rem;
  border-radius: .85rem; text-decoration: none; color: inherit;
  background: var(--field);
}
.bubble.is-me .filechip { background: rgba(255,255,255,.1); color: #f4f7fb; }
.bubble.is-gone { opacity: .72; background: color-mix(in srgb, #fff 40%, transparent); box-shadow: none; }
.bubble.is-me.is-gone { background: color-mix(in srgb, var(--mine) 55%, transparent); }
.bubble__gone { margin: 0; opacity: .75; font-style: italic; }
.bubble__quote {
  display: block; width: 100%; text-align: left; cursor: pointer;
  border: 0; border-left: 2.5px solid var(--live);
  background: color-mix(in srgb, var(--ink) 5%, transparent);
  padding: .32rem .55rem; margin: 0 0 .4rem; color: inherit; font: inherit;
  border-radius: 0 .65rem .65rem 0;
}
.bubble.is-me .bubble__quote { background: rgba(255,255,255,.08); }
.bubble__quote strong, .bubble__quote em { display: block; }
.bubble__quote em { opacity: .75; font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bubble.is-flash { outline: 2px solid var(--lake); outline-offset: 3px; }
.filechip span { font-size: .72rem; opacity: .7; }

.replybar, .stagebox, .recbar {
  display: flex; gap: .7rem; align-items: center; flex-wrap: wrap;
  margin: 0 .85rem .35rem; padding: .55rem .85rem; border-radius: 1.05rem;
  background: color-mix(in srgb, #fff 86%, transparent);
  box-shadow: var(--shadow); flex-shrink: 0;
}
.replybar[hidden], .stagebox[hidden], .recbar[hidden] { display: none; }
.replybar__txt { min-width: 0; flex: 1; border-left: 2.5px solid var(--live); padding-left: .7rem; }
.replybar__txt strong, .replybar__txt em { display: block; }
.replybar__txt em { color: var(--hush); font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stagebox__preview img, .stagebox__preview video { max-height: 4.5rem; max-width: 8rem; border-radius: .7rem; display: block; }
.stagebox__name { margin: 0; flex: 1; min-width: 8rem; font-size: .9rem; }
.recbar__dot { width: .7rem; height: .7rem; border-radius: 99px; background: var(--live); animation: rec-pulse 1s ease-in-out infinite; }

.chat__send {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "tools text send" "caps caps caps";
  align-items: end; gap: .35rem .45rem;
  margin: .15rem .85rem .85rem; padding: .45rem .5rem .4rem .55rem;
  background: color-mix(in srgb, #fff 90%, transparent);
  border-radius: 1.35rem; box-shadow: var(--shadow); flex-shrink: 0;
}
.chat__tools { display: flex; flex-direction: row; gap: .05rem; grid-area: tools; padding-bottom: .1rem; }
.chat__send textarea {
  grid-area: text; width: 100%; border: 0; background: transparent; padding: .55rem .35rem;
  resize: none; max-height: 8rem; min-height: 2.45rem; box-shadow: none;
}
.chat__send textarea:focus { outline: 0; }
.chat__go {
  grid-area: send; width: 2.55rem; height: 2.55rem; padding: 0; border-radius: 50%;
  background: var(--mine); color: #fff; box-shadow: 0 8px 18px rgba(18, 26, 43, .28);
}
.chat__go:hover { background: var(--ink-2); color: #fff; }
.chat__go:disabled { opacity: .4; cursor: default; box-shadow: none; }
.chat__go svg { display: block; }
.chat .empty { margin: auto; text-align: center; padding: 2.2rem 1rem; }
.chat__caps { grid-area: caps; padding: 0 .4rem .15rem; margin: 0; font-size: .68rem; background: transparent; opacity: .75; }

.ctx {
  position: fixed; z-index: 40; min-width: 13.5rem;
  background: color-mix(in srgb, var(--ink) 94%, transparent); color: #f4f7fb;
  border-radius: 1rem; box-shadow: 0 18px 50px rgba(12, 18, 28, .35);
  padding: .35rem; display: flex; flex-direction: column; backdrop-filter: blur(16px);
}
.ctx[hidden] { display: none; }
.ctx button {
  background: transparent; border: 0; color: inherit; text-align: left;
  padding: .55rem .8rem; cursor: pointer; font: inherit; border-radius: .7rem;
}
.ctx button:hover, .ctx button:focus-visible { background: rgba(255,255,255,.08); color: #fff; }
.ctx button[hidden] { display: none; }

.gsheet { display: flex; flex-direction: column; gap: .75rem; }
.gsheet__lede { color: var(--hush); margin: -.35rem 0 .9rem; font-size: .92rem; }
.gsheet__hero { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .85rem; align-items: center; }
.gsheet__ava {
  border: 0; background: transparent; cursor: pointer; padding: 0;
  display: flex; flex-direction: column; align-items: center; gap: .28rem; color: var(--hush);
}
.gsheet__ava em { font-style: normal; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.gsheet__ava:disabled { cursor: default; }
.gsheet__hero label input {
  border-radius: .9rem; border: 0; background: var(--field); padding: .7rem .85rem;
  box-shadow: inset 0 0 0 1px var(--line);
}
.gsheet__hero label input.is-locked { background: transparent; box-shadow: none; padding-left: 0; }
.gsheet__find span {
  display: flex; align-items: baseline; justify-content: space-between; gap: .5rem;
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--hush);
}
.gsheet__n {
  font-style: normal; font-weight: 700; letter-spacing: 0; text-transform: none;
  color: var(--ink); background: color-mix(in srgb, var(--live) 16%, #fff);
  padding: .08rem .45rem; border-radius: 999px; font-size: .72rem;
}
.gsheet__find input {
  margin-top: .4rem; border-radius: 999px; border: 0; background: #fff;
  padding: .6rem .95rem .6rem 2.35rem; box-shadow: inset 0 0 0 1px var(--line);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235c677a' stroke-width='1.7'%3E%3Ccircle cx='7' cy='7' r='4.5'/%3E%3Cpath d='M10.5 10.5L14 14'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: .85rem 50%;
}
.gsheet__find input:focus { outline: 0; box-shadow: inset 0 0 0 1.5px var(--lake); }
.gsheet__hint { min-height: 1.1rem; margin: 0; color: var(--hush); font-size: .82rem; }
.gsheet__h { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--hush); margin: 1rem 0 .45rem; font-weight: 700; }
.gsheet__go { width: 100%; }
.gsheet__leave { width: 100%; margin-top: 1rem; }
.gsheet__row { margin: 0; }
.picked { display: flex; flex-wrap: wrap; gap: .4rem; }
.picked[hidden] { display: none; }
.picked__chip {
  display: inline-flex; align-items: center; gap: .4rem;
  background: #fff; border: 0; border-radius: 999px; padding: .18rem .5rem .18rem .18rem;
  box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--lake) 50%, #fff);
  cursor: pointer; font: inherit; font-size: .82rem; font-weight: 650;
}
.picked__chip .ava { width: 1.45rem; height: 1.45rem; font-size: .5rem; }
.picked__chip i {
  font-style: normal; width: 1rem; height: 1rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--field); color: var(--hush); font-size: .8rem;
}
.picked__chip:hover i { background: var(--ink); color: #fff; }
.picklist { display: flex; flex-direction: column; gap: .25rem; max-height: 14rem; overflow: auto; margin: .4rem 0 .8rem; scrollbar-width: none; }
.picklist::-webkit-scrollbar { width: 0; height: 0; }
.picklist--people {
  max-height: 17rem; gap: .28rem; margin: 0; padding: .3rem;
  background: var(--field); border-radius: 1.15rem;
}
.pick {
  display: flex; align-items: center; gap: .7rem;
  padding: .5rem .65rem .5rem .5rem; cursor: pointer; border-radius: 1rem;
  background: color-mix(in srgb, #fff 50%, transparent);
}
.pick:hover { background: #fff; }
.pick .ava { width: 2.15rem; height: 2.15rem; font-size: .72rem; }
.pick input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 1.35rem; height: 1.35rem; margin: 0 0 0 auto; padding: 0;
  border-radius: 50%; flex-shrink: 0; cursor: pointer;
  border: 1.5px solid var(--line); background: #fff;
}
.pick input[type="checkbox"]:checked {
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23f4f7fb' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M2.4 6.2l2.4 2.4 4.8-5'/%3E%3C/svg%3E") center / .72rem no-repeat;
  border-color: var(--ink);
}
.pick input[type="checkbox"]:focus-visible { outline: 2px solid var(--lake); outline-offset: 2px; }
.pick__txt { min-width: 0; flex: 1; }
.pick__txt strong, .pick__txt em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick__txt em { color: var(--hush); font-style: normal; font-size: .78rem; font-weight: 400; }
.pick:has(input:checked) { background: #fff; box-shadow: 0 8px 20px rgba(18, 26, 43, .06); }

.gpeople { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .2rem; }
.gperson { display: flex; align-items: center; gap: .65rem; padding: .45rem .4rem; border-radius: .9rem; flex-wrap: wrap; }
.gperson__txt { min-width: 0; flex: 1; }
.gperson__txt strong, .gperson__txt em { display: block; }
.gperson__txt em { color: var(--hush); font-style: normal; font-size: .78rem; }
.gperson__me { font-style: normal; font-size: .68rem; font-weight: 650; color: var(--hush); margin-left: .35rem; text-transform: uppercase; }
.gperson__tag {
  font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700;
  color: var(--ink); background: color-mix(in srgb, var(--live) 16%, #fff);
  padding: .18rem .45rem; border-radius: 999px; flex-shrink: 0;
}
.gperson__ops { display: flex; gap: .25rem; flex-shrink: 0; margin-left: auto; }
.gadd {
  display: flex; align-items: center; gap: .7rem; width: 100%; text-align: left;
  border: 0; background: color-mix(in srgb, #fff 50%, transparent);
  padding: .62rem .7rem .62rem .55rem; border-radius: 1rem;
  cursor: pointer; font: inherit; color: inherit;
}
.gadd .ava { width: 2.15rem; height: 2.15rem; font-size: .72rem; }
.gadd::after {
  content: "+"; width: 1.35rem; height: 1.35rem; margin-left: auto; flex-shrink: 0;
  border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
}
.gadd:hover { background: #fff; }
.gadd:hover::after { background: var(--ink); color: #fff; border-color: var(--ink); }

.work {
  display: grid; grid-template-columns: minmax(16rem, 20rem) minmax(0, 1fr);
  flex: 1; min-height: 0; overflow: hidden;
}
.work__list {
  display: flex; flex-direction: column; min-height: 0; overflow: hidden;
  background: color-mix(in srgb, #fff 78%, var(--field));
  border-right: 1px solid var(--line);
}
.work__tabs { display: flex; flex-wrap: wrap; gap: .3rem; padding: .15rem .85rem .5rem; flex-shrink: 0; }
.work__tab {
  border: 0; background: transparent; cursor: pointer; font: inherit;
  font-size: .82rem; font-weight: 650; padding: .32rem .72rem; border-radius: 999px; color: var(--hush);
}
.work__tab.is-on { background: #fff; color: var(--ink); box-shadow: 0 6px 16px rgba(18, 26, 43, .06); }
.work__tools {
  display: flex; align-items: center; gap: .45rem; padding: .1rem .85rem .55rem;
  flex-shrink: 0; flex-wrap: wrap;
}
.work__sel {
  margin-left: auto; max-width: 9.5rem; min-width: 0;
  border: 0; background: #fff; border-radius: 999px; padding: .32rem .7rem;
  font: inherit; font-size: .82rem; font-weight: 650; color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line); appearance: none; cursor: pointer;
}
.work__sel:focus { outline: 0; box-shadow: inset 0 0 0 1.5px var(--lake); }
.work__nav .empty { padding: .85rem .7rem; }
.work__pack, .desk__pack, .yard__pack {
  display: flex; justify-content: space-between; align-items: baseline; gap: .5rem;
  margin: .85rem .7rem .25rem; font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 700; color: var(--hush);
}
.work__pack:first-child, .desk__pack:first-child, .yard__pack:first-child { margin-top: .15rem; }
.work__pack small, .desk__pack small, .yard__pack small { font-variant-numeric: tabular-nums; letter-spacing: 0; text-transform: none; }
.work__st { width: .42rem; height: 1.55rem; border-radius: 99px; flex-shrink: 0; background: #9aa3b2; }
.work__st--backlog { background: #8b95a6; }
.work__st--doing { background: var(--lake); }
.work__st--review { background: #6b5cff; }
.work__st--done { background: var(--ok); }
.work__row { align-items: flex-start; }
.work__row .work__st { margin-top: .28rem; }
.work__row-txt em {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.work__row-meta time.is-late, .work__row.is-late .work__row-txt em { color: var(--warn); }
.work__row-meta b, .work__row-counts i {
  min-width: 1.15rem; height: 1.15rem; border-radius: 99px;
  font-size: .62rem; display: grid; place-items: center; padding: 0 .25rem; font-style: normal;
}
.work__row-meta b { background: var(--ink); color: #fff; }
.work__row-counts { display: flex; gap: .25rem; align-items: center; }
.work__row-counts i { background: color-mix(in srgb, var(--lake) 16%, #fff); color: var(--ink); }
.work__pane {
  display: flex; flex-direction: column; min-height: 0; overflow: hidden;
  background:
    radial-gradient(ellipse 70% 40% at 80% -10%, rgba(43, 76, 255, .16), transparent 55%),
    linear-gradient(180deg, #dfe6ef 0%, var(--field) 100%);
}
.work__live {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(24rem, 30rem);
  min-height: 0; flex: 1; overflow: hidden; position: relative;
}
.work__live[hidden], .work__empty[hidden] { display: none; }
.work__back {
  display: none; align-self: flex-start; margin: .65rem 1.1rem 0;
  border: 0; background: transparent; color: var(--hush); cursor: pointer;
  font: inherit; font-size: .78rem; font-weight: 650;
}
.work__main {
  min-width: 0; min-height: 0; display: flex; flex-direction: column; overflow: hidden;
}
.work.is-folded .work__live { grid-template-columns: minmax(0, 1fr); }
.work.is-folded .work__ticket { display: none; }
.work__head {
  display: flex; align-items: flex-start; gap: .55rem;
  padding: .75rem 1.1rem .65rem; flex-shrink: 0;
  background: color-mix(in srgb, #fff 62%, transparent);
  border-bottom: 1px solid var(--line);
}
.work__head-txt { min-width: 0; flex: 1; }
.work__head .meta { margin: .2rem 0 0; line-height: 1.4; }
.work__title {
  flex: 1; min-width: 0; font-family: var(--display); font-size: 1.22rem; font-weight: 600;
  border: 0; background: transparent; padding: .05rem 0; width: 100%; appearance: none; box-shadow: none; line-height: 1.25;
}
.work__title[readonly] { outline: 0; }
.work__title:not([readonly]):focus { outline: 0; box-shadow: inset 0 -2px 0 var(--lake); }
.work__pri {
  flex-shrink: 0; align-self: flex-start; margin-top: .18rem;
  font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; padding: .32rem .6rem; border-radius: 999px;
  background: var(--field); color: var(--hush); border: 0; cursor: pointer;
}
.work__pri[disabled] { cursor: default; }
.work__pri.is-high { background: color-mix(in srgb, var(--live) 16%, #fff); color: var(--warn); }
.work__pri.is-low { background: var(--field); color: var(--hush); }
.work__facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .45rem .75rem; margin: 1.25rem 0 1rem; padding-top: .15rem;
}
.work__facts p { margin: 0; min-width: 0; }
.work__facts em {
  display: block; font-style: normal; font-size: .68rem; letter-spacing: .12em;
  text-transform: uppercase; font-weight: 700; color: var(--hush); margin: 0 0 .12rem;
}
.work__facts span, .work__facts a {
  display: block; font-size: .92rem; font-weight: 650; color: var(--ink);
  line-height: 1.35;
}
.work__facts a:hover { color: var(--lake); }
.work__facts .is-late { color: var(--warn); }
.work__ticket {
  min-width: 0; min-height: 0; overflow: auto; scrollbar-width: thin;
  padding: .9rem 1.05rem 1.2rem;
  background: color-mix(in srgb, #fff 82%, var(--field));
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.work__ticket.is-drop { box-shadow: inset 0 0 0 1.5px var(--lake); }
.work__block { margin: 0 0 1rem; }
.work__block:last-of-type { margin-bottom: .5rem; }
.work__block--body { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 14rem; }
.work__rail { display: flex; flex-wrap: wrap; gap: .3rem; }
.work__stn {
  flex: 1 1 calc(50% - .2rem); min-width: 0; border: 0; cursor: pointer; font: inherit; color: var(--hush);
  padding: .42rem .6rem; border-radius: .8rem; background: var(--field);
  display: flex; align-items: center; justify-content: flex-start; text-align: left;
}
.work__stn span { font-size: .88rem; font-weight: 650; }
.work__stn.is-past { background: color-mix(in srgb, var(--lake) 14%, #fff); color: var(--ink); }
.work__stn.is-on { background: var(--ink); color: #fff; }
.work__stn.is-on span, .work__stn.is-past span { color: inherit; }
.work__stn[disabled] { cursor: default; }
.work__field {
  display: flex; align-items: center; gap: .35rem;
  font-size: .78rem; font-weight: 650; color: var(--hush); margin: 0 0 .45rem;
}
.work__field--stack { flex-direction: column; align-items: stretch; gap: .28rem; }
.work__field em { font-style: normal; }
.work__field input, .work__field select {
  border: 0; background: var(--field); border-radius: .75rem;
  padding: .45rem .7rem; font: inherit; font-weight: 650; color: var(--ink);
  width: 100%; max-width: none; appearance: none;
}
.work__field select:focus, .work__field input:focus {
  outline: 0; box-shadow: 0 0 0 2px color-mix(in srgb, var(--lake) 28%, transparent); background: #fff;
}
.work__ago { margin: .4rem 0 0; color: var(--hush); font-size: .75rem; }
.work__sec { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--hush); margin: 0 0 .45rem; font-weight: 700; }
.work__desc {
  width: 100%; border: 0; background: #fff; border-radius: 1rem;
  padding: .85rem 1rem; min-height: 14rem; flex: 1; resize: vertical; margin: 0;
  line-height: 1.55; box-shadow: inset 0 0 0 1px var(--line); font-size: 1.02rem;
  overflow-wrap: anywhere;
}
.work__desc:focus { outline: 0; box-shadow: inset 0 0 0 1.5px var(--lake); background: #fff; }
.dlg--doc { width: min(44rem, 96vw); }
.gsheet__doc { display: flex; flex-direction: column; gap: .45rem; }
.gsheet__doc .gsheet__h { margin: 0; }
.work__doc {
  flex: 1.15; min-height: 11rem; overflow: hidden;
  padding: .55rem .75rem .35rem;
  display: flex; flex-direction: column;
}
.work__doc[hidden] { display: none; }
.doc {
  flex: 1; min-height: 0; display: flex; flex-direction: column;
  background: #fff; border-radius: .9rem;
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}
.doc.is-locked .doc__page { cursor: default; }
.doc__bar {
  display: flex; flex-wrap: wrap; gap: .15rem; align-items: center;
  padding: .35rem .4rem; border-bottom: 1px solid var(--line);
  background: var(--snow); flex-shrink: 0;
}
.doc__gap { width: .35rem; height: 1px; }
.doc__btn {
  width: 2rem; height: 2rem; border: 0; border-radius: .45rem;
  background: transparent; color: var(--ink); cursor: pointer;
  display: grid; place-items: center;
}
.doc__btn:hover { background: var(--field); }
.doc__page {
  flex: 1; min-height: 8.5rem; overflow: auto;
  padding: .75rem .95rem 1.1rem;
  font-size: 1.02rem; line-height: 1.55;
  outline: 0; position: relative;
}
.doc__page[contenteditable="true"]:focus { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--lake) 45%, transparent); }
.is-empty .doc__page[data-placeholder]::before {
  content: attr(data-placeholder); color: var(--hush); pointer-events: none;
  position: absolute; left: .95rem; top: .75rem;
}
.doc__page h2 { font-size: 1.2rem; margin: .4rem 0 .35rem; }
.doc__page h3 { font-size: 1.05rem; margin: .4rem 0 .3rem; }
.doc__page p { margin: 0 0 .55rem; }
.doc__page ul, .doc__page ol { margin: 0 0 .7rem; padding-left: 1.3rem; }
.doc__page a { color: var(--lake); }
.doc-todo { list-style: none; padding-left: 0; }
.doc-todo li {
  display: flex; align-items: flex-start; gap: .5rem;
  margin: 0 0 .35rem; padding: .05rem 0;
}
.doc-tick {
  flex-shrink: 0; width: 1.15rem; height: 1.15rem; margin-top: .2rem;
  border: 1.5px solid var(--ink); border-radius: .28rem;
  background: #fff; cursor: pointer; padding: 0; appearance: none;
}
.doc-tick:hover { border-color: var(--lake); }
.doc-todo li.is-on .doc-tick {
  background: var(--lake); border-color: var(--lake);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.2'%3E%3Cpath d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E");
  background-size: 12px; background-repeat: no-repeat; background-position: 50%;
}
.doc-todo li.is-on { color: var(--hush); }
.doc-table {
  width: 100%; border-collapse: collapse; margin: 0 0 .8rem;
  font-size: .95rem;
}
.doc-table th, .doc-table td {
  border: 1px solid var(--line); padding: .35rem .5rem;
  min-width: 4rem; vertical-align: top;
}
.doc-table th { background: var(--field); font-weight: 700; text-align: left; }
.doc-table td { background: #fff; }
.gsheet__doc .doc { min-height: 14rem; }
.gsheet__doc .doc__page { min-height: 11rem; }
.work__picks { display: flex; flex-wrap: wrap; gap: .3rem; }
.work__pick {
  border: 0; border-radius: 999px; padding: .38rem .8rem; cursor: pointer;
  font-size: .88rem; font-weight: 650; background: var(--field); color: var(--hush);
}
.work__pick:hover { background: #fff; color: var(--ink); }
.work__pick.is-on { background: var(--ink); color: #fff; }
.work__crew {
  display: flex; flex-direction: column; gap: .4rem; align-items: stretch;
  margin: 0;
}
.work__person {
  display: flex; align-items: center; gap: .5rem;
  background: var(--snow); border-radius: 1.15rem; padding: .28rem .6rem .28rem .28rem;
}
.work__person .ava { width: 2.15rem; height: 2.15rem; font-size: .72rem; }
.work__person-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.work__person-txt strong { font-size: .95rem; font-weight: 650; }
.work__person-txt em, .work__rolebtn {
  font-style: normal; font-size: .72rem; font-weight: 650; color: var(--ink);
  border: 0; background: color-mix(in srgb, var(--lake) 14%, #fff);
  padding: .08rem .4rem; border-radius: 999px; max-width: 12rem; cursor: pointer; margin-top: .12rem; width: max-content;
}
.work__person-job { display: block; font-size: .72rem; color: var(--hush); font-weight: 500; margin: .08rem 0 .04rem; }
.work__person-txt em { cursor: default; }
.work__person button[data-kick] {
  border: 0; background: transparent; cursor: pointer; color: var(--hush); font-size: 1.05rem; line-height: 1;
}
.work__add {
  border: 0; cursor: pointer; font: inherit; font-size: .82rem; font-weight: 650;
  color: var(--ink); background: transparent; padding: .4rem .75rem; border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.work__add:hover { background: #fff; }
.work__invite {
  width: 100%; margin-top: .15rem; display: flex; flex-direction: column; gap: .45rem;
  background: var(--field); border-radius: 1rem; padding: .7rem .75rem;
}
.work__invite[hidden] { display: none; }
.work__invite-q {
  width: 100%; border: 0; background: #fff; border-radius: 999px;
  padding: .48rem .85rem; box-shadow: inset 0 0 0 1px var(--line);
}
.work__invite-q:focus { outline: 0; box-shadow: inset 0 0 0 1.5px var(--lake); }
.work__invite-row { display: flex; flex-wrap: wrap; gap: .4rem; }
.work__invitee {
  display: inline-flex; align-items: center; gap: .45rem; border: 0; cursor: pointer; font: inherit;
  background: #fff; border-radius: 999px; padding: .28rem .85rem .28rem .28rem;
}
.work__invitee .ava { width: 2.15rem; height: 2.15rem; font-size: .72rem; }
.work__invitee span { font-size: .95rem; font-weight: 650; }
.work__invitee:hover { box-shadow: 0 6px 16px rgba(18, 26, 43, .08); }
.work__files { display: flex; flex-direction: column; gap: .4rem; margin-top: .2rem; align-items: stretch; }
.work__files:empty { display: none; }
.work__talk-h {
  margin: 0 0 .15rem; padding: 0 .2rem;
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; color: var(--hush);
}
.work__file-add {
  border: 0; cursor: pointer; font-size: .78rem; font-weight: 650; color: var(--ink);
  padding: .45rem .7rem; border-radius: .85rem; background: transparent; align-self: flex-start;
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.work__filewrap { display: flex; align-items: center; gap: .2rem; min-width: 0; }
.work__file {
  display: flex; align-items: center; gap: .55rem; text-decoration: none; color: inherit;
  background: var(--field); border-radius: .85rem; padding: .5rem .65rem; min-width: 0; flex: 1;
}
.work__file strong, .work__file span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.work__file span { font-size: .7rem; color: var(--hush); }
.work__file img { width: 2.4rem; height: 2.4rem; object-fit: cover; border-radius: .5rem; flex-shrink: 0; }
.work__file-x {
  border: 0; background: var(--field); color: var(--hush); cursor: pointer;
  width: 1.35rem; height: 1.35rem; border-radius: 50%; display: grid; place-items: center;
}
.work__file-x:hover { background: var(--ink); color: #fff; }
.work__drop { border-radius: 1.05rem; padding: .85rem; background: var(--field); text-align: center; }
.work__drop.is-over { box-shadow: inset 0 0 0 1.5px var(--lake); }
.work__filelist { list-style: none; margin: .5rem 0 0; padding: 0; text-align: left; font-size: .85rem; }
.work__talk { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; padding: .35rem .9rem .85rem; }
.work__log {
  flex: 1; min-height: 0; overflow: auto; scrollbar-width: none;
  display: flex; flex-direction: column; gap: .38rem; padding: .4rem .2rem .5rem;
  overscroll-behavior: contain;
}
.work__log::-webkit-scrollbar { width: 0; }
.work__log .bubble { max-width: min(34rem, 92%); }
.work__send {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "tools text send" "name name name";
  align-items: end; gap: .3rem .4rem;
  margin-top: .15rem; padding: .4rem .5rem .35rem .5rem;
  background: color-mix(in srgb, #fff 90%, transparent);
  border-radius: 1.35rem; box-shadow: var(--shadow);
}
.work__send textarea {
  grid-area: text; width: 100%; border: 0; background: transparent;
  padding: .5rem .3rem; resize: none; max-height: 7rem; min-height: 2.6rem; box-shadow: none; font-size: 1.05rem;
}
.work__send textarea:focus { outline: 0; }
.work__send .iconbtn { grid-area: tools; }
.work__send > button[type="submit"], .work__send .chat__go { grid-area: send; }
.work__attach-name { grid-area: name; margin: 0; padding: 0 .4rem .15rem; font-size: .75rem; }
.work__send.is-drop { box-shadow: 0 0 0 1.5px var(--lake), var(--shadow); }
.work__lock { color: var(--hush); font-size: .85rem; padding: .6rem; text-align: center; }
.work__sys {
  display: flex; justify-content: center; align-items: baseline; gap: .45rem;
  margin: .15rem auto; max-width: 90%; font-size: .78rem; color: var(--hush); text-align: center;
}
.work__sys span { background: color-mix(in srgb, #fff 55%, transparent); border-radius: 999px; padding: .22rem .7rem; }
.work__sys time { font-variant-numeric: tabular-nums; font-size: .68rem; }
.picked__chip select, .picked__role {
  border: 0; background: color-mix(in srgb, var(--lake) 14%, #fff);
  font: inherit; font-size: .78rem; font-weight: 650; color: var(--ink);
  max-width: 9.5rem; border-radius: 999px; padding: .12rem .45rem; cursor: pointer;
}
.work__log .empty { margin: auto; text-align: center; padding: 1.4rem 1rem; }
.work__log .chat__day { align-self: center; }
body.is-tasks .gsheet label:not(.gsheet__find) > input,
body.is-tasks .gsheet label:not(.gsheet__find) > textarea,
body.is-tasks .gsheet label:not(.gsheet__find) > select {
  border-radius: .9rem; border: 0; background: var(--field);
  box-shadow: inset 0 0 0 1px var(--line); padding: .55rem .85rem;
}
.board--clients {
  grid-template-columns: repeat(6, minmax(15.2rem, 1fr));
  overflow-x: auto; padding-bottom: .35rem;
}
.col--lead { box-shadow: inset 3px 0 0 var(--live); }
.card time.is-late { color: var(--warn); }
.card time.is-soon { color: var(--lake); }
.card__note {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; margin: .35rem 0 .4rem; font-size: .86rem; line-height: 1.35; color: var(--ink);
}
.heat {
  display: inline-block; width: .55rem; height: .55rem; border-radius: 99px;
  background: #b7c0cc; margin-right: .35rem; vertical-align: middle;
}
.heat--hot { background: var(--live); }
.heat--warm { background: var(--lake); }
.heat--cold { background: #9aa3b2; }
.heat--lg {
  width: auto; height: auto; padding: .28rem .7rem; font-size: .72rem;
  font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #fff; margin: 0; flex-shrink: 0;
}
.heat--lg.heat--hot { background: color-mix(in srgb, var(--live) 88%, #000); }
.heat--lg.heat--warm { background: var(--lake); }
.heat--lg.heat--cold { background: #7d8796; }

.house-bar {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem;
  margin-bottom: 1rem; flex-wrap: wrap;
}
.house-bar__txt { min-width: 0; }
.house-bar__stats { display: flex; gap: .7rem; margin: .25rem 0 0; font-size: .82rem; font-weight: 650; color: var(--hush); }
.house-bar__stats .is-late { color: var(--warn); }
.house-bar__tools {
  display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-left: auto;
}
.house-bar__q, .house-bar__tools select {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: .4rem .85rem; font: inherit; font-size: .88rem; min-width: 10rem;
}
.house-bar__q:focus, .house-bar__tools select:focus {
  outline: 0; box-shadow: 0 0 0 3px color-mix(in srgb, var(--lake) 18%, transparent); border-color: var(--lake);
}

.house {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(19rem, .78fr);
  gap: 1.15rem; align-items: start; max-width: 78rem;
}
.house__head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.house__who { min-width: 0; }
.house__card h2 { margin: 0; }
.house__rail { display: flex; flex-wrap: wrap; gap: .3rem; margin: 1rem 0 .9rem; }
.house__stn {
  border: 0; cursor: pointer; font: inherit; font-size: .82rem; font-weight: 650;
  padding: .38rem .75rem; border-radius: 999px; background: var(--field); color: var(--hush);
}
.house__stn.is-on { background: var(--ink); color: #fff; }
.house__next {
  background: var(--field); border-radius: 1rem; padding: .75rem .9rem; margin: 0 0 1.1rem;
}
.house__next p { margin: .15rem 0 0; }
.house__next strong { font-family: var(--mono); font-weight: 500; margin-left: .35rem; }
.house__next.is-late { background: color-mix(in srgb, var(--live) 14%, #fff); }
.house__next.is-soon { background: color-mix(in srgb, var(--lake) 12%, #fff); }
.house__form { margin-top: .2rem; }
.house__log { position: sticky; top: 1rem; max-height: calc(100dvh - 5.5rem); overflow: auto; scrollbar-width: thin; }
.house__kinds { display: flex; flex-wrap: wrap; gap: .3rem; }
.house__write { margin-bottom: 1rem; }
.journal { display: flex; flex-direction: column; gap: .7rem; }
.journal__item { display: grid; grid-template-columns: auto 1fr; gap: .55rem; align-items: start; }
.journal__item p { margin: .2rem 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.journal__who { display: flex; flex-wrap: wrap; gap: .35rem .5rem; align-items: baseline; margin: 0; }
.journal__who em {
  font-style: normal; font-size: .68rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--lake);
}
.journal__who time, .journal__sys time { color: var(--hush); font-size: .75rem; font-variant-numeric: tabular-nums; }
.journal__sys {
  display: flex; justify-content: space-between; gap: .5rem; align-items: baseline;
  margin: 0; color: var(--hush); font-size: .82rem;
}
.journal__sys span { background: var(--field); border-radius: 999px; padding: .2rem .65rem; }

.who-list { display: flex; flex-direction: column; gap: .55rem; margin-bottom: .9rem; }
.who {
  position: relative; background: var(--field); border-radius: 1rem; padding: .7rem .85rem .7rem .9rem;
}
.who__view p, .who__edit { margin: 0; }
.who__view .meta { margin-top: .15rem; }
.who__note { margin: .3rem 0 0; font-size: .88rem; }
.who__acts { display: flex; gap: .4rem; margin-top: .5rem; }
.who__check {
  flex-direction: row; align-items: center; gap: .45rem; font-weight: 650; font-size: .88rem;
}
.who__check input { width: auto; }
.who__x {
  position: absolute; top: .4rem; right: .45rem; border: 0; background: transparent;
  color: var(--hush); cursor: pointer; font-size: 1.15rem; line-height: 1; width: 1.6rem; height: 1.6rem;
}
.who__x:hover { color: var(--ink); }
.mini-add { margin-top: .55rem; padding-top: .55rem; border-top: 1px solid var(--line); }

.desk {
  display: grid; grid-template-columns: minmax(18rem, 22.5rem) minmax(0, 1fr);
  flex: 1; min-height: 0; overflow: hidden;
}
.desk__list {
  display: flex; flex-direction: column; min-height: 0; overflow: hidden;
  background: color-mix(in srgb, #fff 78%, var(--field));
  border-right: 1px solid var(--line);
}
.desk__list-top { align-items: flex-start; }
.desk__list-top .eyebrow { margin: .2rem 0 0; }
.desk__tools {
  display: flex; align-items: center; gap: .4rem; padding: 0 .85rem .45rem;
  flex-shrink: 0; flex-wrap: wrap;
}
.desk__tools select {
  margin-left: auto; max-width: 9.5rem; min-width: 0;
  border: 0; background: #fff; border-radius: 999px; padding: .32rem .7rem;
  font: inherit; font-size: .82rem; font-weight: 650; color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line); appearance: none; cursor: pointer;
}
.desk__tools select:focus { outline: 0; box-shadow: inset 0 0 0 1.5px var(--lake); }
.desk__tabs {
  display: flex; flex-wrap: wrap; gap: .28rem; padding: .05rem .85rem .5rem; flex-shrink: 0;
}
.desk__tab {
  border: 0; background: transparent; cursor: pointer; font: inherit;
  font-size: .78rem; font-weight: 650; padding: .28rem .62rem; border-radius: 999px; color: var(--hush);
}
.desk__tab.is-on { background: #fff; color: var(--ink); box-shadow: 0 6px 16px rgba(18, 26, 43, .06); }
.desk__nav .empty { padding: .85rem .7rem; }
.desk__row {
  display: flex; align-items: flex-start; gap: .65rem; padding: .62rem .7rem; border-radius: 1rem;
  text-decoration: none; color: inherit; position: relative; margin-bottom: .12rem; min-width: 0;
}
.desk__row:hover { background: color-mix(in srgb, #fff 70%, transparent); }
.desk__row.is-on { background: #fff; box-shadow: 0 8px 22px rgba(18, 26, 43, .06); }
.desk__row .heat { margin-top: .45rem; margin-right: 0; flex-shrink: 0; }
.desk__row-txt { min-width: 0; flex: 1; }
.desk__row-txt strong {
  display: block; font-weight: 700; line-height: 1.25;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.desk__row-txt em {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; font-style: normal; font-size: .82rem; color: var(--hush); margin-top: .12rem;
}
.desk__row-meta {
  display: flex; flex-direction: column; align-items: flex-end; gap: .25rem; flex-shrink: 0;
}
.desk__row-meta time {
  font-family: var(--mono); font-size: .72rem; color: var(--hush); font-variant-numeric: tabular-nums;
}
.desk__row-meta time.is-late, .desk__row.is-late .desk__row-txt em { color: var(--warn); }
.desk__row-meta time.is-soon { color: var(--lake); }
.desk__row-meta b {
  min-width: 1.15rem; height: 1.15rem; border-radius: 99px; font-size: .62rem;
  display: grid; place-items: center; padding: 0 .25rem; background: var(--ink); color: #fff;
}
.desk__dock {
  display: flex; flex-direction: column; min-height: 0; overflow: hidden;
  background:
    radial-gradient(ellipse 55% 36% at 12% -8%, rgba(255, 61, 46, .14), transparent 58%),
    radial-gradient(ellipse 70% 40% at 92% -10%, rgba(43, 76, 255, .12), transparent 55%),
    linear-gradient(180deg, #dfe6ef 0%, var(--field) 100%);
}
.desk__dock.is-idle { align-items: center; justify-content: center; }
.desk__empty[hidden], .desk__file[hidden] { display: none; }
.desk__file {
  display: flex; flex-direction: column; min-height: 0; flex: 1; overflow: hidden;
  background: color-mix(in srgb, #fff 88%, var(--snow));
  box-shadow: inset 3px 0 0 var(--live);
}
.desk__back {
  display: none; align-self: flex-start; margin: .65rem 1.15rem 0;
  border: 0; background: transparent; color: var(--hush); cursor: pointer;
  font: inherit; font-size: .78rem; font-weight: 650;
}
.desk__head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem;
  padding: .85rem 1.2rem .35rem; flex-shrink: 0;
}
.desk__who { min-width: 0; }
.desk__who h2 { font-size: clamp(1.2rem, 1.8vw, 1.55rem); }
.desk__facts { margin: .35rem 0 0; font-size: .86rem; color: var(--hush); }
.desk__rail {
  display: flex; flex-wrap: wrap; gap: .3rem; padding: .35rem 1.2rem .55rem; flex-shrink: 0;
}
.desk__stn {
  border: 0; cursor: pointer; font: inherit; font-size: .82rem; font-weight: 650;
  padding: .38rem .75rem; border-radius: 999px; background: var(--field); color: var(--hush);
}
.desk__stn.is-on { background: var(--ink); color: #fff; }
.desk__next {
  margin: 0 1.2rem .75rem; background: var(--field); border-radius: 1rem; padding: .7rem .9rem; flex-shrink: 0;
}
.desk__next p { margin: .15rem 0 0; }
.desk__next strong { font-family: var(--mono); font-weight: 500; margin-left: .35rem; }
.desk__next.is-late { background: color-mix(in srgb, var(--live) 14%, #fff); }
.desk__next.is-soon { background: color-mix(in srgb, var(--lake) 12%, #fff); }
.desk__body {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(20rem, .82fr);
  min-height: 0; flex: 1; overflow: hidden; border-top: 1px solid var(--line);
}
.desk__talk {
  min-width: 0; min-height: 0; display: flex; flex-direction: column;
  overflow: auto; overscroll-behavior: contain; scrollbar-width: thin;
  background: color-mix(in srgb, var(--snow) 70%, #fff);
}
.desk__talk .journal {
  flex: 1 1 auto; min-height: 7rem; overflow: auto; padding: .9rem 1.15rem 1rem;
  scrollbar-width: thin;
}
.desk__write {
  display: grid; gap: .45rem; padding: .7rem 1.15rem 1rem;
  border-top: 1px solid var(--line); background: #fff; flex: 0 0 auto;
}
.desk__kinds { display: flex; flex-wrap: wrap; gap: .3rem; }
.desk__write textarea {
  width: 100%; border: 0; border-radius: .9rem; background: var(--field);
  box-shadow: inset 0 0 0 1px var(--line); padding: .7rem .85rem; resize: vertical; min-height: 4.4rem;
}
.desk__write textarea:focus { outline: 0; box-shadow: inset 0 0 0 1.5px var(--lake); }
.desk__write .btn { justify-self: start; }
.calpick { min-width: 0; }
.calpick__board {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(6.8rem, .8fr);
  align-items: stretch;
  border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; background: #fff;
}
.calpick__month { padding: .7rem .7rem .75rem; border-right: 1px solid var(--line); }
.calpick__nav {
  display: flex; align-items: center; justify-content: space-between; gap: .4rem; margin-bottom: .55rem;
}
.calpick__title {
  font-family: var(--display); font-size: .88rem; font-weight: 600; letter-spacing: -.03em;
}
.calpick__arr {
  width: 1.7rem; height: 1.7rem; border: 0; border-radius: .4rem; background: var(--field);
  cursor: pointer; font-size: 1.1rem; line-height: 1; color: var(--ink);
}
.calpick__arr:hover { background: var(--ink); color: #fff; }
.calpick__arr:focus-visible { outline: 2px solid var(--lake); outline-offset: 1px; }
.calpick__dow, .calpick__grid {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); text-align: center;
}
.calpick__dow {
  font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--hush); margin-bottom: .2rem;
}
.calpick__day {
  border: 0; background: transparent; cursor: pointer; font: inherit;
  font-size: .82rem; font-weight: 650; height: 2rem; border-radius: 999px; color: var(--ink);
}
.calpick__day.is-out { color: #b0b7c4; }
.calpick__day.is-today { box-shadow: inset 0 0 0 1.5px var(--ink); }
.calpick__day.is-on { background: var(--ink); color: #fff; }
.calpick__day:hover:not(.is-on) { background: var(--field); }
.calpick__day:focus-visible { outline: 2px solid var(--lake); outline-offset: 1px; }
.calpick__slots {
  padding: .7rem .65rem .75rem; min-width: 0; min-height: 0;
  display: flex; flex-direction: column; background: #fafbff;
}
.calpick__when {
  margin: 0 0 .45rem; font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  text-transform: lowercase; color: var(--ink); flex-shrink: 0;
}
.calpick__times {
  display: flex; flex-direction: column; gap: .28rem;
  flex: 1; min-height: 0; max-height: 14rem; overflow: auto; scrollbar-width: thin;
}
.calpick__hint { margin: .4rem 0 0; font-size: .78rem; color: var(--hush); }
.calpick__slot {
  width: 100%; border: 1px solid var(--ink); background: #fff; cursor: pointer;
  font: inherit; font-size: .86rem; font-weight: 650; font-variant-numeric: tabular-nums;
  padding: .38rem .4rem; border-radius: .4rem; color: var(--ink);
}
.calpick__slot:hover { background: var(--field); }
.calpick__slot.is-on { background: var(--lake); border-color: var(--lake); color: #fff; }
.calpick__slot:focus-visible { outline: 2px solid var(--lake); outline-offset: 1px; }
.journal__when {
  font-family: var(--mono); font-size: .72rem; font-weight: 500; color: var(--ink);
  background: var(--field); border-radius: 999px; padding: .12rem .5rem;
}
.journal__item--call .journal__who em, .journal__item--meet .journal__who em { color: var(--live); }
.desk__side {
  min-width: 0; overflow: auto; padding: .85rem 1rem 1.4rem;
  border-left: 1px solid var(--line); background: #fff; scrollbar-width: thin;
}
.desk__side h3 {
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--hush); margin: 1rem 0 .45rem;
}
.desk__side section:first-child h3 { margin-top: .15rem; }
.desk__side .empty { margin: 0 0 .4rem; }
.desk__card {
  margin-top: 1.1rem; border-top: 1px solid var(--line); padding-top: .7rem;
}
.desk__card summary {
  cursor: pointer; font-weight: 700; font-size: .92rem; list-style: none;
}
.desk__card summary::-webkit-details-marker { display: none; }
.desk__card summary::after {
  content: "открыть"; margin-left: .45rem; font-size: .72rem; font-weight: 650;
  letter-spacing: .06em; text-transform: uppercase; color: var(--lake);
}
.desk__card[open] summary::after { content: "свернуть"; }
.desk__form { margin-top: .7rem; }
.desk .who em,
.desk__file .who em {
  margin-left: .4rem; font-style: normal; font-size: .68rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--lake);
}
.desk .who__check, .desk__file .who__check { flex-direction: row; }

/* Projects: filmstrip of slates + call sheet */
.yard {
  flex: 1; min-height: 0; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--field);
}
.yard__bar {
  flex-shrink: 0;
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: .55rem 1rem;
  padding: .75rem 1.25rem .65rem;
  background: var(--snow);
  border-bottom: 1px solid var(--line);
}
.yard__bar-who { min-width: 0; margin-right: auto; }
.yard__bar h2 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
.yard__bar .eyebrow { margin: .15rem 0 0; }
.yard__q {
  width: min(20rem, 100%); border: 0; background: #fff; padding: .5rem .85rem .5rem 2.2rem;
  border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%235c677a' stroke-width='1.7'%3E%3Ccircle cx='7.5' cy='7.5' r='5'/%3E%3Cpath d='M11.5 11.5L15 15'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: .8rem 50%;
}
.yard__q:focus { outline: 0; box-shadow: inset 0 0 0 1.5px var(--lake); }
.yard__tools { display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
.yard__tools select {
  max-width: 8.2rem; min-width: 0; border: 0; background: #fff; border-radius: 999px;
  padding: .32rem .7rem; font: inherit; font-size: .8rem; font-weight: 650;
  box-shadow: inset 0 0 0 1px var(--line); appearance: none; cursor: pointer;
}
.yard__tools select:focus { outline: 0; box-shadow: inset 0 0 0 1.5px var(--lake); }
.yard__reel {
  flex-shrink: 0;
  display: flex; gap: .55rem; align-items: stretch;
  overflow-x: auto; overflow-y: hidden;
  padding: .7rem .9rem .8rem;
  background: var(--ink);
  scrollbar-width: thin;
  overscroll-behavior-x: contain;
}
.yard__reel .empty { color: #7d8798; margin: .4rem .3rem; white-space: nowrap; }
.yard__cut {
  flex: 0 0 auto;
  display: flex; align-items: stretch; gap: .4rem;
  margin: .05rem .1rem .05rem .35rem;
  color: #7a8494;
}
.yard__cut:first-child { margin-left: 0; gap: 0; }
.yard__cut i {
  display: block; width: 1px;
  background: rgba(201, 208, 220, .16);
}
.yard__cut:first-child i { display: none; }
.yard__cut b {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--body);
  font-size: .58rem; font-weight: 700; font-style: normal;
  letter-spacing: .1em; text-transform: uppercase;
  line-height: 1; white-space: nowrap;
  padding: .12rem 0;
}
.yard__slate {
  position: relative; flex: 0 0 11.6rem; width: 11.6rem;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: .65rem .7rem .8rem;
  background: #1c2740; color: #c9d0dc;
  border-radius: .55rem; text-decoration: none;
  box-shadow: inset 0 2px 0 #3d4a63;
  overflow: hidden;
}
.yard__slate:hover { color: #fff; background: #243250; }
.yard__slate--lead { box-shadow: inset 0 2px 0 #7d8798; }
.yard__slate--mail { box-shadow: inset 0 2px 0 #4a6a8a; }
.yard__slate--meet { box-shadow: inset 0 2px 0 var(--lake); }
.yard__slate--discuss { box-shadow: inset 0 2px 0 #6b5cff; }
.yard__slate--contract { box-shadow: inset 0 2px 0 var(--live); }
.yard__slate--doing { box-shadow: inset 0 2px 0 #2b8a6e; }
.yard__slate--delivered { box-shadow: inset 0 2px 0 var(--ok); }
.yard__slate--hot { box-shadow: inset 0 2px 0 var(--live); }
.yard__slate--warm { box-shadow: inset 0 2px 0 var(--lake); }
.yard__slate--cold { box-shadow: inset 0 2px 0 #7d8798; }
.yard__slate.is-late { box-shadow: inset 0 2px 0 var(--live); }
.yard__slate.is-on {
  background: var(--snow); color: var(--ink);
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}
.yard__slate.is-on:hover { color: var(--ink); background: #fff; }
.yard__slate em {
  display: block; font-style: normal; font-size: .62rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: #8b95a6;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.yard__slate.is-on em { color: var(--hush); }
.yard__slate strong {
  display: block; font-family: var(--display); font-weight: 600; letter-spacing: -.03em;
  font-size: .92rem; line-height: 1.2; margin: .35rem 0 .45rem;
  color: inherit;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.yard__slate span {
  display: flex; flex-wrap: wrap; gap: .25rem .45rem; align-items: baseline;
  font-family: var(--mono); font-size: .66rem; color: #8b95a6;
}
.yard__slate.is-on span { color: var(--hush); }
.yard__slate span b { font-weight: 500; color: inherit; }
.yard__slate time.is-late, .yard__slate.is-late time { color: #ff8a80; }
.yard__slate.is-on time.is-late { color: var(--warn); }
.yard__slate-fill {
  position: absolute; left: 0; bottom: 0; height: 3px; background: var(--lake);
  font-style: normal;
}
.yard__slate.is-late .yard__slate-fill { background: var(--live); }
.yard__lot {
  flex: 1; min-height: 0; overflow: auto;
  padding: .85rem 1rem 1.3rem;
}
.yard__idle {
  max-width: 24rem; margin: 2.2rem auto 0; text-align: center;
}
.yard__idle h3 { font-size: 1.3rem; margin-bottom: .35rem; }
.yard__idle p { color: var(--hush); }
.yard__stage { max-width: 68rem; margin: 0 auto; }
.yard__head {
  background: #fff; border-radius: .85rem; padding: .95rem 1.1rem 1rem;
  box-shadow: var(--shadow); margin-bottom: .7rem;
}
.yard__head h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
.yard__head .eyebrow a { color: inherit; text-decoration: none; font-weight: 700; }
.yard__head .eyebrow a:hover { color: var(--lake); }
.yard__head .eyebrow time.is-late { color: var(--warn); }
.yard__lead { margin: .35rem 0 0; color: var(--hush); font-size: .9rem; max-width: 42rem; }
.yard__count {
  margin: .55rem 0 .35rem; font-family: var(--mono); font-size: .78rem; color: var(--hush);
}
.yard__meter {
  height: .32rem; border-radius: 99px; background: var(--field); overflow: hidden; max-width: 16rem;
}
.yard__meter i { display: block; height: 100%; background: var(--lake); }
.yard__steps { display: flex; flex-wrap: wrap; gap: .15rem; margin: .7rem 0 0; }
.yard__step {
  border: 0; background: var(--field); cursor: pointer; font: inherit;
  font-size: .72rem; font-weight: 650; color: var(--hush);
  padding: .26rem .55rem; border-radius: 99px;
}
.yard__step:hover { color: var(--ink); }
.yard__step.is-on { color: #fff; background: var(--ink); }
.yard__cols {
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(16rem, .85fr);
  gap: .7rem; align-items: start;
}
.yard__pane {
  background: #fff; border-radius: .85rem; padding: .9rem 1rem 1.05rem;
  box-shadow: var(--shadow); min-width: 0;
}
.yard__pane h3 {
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--hush); margin: 0 0 .65rem; font-family: var(--body); font-weight: 700;
}
.yard__pane--log { position: sticky; top: .4rem; }
.yard__add {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .4rem; margin: 0 0 .7rem;
}
.yard__add input {
  border: 0; border-radius: 999px; background: var(--field);
  box-shadow: inset 0 0 0 1px var(--line); padding: .5rem .9rem;
}
.yard__add input:focus { outline: 0; box-shadow: inset 0 0 0 1.5px var(--lake); }
.yard__job {
  display: grid; grid-template-columns: 7.2rem minmax(0, 1fr) 6.2rem 4.4rem;
  gap: .4rem; align-items: center;
  padding: .45rem 0; border-bottom: 1px solid var(--line);
}
.yard__job:last-child { border-bottom: 0; }
.yard__job a { color: inherit; text-decoration: none; font-weight: 650; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yard__job a:hover { color: var(--lake); }
.yard__job em { font-style: normal; font-size: .78rem; color: var(--hush); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yard__job time { font-family: var(--mono); font-size: .72rem; color: var(--hush); text-align: right; }
.yard__job.is-done a { color: var(--hush); text-decoration: line-through; text-decoration-thickness: 1px; }
.yard__job.is-late time { color: var(--warn); }
.yard__related { margin-top: 1.2rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.yard__related h3 {
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--hush); margin: 0 0 .55rem; font-family: var(--body); font-weight: 700;
}
.yard__link {
  display: flex; flex-direction: column; gap: .1rem;
  padding: .45rem 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit; min-width: 0;
}
.yard__link:last-child { border-bottom: 0; }
.yard__link strong { font-size: .95rem; font-weight: 650; }
.yard__link span { font-size: .78rem; color: var(--hush); }
.yard__link:hover { color: inherit; }
.yard__link:hover strong { color: var(--lake); }
.yard__link.is-done strong { color: var(--hush); text-decoration: line-through; text-decoration-thickness: 1px; }
.yard__link.is-late span { color: var(--warn); }
.yard__sec {
  margin: .65rem 0 .1rem; font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--hush);
}
.yard__pick {
  border: 0; background: var(--field); border-radius: 99px;
  padding: .22rem .45rem; font: inherit; font-size: .72rem; font-weight: 700;
  color: var(--ink); cursor: pointer; appearance: none;
  box-shadow: inset 0 0 0 1px var(--line);
}
.yard__pick:focus { outline: 0; box-shadow: inset 0 0 0 1.5px var(--lake); }
.yard__pick--doing { color: var(--lake); }
.yard__pick--review { color: #6b5cff; }
.yard__pick--done { color: var(--ok); }
.yard__write {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .35rem; align-items: center;
  margin-bottom: .7rem;
}
.yard__kinds { display: flex; gap: .2rem; grid-column: 1 / -1; }
.yard__kind {
  border: 0; background: var(--field); cursor: pointer; font: inherit;
  font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: .28rem .45rem; border-radius: .35rem; color: var(--hush);
}
.yard__kind.is-on { background: var(--ink); color: #fff; }
.yard__write input {
  border: 0; border-radius: 999px; background: var(--field);
  box-shadow: inset 0 0 0 1px var(--line); padding: .5rem .85rem;
}
.yard__write input:focus { outline: 0; box-shadow: inset 0 0 0 1.5px var(--lake); }
.yard__log { display: flex; flex-direction: column; gap: .45rem; max-height: 22rem; overflow: auto; }
.yard__log .empty { margin: 0; font-size: .86rem; }
.yard__note, .yard__tick { margin: 0; font-size: .86rem; padding: 0; }
.yard__note em {
  font-style: normal; font-size: .62rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--lake); margin: 0 .35rem;
}
.yard__note--risk em { color: var(--warn); }
.yard__note--decision em { color: var(--ok); }
.yard__note time, .yard__tick time { font-size: .72rem; color: var(--hush); margin-left: .35rem; }
.yard__tick { color: var(--hush); font-size: .8rem; }
.yard__card {
  margin-top: .9rem; border-top: 1px solid var(--line); padding-top: .65rem;
}
.yard__card summary {
  cursor: pointer; font-weight: 700; font-size: .9rem; list-style: none;
}
.yard__card summary::-webkit-details-marker { display: none; }
.yard__card summary::after {
  content: "открыть"; margin-left: .45rem; font-size: .72rem; font-weight: 650;
  letter-spacing: .06em; text-transform: uppercase; color: var(--lake);
}
.yard__card[open] summary::after { content: "свернуть"; }
.yard__form { margin: .7rem 0 0; }

body.is-clients .yard__lot {
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
body.is-clients .yard__idle { margin: auto; }
body.is-clients .desk__file {
  flex: 1; min-height: 0;
  box-shadow: none;
  background: #fff;
}
.yard__field {
  display: flex; flex-direction: column; gap: .3rem;
  font-size: .9rem; font-weight: 650;
}
.yard__touch { margin-top: .1rem; }
.gsheet .yard__field { gap: .3rem; }


body.is-clients .gsheet label > input,
body.is-clients .gsheet label > textarea,
body.is-clients .gsheet label > select {
  border-radius: .9rem; border: 0; background: var(--field);
  box-shadow: inset 0 0 0 1px var(--line); padding: .55rem .85rem;
}
body.is-clients .gsheet label > textarea { min-height: 5.5rem; }
body.is-clients .desk__form label > input,
body.is-clients .desk__form label > textarea,
body.is-clients .desk__form label > select,
body.is-clients .desk__side label > input,
body.is-clients .desk__side label > textarea,
body.is-clients .desk__side label > select {
  border-radius: .9rem; border: 0; background: var(--field);
  box-shadow: inset 0 0 0 1px var(--line); padding: .5rem .75rem; width: 100%;
}
body.is-projects .gsheet label > input,
body.is-projects .gsheet label > textarea,
body.is-projects .gsheet label > select,
body.is-projects .gsheet .yard__field > input {
  border-radius: .9rem; border: 0; background: var(--field);
  box-shadow: inset 0 0 0 1px var(--line); padding: .55rem .85rem;
}
body.is-projects .yard__form label > input,
body.is-projects .yard__form label > textarea,
body.is-projects .yard__form label > select,
body.is-projects .yard__form .yard__field > input {
  border-radius: .9rem; border: 0; background: var(--field);
  box-shadow: inset 0 0 0 1px var(--line); padding: .5rem .75rem; width: 100%;
}
.page--project { max-width: 46rem; }
.page--project .eyebrow a { color: inherit; text-decoration: none; font-weight: 700; }
.page--project .facts a { font-weight: 650; color: var(--ink); }

@keyframes bubble-in {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to { opacity: 1; transform: none; }
}
@keyframes rec-pulse {
  from { transform: scale(.85); opacity: .65; }
  to { transform: scale(1.15); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
  .bubble, .stagebox, .recbar, .chat__row, .chat__live, .work__row, .desk__row, .yard__row { animation: none; }
  .recbar__dot, .chat__line i { animation: none; }
  .iconbtn, .chip, .rail__item { transition: none; }
}

@media (max-width: 1200px) {
  .desk__body { grid-template-columns: 1fr; overflow: visible; }
  .desk__file { overflow: auto; }
  .desk__talk { min-height: 16rem; overflow: visible; }
  .desk__talk .journal { overflow: visible; flex: none; }
  .desk__side { border-left: 0; border-top: 1px solid var(--line); overflow: visible; }
}
@media (max-width: 640px) {
  .calpick__board { grid-template-columns: 1fr; }
  .calpick__month { border-right: 0; border-bottom: 1px solid var(--line); }
  .calpick__times { max-height: 8.5rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .work__live { grid-template-columns: 1fr; }
  .work__ticket {
    position: absolute; right: 0; top: 0; bottom: 0; width: min(30rem, 94vw);
    grid-row: auto; z-index: 5; box-shadow: -18px 0 40px rgba(18, 26, 43, .12);
  }
  .work.is-folded .work__ticket { display: none; }
}
@media (max-width: 960px) {
  .floor, .split-2, .board, .board--deals, .board--clients, .board--projects, .house { grid-template-columns: 1fr; }
  .chat { grid-template-columns: 1fr; grid-template-rows: minmax(7.5rem, 30vh) minmax(0, 1fr); min-height: 0; }
  .chat__room { --chat-gutter: .85rem; }
  .chat__list { border-right: 0; border-bottom: 1px solid var(--line); }
  .chat__send { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "tools tools" "text send" "caps caps"; margin: .1rem .55rem .7rem; }
  .chat__line em { display: none; }
  .chat__caps { display: none; }
  .side { position: static; }
  .rail {
    position: fixed; bottom: 0; left: 0; right: 0; top: auto; height: 4rem; width: 100%;
    flex-direction: row; z-index: 10; padding: .3rem .2rem; gap: 0;
    box-shadow: inset 0 3px 0 var(--live); align-items: stretch; overflow-x: auto;
  }
  .rail__brand, .rail__label { display: none; }
  .rail__foot { display: flex; flex-direction: column; margin: 0; padding: 0; justify-content: center; }
  .rail__user span, .rail__out { display: none; }
  .rail__user { padding: .25rem; }
  .rail__item { flex-direction: column; gap: .15rem; font-size: .58rem; padding: .35rem .4rem; min-width: 3.6rem; }
  .rail__item .badge { top: .15rem; right: .15rem; }
  .shell { padding-bottom: 4rem; }
  .stage { padding-bottom: 0; }
  .split, .split--3 { grid-template-columns: 1fr; }
  .work { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr); }
  .work:not(.is-open) .work__pane { display: none; }
  .work.is-open .work__list { display: none; }
  .work__back { display: inline-flex; }
  .work__talk { min-height: 12rem; }
  .work__doc { min-height: 12rem; flex: none; }
  .desk { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr); }
  .desk:not(.is-open) .desk__dock { display: none; }
  .desk.is-open .desk__list { display: none; }
  .desk__back { display: inline-flex; }
  .desk__body { grid-template-columns: 1fr; overflow: visible; }
  .desk__file { overflow: auto; }
  .desk__talk { min-height: 16rem; overflow: visible; }
  .desk__talk .journal { overflow: visible; flex: none; }
  .desk__side { border-left: 0; border-top: 1px solid var(--line); overflow: visible; }
  .yard__bar { padding: .7rem .85rem .55rem; }
  .yard__reel { padding: .55rem .7rem .65rem; }
  .yard__lot { padding: .7rem .7rem 1.2rem; }
  .yard__cols { grid-template-columns: 1fr; }
  .yard__pane--log { position: static; }
  .yard__job { grid-template-columns: 6.6rem minmax(0, 1fr); }
  .yard__job em, .yard__job time { grid-column: 2; }
  .house__log { position: static; max-height: none; }
  .house-bar__tools { width: 100%; }
  .people-dir > li { flex-wrap: wrap; }
  .gate { grid-template-columns: 1fr; }
  .gate__plate { min-height: 38vh; box-shadow: inset 0 -3px 0 var(--live); }
}
