/* litigation.css -- Litigation Drafting (Docket, Draft) and the mock Slack channel (#/slack/:channel).
   Tokens only; no colors defined here. */

/* ------------------------------------------------------------ room shell */
.lit-room.view { height: 100%; display: flex; flex-direction: column; }
.lit-room .subnav { flex: none; }
.lit-body { flex: 1 1 auto; min-height: 0; display: flex; }
.lit-main { flex: 1 1 auto; min-width: 0; overflow: auto; padding: var(--s3) var(--gutter) var(--s7); }
.lit-src {
  flex: 0 0 42%; min-width: 380px; max-width: 700px;
  display: flex; flex-direction: column; min-height: 0;
  background: var(--bg-pane); border-left: 1px solid var(--line);
}
.lit-host { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.lit-host .pane-body { flex: 1 1 auto; }
.lit-cc { margin-right: var(--s1); white-space: nowrap; }
/* round 4 (P6): the configured rule set, docket subnav, product track only */
.lit-ruleset { margin-right: var(--s1); min-width: 0; max-width: 100%; overflow: hidden; }

/* ------------------------------------------------------------ new trigger */
.lit-new { max-width: 820px; }
.lit-new:empty { display: none; }
.lit-new-label { margin-bottom: var(--s1); }
.lit-new .pcard { max-width: 820px; }
.lit-svc {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
  margin-bottom: var(--s1); font-size: var(--fs-meta);
}
.lit-svc-k { color: var(--text-secondary); }
.lit-svc-v { font-weight: 500; font-variant-numeric: tabular-nums; }
.lit-svc-note { flex-basis: 100%; }
.lit-svc-edit {
  margin: 4px 0 var(--s2); padding: var(--s2) var(--s3);
  background: var(--bg-pane); border-radius: var(--r-card);
}
.lit-trig .lit-svc-edit { margin: 2px 0 8px 28px; max-width: 760px; }
.lit-svc-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.lit-svc-input { width: 170px; font-variant-numeric: tabular-nums; }
.lit-svc-hint { margin-top: 8px; }
.lit-svc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
/* round 7 (S18.6): the disabled-apply reason takes its own row under the two buttons */
.lit-svc-why { flex: 1 0 100%; margin-top: 0; }
.lit-diff { margin-top: 10px; background: var(--bg-raised); border-radius: 4px; }
.lit-diff td { height: auto; padding: 7px 10px; vertical-align: top; font-size: var(--fs-meta); }
.lit-diff td:nth-child(2) { white-space: nowrap; }
.lit-diff s { color: var(--text-secondary); }
.lit-diff tr.is-past td { color: var(--text-secondary); }
.lit-note { margin: var(--s4) 0 var(--s1); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.lit-static-receipt { max-width: 820px; }

/* -------------------------------------------------------- trigger groups */
.lit-triggers { max-width: 1040px; }
.lit-cols, .lit-dl {
  display: grid; column-gap: 14px;
  grid-template-columns: 14px 112px minmax(150px, 1.1fr) minmax(0, 1.9fr) 76px 190px;
}
.lit-cols {
  padding: 0 8px 6px; border-bottom: 1px solid var(--line-subtle);
  font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: 500; color: var(--text-secondary);
}
.lit-trig { padding: 10px 0 8px; border-bottom: 1px solid var(--line-subtle); }
.lit-trig.is-fresh { animation: lit-in 360ms var(--ease) both; }
@keyframes lit-in { from { opacity: 0; } to { opacity: 1; } }
.lit-trig-head { display: flex; align-items: center; gap: 12px; min-height: 32px; padding: 0 8px; }
.lit-trig-main { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; min-width: 0; flex: 1 1 auto; }
.lit-trig-kind { font-size: var(--fs-caption); font-weight: 500; color: var(--text-secondary); width: 48px; flex: none; }
.lit-trig-title { font-weight: 600; }
.lit-trig-detail { font-size: var(--fs-meta); color: var(--text-secondary); }
.lit-trig-right { display: flex; align-items: center; gap: 8px; flex: none; }
.lit-trig-sub { display: flex; align-items: center; gap: 6px; padding: 0 8px 2px 66px; }
.lit-trig.is-flagged { background: var(--bg-pane); border-radius: var(--r-card); border-bottom: 0; margin-top: 8px; padding: 8px 0; }
.lit-trig.is-flagged .lit-trig-kind { width: auto; }
.lit-depo-slot { padding: 8px 8px 4px 66px; }
.lit-depo-slot .pcard { max-width: 760px; }
.lit-bang {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 16px; height: 16px; border: 1px solid var(--text-secondary); border-radius: 4px;
  font-size: var(--fs-micro); font-weight: 600; line-height: 1; color: var(--text); align-self: center;
}
.lit-bang-sm { width: 13px; height: 13px; font-size: var(--fs-micro); border-radius: 3px; }

.lit-dls { margin-top: 2px; }
.lit-dl { align-items: start; padding: 7px 8px; min-height: var(--row-h); border-radius: var(--r-control); }
.lit-dl::before { content: ""; }
.lit-dl:hover { background: var(--bg-pane); }
.lit-dl.is-proposed { outline: 1px dashed var(--line); outline-offset: -1px; box-shadow: none; }
.lit-dl.is-past .lit-c-label, .lit-dl.is-past .lit-date { color: var(--text-secondary); }
.lit-c-date { display: flex; flex-direction: column; gap: 0; }
.lit-date { font-weight: 500; }
.lit-c-date .urg { line-height: 18px; font-size: var(--fs-caption); align-self: flex-start; }
.lit-c-date .meta-quiet { font-size: var(--fs-caption); line-height: 18px; }
.lit-c-label { line-height: 20px; }
.lit-c-rule { min-width: 0; font-size: var(--fs-meta); line-height: var(--lh-meta); }
.lit-rule { color: var(--text); padding-top: 1px; }
.lit-rule .cite { margin-left: 2px; }
.lit-math { color: var(--text-secondary); margin-top: 1px; }
.lit-math .chip-illus { height: 18px; vertical-align: 0; }
.lit-c-owner { font-size: var(--fs-meta); line-height: 20px; white-space: nowrap; }
.lit-c-state { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 6px; min-height: 20px; }
.lit-st { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-caption); color: var(--text-secondary); white-space: nowrap; }
.lit-st-verified { color: var(--text); font-weight: 500; }
.lit-st-proposed::before { content: ""; width: 10px; height: 10px; border: 1px dashed var(--text-secondary); border-radius: 2px; margin-right: 2px; }
.lit-rowbtn { height: 24px; padding: 0 8px; font-size: var(--fs-caption); }
.lit-rowundo { font-size: var(--fs-caption); }
.lit-c-state .lit-st { flex-wrap: wrap; white-space: normal; }
.lit-st-who { margin-left: 2px; color: var(--text-secondary); font-weight: 400; white-space: nowrap; }
.lit-st-who::before { content: "-- "; }
button[aria-disabled="true"][data-lit="noop"] { opacity: 0.55; cursor: not-allowed; }

/* ------------------------------------------------------------------ draft */
.lit-draft-main { padding: 0 var(--gutter) var(--s9); }
.lit-draft-meta {
  position: sticky; top: 0; z-index: 2;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin: 0 calc(-1 * var(--gutter)); padding: 10px var(--gutter) 8px; border-bottom: 1px solid var(--line-subtle);
  background: var(--bg-app); font-size: var(--fs-caption);
}
.lit-paper {
  max-width: calc(72ch + 264px); margin: 8px auto 0;
  font-family: var(--font-doc); font-size: var(--fs-doc); line-height: var(--lh-doc); color: var(--text);
}
.lit-prow { display: grid; grid-template-columns: minmax(0, 72ch) 240px; column-gap: 24px; align-items: start; }
.lit-p { margin: 0 0 18px; text-indent: 3em; hyphens: manual; transition: opacity var(--t-fade) var(--ease); }
.lit-p.is-swapping { opacity: 0; }
.lit-h { font-family: var(--font-doc); font-size: var(--fs-doc); line-height: var(--lh-doc); font-weight: 600; margin: 8px 0 8px; }
.lit-caption { margin-bottom: 20px; }
.lit-center { text-align: center; }
.lit-cap-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px; margin: 20px 0; font-size: 15px; line-height: 24px; }
.lit-cap-no { align-self: center; padding-left: 20px; border-left: 1px solid var(--line); }
.lit-title { font-weight: 600; margin-top: 8px; }
.lit-sig { margin: 16px 0 0 50%; font-size: 15px; line-height: 24px; }
.lit-margin { min-width: 0; }

