@font-face {
  font-family: Inter;
  src: url("/demovideo/assets/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/demovideo/assets/instrument-serif-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
:root {
  --ground: #faf9f6;
  --surface: #fff;
  --ink: #17150f;
  --muted: #797771;
  --rule: #e5e2da;
  --selection: #f3ecd8;
  --action: #579dd2;
  --green: #1a7f37;
  --tg-bot: #8055b9;
  --tg-bg: #d8e4ce;
  --tg-out: #e4ffc7;
  --tg-folders: #2e3a49;
  --meet: #202124;
  --meet-tile: #3c4043;
  --meet-control: #434649;
  --meet-red: #ea4335;
  --meet-speaker: #8ab4f8;
  --tg-quote: #eef4f7;
}
* {
  box-sizing: border-box;
}
html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #111;
}
body {
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
}
button,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button:focus-visible,
select:focus-visible {
  outline: 3px solid var(--action);
  outline-offset: 3px;
}
button:disabled {
  cursor: default;
}
#viewport {
  position: fixed;
  inset: 0;
}
#stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1728px;
  height: 972px;
  transform-origin: center;
  background: var(--ground);
  overflow: clip;
}
.screenshot {
  position: absolute;
  top: 0;
  left: 0;
  width: 1728px;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.tg-action-plan {
  margin: 12px 0;
  padding-left: 24px;
  font-size: 19px;
  line-height: 1.35;
}
:where(.tg-action-plan) li {
  margin: 7px 0;
}

.campaign-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
:where(.campaign-heading) p {
  margin-bottom: 0;
}
.campaign-filters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 24px 0;
}
:where(.campaign-filters) div {
  font-size: 13px;
  color: var(--muted);
}
:where(.campaign-filters) b {
  display: block;
  padding: 12px 16px;
  margin-top: 8px;
  border: 1px solid var(--rule);
  background: var(--surface);
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
}
.campaign-selection {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-size: 16px;
}
:where(.campaign-selection) span {
  color: var(--muted);
  font-size: 14px;
}
.campaign-brief {
  padding: 16px 20px;
  margin-bottom: 16px;
  background: var(--selection);
  font-size: 15px;
}
:where(.campaign-brief) p {
  margin: 8px 0 0;
}
.campaign-table {
  border: 1px solid var(--rule);
  background: var(--surface);
}
.campaign-table-head,
.campaign-table-row {
  display: grid;
  grid-template-columns: 28px 1.1fr 1.2fr 1fr 1fr 0.7fr;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
}
.campaign-table-head {
  min-height: 44px;
  background: var(--ground);
  color: var(--muted);
  font-size: 13px;
}
.campaign-table-row {
  min-height: 62px;
  border-top: 1px solid var(--rule);
  font-size: 14px;
}
:where(.campaign-table-row) b {
  font-weight: 500;
}
:where(.campaign-table-row) small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}
.campaign-checkbox {
  width: 18px;
  height: 18px;
  border: 1px solid var(--rule);
  display: grid;
  place-items: center;
}
.campaign-checkbox.selected {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
  font-size: 13px;
}
.campaign-table-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}
.campaign-draft-workspace {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) 280px;
  gap: 24px;
  margin-top: 12px;
}
.campaign-recipients {
  min-width: 0;
}
:where(.campaign-recipients) label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
}
:where(.campaign-recipients) select {
  width: 100%;
  height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--rule);
  background: var(--surface);
  font-size: 13px;
  color: var(--ink);
}
.campaign-recipient-list {
  margin-top: 16px;
  border: 1px solid var(--rule);
}
:where(.campaign-recipient-list) button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 76px;
  padding: 12px;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--rule);
  background: var(--surface);
  font-size: 14px;
}
:where(.campaign-recipient-list) button:where([aria-current]) {
  background: var(--selection);
}
:where(.campaign-recipient-list) b {
  font-weight: 500;
}
:where(.campaign-recipient-list) small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}
.campaign-initials {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  font-size: 11px;
  background: var(--ground);
  flex-shrink: 0;
}
.campaign-draft-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  margin-left: auto;
}
.campaign-message {
  align-self: start;
  border: 1px solid var(--rule);
  background: var(--surface);
}
:where(.campaign-message) header {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 84px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--rule);
}
:where(.campaign-message header) .draft-status {
  margin-left: auto;
}
:where(.campaign-message) small {
  display: block;
  color: var(--muted);
  margin-top: 5px;
  font-size: 13px;
}
.campaign-linkedin {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--action);
  color: var(--surface);
  font-weight: 700;
  font-size: 24px;
}
.campaign-message-copy {
  padding: 8px 28px 24px;
  font-size: 20px;
  line-height: 1.55;
}
:where(.campaign-message-copy) p {
  margin: 24px 0 0;
}
:where(.campaign-message) footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  color: var(--muted);
}
:where(.campaign-message footer) button {
  padding: 0;
  font-size: 14px;
}
:where(.campaign-evidence) h2 {
  margin: 0 0 20px;
  font-size: 27px;
}
:where(.campaign-evidence) dl {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}
:where(.campaign-evidence) dt {
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
}
:where(.campaign-evidence) dd {
  margin: 8px 0 0;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}
.campaign-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--rule);
  margin: 24px 0;
  background: var(--surface);
}
:where(.campaign-summary) div {
  padding: 20px 24px;
  border-right: 1px solid var(--rule);
}
:where(.campaign-summary) div:where(:last-child) {
  border-right: 0;
}
:where(.campaign-summary) b {
  display: block;
  font-size: 36px;
  font-weight: 500;
}
:where(.campaign-summary) span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}
.campaign-queue-note {
  padding: 18px 24px;
  background: var(--selection);
  margin-bottom: 24px;
  font-size: 16px;
}
:where(.campaign-queue-note) p {
  margin: 8px 0 0;
}
.campaign-queue {
  border: 1px solid var(--rule);
  background: var(--surface);
}
.campaign-queue-head,
.campaign-queue-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 160px;
  gap: 24px;
  align-items: center;
  padding: 14px 20px;
}
.campaign-queue-head {
  color: var(--muted);
  background: var(--ground);
  font-size: 13px;
}
.campaign-queue-row {
  min-height: 64px;
  padding-block: 10px;
  border-top: 1px solid var(--rule);
  font-size: 14px;
}
:where(.campaign-queue-row) small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}
:where(.campaign-queue-row) p {
  margin: 0;
  line-height: 1.45;
}
:where(.campaign-queue-row) .draft-status {
  justify-self: start;
}
.contract-page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
:where(.contract-page-heading) p {
  margin-bottom: 0;
}
.contract-mail {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  min-height: 700px;
  border: 1px solid var(--rule);
  background: var(--surface);
}
.contract-mail-folders {
  padding: 24px 16px;
  border-right: 1px solid var(--rule);
  background: var(--ground);
}
:where(.contract-mail-folders) b,
:where(.contract-mail-folders) > span {
  display: block;
  padding: 14px 16px;
  margin-bottom: 8px;
  font-size: 15px;
}
:where(.contract-mail-folders) b {
  background: var(--selection);
  font-weight: 500;
}
:where(.contract-mail-folders b) span {
  float: right;
}
:where(.contract-email) header {
  padding: 24px 36px;
  border-bottom: 1px solid var(--rule);
}
:where(.contract-email) h2 {
  font:
    500 26px / 1.3 Inter,
    Arial,
    sans-serif;
  margin: 8px 0 24px;
}
.contract-sender {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}
:where(.contract-sender) small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}
.contract-email-body {
  padding: 16px 36px 28px;
  font-size: 20px;
  line-height: 1.5;
  max-width: 1080px;
}
:where(.contract-email-body) p {
  margin: 16px 0;
}
.contract-attachment {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  width: fit-content;
  min-width: 420px;
  border: 1px solid var(--rule);
  background: var(--ground);
  text-align: left;
  margin: 24px 0;
  font-size: 16px;
}
:where(.contract-attachment) > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 52px;
  background: var(--action);
  color: var(--surface);
  font-size: 12px;
}
:where(.contract-attachment) small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}
.contract-chat {
  height: 820px;
}
:where(.contract-chat) .connected {
  top: 28px;
}
.contract-findings {
  border: 1px solid var(--rule);
  margin: 16px 0 20px;
}
:where(.contract-findings) article {
  padding: 16px 20px;
  border-bottom: 1px solid var(--rule);
  background: var(--ground);
}
:where(.contract-findings) article:where(:last-child) {
  border-bottom: 0;
}
:where(.contract-findings) p {
  margin: 6px 0 0;
  font-size: 16px;
}
:where(.contract-chat .figaro-response) .response-note {
  margin-top: 18px;
}
.contract-document-toolbar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 20px;
  border: 1px solid var(--rule);
  background: var(--surface);
  font-size: 14px;
}
:where(.contract-document-toolbar) span {
  color: var(--muted);
}
.contract-document-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  padding: 24px 32px 0;
}
.contract-paper {
  padding: 28px 44px;
  border: 1px solid var(--rule);
  background: var(--surface);
  font:
    17px / 1.45 Georgia,
    "Times New Roman",
    serif;
}
.contract-document-label {
  margin: 0;
  color: var(--muted);
  font:
    13px Inter,
    Arial,
    sans-serif;
}
:where(.contract-paper) h2 {
  font:
    400 35px / 1.1 "Instrument Serif",
    Georgia,
    serif;
  margin: 12px 0;
}
.contract-parties {
  color: var(--muted);
  font:
    13px Inter,
    Arial,
    sans-serif;
  margin-bottom: 22px;
}
:where(.contract-paper) h3 {
  font-size: 18px;
  margin: 18px 0 8px;
}
:where(.contract-paper) p {
  margin-top: 8px;
}
:where(.contract-paper) del {
  color: var(--meet-red);
  text-decoration-thickness: 1px;
}
:where(.contract-paper) ins {
  color: var(--green);
  text-decoration-thickness: 1px;
}
.contract-page-number {
  color: var(--muted);
  font:
    12px Inter,
    Arial,
    sans-serif;
  text-align: center;
  padding-top: 12px;
}
:where(.contract-revision-list) h2 {
  margin: 0 0 20px;
  font-size: 27px;
}
:where(.contract-revision-list) article {
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
  line-height: 1.5;
}
:where(.contract-revision-list) small {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
}
:where(.contract-revision-list) p {
  margin: 8px 0 0;
}
.contract-reply-draft {
  border: 1px solid var(--rule);
  background: var(--surface);
  max-width: 1140px;
}
:where(.contract-reply-draft) header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 36px;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
}
:where(.contract-reply-draft header) > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
:where(.contract-reply-draft header) small,
:where(.contract-reply-draft header) span:where(:not(.draft-status)) {
  color: var(--muted);
}
:where(.contract-reply-draft) footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 16px 36px;
  border-top: 1px solid var(--rule);
  font-size: 14px;
  color: var(--muted);
}
:where(.contract-reply-draft footer) .disabled-send {
  position: static;
}

