/* BDS-01 Prototype, WorkingSheet: the accepted drawing design/g/sheet.html in the one language (one.css, root class "g").
   Zones: the shared page bar, the formula line, the grid edge to edge, the selected work in short (collapsible), the status bar.
   Lines as drawn: horizontal clear (--line), vertical faint. Every selector starts with .g.v-sheet, except the cards that open
   in #layer and the phone's bottom sheet, which live outside the screen's root. */
.g.v-sheet{display:flex;flex-direction:column;overflow:hidden;padding:0;background:var(--surface)}
.g.v-sheet>.pbar,.g.v-sheet>.fx,.g.v-sheet>.dock,.g.v-sheet>.sbar{flex:none}

/* ---------- the page bar (shared with the Kanban Board) ---------- */
.g.v-sheet .pbar>*{flex:none}
.g.v-sheet .pbar .sp{flex:1 1 auto}
.g.v-sheet .pbar button.ctl,.g.v-sheet .pbar a.ctl{font:inherit;font-size:14px;cursor:pointer;transition:transform 120ms var(--ease)}
.g.v-sheet .pbar .ctl:hover,.g.v-sheet .pbar .ctl[aria-expanded="true"]{border-color:var(--ink-2);color:var(--ink)}
.g.v-sheet .pbar .ctl:active{transform:scale(.97)}
.g.v-sheet .pbar .btn{cursor:pointer;font-family:inherit}
.g.v-sheet .pbar .btn.pri:disabled{opacity:.45}
/* As of: the date field (datefield.js); a past day is shown in the field and in the bar above the grid */
.g.v-sheet .asof{gap:8px}
.g.v-sheet .asof .dfh{display:flex;align-items:center}
.g.v-sheet .asof input[type=date]{height:30px;border:1px solid var(--line-2);border-radius:6px;padding:0 8px;font:inherit;font-size:14px;color:var(--ink);background:var(--surface)}
/* Excel: save out, read in */
.g.v-sheet .sx-xl{display:flex;gap:0}
.g.v-sheet .sx-xl .ctl{display:inline-flex;align-items:center;gap:6px}
.g.v-sheet .sx-xl .ctl:first-child{border-top-right-radius:0;border-bottom-right-radius:0}
.g.v-sheet .sx-xl .ctl+.ctl{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:-1px}
.g.v-sheet .sx-xl svg{width:16px;height:16px;flex:none}
/* the client of a new work, asked at its row */
.sx-cp{width:340px;padding:0 0 12px}
.sx-cp header{display:flex;align-items:baseline;gap:8px;padding:10px 14px;border-bottom:1px solid var(--line)}
.sx-cp header b{font-size:14px}.sx-cp header span{margin-left:auto;font-size:12px;color:var(--muted)}
.sx-cp .sx-cpin{display:block;width:calc(100% - 28px);margin:12px 14px 0;height:34px;padding:0 10px;border:1px solid var(--line-2);border-radius:6px;font:inherit;font-size:14px;color:var(--ink);background:var(--surface)}
.sx-cp .sx-cpin:focus{outline:2px solid var(--blue);outline-offset:-1px}
.g.v-sheet .sx-xl .ctl:disabled{opacity:.45;cursor:default}
.g.v-sheet .find{cursor:text}
.g.v-sheet .find input{font-size:14px}
.g.v-sheet .find:focus-within{border-color:var(--blue)}