/* cites in the paper: W.cite chips (core owns the chip, popover, marks) */
.lit-paper .cite { text-indent: 0; margin: 0 1px; vertical-align: 1px; }
.lit-paper .cite.is-active { box-shadow: inset 0 0 0 1px var(--accent); background: var(--accent-soft); }
.lit-paper .cite.is-active .cite-l { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.lit-cc-q { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; }
.lit-cc-q .cite-mark { margin: 0; }
.lit-exists {
  display: inline-flex; align-items: center; gap: 3px; height: 19px; padding: 0 6px; border-radius: 4px;
  font-family: var(--font-ui); font-size: var(--fs-caption); font-weight: 500; color: var(--text-secondary);
  box-shadow: inset 0 0 0 1px var(--line-subtle); vertical-align: 2px; cursor: help; text-indent: 0;
}

/* draft switcher, notice, letter */
.lit-draft-meta { align-items: center; }
.lit-dmeta-l { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lit-dchip { height: 20px; background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--text-secondary); border: 0; font-weight: 500; }
.lit-dsw { display: inline-flex; gap: 2px; padding: 2px; background: var(--bg-pane); border-radius: var(--r-control); }
.lit-dsw-a { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 4px; color: var(--text-secondary); font-size: var(--fs-caption); }
.lit-dsw-a:hover { color: var(--text); text-decoration: none; background: var(--bg-hover); }
.lit-dsw-a.is-on { background: var(--bg-raised); color: var(--text); font-weight: 500; box-shadow: inset 0 0 0 1px var(--line-subtle); }
.lit-notice {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; max-width: calc(72ch + 264px); margin: 10px auto 0;
  padding: 8px 12px; background: var(--bg-pane); border-radius: var(--r-card); font-size: var(--fs-meta); color: var(--text);
}
.lit-notice .ico { color: var(--text-secondary); }
.lit-letter .lit-p { text-indent: 0; }
.lit-letter .lit-h { margin-top: 4px; }
.lit-lhead { margin-bottom: 8px; }
.lit-lh { font-family: var(--font-ui); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding-bottom: 10px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.lit-lblock { margin-bottom: 14px; }
.lit-lmail { font-size: 13px; }
.lit-re { display: grid; grid-template-columns: 3em minmax(0, 1fr); margin: 18px 0; }
.lit-re > span:first-child { font-weight: 600; }
.lit-salute { margin: 0 0 18px; }
.lit-lsig { margin: 8px 0 0; }
.lit-unsigned { display: inline-block; margin: 14px 0 4px; font-family: var(--font-ui); font-size: var(--fs-caption); color: var(--text-secondary); }

/* margin suggestion */
.lit-sugg {
  font-family: var(--font-ui); font-size: var(--fs-meta); line-height: var(--lh-meta);
  padding: 10px 12px; background: var(--bg-raised); border: 1px dashed var(--line); border-radius: var(--r-card);
}
.lit-sugg.is-done { border-style: solid; border-color: var(--line-subtle); background: var(--bg-pane); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.lit-sugg-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lit-sugg-text { margin-top: 4px; }
.lit-sugg-diff { margin-top: 8px; padding-left: 8px; border-left: 2px solid var(--line); display: grid; gap: 4px; font-family: var(--font-doc); font-size: 13.5px; line-height: 20px; }
.lit-sugg-diff s { color: var(--text-secondary); }
.lit-sugg-actions { display: flex; gap: 6px; margin-top: 10px; }
.lit-sugg-actions .btn { height: 28px; }
.lit-sugg.is-note { border-style: solid; border-color: var(--line-subtle); background: var(--bg-pane); }
.lit-sugg-kind { display: inline-flex; align-items: center; gap: 4px; }
.lit-sugg-kind .cite-mark, .lit-sugg .section-label .lit-bang { margin: 0; vertical-align: -2px; }
.lit-sugg-mono { font-family: var(--font-mono); font-size: 12px; }
.lit-rec-cur .cite-judg { height: 18px; }
.lit-rec-cur .cite-mark { margin-left: 0; }

/* record pane */
.lit-rec-head { flex: none; display: flex; align-items: center; gap: 10px; height: var(--pane-head-h); padding: 0 8px 0 16px; border-bottom: 1px solid var(--line-subtle); }
.lit-rec-cur { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-caption); min-width: 0; }
.lit-rec-nav { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; }
.lit-rec-nav .meta-quiet { font-size: var(--fs-caption); margin-right: 6px; }
.lit-prev svg { transform: rotate(180deg); }
.lit-rec-note { flex: none; padding: 8px 16px; font-size: var(--fs-meta); line-height: var(--lh-meta); color: var(--text-secondary); border-bottom: 1px solid var(--line-subtle); }
.lit-rec-note:empty { display: none; }
.lit-record .pane-head { height: var(--pane-head-h); }

/* ================================================================ mock Slack */
.sk-page.view { height: 100%; display: flex; }
.sk {
  flex: 1 1 auto; min-height: 0; display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  background: var(--bg-app);
}
.sk.has-thread { grid-template-columns: 232px minmax(0, 1fr) minmax(360px, 34%); }
.sk-side { background: var(--bg-pane); border-right: 1px solid var(--line); padding: 10px 8px; overflow: auto; display: flex; flex-direction: column; gap: 1px; }
.sk-ws { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px; font-size: 15px; margin-bottom: 6px; }
.sk-sec { padding: 12px 10px 4px; font-size: var(--fs-caption); font-weight: 500; color: var(--text-secondary); }
.sk-chan { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: var(--r-control); color: var(--text-secondary); font-size: var(--fs-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
a.sk-chan:hover { background: var(--bg-hover); color: var(--text); text-decoration: none; }
.sk-chan.is-active { background: var(--accent-soft); color: var(--accent-text); font-weight: 500; }
.sk-hash { width: 12px; text-align: center; opacity: 0.8; }
.sk-dm { cursor: default; }
.sk-dot { width: 8px; height: 8px; margin: 0 2px; border-radius: 50%; border: 1px solid var(--text-secondary); }
.sk-side-foot { margin-top: auto; padding: 16px 10px 4px; font-size: var(--fs-caption); line-height: var(--lh-caption); }

.sk-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.sk-chead { flex: none; display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 12px 0 20px; border-bottom: 1px solid var(--line-subtle); }
.sk-ctitle { display: flex; align-items: baseline; gap: 12px; min-width: 0; flex: 1 1 auto; }
.sk-ctitle b { font-size: 16px; white-space: nowrap; }
.sk-topic { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sk-scroll { flex: 1 1 auto; overflow: auto; padding: 8px 0 16px; }
.sk-day { position: relative; display: flex; justify-content: center; margin: 14px 0 6px; }
.sk-day::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--line-subtle); }
.sk-day span { position: relative; padding: 2px 12px; font-size: var(--fs-caption); font-weight: 500; background: var(--bg-app); border: 1px solid var(--line-subtle); border-radius: 999px; }
.sk-msg { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; padding: 8px 20px; }
.sk-msg:hover { background: var(--bg-pane); }
.sk-msg.is-active { background: var(--bg-hover); box-shadow: inset 2px 0 0 var(--accent); }
.sk-av { width: 36px; height: 36px; border-radius: 8px; background: var(--bg-hover); color: var(--text); display: inline-flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 600; }
.sk-av-bot { background: var(--bg-raised); box-shadow: inset 0 0 0 1px var(--line); color: var(--text-secondary); }
.sk-mhead { display: flex; align-items: baseline; gap: 8px; line-height: 20px; }
.sk-name { font-weight: 600; }
.sk-app { font-size: var(--fs-micro); font-weight: 600; letter-spacing: 0.04em; padding: 0 4px; border-radius: 3px; background: var(--bg-hover); color: var(--text-secondary); }
.sk-time { font-size: var(--fs-caption); color: var(--text-secondary); }
.sk-text { margin: 1px 0 0; line-height: 21px; }
.sk-file { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; padding: 8px 14px 8px 10px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--bg-raised); color: var(--text-secondary); max-width: 100%; }
.sk-file-name { color: var(--text); overflow-wrap: anywhere; }
.sk-replies { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding: 3px 8px 3px 3px; border: 1px solid transparent; border-radius: var(--r-control); background: transparent; font-size: var(--fs-meta); }
.sk-replies:hover { border-color: var(--line-subtle); background: var(--bg-raised); }
.sk-rav { display: inline-flex; gap: 2px; }
.sk-rav .sk-av { width: 22px; height: 22px; border-radius: 5px; font-size: var(--fs-caption); }
.sk-rav .sk-av svg { width: 12px; height: 12px; }
.sk-rcount { color: var(--accent-text); font-weight: 600; }

/* bot block (three lines + buttons) */
.sk-block { margin-top: 6px; padding: 2px 0 2px 12px; border-left: 4px solid var(--line); display: grid; gap: 3px; }
.sk-line { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 8px; line-height: 20px; }
.sk-line b { font-weight: 600; display: inline-flex; align-items: center; align-self: start; gap: 4px; }
.sk-line .chip-illus { height: 18px; }
.sk-line-flag span:last-child { color: var(--text); }
.sk-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.sk-btn {
  display: inline-flex; align-items: center; height: var(--control-h); padding: 0 12px;
  border: 1px solid var(--line); border-radius: 6px; background: var(--bg-raised); color: var(--text);
  font-size: var(--fs-meta); font-weight: 600; white-space: nowrap;
}
.sk-btn:hover { background: var(--bg-hover); text-decoration: none; }
.sk-btn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.sk-btn-primary:hover { background: var(--accent-hover); }
.sk-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.sk-btn:disabled:hover { background: var(--accent); }
.sk-foot { margin-top: 6px; font-size: var(--fs-caption); }
.sk-receipt { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 2px; line-height: 21px; }
.sk-receipt svg { color: var(--text-secondary); }
.sk-receipt-muted { color: var(--text-secondary); }
.sk-edited { font-size: var(--fs-caption); color: var(--text-secondary); }
.sk-also { font-size: var(--fs-caption); }
.sk-composer { flex: none; margin: 0 20px 16px; height: 44px; display: flex; align-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-card); color: var(--text-placeholder); background: var(--bg-raised); }

.sk-thread { display: flex; flex-direction: column; min-width: 0; min-height: 0; border-left: 1px solid var(--line); background: var(--bg-app); }
.sk-thead { flex: none; display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 0 8px 0 16px; border-bottom: 1px solid var(--line-subtle); }
.sk-thread-scroll { flex: 1 1 auto; overflow: auto; padding: 8px 0; }
.sk-thread .sk-msg { padding: 8px 16px; }
.sk-rdiv { display: flex; align-items: center; gap: 10px; margin: 4px 16px; font-size: var(--fs-caption); color: var(--text-secondary); }
.sk-rdiv::after { content: ""; flex: 1; border-top: 1px solid var(--line-subtle); }
.sk-composer-thread { margin: 0 16px 16px; }

/* ------------------------------------------------------------ responsive */
/* layout follows the work column, not the viewport (the source pane takes ~42%) */
.lit-main { container-type: inline-size; }
@container (max-width: 960px) {
  .lit-prow { grid-template-columns: minmax(0, 1fr); }
  .lit-margin:not(:empty) { margin: -6px 0 18px; max-width: 480px; }
  .lit-margin:empty { display: none; }
  .lit-paper { max-width: 72ch; }
  .lit-cols, .lit-dl { grid-template-columns: 0 100px minmax(120px, 1fr) minmax(0, 1.5fr) 64px 132px; column-gap: 10px; }
  .lit-trig-sub, .lit-depo-slot { padding-left: 8px; }
  .lit-trig .lit-svc-edit { margin-left: 8px; }
}
/* ------------------------------------------- round 3: generic docket (4.3.3) */
.lit-generic .lit-main { max-width: 1120px; }
.lit-gstrip {
  display: flex; flex-wrap: wrap; gap: 8px 32px; max-width: 1040px;
  padding: 0 8px 12px; border-bottom: 1px solid var(--line-subtle);
}
.lit-gcell { display: grid; gap: 2px; min-width: 0; }
.lit-gcell dt { font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--text-secondary); }
.lit-gcell dd { font-size: var(--fs-meta); line-height: var(--lh-meta); overflow-wrap: anywhere; }
.lit-gopen { max-width: 72ch; margin: 12px 8px 0; color: var(--text); }
.lit-glinks { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; margin: var(--s4) 8px 0; max-width: 1040px; }
.lit-glinks .meta { margin-right: -6px; }
.quiet-fact .lit-nowrap { white-space: nowrap; }

