.moysklad-page .tg-section,
.moysklad-page #questions { padding-top:var(--vgap); padding-bottom:0; }
.moysklad-page #questions + .project-cta { margin-top:var(--vgap); }
.moysklad-page .faq-public.tg-more { padding-block:0; margin:0; }
.moysklad-page .tg-hero h1 { max-width:16ch; }
.moysklad-page .ms-composer { display:grid; gap:12px; }
.moysklad-page .ms-composer .vc-message { margin:0; }
.moysklad-page .ms-composer .vc-app { margin-right:8px; }
.ms-composer-send { display:grid; place-items:center; justify-self:end; width:35px; height:35px; border-radius:50%; background:#232323; color:#fff; font-size:21px; line-height:1; }
.moysklad-page .tg-story:first-child .tg-story-visual { background:#e9edf8; }
.moysklad-page .tg-story:nth-child(2) .tg-story-visual { background:#e5efe8; }
.moysklad-page .tg-story:nth-child(3) .tg-story-visual { background:#f6eddf; }
.moysklad-page .tg-story:nth-child(4) .tg-story-visual { background:#efe8f4; }
.ms-sheet { padding:24px; border:1px solid #e4e6e4; border-radius:15px; background:#fff; color:#252b34; font-size:14px; line-height:1.45; }
.ms-sheet h4 { margin:0; font-size:clamp(16px,2vw,21px); font-weight:500; }
.ms-sheet code { font-size:.9em; white-space:nowrap; }
.ms-sheet .ms-meta { margin:5px 0 0; color:#505e62; font-size:13px; }
.ms-products ul,.ms-flow ol { display:grid; gap:7px; margin:12px 0 0; padding:0; list-style:none; }
.ms-products li { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:7px; align-items:baseline; padding:7px 8px; border:1px solid #e4eaf5; border-radius:5px; background:#f2f5fb; }
.ms-products li span { color:#465679; font-size:12px; }
.ms-products li strong,.ms-flow li strong { font-weight:600; }
.ms-stock dl { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; margin:11px 0 0; }
.ms-stock dl div { display:grid; gap:4px; align-content:start; padding:7px 9px; border-radius:6px; background:#f0f6f1; }
.ms-stock dl div:last-child { background:#dfeee3; }
.ms-stock dt { color:#45634e; font-size:12px; }
.ms-stock dd { margin:0; font-size:19px; font-weight:600; }
.ms-order table { width:100%; margin-top:10px; border-collapse:collapse; text-align:left; }
.ms-order :is(th,td) { padding:7px 6px 7px 0; border-bottom:1px solid #eee5d7; }
.ms-order :is(th,td):not(:first-child) { text-align:right; white-space:nowrap; }
.ms-order :is(th,td):last-child { padding-right:0; }
.ms-flow li { display:grid; grid-template-columns:42px minmax(0,1fr); align-items:baseline; gap:8px; padding:7px 9px; border-left:2px solid #aa8cc0; background:#f5eff9; }
.ms-flow li div { display:grid; gap:3px; }
.ms-flow li span,.ms-flow time { color:#664e75; font-size:13px; }
.ms-flow time { font-variant-numeric:tabular-nums; }
.moysklad-page #stock-reconciliation .tg-section-head { margin-bottom:0; }
.moysklad-page #stock-reconciliation .tg-doc-link { margin:10px 0 0; }
.moysklad-page #connection code { overflow-wrap:anywhere; }
.moysklad-page .tg-more details > p { max-width:75ch; margin:0; padding:0 0 16px; color:var(--text-soft); font-size:15px; line-height:1.6; }
@media(max-width:760px) {
  .ms-sheet { padding:15px; font-size:13px; }
  .ms-stock dd { font-size:17px; }
}