.github-screen {
  --gh-ground: #ffffff;
  --gh-inset: #f6f8fa;
  --gh-ink: #1f2328;
  --gh-muted: #59636e;
  --gh-border: #d1d9e0;
  --gh-link: #0969da;
  --gh-merged: #8250df;
  --gh-positive: #1a7f37;
  --gh-added: #dafbe1;
  --gh-hunk: #ddf4ff;
  --gh-active: #fd8c73;
  --gh-log: #0d1117;
  --gh-log-ink: #e6edf3;
  position: absolute;
  inset: 0;
  background: var(--gh-ground);
  color: var(--gh-ink);
  font:
    16px / 1.5 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
.gh-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  vertical-align: middle;
}
.gh-mark {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
}
:where(.github-screen) code,
:where(.github-screen) pre {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
.gh-global {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 68px;
  padding: 0 24px;
  background: var(--gh-inset);
}
.gh-global-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
:where(.gh-global-tools) img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: contain;
  border: 1px solid var(--gh-border);
}
.gh-icon-control {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gh-border);
  border-radius: 6px;
  color: var(--gh-muted);
}
.gh-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 280px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--gh-border);
  border-radius: 6px;
  color: var(--gh-muted);
  font-size: 14px;
}
:where(.gh-search) kbd {
  border: 1px solid var(--gh-border);
  border-radius: 3px;
  padding: 0 4px;
  line-height: 18px;
}
.gh-private {
  font-size: 12px;
  padding: 0 7px;
  border: 1px solid var(--gh-border);
  border-radius: 20px;
  color: var(--gh-muted);
}
.gh-divider {
  color: var(--gh-muted);
}
.gh-repository-nav {
  height: 48px;
  padding: 0 24px;
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--gh-border);
  background: var(--gh-inset);
}
:where(.gh-repository-nav) > span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px;
  border-bottom: 3px solid transparent;
}
:where(.gh-repository-nav) .selected {
  border-bottom-color: var(--gh-active);
  font-weight: 600;
}
.gh-main {
  padding: 0 72px;
}
.gh-pr-heading {
  padding: 28px 0 20px;
}
:where(.gh-pr-heading) h1 {
  margin: 0 0 12px;
  font:
    400 34px / 1.25 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
:where(.gh-pr-heading h1) > span {
  color: var(--gh-muted);
  font-weight: 300;
}
.gh-pr-status {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gh-muted);
}
:where(.gh-pr-status) code {
  padding: 3px 6px;
  border-radius: 4px;
  background: var(--gh-hunk);
  color: var(--gh-link);
  font-size: 14px;
}
.gh-merged {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 24px;
  background: var(--gh-merged);
  color: var(--gh-ground);
  font-weight: 600;
}
.gh-tabs {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 52px;
  border-bottom: 1px solid var(--gh-border);
}
:where(.gh-tabs) button {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 18px;
  background: transparent;
  border: 1px solid transparent;
  border-bottom: 0;
  color: inherit;
  font-size: 16px;
}
:where(.gh-tabs) button:where([aria-current]) {
  background: var(--gh-ground);
  border-color: var(--gh-border);
  border-radius: 6px 6px 0 0;
  margin-bottom: -1px;
  height: 53px;
}
.gh-counter {
  padding: 0 7px;
  border-radius: 20px;
  background: var(--gh-inset);
  font-size: 13px;
}
.gh-diffstat {
  margin-left: auto;
  align-self: center;
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 13px;
}
:where(.gh-diffstat) b,
.gh-add-count {
  color: var(--gh-positive);
}
:where(.gh-diffstat) > span {
  margin-right: 4px;
  color: var(--gh-muted);
}
:where(.gh-diffstat) i {
  width: 8px;
  height: 8px;
  background: var(--gh-positive);
}
.gh-conversation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 296px;
  gap: 28px;
  padding-top: 20px;
}
.gh-timeline {
  min-width: 0;
}
.gh-comment-row {
  display: flex;
  align-items: start;
  gap: 18px;
}
.gh-timeline-avatar {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border: 1px solid var(--gh-border);
  border-radius: 50%;
}
.gh-comment {
  flex: 1;
  border: 1px solid var(--gh-border);
  border-radius: 6px;
  overflow: hidden;
}
:where(.gh-comment) header {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  background: var(--gh-inset);
  border-bottom: 1px solid var(--gh-border);
  font-size: 14px;
  color: var(--gh-muted);
}
:where(.gh-comment header) b {
  color: var(--gh-ink);
}
.gh-comment-author {
  margin-left: auto;
  border: 1px solid var(--gh-border);
  border-radius: 20px;
  padding: 0 8px;
  font-size: 12px;
}
.gh-markdown {
  padding: 18px 24px;
  font-size: 18px;
}
:where(.gh-markdown) > p:where(:first-child) {
  margin-top: 0;
}
:where(.gh-markdown) h2 {
  margin: 18px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gh-border);
  font-size: 23px;
}
:where(.gh-markdown) ul {
  padding-left: 24px;
  margin: 12px 0;
}
:where(.gh-markdown) li {
  margin: 6px 0;
}
.gh-task {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
}
:where(.gh-task) .gh-icon {
  color: var(--gh-positive);
}
:where(.gh-sidebar) h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 16px 0 8px;
  border-top: 1px solid var(--gh-border);
  font-size: 14px;
  color: var(--gh-muted);
}
:where(.gh-sidebar) h2:where(:first-child) {
  border-top: 0;
  padding-top: 0;
}
:where(.gh-sidebar) p {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--gh-muted);
}
.gh-label {
  padding: 2px 8px;
  background: var(--gh-hunk);
  color: var(--gh-ink);
  border-radius: 20px;
  font-size: 12px;
}
.gh-author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gh-ink);
}
:where(.gh-author) img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border: 1px solid var(--gh-border);
  border-radius: 50%;
}
.gh-timeline-event,
.gh-merge-event {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 82px;
  padding: 20px 0;
  border-left: 2px solid var(--gh-border);
  color: var(--gh-muted);
}
:where(.gh-timeline-event) > .gh-icon {
  margin-left: -10px;
  background: var(--gh-ground);
}
.gh-text-button {
  background: none;
  color: var(--gh-link);
  border: 0;
  padding: 0 12px;
  height: 40px;
  margin-left: auto;
}
.gh-event-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gh-merged);
  color: var(--gh-ground);
  margin-left: -17px;
}
.gh-merge-event {
  padding-top: 8px;
}
:where(.gh-merge-event) small {
  display: block;
  margin-top: 4px;
  color: var(--gh-positive);
}
.gh-button,
.gh-hash {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid var(--gh-border);
  border-radius: 6px;
  background: var(--gh-inset);
  color: var(--gh-ink);
  font-size: 14px;
}
.gh-commits {
  padding-top: 24px;
}
:where(.gh-commits) h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--gh-muted);
  font-size: 16px;
  font-weight: 400;
}
.gh-commit-list {
  border: 1px solid var(--gh-border);
  border-radius: 6px;
  overflow: hidden;
}
.gh-commit {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  min-height: 116px;
}
:where(.gh-commit) + .gh-commit {
  border-top: 1px solid var(--gh-border);
}
:where(.gh-commit) > div {
  flex: 1;
}
.gh-commit-title {
  min-height: 30px;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  font-size: 20px;
  font-weight: 600;
  color: var(--gh-ink);
}
.gh-commit-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--gh-muted);
  font-size: 14px;
}
.gh-verified {
  color: var(--gh-positive);
  font-size: 13px;
  border: 1px solid var(--gh-border);
  border-radius: 20px;
  padding: 1px 8px;
}
.gh-hash {
  color: var(--gh-link);
}
.gh-fixture-note {
  margin-top: 18px;
  color: var(--gh-muted);
  font-size: 13px;
}
.gh-files-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 70px;
}
:where(.gh-files-toolbar) .gh-button {
  margin-left: auto;
}
.gh-workspace {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
}
.gh-file-tree {
  font-size: 14px;
}
.gh-file-filter {
  display: flex;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--gh-border);
  border-radius: 6px;
  padding: 8px 12px;
  color: var(--gh-muted);
}
:where(.gh-file-tree) > p,
:where(.gh-file-tree) > span,
:where(.gh-file-tree) > button {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  min-height: 40px;
  width: 100%;
  padding: 8px 12px;
}
:where(.gh-file-tree) > span,
:where(.gh-file-tree) > button {
  padding-left: 32px;
}
:where(.gh-file-tree) > button {
  justify-content: start;
  color: var(--gh-link);
}
.gh-diffs {
  display: grid;
  gap: 20px;
}
.gh-diff {
  overflow: hidden;
  border: 1px solid var(--gh-border);
  border-radius: 6px;
}
:where(.gh-diff) header {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 16px;
  background: var(--gh-inset);
  border-bottom: 1px solid var(--gh-border);
  font-size: 14px;
}
:where(.gh-diff header) b {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-weight: 500;
}
.gh-viewed {
  margin-left: auto;
  color: var(--gh-muted);
}
.gh-viewed::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 1px solid var(--gh-border);
  border-radius: 3px;
  margin-right: 8px;
}
.gh-hunk {
  padding: 4px 24px 4px 114px;
  background: var(--gh-hunk);
  color: var(--gh-muted);
  font:
    13px / 20px ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
}
:where(.gh-diff) table {
  width: 100%;
  border-collapse: collapse;
  background: var(--gh-added);
}
:where(.gh-diff) td {
  padding: 0;
  height: 23px;
  font-size: 15px;
  line-height: 23px;
  white-space: pre;
}
:where(.gh-diff) .gh-line-number {
  width: 44px;
  text-align: right;
  padding-right: 12px;
  color: var(--gh-muted);
  user-select: none;
}
:where(.gh-diff) .gh-diff-sign {
  width: 26px;
}
.gh-check-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 32px;
  padding-top: 24px;
}
.gh-check-nav {
  border-right: 1px solid var(--gh-border);
  padding-right: 24px;
}
:where(.gh-check-nav) h2 {
  font-size: 20px;
  margin: 0 0 12px;
}
:where(.gh-check-nav) h3 {
  margin-top: 28px;
  font-size: 14px;
  color: var(--gh-muted);
}
:where(.gh-check-nav) p {
  font-size: 14px;
}
:where(.gh-check-nav) .gh-icon {
  color: var(--gh-positive);
}
:where(.gh-check-nav) > button,
:where(.gh-check-nav) > div {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 6px;
  font-size: 16px;
  background: transparent;
  text-align: left;
}
:where(.gh-check-nav) > .gh-check-selected {
  background: var(--gh-inset);
  font-weight: 600;
}
:where(.gh-check-nav) span {
  margin-left: auto;
  font-size: 13px;
  color: var(--gh-muted);
}
:where(.gh-check-detail) header {
  border-bottom: 1px solid var(--gh-border);
  padding-bottom: 16px;
  margin-bottom: 16px;
}
:where(.gh-check-detail header) > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
:where(.gh-check-detail header) .gh-icon {
  color: var(--gh-positive);
  width: 24px;
  height: 24px;
}
:where(.gh-check-detail) h2 {
  margin: 0;
  font-size: 24px;
}
:where(.gh-check-detail header) p {
  margin: 4px 0 0 36px;
  color: var(--gh-muted);
  font-size: 14px;
}
.gh-job-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--gh-border);
  font-size: 16px;
  font-weight: 600;
}
:where(.gh-job-step) span {
  margin-left: auto;
  color: var(--gh-muted);
  font-weight: 400;
  font-size: 13px;
}
:where(.gh-job-step) > .gh-icon:where(:nth-child(2)) {
  color: var(--gh-positive);
}
.gh-step-open {
  background: var(--gh-inset);
}
:where(.gh-step-open) > .gh-icon:where(:first-child) {
  transform: rotate(90deg);
}
.gh-job-log {
  margin: 0;
  padding: 18px 20px;
  background: var(--gh-log);
  color: var(--gh-log-ink);
  font-size: 14px;
  line-height: 26px;
}
:where(.gh-job-log) span {
  display: inline-block;
  width: 24px;
  color: var(--gh-border);
}
.hotspot {
  position: absolute;
  border: 0;
  background: transparent;
  padding: 0;
  z-index: 15;
}
.show-hotspots .hotspot {
  outline: 2px solid var(--action);
  background: rgb(87 157 210 / 0.08);
}
.show-hotspots .hotspot::after {
  content: attr(data-label);
  position: absolute;
  left: 0;
  bottom: 100%;
  padding: 6px 9px;
  background: var(--ink);
  color: white;
  font-size: 14px;
  white-space: nowrap;
}
.product-button {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--ground);
  padding: 12px 16px;
  min-height: 44px;
}
.quiet-button {
  border: 0;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 5px;
  color: var(--muted);
  padding: 12px;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 13px;
}
.meta {
  color: var(--muted);
  font-size: 14px;
}
.breadcrumb-mask {
  position: absolute;
  left: 240px;
  top: 1px;
  height: 54px;
  width: 400px;
  background: var(--ground);
  display: flex;
  align-items: center;
  padding: 0 8px;
  color: var(--muted);
  font-size: 16px;
}
.dashboard-content {
  position: absolute;
  left: 224px;
  top: 57px;
  width: 1504px;
  height: 915px;
  background: var(--ground);
  padding: 32px 24px;
  font-size: 16px;
}
.dashboard-content h1 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 31px;
  line-height: 1.15;
  font-weight: 400;
  margin: 0 0 10px;
}
.dashboard-content h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 27px;
  line-height: 1.2;
  font-weight: 400;
  margin: 0 0 18px;
}
:where(.dashboard-content) > p {
  margin: 0 0 28px;
}
.product-tabs {
  display: flex;
  gap: 34px;
  border-bottom: 1px solid var(--rule);
  margin-top: 20px;
  height: 44px;
  font-size: 14px;
  color: var(--muted);
}
.product-tabs span {
  padding: 0 16px;
}
.product-tabs .active {
  color: var(--ink);
  border-bottom: 2px solid #bda774;
}
.content-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}
.content-heading h2 {
  margin: 0;
}
.draft-status {
  font-size: 13px;
  border: 1px solid var(--rule);
  padding: 5px 9px;
  color: var(--muted);
}
.channel-tabs {
  display: flex;
  gap: 4px;
  margin: 12px 0;
}
.channel-tab {
  background: transparent;
  border: 1px solid var(--rule);
  padding: 10px 20px;
  min-height: 44px;
}
.channel-tab.selected {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}
.social-layout {
  display: grid;
  grid-template-columns: 1fr 385px;
  gap: 56px;
}
.social-layout h2 {
  font-size: 31px;
  max-width: 800px;
}
.source-line {
  display: flex;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
}
.source-line span {
  color: var(--muted);
}
.post-copy {
  font-size: 18px;
  line-height: 1.45;
  max-width: 880px;
}
:where(.post-copy) p {
  margin: 12px 0;
}
.post-buttons {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.social-preview {
  border: 1px solid var(--rule);
  background: var(--surface);
  align-self: start;
}
.social-preview-top {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 16px;
  font-size: 15px;
}
.social-preview-top small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 5px;
}
.preview-lead {
  padding: 4px 16px 18px;
  font-size: 18px;
  line-height: 1.45;
}
.preview-footer {
  border-top: 1px solid var(--rule);
  padding: 16px;
  font-size: 13px;
  word-spacing: 10px;
  color: var(--muted);
}
.editor-feedback {
  padding: 14px 18px;
  margin: 14px 0;
  background: var(--surface);
  border: 1px solid var(--rule);
  font-size: 15px;
}
.editor-feedback-composer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  padding: 14px 18px;
  margin: 14px 0;
  background: var(--surface);
  border: 1px solid var(--rule);
}
.editor-feedback-composer label {
  grid-column: 1 / -1;
  font-size: 14px;
  font-weight: 550;
}
.editor-feedback-composer textarea {
  min-height: 72px;
  resize: none;
  padding: 10px 12px;
  border: 1px solid var(--rule);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}