/* ---------- the bar above the grid: the AI suggestion (aisHtml, Verify), the past-date sign, the cell's history ---------- */
.g.v-sheet .fx{display:flex;align-items:center;height:36px;border-bottom:1px solid var(--line);font-size:14px;background:var(--surface)}
.g.v-sheet .fx .cn{width:64px;align-self:stretch;flex:none;display:grid;place-items:center;border-right:1px solid var(--line);color:var(--muted);font-size:13px}
.g.v-sheet .fx .v{flex:1 1 auto;min-width:0;align-self:stretch;display:flex;align-items:center;gap:8px;padding:0 14px;white-space:nowrap;overflow:hidden}
.g.v-sheet .fx .v .ais{margin:0;min-width:0;display:flex;align-items:center;gap:8px}
.g.v-sheet .fx .v .ais>span:not(.to){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.g.v-sheet .fx .v .ais .btn.ai{height:26px;padding:0 12px;cursor:pointer;font-family:inherit}
.g.v-sheet .fx .v .ais .btn.ai:hover{background:var(--blue);color:var(--surface)}
.g.v-sheet .fx .sx-cell{min-width:0;overflow:hidden;text-overflow:ellipsis}
.g.v-sheet .fx .sx-cell b{font-weight:400;color:var(--ink)}
.g.v-sheet .fx .to{color:var(--blue);font-style:italic}
.g.v-sheet .fx.ai{background:color-mix(in srgb,var(--blue-bg) 55%,var(--surface))}
/* a past day: the sheet as it stood, read only */
.g.v-sheet .fx.past{background:var(--ink);color:var(--surface)}
.g.v-sheet .fx.past .cn{color:var(--surface);border-right-color:transparent}
.g.v-sheet .sx-past{display:flex;align-items:baseline;gap:10px}
.g.v-sheet .sx-past b{font-size:14px}
.g.v-sheet .sx-past span{font-size:13px;opacity:.8}
.g.v-sheet .fx.past .keys .link{color:var(--surface);text-decoration:underline}
.g.v-sheet.past .sx-eng{box-shadow:inset 0 0 0 2px var(--ink)}
.g.v-sheet .sx-hb{display:inline-flex;align-items:center;gap:6px;height:26px;margin-left:12px;padding:0 8px;border:1px solid var(--line-2);border-radius:6px;background:var(--surface);font:inherit;font-size:13px;color:var(--ink-2);cursor:pointer}
.g.v-sheet .sx-hb:hover{border-color:var(--ink-2);color:var(--ink)}
.g.v-sheet .sx-hb svg{width:14px;height:14px;color:var(--orange-ink)}
.g.v-sheet .sx-hb kbd{margin:0 0 0 4px}
/* the filters that shorten the list (doors from other screens, the totals of the status bar), each removable */
.g.v-sheet .sx-chips{display:flex;align-items:center;gap:6px;flex:none;padding-left:10px}
.g.v-sheet .sx-chips:empty{display:none}
.g.v-sheet .sx-chip{display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 6px 0 10px;border:1px solid var(--ink-2);border-radius:6px;background:var(--surface);font:inherit;font-size:13px;font-weight:700;color:var(--ink);cursor:pointer;white-space:nowrap}
.g.v-sheet .sx-chip svg{width:12px;height:12px;color:var(--muted)}
.g.v-sheet .sx-chip:hover svg{color:var(--ink)}
.g.v-sheet .sx-clr{border:0;background:none;padding:0 4px;font:inherit;font-size:13px;font-weight:700;color:var(--blue);cursor:pointer}
.g.v-sheet .fx.past .sx-chip{background:transparent;color:var(--surface);border-color:var(--surface)}
/* the engine fills the room between the bar and the lower segment */
.g.v-sheet .sx-eng{flex:1 1 auto;min-height:0;position:relative;overflow:hidden;background:var(--surface)}
.g.v-sheet .sx-wait{padding:24px 20px;color:var(--muted);font-size:14px}
.g.v-sheet .fx .keys{flex:none;display:flex;align-items:center;gap:0;margin-left:auto;padding-right:16px;font-size:12px;color:var(--muted);white-space:nowrap}
.g.v-sheet .fx .keys .link{border:0;background:none;padding:0 2px;margin-left:10px;font:inherit;font-size:13px;font-weight:700;color:var(--blue);cursor:pointer}
.g.v-sheet .fx .keys>span{font-size:13px;color:var(--ink-2)}
.g.v-sheet kbd{font:inherit;font-size:11px;border:1px solid var(--line-2);border-radius:4px;padding:0 5px;margin:0 3px 0 8px;color:var(--ink-2)}

/* phone group headings (the grid's own group rows are the engine's) */
.g.v-sheet .gn{display:inline-flex;align-items:center;padding:0;border:0;background:none;font:inherit;font-size:14px;font-weight:700;color:var(--ink);cursor:pointer;border-radius:4px}
.g.v-sheet .gn .gc{width:10px;height:10px;margin-right:8px;color:var(--muted);transition:transform 160ms var(--ease)}
.g.v-sheet .gn[aria-expanded="false"] .gc{transform:rotate(-90deg)}
.g.v-sheet .mg small{font-weight:400;font-size:13px;color:var(--muted);margin-left:10px}
.g.v-sheet .mg small i{font-style:normal;margin-left:8px}
.g.v-sheet .gone{color:var(--muted);text-decoration:line-through}

/* ---------- the selected work, in short ---------- */
.g.v-sheet .dock{border-top:2px solid var(--line-2);background:var(--bg)}
.g.v-sheet .dock .dh{display:flex;align-items:center;gap:10px;height:38px;padding:0 16px;border-bottom:1px solid var(--line);white-space:nowrap;overflow:hidden}
.g.v-sheet .dock .tg{flex:none;width:22px;height:22px;padding:0;display:grid;place-items:center;border:1px solid var(--line-2);border-radius:5px;background:transparent;color:var(--ink-2);cursor:pointer}
.g.v-sheet .dock .tg svg{width:10px;height:10px;transition:transform 160ms var(--ease)}
.g.v-sheet .dock.closed .tg svg{transform:rotate(-90deg)}
.g.v-sheet .dock .dh b{font-size:15px;min-width:0;overflow:hidden;text-overflow:ellipsis;flex:0 1 auto}
.g.v-sheet .dock .dh .cl{flex:none}
.g.v-sheet .dock .dh .link{margin-left:auto;font-size:14px;flex:none}
.g.v-sheet .dock .dh .link:hover{text-decoration:underline}
/* the facts keep their full width (they used to be cut at the edge without a sign); the title gives way with an ellipsis */
.g.v-sheet .dock .sum{display:flex;gap:18px;margin-left:8px;font-size:14px;color:var(--muted);flex:0 0 auto;min-width:0;overflow:hidden}
.g.v-sheet .dock .sum b{font-size:14px;color:var(--ink)}
.g.v-sheet .dock.closed .dh{border-bottom:0}
.g.v-sheet .dock .db{display:grid;grid-template-columns:minmax(max-content,1.05fr) 1.2fr 1.25fr 1fr;height:124px}
.g.v-sheet .dock .db>div{padding:10px 16px 12px;border-left:1px solid var(--line);overflow:auto;min-width:0}
.g.v-sheet .dock .db>div:first-child{border-left:0}
.g.v-sheet .dock h3{font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);margin-bottom:8px;white-space:nowrap}
.g.v-sheet .dock h3 span{text-transform:none;letter-spacing:0;font-weight:400;margin-left:6px}
.g.v-sheet .dock .pgs{display:flex;gap:8px}
.g.v-sheet .dock .pg,.g.v-sheet .dock .pg i{width:52px}
.g.v-sheet .dock .pg i{height:69px;transition:transform 120ms var(--ease)}
.g.v-sheet .dock a.pg:hover i{transform:translateY(-2px)}
.g.v-sheet .dock .pg.miss i{font-size:18px}
.g.v-sheet .dock .more{align-self:center;font-size:13px;color:var(--muted);padding-left:4px;white-space:nowrap}
.g.v-sheet .dock p,.g.v-sheet .dock .em{font-size:14px;color:var(--ink-2)}
.g.v-sheet .dock .em{display:block}
.g.v-sheet .dock .em:hover span{text-decoration:underline}
.g.v-sheet .dock :is(p,.em)+:is(p,.em){margin-top:6px}
.g.v-sheet .dock :is(p,.em) b{color:var(--ink)}
.g.v-sheet .dock :is(p,.em) small{color:var(--muted);font-size:13px}
.g.v-sheet .dock .ais q{color:var(--ink-2)}
.g.v-sheet .dock .ais>span:not(.to){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.g.v-sheet .dock .none{font-size:13px;color:var(--muted)}

/* ---------- status bar: person tabs, totals, AI ---------- */
.g.v-sheet .sbar{display:flex;align-items:stretch;height:34px;border-top:1px solid var(--line);font-size:14px;color:var(--ink-2);background:var(--surface);white-space:nowrap;position:relative}
.g.v-sheet .sbar .sp{flex:1 1 auto}
.g.v-sheet .sbar .tabs2,.g.v-sheet .sbar .tot{display:flex;align-items:stretch}
/* the person tabs slide inside the one-line bar; js/slots.js puts an arrow at each end while there is more that way */
.g.v-sheet .sbar .tabs2{flex:0 1 auto;min-width:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}
.g.v-sheet .sbar .tabs2 button{flex:none}
.g.v-sheet .sbar .tot{flex:none}
.g.v-sheet .sbar button{font:inherit;font-size:14px;cursor:pointer}
.g.v-sheet .sbar .tabs2 button{display:flex;align-items:center;gap:6px;padding:0 14px;border:0;border-right:1px solid var(--line);background:none;color:var(--ink-2)}
.g.v-sheet .sbar .tabs2 button:hover{color:var(--ink)}
.g.v-sheet .sbar .tabs2 button.on{font-weight:700;color:var(--ink);box-shadow:inset 0 2px 0 var(--orange)}
.g.v-sheet .sbar .t{display:flex;align-items:center;gap:6px;padding:0 14px;border:0;border-left:1px solid var(--line);background:none;color:var(--ink-2)}
.g.v-sheet .sbar button.t:hover{color:var(--ink)}
.g.v-sheet .sbar .t b{color:var(--ink)}
.g.v-sheet .sbar .t b.red{color:var(--red)}.g.v-sheet .sbar .t b.amber{color:var(--amber)}.g.v-sheet .sbar .t b.org{color:var(--orange-ink)}
.g.v-sheet .sbar .t[aria-pressed="true"],.g.v-sheet .sbar .tb[aria-pressed="true"]{color:var(--ink);font-weight:700;box-shadow:inset 0 2px 0 var(--orange)}
.g.v-sheet .sbar .t.clr{color:var(--blue);font-weight:700}
.g.v-sheet .sbar .aib{padding-right:12px}
.g.v-sheet .sbar .tb{display:flex;align-items:center;gap:6px;align-self:stretch;padding:0;border:0;background:none;color:var(--ink-2)}
.g.v-sheet .sbar .tb b{color:var(--ink)}
.g.v-sheet .sbar .btn.ai{height:24px;margin-left:8px;padding:0 12px}
.g.v-sheet .sbar .btn.ai:hover:not(:disabled){background:var(--blue);color:var(--surface)}
.g.v-sheet .sbar .saved,.g.v-sheet .sbar .msg{display:flex;align-items:center;padding:0 12px;font-size:13px}
.g.v-sheet .sbar .saved{color:var(--green)}.g.v-sheet .sbar .msg{color:var(--ink);font-weight:700;overflow:hidden;text-overflow:ellipsis;max-width:40vw}
.g.v-sheet .sbar .saved:empty,.g.v-sheet .sbar .msg:empty{display:none}
.g.v-sheet .sbar button:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}
.g.v-sheet .undobar{position:absolute;left:0;right:0;bottom:0;height:34px;display:flex;align-items:center;gap:14px;padding:0 14px;background:var(--navy);color:#fff;font-size:14px;z-index:8}
.g.v-sheet .undobar button{height:24px;padding:0 10px;border:1px solid rgba(255,255,255,.45);border-radius:6px;background:transparent;color:#fff;font:inherit;font-size:13px;font-weight:700;cursor:pointer}

/* ---------- cards that open at a cell (in #layer, outside the screen's root) ---------- */
.pop kbd{font:inherit;font-size:12px;line-height:16px;border:1px solid var(--line-3);border-radius:4px;padding:0 5px;color:var(--ink-2);background:var(--surface)}
.aic .row .btn kbd{margin-left:4px;background:none;border-color:currentColor;opacity:.75}
.aic .from{margin:6px 14px 0;font-size:12px;color:var(--muted)}
.aic .from .lk{border:0;background:none;padding:0;font:inherit;color:var(--blue);text-align:left;cursor:pointer}
.aic .from .lk:hover{text-decoration:underline}
.ppc{width:360px}
.ppc header{display:flex;align-items:center;gap:8px;padding:10px 14px;border-bottom:1px solid var(--line);background:var(--surface-2)}
.ppc header b{font-size:14px}.ppc header span{margin-left:auto;font-size:12px;color:var(--muted)}
.ppc .pages{display:flex;flex-wrap:wrap;gap:10px;padding:12px 14px}
.ppc .miss{padding:0 14px 12px;font-size:13px}
.ppc .miss b{display:block;font-size:12px;color:var(--amber);margin-bottom:4px}
.ppc .miss ul{margin:0;padding-left:16px;color:var(--ink-2)}
.cal .cd{margin:0 4px 6px;font-size:13px;color:var(--ink-2)}
.cal .cd span{display:block;font-size:12px;color:var(--muted)}
.mi .sto.block{color:var(--red);font-weight:700}.mi .sto.wait{color:var(--amber);font-weight:700}.mi .sto.done{color:var(--green)}
.mi kbd{border:0;background:none}
/* the papers of a work, as the card at the Papers cell and the phone's bottom sheet draw them (work-panel.js paperHtml) */
:is(.ppc,.ws-bs) .pages{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px;padding-bottom:2px}   /* the pages wrap, none slides out of sight */
:is(.ppc,.ws-bs) .pg{flex:none;width:64px;display:block;border:0;padding:0;background:none;text-align:left;font:inherit;color:inherit;cursor:pointer;border-radius:4px}
:is(.ppc,.ws-bs) .pg .im{display:grid;place-items:center;width:56px;height:72px;border:1px solid var(--line-3);border-radius:3px;background:#fff center top/cover no-repeat;color:var(--muted);font-size:20px;transition:transform 120ms var(--ease)}
:is(.ppc,.ws-bs) .pg:hover .im{transform:translateY(-2px);border-color:var(--blue)}
:is(.ppc,.ws-bs) .pg.mail .im{border-style:dashed;border-color:var(--blue);background:var(--blue-bg);color:var(--blue)}
:is(.ppc,.ws-bs) .pg.mail .im svg{width:18px;height:18px}
:is(.ppc,.ws-bs) .pg.miss{cursor:default}
:is(.ppc,.ws-bs) .pg.miss .im{border-style:dashed;border-color:var(--orange);background:none;color:var(--orange-ink)}
:is(.ppc,.ws-bs) .pg.miss:hover .im{transform:none}
:is(.ppc,.ws-bs) .pg small{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-top:3px;font-size:12px;line-height:1.2;color:var(--muted);white-space:normal}
:is(.ppc,.ws-bs) .pg.miss small{color:var(--orange-ink);font-weight:700}

/* ---------- the story as a bottom sheet (phone, work-panel.js) ---------- */
.ws-bs-veil{position:fixed;inset:0;z-index:60;background:var(--veil);display:flex;align-items:flex-end;justify-content:center}
.ws-bs{width:min(640px,100%);max-height:88vh;display:flex;flex-direction:column;background:var(--surface);border-radius:14px 14px 0 0;box-shadow:var(--shadow-lg);outline:0}
.ws-bs.in{animation:wsbs 200ms var(--ease)}
@keyframes wsbs{from{transform:translateY(40px);opacity:0}}
.ws-bs header{display:flex;align-items:flex-start;gap:10px;padding:14px 16px 10px;border-bottom:1px solid var(--line)}
.ws-bs header b{display:block;font-size:16px;line-height:1.25}.ws-bs header span{font-size:13px;color:var(--muted)}
.ws-bs header .x{margin-left:auto;width:44px;height:44px;margin:-8px -8px 0 auto;border:0;border-radius:8px;background:none;display:grid;place-items:center;color:var(--ink-2)}
.ws-bs-body{overflow:auto;padding:12px 16px calc(16px + env(safe-area-inset-bottom))}
.ws-bs-body>div{padding:10px 0 12px;border-bottom:1px solid var(--line)}
.ws-bs-body>div:last-child{border-bottom:0}
.ws-bs-body .pg{width:64px}.ws-bs-body .pg .im{width:64px;height:84px}
.ws-bs .story h3,.ws-bs-body h3{margin:0 0 7px;font-size:12px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}
.ws-bs-body h3 span{font-weight:400;text-transform:none;letter-spacing:0;margin-left:8px}
.ws-bs-body .none{margin:0;font-size:13px;color:var(--muted)}
.ws-bs-body .note{display:grid;grid-template-columns:20px 1fr;gap:1px 8px;margin-bottom:7px;font-size:14px;line-height:1.35}
.ws-bs-body .note .av.s{width:20px;height:20px;font-size:9px}
.ws-bs-body .note small{grid-column:2;color:var(--muted);font-size:13px}
.ws-bs-body .mail{display:block;width:100%;margin:0 0 6px;padding:2px 4px;margin-left:-4px;border:0;border-radius:5px;background:none;text-align:left;font:inherit;font-size:14px;line-height:1.35;color:var(--ink);cursor:pointer}
.ws-bs-body .mail>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ws-bs-body .mail small{display:block;color:var(--muted);font-size:13px}
.ws-bs-body .mail mark{background:none;color:var(--ink-2);font-style:italic}
.ws-bs-body .tl{margin-bottom:6px;padding-left:10px;border-left:2px solid var(--line-3);font-size:14px;line-height:1.35}
.ws-bs-body .tl.now{border-left-color:var(--ink-2)}
.ws-bs-body .tl small{display:block;color:var(--muted);font-size:13px}
.g.v-sheet .mlist{display:none}

/* ---------- the bar above the grid with many filters set: it takes a second line, nothing leaves by the right edge ---------- */
@media (min-width:761px){
  .g.v-sheet .fx{height:auto;min-height:36px;flex-wrap:wrap}
  .g.v-sheet .fx .cn,.g.v-sheet .fx .keys,.g.v-sheet .fx .sx-chips{min-height:36px}
  .g.v-sheet .fx .v{flex:1 1 0;min-width:240px;min-height:36px}
  .g.v-sheet .fx .sx-chips{flex:0 1 auto;flex-wrap:wrap;row-gap:4px;padding-top:5px;padding-bottom:5px}
}

/* ---------- smaller desktops (1280 x 720) ---------- */
@media (max-width:1439px) and (min-width:761px){
  .g.v-sheet .pbar{gap:8px;padding:0 16px}
  .g.v-sheet .pbar h1{margin-right:4px}
  .g.v-sheet .find{width:150px}
  .g.v-sheet .dock .db{grid-template-columns:minmax(max-content,1.05fr) 1.1fr 1.25fr 1fr}
  .g.v-sheet .dock .db>div{padding:10px 12px 12px}
  .g.v-sheet .sbar .tabs2 button,.g.v-sheet .sbar .t{padding:0 11px}
}
/* 1440 to 1535: the toolbar stays one row, "+ New Work" included (it dropped alone under the title at 1440, lead 22 Nov 2026) */
@media (max-width:1535px) and (min-width:1440px){
  .g.v-sheet .pbar{gap:8px;padding:0 16px}
  .g.v-sheet .pbar h1{margin-right:4px}
  .g.v-sheet .pbar .sp{flex:1 1 0;min-width:0}
  .g.v-sheet .find{width:140px}
}
@media (max-width:1300px) and (min-width:761px){
  .g.v-sheet .pbar h1{font-size:18px}
  .g.v-sheet .find{width:120px}
  .g.v-sheet .sx-xl .ctl span{display:none}
}

/* ---------- phone: a list of the same works ---------- */
@media (max-width:760px){
  .g.v-sheet .pbar{height:auto;flex-wrap:wrap;gap:8px;padding:10px 12px}
  .g.v-sheet .pbar h1{font-size:19px;flex:1 1 auto}
  .g.v-sheet .pbar .sp,.g.v-sheet #shStages{display:none}
  .g.v-sheet .pbar .btn.pri{height:40px;order:2}
  /* the line that says whom to ask (a level that may not add a work) wraps under the title instead of running off the right edge */
  .g.v-sheet #shAsk{order:2;flex:1 1 100%;min-width:0;white-space:normal}
  .g.v-sheet .pbar .ctl{height:40px}
  .g.v-sheet #grpBtn{order:3}.g.v-sheet #psnBtn{order:4}
  .g.v-sheet .asof{order:5;height:40px;flex:1 1 100%}
  .g.v-sheet .find{order:6;flex:1 1 100%;width:auto;height:40px}
  .g.v-sheet>.fx,.g.v-sheet>.sx-eng,.g.v-sheet>.dock,.g.v-sheet .sx-xl{display:none}
  .g.v-sheet .mlist{display:block;flex:1 1 auto;min-height:0;overflow:auto;padding:4px 12px 16px;background:var(--bg)}
  .g.v-sheet .mg{display:flex;flex-wrap:wrap;align-items:center;gap:2px 0;margin:12px 0 8px;font-size:15px}
  .g.v-sheet .mg .gn{font-size:15px;height:36px}
  .g.v-sheet .mg small{margin-left:4px}
  .g.v-sheet .mw{background:var(--surface);border:1px solid var(--line-2);border-radius:10px;margin-bottom:10px;overflow:hidden}
  .g.v-sheet .mw .mtop{display:flex;align-items:stretch;border-bottom:1px solid var(--line)}
  .g.v-sheet .mw .mtop .mf{border-bottom:0;flex:1 1 auto;min-width:0}
  .g.v-sheet .mstory{flex:none;min-width:64px;padding:0 12px;border:0;border-left:1px solid var(--line);background:none;font:inherit;font-size:14px;font-weight:700;color:var(--blue)}
  .g.v-sheet .mf{display:block;width:100%;min-height:44px;padding:8px 12px;border:0;border-bottom:1px solid var(--line);background:none;text-align:left;font:inherit;font-size:14px;line-height:1.3;position:relative;color:var(--ink);overflow-wrap:anywhere}
  .g.v-sheet .mf b{font-size:15px}
  .g.v-sheet .mf small{display:block;font-size:13px;color:var(--muted)}
  .g.v-sheet .mf em{font-style:normal;color:var(--muted)}
  .g.v-sheet .mf.lab>span:first-child{display:block;font-size:12px;color:var(--muted);margin-bottom:2px}
  .g.v-sheet .mf .to{color:var(--blue);font-style:italic}
  .g.v-sheet .mf .aimark{overflow-wrap:normal;white-space:nowrap}
  .g.v-sheet .mf.ai::after{content:none}
  .g.v-sheet .mf.chg{box-shadow:inset 0 -2px 0 var(--orange)}
  .g.v-sheet .mf.h::before{content:"";position:absolute;top:0;right:0;border:4px solid transparent;border-top-color:var(--orange);border-right-color:var(--orange)}
  .g.v-sheet .mf .av{margin-right:6px;vertical-align:middle}
  .g.v-sheet .mrow{display:grid;grid-template-columns:1fr 1fr}.g.v-sheet .mrow.three{grid-template-columns:1fr .8fr 1.1fr}
  .g.v-sheet .mrow .mf+.mf{border-left:1px solid var(--line)}
  .g.v-sheet .mw>.mrow:last-child .mf{border-bottom:0}
  .g.v-sheet .mw.done .mf b{color:var(--muted)}
  .g.v-sheet .mnone{padding:24px 4px;color:var(--ink-2)}
  .g.v-sheet .sbar{height:auto;min-height:44px;overflow-x:auto;scrollbar-width:none}
  .g.v-sheet .sbar .tabs2 button,.g.v-sheet .sbar .t{min-height:44px;flex:none}
  .g.v-sheet .sbar .sp{display:none}
  .g.v-sheet .sbar .tot{flex:none}
  .g.v-sheet .sbar .btn.ai{height:32px}
  .g.v-sheet .undobar{position:fixed;height:48px}
}