@container (max-width: 640px) {
  .lit-cols { display: none; }
  .lit-dl { grid-template-columns: 96px minmax(0, 1fr); row-gap: 2px; }
  .lit-dl::before { display: none; }
  .lit-dl .lit-c-date { grid-row: span 3; }
  .lit-trig-head { flex-wrap: wrap; }
}
@media (max-width: 960px) {
  .lit-src { min-width: 320px; }
  .sk { grid-template-columns: 0 minmax(0, 1fr); }
  .sk-side { display: none; }
  .sk.has-thread { grid-template-columns: minmax(0, 1fr) minmax(320px, 44%); }
}
@media (max-width: 720px) {
  .lit-room.view, .sk-page.view { height: auto; display: block; }
  .lit-body { display: block; }
  .lit-main { overflow: visible; padding: 16px; }
  .lit-src { min-width: 0; max-width: none; border-left: 0; border-top: 1px solid var(--line); }
  .lit-host .pane-body { max-height: 70vh; }
  .lit-cols { display: none; }
  .lit-dl { grid-template-columns: minmax(0, 1fr); row-gap: 2px; }
  .lit-dl::before { display: none; }
  .lit-trig-head { flex-wrap: wrap; }
  .lit-trig-sub, .lit-depo-slot { padding-left: 8px; }
  .lit-trig .lit-svc-edit { margin-left: 0; }
  .lit-draft-main { padding: 0 16px 32px; }
  .lit-draft-meta { margin: 0 -16px; padding: 8px 16px; }
  .lit-cap-grid { grid-template-columns: 1fr; }
  .lit-gstrip { gap: 8px 20px; padding: 0 0 12px; }
  .lit-gopen, .lit-glinks { margin-left: 0; margin-right: 0; }
  .lit-cap-no { border-left: 0; padding-left: 0; }
  .lit-sig { margin-left: 0; }
  .lit-p { text-indent: 1.5em; }
  .subnav-right .lit-cc { display: none; }
  .sk, .sk.has-thread { display: block; }
  .sk-scroll, .sk-thread-scroll { overflow: visible; }
  .sk-thread { border-left: 0; border-top: 1px solid var(--line); }
  .sk-msg { padding: 8px 16px; }
  .sk-line { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .sk-ctitle { flex-wrap: wrap; }
  .sk-chead { height: auto; padding: 8px 16px; flex-wrap: wrap; }
  .sk-composer { margin: 0 16px 16px; }
}