.editor-feedback-composer textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.editor-feedback-composer .product-button {
  align-self: end;
  min-height: 44px;
}
.editor-feedback b {
  font-weight: 550;
}
:where(.editor-feedback) p {
  margin: 6px 0 0;
}
.revision-note {
  color: var(--green);
  display: block;
  margin-top: 7px;
  font-size: 13px;
}
:where(.social-preview-top) img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.post-art {
  height: 280px;
  overflow: hidden;
  background: var(--ground);
}
:where(.post-art) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.preview-copy {
  font-size: 15px;
  line-height: 1.4;
  padding: 18px;
}
.contact-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin: 32px 0;
}
.contact-title h1 {
  font-size: 43px;
}
.contact-columns {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 26px;
}
.record-panel {
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 24px;
}
.record-panel dl {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  margin: 32px 0 10px;
}
.record-panel dt {
  color: var(--muted);
}
.record-panel dd {
  margin: 0;
}
.record-label {
  font-size: 13px;
  border: 1px solid var(--rule);
  display: inline-block;
  padding: 5px 8px;
}
.dashboard-content .section-title {
  margin-top: 38px;
}
.demo-chat {
  border: 1px solid var(--rule);
  background: var(--surface);
  height: 812px;
  position: relative;
}
.demo-chat header {
  height: 100px;
  border-bottom: 1px solid var(--rule);
  padding: 16px 24px;
  position: relative;
}
:where(.demo-chat header) p {
  margin: 0 0 8px;
}
.demo-chat h1 {
  font-size: 32px;
}
.connected {
  position: absolute;
  right: 24px;
  top: 21px;
  font-size: 14px;
  color: var(--muted);
}
.owner-prompt,
.figaro-response {
  display: grid;
  grid-template-columns: 85px 1fr;
  gap: 16px;
  padding: 20px 24px;
  max-width: 1260px;
  line-height: 1.45;
  font-size: 18px;
}
.owner-prompt > span,
.figaro-response > span {
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--muted);
  padding-top: 5px;
}
:where(.owner-prompt) p,
:where(.figaro-response) p {
  margin: 0 0 18px;
}
.figaro-response {
  padding-top: 0;
}
.outreach-context {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
}
.outreach-context > span:not(.draft-status) {
  color: var(--muted);
}
.outreach-context .draft-status {
  margin-left: auto;
}
.response-note {
  font-size: 15px;
  color: var(--muted);
}
.message-draft {
  padding: 18px 24px;
  border: 1px solid var(--rule);
  background: var(--ground);
}
:where(.message-draft) p {
  margin: 0 0 12px;
}
:where(.message-draft) p:last-child {
  margin-bottom: 0;
}
.figaro-response .quiet-button {
  padding-left: 0;
  color: var(--ink);
  margin-top: 10px;
}
.draft-saved {
  color: var(--green);
  font-size: 14px;
  padding-top: 12px;
}
.demo-chat footer {
  position: absolute;
  bottom: 0;
  height: 100px;
  border-top: 1px solid var(--rule);
  left: 0;
  right: 0;
  padding: 16px 24px;
}
:where(.demo-chat footer) p {
  margin: 0 0 12px;
}
.blank-composer {
  color: #96948e;
  font-size: 16px;
}
.quiet-label {
  position: absolute;
  bottom: 16px;
  left: 420px;
  color: var(--muted);
  font-size: 14px;
}
.disabled-send {
  position: absolute;
  right: 24px;
  bottom: 20px;
  border: 0;
  background: #aaa;
  color: white;
  padding: 12px 20px;
}
.telegram {
  height: 100%;
  font-family: Arial, system-ui, sans-serif;
  background: var(--tg-bg);
  position: relative;
}
.tg-folders {
  position: absolute;
  left: 0;
  top: 0;
  width: 78px;
  height: 100%;
  background: var(--tg-folders);
  color: #95a6b5;
  text-align: center;
}
.tg-menu {
  font-size: 28px;
  padding: 26px 0;
}
.tg-folders > div:not(.tg-menu) {
  font-size: 30px;
  padding: 24px 0;
}
.tg-folders small {
  display: block;
  font-size: 13px;
  margin-top: 6px;
}
.tg-folders .chosen {
  color: #80b9e7;
  background: #202c3a;
}
.tg-list {
  position: absolute;
  left: 78px;
  top: 0;
  width: 364px;
  height: 100%;
  background: white;
  border-right: 1px solid #ddd;
}
.tg-search {
  margin: 18px 16px 22px;
  background: #f1f1f1;
  border-radius: 30px;
  padding: 14px 22px;
  color: #999;
  font-size: 20px;
}
.tg-chat {
  display: flex;
  position: relative;
  gap: 14px;
  align-items: center;
  padding: 18px 15px;
  background: var(--action);
  color: white;
  min-height: 103px;
}
.tg-chat b {
  font-size: 18px;
}
:where(.tg-chat) p {
  font-size: 16px;
  margin: 9px 0 0;
  white-space: nowrap;
  overflow: hidden;
  max-width: 235px;
  opacity: 0.85;
}
.tg-chat time {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 12px;
}
.tg-chat.secondary {
  color: #242424;
  background: white;
}
:where(.tg-chat.secondary) p {
  color: #8c8c8c;
}
.round {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: white;
}
.round.green {
  background: #81b45b;
}
.round.blue {
  background: #59acd0;
}
.tg-header {
  position: absolute;
  left: 442px;
  right: 0;
  top: 0;
  height: 84px;
  border-bottom: 1px solid #ddd;
  background: white;
  padding: 17px 26px;
}
.tg-header > b {
  display: block;
  font-size: 22px;
}
.tg-header > span {
  display: block;
  font-size: 16px;
  margin-top: 7px;
  color: #999;
}
.tg-header-icons {
  position: absolute;
  right: 28px;
  top: 23px;
  color: #999;
  font-size: 29px;
}
.tg-messages {
  position: absolute;
  left: 442px;
  right: 0;
  top: 145px;
  bottom: 88px;
  padding: 24px 52px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 17px;
  overflow: hidden;
  background-color: var(--tg-bg);
  isolation: isolate;
}
.tg-pinned {
  position: absolute;
  left: 442px;
  right: 0;
  top: 84px;
  height: 61px;
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
  padding: 8px 26px;
  font-size: 16px;
}
.tg-pinned b {
  display: block;
  color: var(--action);
  margin-bottom: 4px;
  font-size: 14px;
}
.ui-icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.1em;
}
.date-chip {
  align-self: center;
  background: rgb(104 130 98 / 0.45);
  color: white;
  padding: 7px 16px;
  border-radius: 24px;
  font-size: 15px;
  margin: 0 auto;
}
.message-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}
.message-row.vladimir {
  justify-content: flex-end;
}
.bubble {
  position: relative;
  background: white;
  padding: 16px 20px 29px;
  border-radius: 14px;
  font-size: 21px;
  line-height: 1.33;
  max-width: 1030px;
  min-width: 230px;
  color: #151515;
}
.bubble .sender {
  display: block;
  color: var(--tg-bot);
  font-size: 19px;
  margin-bottom: 7px;
}
.max .sender {
  color: #509bab;
}
.vladimir .bubble {
  background: var(--tg-out);
  max-width: 910px;
}
.vladimir .sender {
  display: none;
}
:where(.bubble) p {
  margin: 13px 0 0;
}
.bubble ul {
  padding-left: 24px;
  margin: 13px 0;
}
.bubble li {
  margin: 4px 0;
}
.tg-reply {
  border-left: 3px solid var(--action);
  background: var(--tg-quote);
  border-radius: 3px;
  padding: 10px 14px;
  margin: 12px 0;
  font-size: 18px;
}
.tg-reply b {
  color: var(--action);
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}
.tg-work-row {
  display: flex;
  gap: 48px;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
  padding: 11px 0;
  font-size: 19px;
}
.tg-work-row b {
  font-size: 17px;
  font-weight: 400;
  color: var(--muted);
}
.tg-attachment {
  border: 0;
  background: var(--tg-quote);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  margin-top: 12px;
  border-radius: 7px;
  text-align: left;
  color: var(--ink);
  min-width: 545px;
  font-size: 20px;
}
.tg-attachment b {
  font-weight: 550;
}
.tg-attachment small {
  display: block;
  color: var(--muted);
  margin-top: 5px;
  font-size: 16px;
}
.tg-file-mark {
  background: var(--action);
  color: var(--surface);
  width: 45px;
  height: 52px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  font-size: 17px;
  flex-shrink: 0;
}
.message-time {
  position: absolute;
  right: 15px;
  bottom: 8px;
  color: #9ca5aa;
  font-size: 14px;
}
.bot-avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  background: white;
  position: relative;
  display: block;
  overflow: hidden;
}
:where(.bot-avatar) img {
  position: absolute;
  width: 1214px;
  max-width: none;
  left: -470px;
  top: -389px;
  height: auto;
}
.tg-chat .bot-avatar {
  margin: 7px;
}
.tg-composer {
  position: absolute;
  left: 442px;
  right: 0;
  bottom: 0;
  min-height: 88px;
  background: white;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 13px 22px;
}
.attachment-symbol {
  color: #969696;
  font-size: 33px;
}
.composer-text {
  flex: 1;
  border: 0;
  text-align: left;
  background: white;
  color: #969696;
  font-size: 22px;
  padding: 9px 0;
  line-height: 1.3;
}
.composer-text.filled {
  color: #111;
  font-size: 20px;
}
.tg-composer:has(.filled) {
  min-height: 116px;
}
.smile {
  color: #969696;
  font-size: 34px;
}
.send-button {
  background: none;
  border: 0;
  color: var(--action);
  font-size: 37px;
  width: 60px;
}
.text-link {
  border: 0;
  background: none;
  padding: 0;
  color: #357da9;
  text-align: left;
  font-size: inherit;
}
[data-message][hidden] {
  display: none;
}
.animate .is-new-message {
  animation: message-in 220ms ease-out;
}
@keyframes message-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.meet {
  background: var(--meet);
  height: 100%;
  color: #fff;
  font-family: Arial, sans-serif;
  padding: 40px 24px 98px;
}
.meet-grid {
  display: flex;
  gap: 20px;
  height: 100%;
  align-items: center;
}
.meet-tile {
  flex: 1 1 0;
  min-width: 0;
  overflow: clip;
  height: 670px;
  position: relative;
  border-radius: 10px;
  background: var(--meet-tile);
  display: grid;
  place-items: center;
}
.meet-grid.joined .meet-tile {
  height: 560px;
}
.discussion .meet-grid {
  height: 640px;
}
.discussion .meet-grid .meet-tile {
  height: 490px;
}
.meet-tile.speaking {
  outline: 3px solid var(--meet-speaker);
  outline-offset: -3px;
}
.meet-captions {
  position: absolute;
  bottom: 128px;
  left: 150px;
  right: 150px;
  font-size: 26px;
  line-height: 1.4;
}
.meet-captions b {
  color: var(--meet-speaker);
  font-size: 20px;
}
:where(.meet-captions) p {
  margin: 10px 0 0;
}
.meet-tile > span {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: 18px;
}
.meet-tile > i {
  position: absolute;
  top: 16px;
  right: 16px;
  font-style: normal;
  font-size: 25px;
}
.meet-initial {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  font-size: 70px;
  display: grid;
  place-items: center;
}
.meet-initial.v {
  background: #7b5aa6;
}
.meet-initial.m {
  background: #327989;
}
.figaro-tile .bot-avatar {
  position: relative;
  bottom: auto;
  left: auto;
  width: 44px;
  height: 44px;
  flex-basis: 44px;
  transform: scale(3.4);
}
.meet-notice {
  position: absolute;
  top: 25px;
  left: 24px;
  background: #3c4043;
  border-radius: 6px;
  padding: 13px 18px;
  font-size: 17px;
}
.meet-join-toast {
  position: absolute;
  bottom: 98px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 280px;
  padding: 14px 22px 14px 14px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--meet);
  font-size: 18px;
}
.animate .meet-arriving .meet-tile:not(.figaro-tile) {
  animation: none;
}
.animate .meet-arriving .figaro-tile {
  animation: none;
}
.animate .meet-arriving .meet-notice {
  animation: none;
}
.animate .meet-arriving .meet-join-toast {
  animation: none;
}
@keyframes meet-resize {
  from {
    height: 670px;
  }
  to {
    height: 560px;
  }
}
@keyframes meet-arrive {
  from {
    flex-grow: 0;
    margin-left: -20px;
    opacity: 0;
  }
  to {
    flex-grow: 1;
    margin-left: 0;
    opacity: 1;
  }
}
@keyframes meet-join-toast {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  7%,
  90% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(0);
    visibility: hidden;
  }
}
.meet footer {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  font-size: 18px;
}
.meet-controls {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
}
.meet-controls button,
.meet-people button {
  border: 0;
  border-radius: 50%;
  background: var(--meet-control);
  color: white;
  width: 50px;
  height: 50px;
  font-size: 23px;
}
.meet-controls .hangup {
  background: var(--meet-red);
  width: 70px;
  border-radius: 30px;
  font-size: 37px;
}
.meet-controls .captions-on {
  background: var(--meet-speaker);
  color: var(--meet);
}
.meet-people {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 24px;
}
.meet-people button {
  background: none;
}
.meet-people sup {
  font-size: 13px;
}
.box-screen {
  height: 100%;
  padding: 34px 60px;
  background: var(--ground);
}
.box-screen header {
  display: flex;
  align-items: center;
  gap: 15px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 35px;
}
:where(.box-screen header) img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.box-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 70px;
  height: 790px;
  padding: 40px 35px;
}
.box-layout h1 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 88px;
  font-weight: 400;
  line-height: 1;
  max-width: 650px;
  margin: 24px 0;
}
.box-layout p:not(.meta) {
  font-size: 27px;
  color: var(--muted);
  margin: 30px 0;
}
.box-layout button.product-button {
  font-size: 19px;
}
.box-image-button {
  border: 0;
  padding: 0;
  background: transparent;
}
:where(.box-image-button) img {
  width: 100%;
  height: auto;
}
.final-screen {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--ground);
}
:where(.final-screen) img {
  width: 130px;
  height: 130px;
  object-fit: contain;
}
.final-screen h1 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: 110px;
  margin: 18px 0 5px;
}
:where(.final-screen) p {
  font-size: 30px;
  margin: 0;
  color: var(--muted);
}
.calendar-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}
.calendar-heading h2,
.calendar-heading p {
  margin: 0;
}
.calendar-heading p {
  margin-top: 8px;
}
.calendar-overview {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 16px;
}
.calendar-overview > span {
  color: var(--muted);
}
.publication-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border: 1px solid var(--rule);
  background: var(--surface);
}
.calendar-day {
  min-width: 0;
  border-right: 1px solid var(--rule);
}
.calendar-day:last-child {
  border-right: 0;
}
.calendar-day > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--rule);
  font-size: 16px;
}
.calendar-day > header > b {
  font-size: 24px;
  font-weight: 500;
}
.current-day > header {
  background: var(--selection);
}
.calendar-posts {
  display: grid;
  gap: 8px;
  padding: 12px;
}
.calendar-post {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 120px;
  padding: 12px;
  border: 1px solid var(--rule);
  background: var(--ground);
  text-align: left;
}
.calendar-post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
}
.calendar-post-meta > time,
.calendar-post-status {
  color: var(--muted);
}
.calendar-post h3 {
  margin: 12px 0;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 500;
}
.calendar-post-status {
  margin-top: auto;
  font-size: 12px;
}
.review-post {
  background: var(--selection);
}
.calendar-footnote {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}
.publication-notice {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  font-size: 17px;
}
.publication-notice p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.publication-notice > button {
  margin-left: auto;
}
.publication-clock {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--rule);
  color: var(--ink);
}
.publication-clock time {
  font-size: 24px;
  font-variant-numeric: tabular-nums;
}
.publication-clock span {
  color: var(--muted);
  font-size: 13px;
}
.publication-check {
  color: var(--green);
  font-size: 28px;
}
[data-instagram-state="published"] .calendar-post-status {
  color: var(--green);
  font-weight: 600;
}
@media (prefers-reduced-motion: no-preference) {
  .animate .publication-check {
    animation: publication-confirm 420ms ease-out both;
  }
}
@keyframes publication-confirm {
  from {
    opacity: 0;
    transform: scale(0.65);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.instagram-screen {
  display: grid;
  grid-template-columns: 244px 1fr;
  height: 100%;
  background: var(--surface);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
.ig-navigation {
  display: flex;
  flex-direction: column;
  padding: 36px 24px;
  border-right: 1px solid var(--rule);
}
.ig-navigation h1 {
  margin: 0 0 48px;
  font-size: 30px;
  letter-spacing: -1px;
}
.ig-navigation-items {
  display: grid;
  gap: 28px;
  font-size: 17px;
}
.ig-navigation-items > div,
.ig-more {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 32px;
}
.ig-more {
  margin-top: auto;
}
.ig-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.ig-avatar {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border: 1px solid var(--rule);
  border-radius: 50%;
  flex-shrink: 0;
}
.ig-main {
  padding: 32px 64px;
}
.ig-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 44px;
  margin-bottom: 24px;
  font-size: 16px;
}
.ig-page-header button {
  min-height: 44px;
}
.ig-post {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  grid-template-rows: minmax(0, 1fr);
  height: 720px;
  border: 1px solid var(--rule);
}
.ig-post-image {
  min-width: 0;
  min-height: 0;
  background: var(--ground);
}
.ig-post-image > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ig-post-detail {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-left: 1px solid var(--rule);
}
.ig-post-header {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--rule);
  font-size: 16px;
}
.ig-options {
  margin-left: auto;
}
.ig-caption {
  display: flex;
  align-items: start;
  gap: 12px;
  padding: 24px;
  font-size: 17px;
  line-height: 1.45;
}
.ig-caption p {
  margin: 12px 0;
}
.ig-caption time,
.ig-post-footer time {
  color: var(--muted);
  font-size: 12px;
}
.ig-post-footer {
  margin-top: auto;
  padding: 16px 24px 0;
  border-top: 1px solid var(--rule);
  font-size: 14px;
}
.ig-post-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}
.ig-post-icons > span {
  margin-left: auto;
}
.ig-comment-placeholder {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--rule);
  color: var(--muted);
}
.ig-next {
  display: flex;
  justify-content: end;
  margin-top: 24px;
}
#director {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 370px;
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  background: #fff;
  color: #17150f;
  padding: 22px;
  border: 1px solid #b8b6af;
  box-shadow: 0 9px 40px #0003;
  z-index: 100;
  font-family: system-ui, sans-serif;
  font-size: 14px;
}
#director[hidden] {
  display: none;
}
#director h2 {
  font-size: 20px;
  margin: 0 0 12px;
}
.director-note {
  font-size: 12px;
  color: #69655e;
  line-height: 1.5;
  margin: 0 0 18px;
}
.director-position {
  font-weight: 600;
}
.director-hint {
  min-height: 35px;
  line-height: 1.4;
}
.director-controls {
  display: flex;
  gap: 6px;
  margin: 12px 0;
}
.director-controls button {
  flex: 1;
  font-size: 13px;
  padding: 10px 6px;
}
.director-controls button:not(:first-child) {
  background: white;
  color: #17150f;
  border-color: #ccc;
}
#director label {
  display: block;
  margin-top: 18px;
}
#director select {
  display: block;
  width: 100%;
  height: 44px;
  margin-top: 8px;
  font-size: 14px;
  border: 1px solid #bbb;
  background: white;
}
.record-button {
  width: 100%;
  background: #17150f;
  color: white;
  border: 0;
  padding: 14px 12px;
  min-height: 48px;
  font-size: 15px;
  margin-top: 10px;
}
.record-button:disabled {
  background: #bbb;
}
.key-help {
  font-size: 12px;
  line-height: 1.6;
  color: #69655e;
  margin-bottom: 0;
}
#load-error {
  position: fixed;
  top: 20px;
  left: 20px;
  right: 20px;
  padding: 20px;
  background: #ffe1da;
  color: #9b2813;
  z-index: 110;
}
#load-error[hidden] {
  display: none;
}
@media (max-width: 500px) {
  #director {
    left: 10px;
    right: 10px;
    width: auto;
    bottom: 10px;
    padding: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .animate .is-new-message,
  .animate .meet-arriving .meet-tile,
  .animate .meet-arriving .meet-notice,
  .animate .meet-arriving .meet-join-toast {
    animation: none;
  }
}

.public-avatar img {
  width: 44px;
  height: 44px;
  left: 0;
  top: 0;
  object-fit: contain;
  padding: 3px;
}
.public-dashboard {
  height: 100%;
  background: var(--ground);
}
.public-sidebar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 224px;
  background: var(--surface);
  border-right: 1px solid var(--rule);
}
.public-brand {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  height: 57px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--rule);
  font:
    25px "Instrument Serif",
    serif;
}
.public-brand img {
  width: 34px;
  height: 36px;
  object-fit: contain;
}
.public-brand small {
  display: block;
  font:
    12px Inter,
    sans-serif;
  color: var(--muted);
}
.public-sidebar > p {
  margin: 24px 24px 8px;
  color: var(--muted);
  font-size: 14px;
}
.public-sidebar > button:not(.public-brand) {
  display: block;
  margin: 0 12px;
  width: 199px;
  height: 44px;
  text-align: left;
  padding: 0 16px;
  background: transparent;
  border: 0;
}
.public-sidebar .selected {
  background: var(--selection);
}
.public-topbar {
  position: absolute;
  top: 0;
  left: 224px;
  right: 0;
  height: 57px;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
}
.public-topbar > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.public-search {
  display: block;
  padding: 13px 16px;
  border: 1px solid var(--rule);
  background: var(--surface);
  color: var(--muted);
}
.public-demo-label {
  font-size: 13px;
}
.public-list-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 38px 0 24px;
}
.public-project-list {
  border: 1px solid var(--rule);
}
.public-project-list > button {
  width: 100%;
  min-height: 120px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 0;
  border-bottom: 1px solid var(--rule);
  background: var(--surface);
  text-align: left;
}
.public-project-list p {
  color: var(--muted);
  margin-bottom: 0;
}
.public-source-note {
  padding: 32px 0;
}
.public-filter-label {
  display: grid;
  gap: 10px;
  margin: 34px 0 18px;
}
.public-filter-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.public-filter-row b {
  display: block;
  padding: 13px 16px;
  border: 1px solid var(--rule);
  background: var(--surface);
  margin-top: 8px;
  font-weight: 400;
}
.public-contact-list {
  margin-top: 32px;
  border: 1px solid var(--rule);
  background: var(--surface);
}
.public-contact-head,
.public-contact-list > button {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr;
  width: 100%;
  gap: 24px;
  padding: 24px 16px;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--rule);
  background: transparent;
}
.public-contact-list > button {
  min-height: 106px;
}
.public-contact-head {
  color: var(--muted);
  padding-block: 14px;
  font-size: 14px;
}

body.shorts {
--cabinet-background: oklch(0.985 0.006 85);
--cabinet-card: oklch(1 0 0);
--cabinet-foreground: oklch(0.18 0.01 60);
--cabinet-muted-foreground: oklch(0.5 0.015 70);
--cabinet-border: oklch(0.92 0.012 85);
--cabinet-parchment: oklch(0.94 0.03 85);
--cabinet-ring: oklch(0.75 0.12 80);
}
/* Recording compositions inherit the existing Figaro demo palette and typography. */
/* The legacy canvas locks html; shorts is a normal, scrollable document. */
html.shorts-root {
  height: auto;
  overflow: auto;
}
body.shorts {
  --ss-gap: 24px;
  --ss-padding: 32px;
  --ss-header: 56px;
  --ss-control: 44px;
  --ss-reading: 48rem;
  --ss-working: 96rem;
  --ss-display: clamp(36px, 4vw, 64px);
  background: var(--ground);
  height: auto;
  overflow: auto;
  font-size: 16px;
  line-height: 1.5;
}
.shorts * {
  min-width: 0;
}
.shorts h1,
.shorts h2,
.shorts h3,
.shorts p {
  margin: 0;
}
.shorts h1 {
  font:
    44px/1.1 "Instrument Serif",
    Georgia,
    serif;
}
.shorts h2 {
  font-size: 20px;
}
.shorts h3 {
  font-size: 18px;
}
.shorts small {
  font-size: 13px;
  color: var(--muted);
}
.shorts button,
.shorts select,
.shorts input,
.shorts textarea {
  font: inherit;
}
.shorts button,
.shorts select {
  min-height: var(--ss-control);
}
.shorts :is(button, select, input, textarea, a, summary):focus-visible {
  outline: 3px solid var(--action);
  outline-offset: 3px;
}

/* Cabinet composition follows dashboard-nav.tsx, not the legacy demo shell. */
.shorts .ss-cabinet {
  --ground: var(--cabinet-background);
  --surface: var(--cabinet-card);
  --ink: var(--cabinet-foreground);
  --muted: var(--cabinet-muted-foreground);
  --rule: var(--cabinet-border);
  --selection: var(--cabinet-parchment);
  --action: var(--cabinet-ring);
  font-size: 14px;
  color: var(--ink);
}
.shorts .ss-cabinet h1 {
  font-size: 30px;
}
.shorts .ss-cabinet h2 {
  font:
    500 16px/1.5 Inter,
    Arial,
    sans-serif;
}
.shorts .ss-cabinet h3 {
  font-size: 14px;
  font-weight: 500;
}
.shorts .ss-cabinet small {
  font-size: 12px;
}
.shorts .ss-cabinet .dashboard-content {
  padding: 88px 24px 32px;
  font-size: 14px;
}
.ss-cabinet .public-sidebar {
  display: flex;
  flex-direction: column;
}
.shorts .ss-cabinet .public-brand {
  flex-shrink: 0;
  height: 56px;
  font:
    20px/1 "Instrument Serif",
    Georgia,
    serif;
}
.shorts .ss-cabinet .public-brand img {
  width: 32px;
  height: 32px;
  border: 1px solid var(--rule);
  background: var(--selection);
}
.ss-cabinet .public-brand small {
  font:
    9px/1.5 ui-monospace,
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-top: 2px;
}
.ss-cabinet-nav {
  padding: 16px 12px;
}
.ss-nav-group + .ss-nav-group {
  margin-top: 20px;
}
.ss-nav-group > p {
  padding: 0 12px;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.ss-nav-row {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid transparent;
  text-align: left;
  color: var(--muted);
  background: transparent;
}
.ss-nav-row svg {
  flex-shrink: 0;
}
.ss-nav-row:not(:disabled):hover {
  background: var(--selection);
}
.ss-nav-row.selected {
  color: var(--ink);
}
.ss-nav-row.selected::before {
  content: "";
  position: absolute;
  left: -1px;
  top: calc(50% - 10px);
  width: 2px;
  height: 20px;
  background: var(--ink);
}
.ss-nav-row:disabled {
  opacity: 0.65;
}
.shorts .ss-cabinet .public-topbar {
  gap: 24px;
}
.ss-topbar-actions {
  flex: 1;
  justify-content: flex-end;
}
.ss-breadcrumb {
  white-space: nowrap;
}
.ss-search-wrap {
  position: relative;
  flex: 1;
  max-width: 48rem;
}
.shorts .ss-cabinet .public-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px;
}
.public-search svg {
  flex-shrink: 0;
}
.ss-cabinet .public-search > span {
  flex-shrink: 0;
}
.public-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
  height: 100%;
}
.public-search input::placeholder {
  color: var(--muted);
}
.ss-search-results,
.ss-account > div,
.ss-mobile-nav > nav {
  position: absolute;
  z-index: 5;
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 8px;
}
.ss-search-results {
  left: 0;
  right: 0;
  top: 100%;
  max-height: 320px;
  overflow: auto;
}
.ss-search-results button {
  border: 0;
  background: var(--surface);
  width: 100%;
  text-align: left;
  padding: 8px 12px;
}
.ss-search-results button:hover {
  background: var(--selection);
}
.ss-cabinet .ss-ask {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  flex-shrink: 0;
}
.ss-account {
  position: relative;
}
.ss-account summary,
.ss-mobile-nav summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  list-style: none;
  cursor: pointer;
}
.ss-account summary::-webkit-details-marker,
.ss-mobile-nav summary::-webkit-details-marker {
  display: none;
}
.ss-account summary svg {
  width: 20px;
  height: 20px;
}
.ss-account > div {
  right: 0;
  min-width: 224px;
  padding: 16px;
}
.ss-account p {
  margin-top: 8px;
}
.ss-mobile-nav {
  display: none;
}
.ss-project-context {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
  margin: -16px 0 16px;
}
.ss-project-context button {
  border: 0;
  border-bottom: 1px solid var(--rule);
  background: transparent;
  padding: 4px 0;
  color: var(--muted);
  min-height: 32px;
}
.ss-fixture-label {
  margin-left: auto;
}
.ss-cabinet .ss-heading {
  margin-bottom: 24px;
}
.ss-cabinet .ss-heading > p {
  font-size: 12px;
  margin-bottom: 8px;
}
.ss-cabinet .ss-team-header,
.ss-cabinet .ss-team-row {
  grid-template-columns: 1fr 1.4fr 144px;
  gap: 24px;
  padding: 12px 16px;
}
.ss-cabinet .ss-team-row:hover {
  background: var(--selection);
}
.ss-cabinet .ss-team-header {
  padding-block: 8px;
  font-size: 12px;
}
.ss-cabinet .ss-person .ss-avatar {
  width: 32px;
  height: 32px;
  font-size: 14px;
  border-radius: 0;
}
.ss-cabinet .ss-person b {
  font-weight: 500;
}
.ss-cabinet .ss-status {
  justify-self: start;
  border-radius: 999px;
  background: var(--selection);
  color: var(--ink);
  padding: 4px 10px;
  font-size: 11px;
}
.ss-cabinet .ss-table-wrap :is(th, td) {
  padding: 12px 16px;
}
.ss-cabinet .ss-document {
  padding: 24px;
}
.ss-cabinet .ss-tabs {
  font-size: 14px;
}
.ss-cabinet .ss-metrics strong {
  font-size: 36px;
}
.ss-cabinet .ss-note {
  font-size: 12px;
}
.ss-related {
  margin-top: 32px;
  border-top: 1px solid var(--rule);
  padding-top: 16px;
}
.ss-related > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.ss-related button {
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  padding: 4px 12px;
  min-height: 32px;
  font-size: 12px;
}
.ss-related button[aria-current],
.ss-related button:hover {
  background: var(--selection);
  color: var(--ink);
}
.focused .ss-cabinet .dashboard-content {
  padding: 32px;
}
@media (max-width: 1100px) {
  .ss-cabinet .ss-ask span {
    display: none;
  }
  .shorts .ss-cabinet .public-topbar {
    gap: 12px;
  }
  .ss-cabinet .ss-team-header,
  .ss-cabinet .ss-team-row {
    grid-template-columns: 1fr 1.2fr 96px;
    gap: 16px;
  }
}
@media (max-width: 767px) {
  .shorts .ss-cabinet .public-sidebar {
    display: none;
  }
  .shorts .ss-cabinet .public-topbar {
    left: 0;
    padding: 0 16px;
    gap: 8px;
  }
  .ss-cabinet .ss-breadcrumb,
  .ss-cabinet .ss-account summary span {
    display: none;
  }
  .ss-mobile-nav {
    display: block;
  }
  .ss-mobile-nav > nav {
    top: 56px;
    left: 0;
    width: 224px;
    max-height: calc(100svh - 56px);
    overflow: auto;
  }
  .shorts .ss-cabinet .dashboard-content {
    margin: 0;
    padding: 80px 16px 24px;
  }
  .shorts .focused .ss-cabinet .dashboard-content,
  .focused .ss-cabinet .dashboard-content {
    padding: 24px 16px;
  }
  .shorts .ss-cabinet .public-search {
    height: 48px;
  }
  .ss-cabinet .ss-ask {
    display: none;
  }
  .ss-project-context {
    margin-top: 0;
  }
  .ss-project-context button,
  .ss-related button {
    min-height: 44px;
  }
  .ss-cabinet .ss-team-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .ss-cabinet .ss-team-header {
    display: none;
  }
  .ss-cabinet .ss-table-wrap td {
    padding: 8px 16px;
  }
}
.shorts [hidden] {
  display: none !important;
}
#shorts-stage {
  position: relative;
  min-height: calc(100svh - 160px);
  max-width: none;
  margin: auto;
  overflow: clip;
}
.recording #shorts-stage {
  min-height: 100svh;
}
.shorts .public-dashboard {
  min-height: inherit;
}
.shorts .public-sidebar {
  width: 224px;
}
.shorts .public-sidebar > button:not(.public-brand) {
  width: calc(100% - 24px);
  height: auto;
  padding: 8px 16px;
  font-size: 14px;
}
.shorts .public-topbar {
  height: var(--ss-header);
  font-size: 14px;
  z-index: 1;
  background: var(--ground);
}
.shorts .public-search {
  padding: 8px 16px;
}
.shorts .dashboard-content {
  position: relative;
  width: auto;
  margin-left: 224px;
  padding: calc(var(--ss-header) + var(--ss-padding)) var(--ss-padding) var(--ss-padding);
  height: auto;
  inset: auto;
  overflow: visible;
}
.ss-page {
  max-width: var(--ss-working);
  margin: auto;
}
.ss-heading {
  margin-bottom: var(--ss-padding);
}
.ss-heading > p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 8px;
}
.ss-button {
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 8px 24px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--surface);
}
.ss-button.secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--rule);
}
.ss-button:hover {
  background: var(--selection);
  color: var(--ink);
}
.ss-actions {
  margin-top: var(--ss-gap);
}
.ss-note {
  margin-top: var(--ss-gap) !important;
  color: var(--muted);
  font-size: 13px;
}
.ss-avatar {
  width: var(--ss-control);
  height: var(--ss-control);
  object-fit: contain;
  flex-shrink: 0;
}
.ss-avatar.person {
  display: grid;
  place-items: center;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: var(--surface);
  font-size: 18px;
  color: var(--muted);
}
.ss-status {
  display: inline-block;
  color: var(--muted);
  font-size: 14px;
}
.ss-tabs {
  display: flex;
  gap: var(--ss-gap);
  border-bottom: 1px solid var(--rule);
  margin-bottom: var(--ss-gap);
  color: var(--muted);
}
.ss-tabs span {
  padding-bottom: 12px;
}
.ss-tabs .active {
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
}
.ss-team-list {
  background: var(--surface);
  border: 1px solid var(--rule);
}
.ss-team-header,
.ss-team-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 160px;
  gap: var(--ss-gap);
  padding: 16px 24px;
  align-items: center;
}
.ss-team-header {
  color: var(--muted);
  font-size: 13px;
}
.ss-team-row {
  border-top: 1px solid var(--rule);
}
.ss-person {
  display: flex;
  gap: 12px;
  align-items: center;
}
.ss-person small {
  display: block;
}
.ss-callout {
  padding-top: var(--ss-gap);
}
.ss-callout p {
  color: var(--muted);
}
.ss-table-wrap {
  border: 1px solid var(--rule);
  background: var(--surface);
}
.ss-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.ss-table-wrap th {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}
.ss-table-wrap th,
.ss-table-wrap td {
  padding: 16px;
  border-bottom: 1px solid var(--rule);
  overflow-wrap: anywhere;
}
.ss-table-wrap tr:last-child td {
  border-bottom: 0;
}
.ss-table-wrap .recommended {
  background: var(--selection);
}
.ss-spreadsheet tbody tr:nth-child(2) {
  background: var(--selection);
}
.ss-spreadsheet td {
  border-right: 1px solid var(--rule);
}
.ss-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.ss-board section {
  min-height: 320px;
  border: 1px solid var(--rule);
  padding: 16px;
}
.ss-board section > header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 24px;
}
.ss-board h2 {
  font-size: 16px;
}
.ss-board article {
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 16px;
}
.ss-board article p {
  margin: 12px 0;
}
.ss-document {
  max-width: var(--ss-reading);
  padding: var(--ss-padding);
  border: 1px solid var(--rule);
  background: var(--surface);
}
.ss-document section + section {
  margin-top: var(--ss-gap);
}
.ss-document h2 {
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  margin-bottom: 8px;
}
.ss-document p {
  line-height: 1.65;
}
.ss-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ss-gap);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: var(--ss-padding) 0;
}
.ss-metrics p {
  color: var(--muted);
}
.ss-metrics strong {
  font:
    52px/1.2 "Instrument Serif",
    Georgia,
    serif;
  display: block;
  margin: 12px 0;
}
.ss-facts {
  margin: var(--ss-padding) 0 0;
}
.ss-facts > div {
  display: grid;
  grid-template-columns: 1fr 2fr;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  gap: var(--ss-gap);
}
.ss-facts dt {
  color: var(--muted);
}
.ss-facts dd {
  margin: 0;
}
.ss-title {
  min-height: inherit;
  padding: 64px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: var(--ss-gap);
}
.ss-title h1 {
  font-size: var(--ss-display);
  max-width: 14ch;
}
.ss-title > p {
  color: var(--muted);
}
.ss-title-foot {
  margin-top: 64px;
  font-size: 13px;
  color: var(--muted);
}
.ss-product {
  min-height: inherit;
  padding: var(--ss-padding) 64px;
  background: var(--surface);
}
.ss-product > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--ss-gap);
  padding-bottom: var(--ss-gap);
  border-bottom: 1px solid var(--rule);
}
.ss-product > header b {
  font:
    32px "Instrument Serif",
    Georgia,
    serif;
}
.ss-product > header span {
  font-size: 13px;
  color: var(--muted);
}
.ss-product-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 64px;
  padding: 64px 0;
}
.ss-product h1 {
  font-size: var(--ss-display);
  max-width: 15ch;
}
.ss-product-copy {
  margin-top: var(--ss-gap) !important;
  max-width: 38ch;
  color: var(--muted);
  font-size: 20px;
}
.ss-overline {
  margin-bottom: 16px !important;
  font-size: 14px;
  color: var(--muted);
}
.ss-product-detail {
  border: 1px solid var(--rule);
  padding: var(--ss-padding);
  background: var(--ground);
}
.ss-box-photo {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}
.ss-product-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}
.ss-product-item span {
  color: var(--muted);
}
.ss-product-item b {
  font-weight: 500;
}
.ss-field {
  display: grid;
  gap: 8px;
  margin-bottom: var(--ss-gap);
  font-size: 14px;
}
.ss-field input,
.ss-field textarea {
  width: 100%;
  border: 1px solid var(--rule);
  padding: 12px 16px;
  background: var(--surface);
  color: var(--ink);
  min-height: var(--ss-control);
}
.ss-field textarea {
  min-height: 96px;
  resize: vertical;
}
.ss-accepted-profile {
  display: grid;
  justify-items: start;
  gap: 12px;
  padding-bottom: 24px;
}
.ss-envelope {
  min-height: 192px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--rule);
  margin-bottom: 24px;
}
.ss-envelope strong {
  font:
    32px "Instrument Serif",
    Georgia,
    serif;
}
.ss-mail {
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: var(--ss-padding);
  max-width: 56rem;
}
.ss-mail-toolbar {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
}
.ss-mail h2 {
  margin: 24px 0;
  font-size: 26px;
  font-weight: 500;
}
.ss-mail dl {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 8px;
  font-size: 14px;
}
.ss-mail dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.ss-mail dt {
  color: var(--muted);
}
.ss-mail-body {
  border-top: 1px solid var(--rule);
  padding-top: 24px;
  margin-top: 24px;
}
.ss-mail-body p + p {
  margin-top: 16px;
}
.ss-social-layout {
  display: grid;
  grid-template-columns: minmax(0, 440px) 1fr;
  gap: 48px;
  align-items: start;
}
.ss-whatsapp {
  display: grid;
  grid-template-columns: 360px 1fr;
  min-height: inherit;
  background: var(--tg-bg);
}
.ss-whatsapp-list {
  background: var(--surface);
  border-right: 1px solid var(--rule);
}
.ss-whatsapp-list > header {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
}
.ss-whatsapp-list h1 {
  font:
    600 24px Inter,
    sans-serif;
}
.ss-whatsapp-item {
  padding: 24px;
  border-bottom: 1px solid var(--rule);
  display: grid;
  gap: 8px;
}
.ss-whatsapp-item.selected {
  background: var(--tg-quote);
}
.ss-whatsapp-item > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ss-whatsapp-item time {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
}
.ss-whatsapp-item p {
  font-size: 14px;
  color: var(--muted);
}
.ss-unread {
  background: var(--green);
  color: var(--surface);
  padding: 0 8px;
  border-radius: 12px;
  font-size: 12px;
  margin-left: auto;
}
.ss-whatsapp-thread {
  display: flex;
  flex-direction: column;
}
.ss-whatsapp-thread > header small {
  display: block;
}
.ss-whatsapp-thread > header {
  padding: 16px 24px;
  background: var(--surface);
  display: flex;
  align-items: center;
  gap: 16px;
}
.ss-whatsapp-thread .ss-note {
  padding: 0 24px 24px;
}
.ss-instagram {
  background: var(--surface);
  border: 1px solid var(--rule);
}
.ss-instagram header {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
}
.ss-instagram header > span:last-child {
  margin-left: auto;
}
.ss-account-mark {
  border: 1px solid var(--rule);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
}
.ss-social-art {
  padding: 32px;
  background: var(--selection);
}
.ss-social-art h2 {
  font:
    44px/1.1 "Instrument Serif",
    Georgia,
    serif;
  margin: 24px 0;
}
.ss-social-art .ss-envelope {
  min-height: 112px;
  margin: 0;
}
.ss-instagram footer {
  padding: 16px;
  font-size: 14px;
}
.ss-social-icons {
  font-size: 24px;
  margin-bottom: 8px;
}
.ss-social-layout aside > .ss-button {
  margin-top: 24px;
}
.ss-files {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--ss-gap);
}
.ss-files section {
  border: 1px solid var(--rule);
  background: var(--surface);
}
.ss-files h2 {
  padding: 12px 16px;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
}
.ss-files section > div {
  display: grid;
  grid-template-columns: 48px 1fr 24px;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--rule);
  padding: 12px 16px;
  font-size: 14px;
}
.ss-file-type {
  color: var(--muted);
  font-size: 11px;
}
.ss-chart {
  max-width: 56rem;
  border: 1px solid var(--rule);
  background: var(--surface);
  padding: 32px;
}
.ss-chart > p {
  color: var(--muted);
  font-size: 14px;
}
.ss-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 32px;
  margin-top: 32px;
}
.ss-bars > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.ss-bars span {
  display: block;
  width: 100%;
  max-width: 112px;
  background: var(--muted);
}
.ss-bars strong {
  font-size: 24px;
  font-weight: 500;
}
.ss-telegram {
  min-height: inherit;
  display: grid;
  grid-template-columns: 280px 1fr;
  background: var(--tg-bg);
}
.ss-chat-list {
  background: var(--surface);
  border-right: 1px solid var(--rule);
}
.ss-chat-search {
  padding: 16px 24px;
  color: var(--muted);
}
.ss-chat-list > p {
  padding: 16px 24px;
  color: var(--muted);
}
.ss-chat-selected {
  display: flex;
  gap: 12px;
  background: var(--tg-quote);
  padding: 16px;
}
.ss-chat-selected small {
  display: block;
}
.ss-conversation {
  min-height: inherit;
  display: flex;
  flex-direction: column;
}
.ss-chat-header {
  min-height: 72px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
}
.ss-chat-header h1 {
  font:
    600 18px/1.3 Inter,
    sans-serif;
}
.ss-demo {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}
.ss-pinned {
  display: flex;
  gap: 16px;
  padding: 12px 24px;
  background: var(--surface);
  font-size: 13px;
}
.ss-pinned span {
  color: var(--muted);
}
.ss-messages {
  padding: 24px 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.ss-date,
.ss-system {
  align-self: center;
  text-align: center;
  color: var(--tg-folders);
  font-size: 13px;
}
.ss-bubble {
  max-width: min(85%, 48rem);
  border-radius: 12px;
  padding: 16px 24px;
  background: var(--surface);
}
.ss-bubble.incoming {
  align-self: flex-start;
}
.ss-bubble.outgoing {
  background: var(--tg-out);
  align-self: flex-end;
}
.ss-bubble > b {
  color: var(--tg-bot);
  font-size: 14px;
}
.ss-bubble > p {
  margin: 8px 0;
  font-size: 20px;
  line-height: 1.45;
}
.ss-bubble time {
  display: block;
  text-align: right;
  font-size: 12px;
  color: var(--muted);
}
.ss-bubble .ss-button {
  margin: 8px 0;
  font-size: 14px;
}
.ss-composer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: var(--surface);
  gap: 16px;
}
.ss-composer-placeholder {
  color: var(--muted);
}
.ss-group {
  min-height: inherit;
  display: flex;
  flex-direction: column;
  background: var(--tg-bg);
}
.ss-group .ss-messages {
  max-width: 64rem;
  width: 100%;
  margin: auto;
}
#shorts-director {
  position: sticky;
  bottom: 0;
  padding: 16px 24px;
  background: var(--surface);
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 12px 24px;
  z-index: 5;
}
#shorts-director > div:first-child {
  display: grid;
}
#shorts-director span,
#shorts-director > small {
  font-size: 12px;
  color: var(--muted);
}
#shorts-director label {
  display: grid;
  font-size: 12px;
  gap: 4px;
}
#shorts-director select {
  width: 100%;
  padding: 8px;
  border: 1px solid var(--rule);
  background: var(--surface);
}
.ss-director-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  grid-column: span 2;
}
#shorts-director > small {
  align-self: center;
}
#shorts-warning {
  padding: 16px;
  background: var(--selection);
  position: fixed;
  top: 0;
  right: 0;
  max-width: 28rem;
  z-index: 10;
}
.focused .public-sidebar,
.focused .public-topbar,
.focused .ss-chat-list {
  display: none;
}
.focused .dashboard-content {
  margin-left: 0;
  padding: 48px;
}
.focused .ss-telegram {
  grid-template-columns: 1fr;
}
.focused .ss-page {
  max-width: 72rem;
}
@keyframes ss-reveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.ss-bubble:last-child,
.ss-system:last-child {
  animation: ss-reveal 220ms ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .ss-bubble:last-child,
  .ss-system:last-child {
    animation: none;
  }
}
@media (max-width: 1100px) {
  .ss-social-layout {
    grid-template-columns: 1fr;
  }
  .shorts .public-search {
    display: none;
  }
  .ss-team-header,
  .ss-team-row {
    grid-template-columns: 1fr 1fr 104px;
    gap: 16px;
    padding: 16px;
  }
  .ss-board {
    grid-template-columns: repeat(2, 1fr);
  }
  .ss-board section {
    min-height: 240px;
  }
  .ss-product {
    padding: 24px 32px;
  }
  .ss-product-layout {
    gap: 32px;
    padding: 48px 0;
  }
}
@media (max-width: 760px) {
  body.shorts {
    --ss-padding: 24px;
  }
  .shorts .public-sidebar {
    display: none;
  }
  .shorts .public-topbar {
    left: 0;
    padding: 0 16px;
  }
  .shorts .public-demo-label {
    display: none;
  }
  .shorts .dashboard-content,
  .focused .dashboard-content {
    margin: 0;
    padding: 80px 16px 24px;
  }
  .focused .dashboard-content {
    padding-top: 24px;
  }
  .shorts h1 {
    font-size: 36px;
  }
  .ss-heading {
    margin-bottom: 24px;
  }
  .ss-team-header {
    display: none;
  }
  .ss-team-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .ss-board {
    grid-template-columns: 1fr;
  }
  .ss-board section {
    min-height: 0;
  }
  .ss-table-wrap thead {
    display: none;
  }
  .ss-table-wrap tr {
    display: block;
    border-bottom: 1px solid var(--rule);
    padding: 8px 0;
  }
  .ss-table-wrap td {
    display: grid;
    grid-template-columns: 104px 1fr;
    gap: 12px;
    border: 0;
    padding: 8px 16px;
  }
  .ss-table-wrap td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 13px;
  }
  .ss-metrics {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ss-metrics strong {
    font-size: 44px;
    margin: 4px 0;
  }
  .ss-facts > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .ss-files,
  .ss-social-layout {
    grid-template-columns: 1fr;
  }
  .ss-social-layout {
    gap: 24px;
  }
  .ss-title {
    padding: 32px 24px;
  }
  .ss-title-foot {
    margin-top: 24px;
  }
  .ss-product {
    padding: 24px 16px;
  }
  .ss-product > header {
    align-items: flex-start;
  }
  .ss-product > header span {
    max-width: 18ch;
  }
  .ss-product-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 0;
  }
  .ss-product h1 {
    font-size: 40px;
  }
  .ss-product-copy {
    font-size: 18px;
  }
  .ss-product-detail {
    padding: 24px;
  }
  .ss-mail {
    padding: 16px;
  }
  .ss-chart {
    padding: 24px 16px;
  }
  .ss-bars {
    gap: 16px;
  }
  .ss-telegram {
    grid-template-columns: 1fr;
  }
  .ss-whatsapp {
    grid-template-columns: 1fr;
  }
  .ss-whatsapp-list {
    border-right: 0;
  }
  .ss-chat-list {
    display: none;
  }
  .ss-chat-header {
    padding: 12px 16px;
  }
  .ss-chat-header .ss-demo {
    display: none;
  }
  .ss-pinned {
    padding: 12px 16px;
    flex-direction: column;
    gap: 4px;
  }
  .ss-messages {
    padding: 24px 16px;
  }
  .ss-bubble {
    max-width: 95%;
    padding: 12px 16px;
  }
  .ss-bubble p {
    font-size: 17px;
  }
  .ss-composer {
    padding: 12px 16px;
  }
  #shorts-director {
    position: relative;
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .ss-director-buttons {
    grid-column: auto;
  }
  #shorts-director > small {
    line-height: 1.6;
  }
}

/* Telegram-like recording chrome, scoped away from the cabinet and WhatsApp. */
.shorts .ss-telegram {
  --tg-sidebar-width: 300px;
  --tg-rail-width: 64px;
  --tg-message-width: 620px;
  --tg-text: var(--ink);
  height: max(640px, calc(100svh - 170px));
  min-height: 0;
  grid-template-columns: var(--tg-rail-width) var(--tg-sidebar-width) minmax(0, 1fr);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  overflow: hidden;
}
.recording .ss-telegram {
  height: 100svh;
  min-height: 640px;
}
.tg-folders {
  position: static;
  inset: auto;
  width: auto;
  height: auto;
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 12px;
  background: var(--tg-folders);
  color: var(--surface);
  padding: 16px 0;
}
.tg-folders > span {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 8px 0;
}
.tg-folders svg {
  width: 24px;
  height: 24px;
}
.tg-folders small {
  font-size: 11px;
  color: inherit;
}
.tg-folders .selected {
  color: var(--action);
}
.tg-folders .tg-self {
  margin-top: auto;
}
.shorts .ss-telegram .ss-chat-list {
  position: relative;
  overflow: auto;
}
.tg-list-search {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--tg-quote);
  color: var(--muted);
  border-radius: 20px;
  margin: 12px;
  padding: 0 12px;
}
.tg-chat-tabs {
  display: flex;
  gap: 24px;
  padding: 0 16px;
  color: var(--muted);
  border-bottom: 1px solid var(--rule);
}
.tg-chat-tabs span {
  padding: 8px 0;
  font-size: 13px;
}
.tg-chat-tabs span:first-child {
  color: var(--action);
  border-bottom: 3px solid var(--action);
}
.tg-chat-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  min-height: 76px;
  padding: 12px;
  text-align: left;
  background: var(--surface);
  color: var(--tg-text);
  border: 0;
}
.tg-avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  background: var(--tg-quote);
  color: var(--tg-folders);
  font-size: 21px;
  font-weight: 500;
}
.tg-bot-avatar {
  background: var(--surface);
  border: 1px solid var(--rule);
}
.tg-avatar img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.tg-chat-row > span:nth-child(2) {
  min-width: 0;
  flex: 1;
}
.tg-chat-row b,
.tg-chat-row small {
  display: block;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.tg-chat-row b {
  padding-right: 32px;
  font-size: 14px;
  font-weight: 600;
}
.tg-chat-row small {
  font-size: 13px;
  margin-top: 5px;
  color: var(--muted);
}
.tg-chat-row time {
  position: absolute;
  top: 16px;
  right: 12px;
  font-size: 11px;
  color: var(--muted);
}
.tg-chat-row.active {
  background: var(--action);
  color: var(--surface);
}
.tg-chat-row.active small,
.tg-chat-row.active time {
  color: var(--surface);
}
.ss-chat-list .tg-fixture {
  padding: 20px 16px;
  font-size: 11px;
  color: var(--muted);
}
.shorts .ss-telegram .ss-conversation {
  height: 100%;
  min-height: 0;
}
.shorts .ss-telegram .ss-chat-header {
  min-height: 56px;
  height: 56px;
  flex: 0 0 56px;
  padding: 8px 24px;
  gap: 12px;
}
.shorts .ss-telegram .ss-chat-header h1 {
  font:
    600 16px/1.3 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
}
.ss-telegram .ss-chat-header small {
  font-size: 13px;
}
.tg-header-icons {
  display: flex;
  gap: 24px;
  margin-left: auto;
  color: var(--muted);
}
.tg-header-icons svg {
  width: 20px;
  height: 20px;
}
.tg-back {
  display: none;
}
.shorts .ss-telegram .ss-pinned {
  padding: 8px 24px;
  gap: 12px;
  flex: 0 0 auto;
  border-bottom: 1px solid var(--rule);
  align-items: center;
}
.ss-telegram .ss-pinned svg {
  color: var(--action);
  flex-shrink: 0;
}
.ss-telegram .ss-pinned b {
  font-size: 13px;
  color: var(--action);
  display: block;
  font-weight: 600;
}
.ss-telegram .ss-pinned span {
  display: block;
  font-size: 13px;
}
.shorts .ss-telegram .ss-messages {
  padding: 20px 24px;
  min-height: 0;
  overflow-y: auto;
  display: block;
  background: var(--tg-bg);
}
.tg-message-track {
  min-height: 100%;
  width: min(100%, 860px);
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
}
.shorts .ss-telegram .ss-date,
.shorts .ss-telegram .ss-system {
  background: color-mix(in srgb, var(--tg-folders) 34%, transparent);
  color: var(--surface);
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 12px;
  line-height: 1.4;
  max-width: 90%;
  align-self: center;
}
.ss-telegram .ss-date {
  margin: 8px 0 16px;
}
.shorts .ss-telegram .ss-bubble {
  position: relative;
  max-width: min(88%, var(--tg-message-width));
  border-radius: 10px;
  padding: 9px 12px 6px;
  color: var(--tg-text);
}
.shorts .ss-telegram .ss-bubble.incoming {
  border-bottom-left-radius: 3px;
}
.shorts .ss-telegram .ss-bubble.outgoing {
  border-bottom-right-radius: 3px;
}
.ss-telegram .ss-bubble::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 8px;
  height: 10px;
}
.ss-telegram .ss-bubble.incoming::after {
  left: -5px;
  background: var(--surface);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.ss-telegram .ss-bubble.outgoing::after {
  right: -5px;
  background: var(--tg-out);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}
.shorts .ss-telegram .ss-bubble > p {
  font-size: 16px;
  line-height: 1.4;
  margin: 0;
}
.shorts .ss-telegram .ss-bubble > b {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}
.ss-telegram .ss-bubble time {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  margin-top: 3px;
  line-height: 1.2;
}
.ss-telegram .ss-bubble time span {
  height: 16px;
  color: var(--green);
}
.tg-inline-link {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--rule);
  color: var(--action);
  text-align: left;
  width: 100%;
  margin-top: 8px;
  padding: 8px 0;
}
.tg-group-message {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}
.tg-group-message .tg-avatar {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
  font-size: 15px;
}
.tg-group-message .tg-avatar img {
  width: 28px;
  height: 28px;
}
.shorts .ss-telegram .ss-composer {
  flex: 0 0 64px;
  padding: 8px 16px;
  gap: 12px;
}
.tg-compose-icon {
  display: grid;
  place-items: center;
  width: 24px;
  color: var(--muted);
}
.tg-compose-icon svg {
  width: 24px;
  height: 24px;
}
.ss-telegram .ss-composer label {
  flex: 1;
  color: var(--muted);
  font-size: 11px;
}
.ss-telegram .ss-composer label > span {
  display: block;
}
.ss-telegram .ss-composer input {
  min-height: 44px;
  width: 100%;
  border: 0;
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
  padding: 0;
}
.tg-send {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  background: var(--surface);
  color: var(--action);
}
.tg-send svg {
  width: 24px;
  height: 24px;
}
.focused .ss-telegram {
  grid-template-columns: 1fr;
}
.focused .tg-folders {
  display: none;
}
.ss-library {
  max-width: 96rem;
  margin: auto;
  padding: 32px 24px;
}
.ss-library > header {
  max-width: 48rem;
}
.ss-library header p {
  color: var(--muted);
  margin: 12px 0;
}
.ss-library-scope {
  margin: 24px 0;
  padding: 16px 24px;
  background: var(--surface);
  border: 1px solid var(--rule);
}
.ss-library-scope p {
  margin-top: 8px;
  max-width: 64rem;
}
.ss-library > section {
  border-top: 1px solid var(--rule);
  padding: 24px 0;
}
.ss-library > section > header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.ss-library ol {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.ss-library li a {
  display: grid;
  text-decoration: none;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 16px;
  height: 100%;
  gap: 8px;
}
.ss-library li a:hover {
  background: var(--selection);
}
.ss-library a span,
.ss-library a small {
  color: var(--muted);
  font-size: 12px;
}
.ss-library li a b {
  font-weight: 500;
}
.ss-library-missing {
  color: var(--muted);
  margin: 24px 0;
  font-size: 14px;
}
.ss-library-link {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  min-height: 44px;
  color: var(--ink);
  border: 1px solid var(--rule);
  text-decoration: none;
}
@media (max-width: 1100px) {
  .shorts .ss-telegram {
    --tg-sidebar-width: 240px;
    --tg-rail-width: 56px;
  }
  .tg-chat-row {
    padding: 12px 8px;
    gap: 8px;
  }
  .tg-chat-row .tg-avatar {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
  .shorts .ss-telegram .ss-messages {
    padding-inline: 16px;
  }
  .ss-library ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .shorts .ss-telegram {
    grid-template-columns: 1fr;
  }
  .tg-folders,
  .shorts .ss-telegram .ss-chat-list {
    display: none;
  }
  .shorts .ss-telegram .ss-chat-header {
    padding: 8px 12px;
    gap: 8px;
  }
  .tg-back {
    display: grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    background: var(--surface);
    border: 0;
    color: var(--action);
  }
  .tg-header-icons {
    gap: 8px;
  }
  .shorts .ss-telegram .ss-pinned {
    padding: 8px 16px;
    flex-direction: row;
  }
  .shorts .ss-telegram .ss-bubble {
    max-width: 92%;
  }
  .shorts .ss-telegram .ss-messages {
    padding: 16px;
  }
  .shorts .ss-telegram .ss-composer {
    padding: 8px;
    gap: 8px;
  }
  .ss-telegram .ss-composer .tg-compose-icon:nth-last-child(2) {
    display: none;
  }
  .ss-library {
    padding: 24px 16px;
  }
  .ss-library ol {
    grid-template-columns: 1fr;
  }
  .ss-library > section > header {
    flex-direction: column;
    gap: 0;
  }
}

/* User-requested iPhone app presentation; isolated from Figaro's cabinet. */
.qm-stage {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  min-height: 100svh;
  padding: 24px;
  background: var(--rule);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.qm-phone {
  width: 390px;
  max-width: 100%;
  min-height: 800px;
  display: flex;
  flex-direction: column;
  border: 7px solid var(--ink);
  border-radius: 48px;
  background: var(--surface);
  overflow: hidden;
  font-size: 14px;
  line-height: 1.4;
}
.qm-phone svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.qm-status {
  height: 48px;
  padding: 10px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  flex-shrink: 0;
}
.qm-status > span:last-child {
  display: flex;
  gap: 4px;
}
.qm-status svg {
  width: 16px;
  height: 16px;
}
.qm-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 102px;
  height: 28px;
  border-radius: 20px;
  background: var(--ink);
}
.qm-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
}
.qm-nav > b {
  font-size: 17px;
  letter-spacing: -0.5px;
}
.qm-nav button {
  width: 44px;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
}
.qm-wordmark {
  width: 44px;
  font-size: 25px;
  font-weight: 800;
  color: var(--action);
}
.qm-account {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--tg-quote);
  border-radius: 50%;
  font-weight: 600;
}
.qm-content {
  padding: 14px 22px 22px;
  flex: 1;
}
.qm-heading > p {
  font-size: 10px;
  letter-spacing: 1.4px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 10px;
}
.shorts .qm-heading h1 {
  font:
    700 29px/1.12 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  letter-spacing: -1px;
  margin-bottom: 18px;
}
.shorts .qm-phone h2 {
  font:
    600 16px/1.3 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
.shorts .qm-intro {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 22px;
}
.qm-categories {
  border-top: 1px solid var(--rule);
}
.qm-category {
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  color: var(--ink);
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}
.qm-category-copy {
  flex: 1;
}
.qm-category strong {
  font-size: 16px;
}
.qm-category-copy > span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  padding-top: 4px;
}
.qm-category > svg {
  width: 16px;
  color: var(--muted);
}
.qm-category-icon {
  border-radius: 14px;
  background: var(--tg-quote);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}
.qm-tip {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  margin-top: 24px;
  font-size: 12px;
}
.qm-footer {
  padding: 0 22px 8px;
}
.shorts .qm-primary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 16px;
  padding: 14px 18px;
  background: var(--ink);
  color: var(--surface);
  font-weight: 600 !important;
}
.qm-primary svg {
  width: 18px;
}
.qm-home-indicator {
  height: 5px;
  width: 118px;
  background: var(--ink);
  border-radius: 4px;
  margin: 22px auto 0;
}
.qm-disclaimer {
  font-size: 11px;
  color: var(--muted);
}
.qm-map {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--tg-quote);
}
.qm-map > svg {
  display: block;
  width: 100%;
  height: 140px;
}
.qm-map-ground {
  fill: var(--tg-quote);
}
.qm-map-street {
  stroke: var(--surface);
  stroke-width: 15;
  fill: none;
}
.qm-map-route {
  stroke: var(--action);
  stroke-width: 4;
  fill: none;
  stroke-dasharray: 5 5;
}
.qm-map text {
  font:
    10px -apple-system,
    sans-serif;
  fill: var(--muted);
}
.qm-map-pin {
  fill: var(--ink);
}
.qm-map-check {
  fill: none;
  stroke: var(--surface);
  stroke-width: 2;
}
.qm-map-person {
  fill: var(--surface);
  stroke: var(--action);
  stroke-width: 2;
}
.qm-map text.qm-map-initial {
  fill: var(--ink);
  font-weight: 700;
}
.qm-map-label {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 7px 10px;
  background: var(--surface);
  border-radius: 8px;
  font-size: 11px;
}
.qm-map-label svg {
  width: 14px;
  height: 14px;
}
.qm-home-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.qm-home-heading > span {
  font-size: 11px;
  color: var(--muted);
}
.qm-steps,
.qm-progress {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}
.qm-steps li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
}
.qm-steps li > span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--tg-quote);
  font-size: 12px;
}
.qm-steps p {
  color: var(--muted);
  font-size: 12px;
  padding-top: 3px;
}
.qm-fields {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}
.qm-fields label {
  display: grid;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
}
.qm-fields input,
.qm-fields textarea {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 12px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 400;
  resize: vertical;
}
.qm-fields input {
  font-size: 15px;
}
.qm-fine {
  font-size: 11px;
  color: var(--muted);
}
.qm-price {
  text-align: center;
  padding: 0 0 20px;
}
.qm-price > span {
  color: var(--muted);
  font-size: 12px;
}
.qm-price strong {
  display: block;
  font-size: 42px;
  letter-spacing: -2px;
}
.qm-price p {
  font-size: 12px;
  color: var(--muted);
}
.qm-facts {
  margin: 0 0 18px;
}
.qm-facts > div {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  border-top: 1px solid var(--rule);
  padding: 12px 0;
  font-size: 12px;
}
.qm-facts dt {
  color: var(--muted);
}
.qm-facts dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
}
.qm-confirmed {
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--green);
  font-size: 12px;
  margin: -4px 0 16px;
}
.qm-confirmed svg {
  width: 16px;
  height: 16px;
}
.qm-sitter {
  display: flex;
  gap: 12px;
  align-items: center;
}
.qm-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--selection);
  display: grid;
  place-items: center;
  font-weight: 700;
}
.qm-sitter p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}
.qm-progress {
  margin: 16px 0 20px;
}
.qm-progress li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 12px;
  color: var(--muted);
}
.qm-progress svg {
  width: 16px;
  height: 16px;
}
.qm-progress .complete {
  color: var(--green);
}
.qm-progress .current {
  color: var(--ink);
  font-weight: 600;
}
.qm-saved-mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--tg-quote);
  display: grid;
  place-items: center;
  color: var(--green);
  margin: 24px 0;
}
.qm-saved-section {
  margin: 24px 0;
}
.qm-saved-section p {
  color: var(--muted);
  margin-top: 8px;
}
@media (max-width: 480px) {
  .qm-stage {
    padding: 0;
    background: var(--surface);
  }
  .qm-phone {
    width: 100%;
    min-height: 100svh;
    border: 0;
    border-radius: 0;
  }
  .qm-disclaimer {
    padding: 0 0 12px;
  }
}
