@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&family=Open+Sans:wght@400;600;700&display=swap');
/*tp496r:start*/
/* tp496 reset: the site theme (Eduma, BetterDocs) styles bare tags; inside the article the page must look as in Claude Design.
   Prepended to app.css, so the bundle's own rules of equal weight still win; inline styles always win. */
.figma-make-app-wrapper .figma-make-app-root :is(p,h1,h2,h3,h4,h5,h6,ul,ol,dl,dd,blockquote,figure,hr,menu,pre,fieldset,legend,table,caption,td,th,tr,button,input,select,textarea){margin:revert;padding:revert}
.figma-make-app-wrapper .figma-make-app-root :is(button,input,select,textarea,optgroup){color:revert;font:revert;letter-spacing:revert;text-transform:revert;border:revert;border-radius:revert;background:revert;box-shadow:revert;overflow:revert;appearance:revert;cursor:revert;transition:revert;outline:revert;min-height:revert;height:revert;width:revert}
.figma-make-app-wrapper .figma-make-app-root :is(h1,h2,h3,h4,h5,h6){line-height:revert;color:revert;font-family:revert;font-size:revert;font-weight:revert;text-transform:revert;letter-spacing:revert}
.figma-make-app-wrapper .figma-make-app-root :is(b,strong){font-weight:revert}
.figma-make-app-wrapper .figma-make-app-root figure{max-width:revert}
.figma-make-app-wrapper .figma-make-app-root :is(table,td,th,tr){border:revert;width:revert;text-align:revert;font-weight:revert;background:revert;vertical-align:revert}
.figma-make-app-wrapper .figma-make-app-root a{color:revert;text-decoration:revert;transition:revert}
.figma-make-app-wrapper .figma-make-app-root :is(ul,ol,li){list-style:revert}
.figma-make-app-wrapper .figma-make-app-root img{max-width:revert;height:revert}
/*tp496r:end*/
.figma-make-app-wrapper{isolation:isolate}
/* tokens/fonts.css */
/* TPM Article Design System — Webfonts
 * Montserrat (headings) + Open Sans (body), loaded from Google Fonts — the
 * exact families the live article repos use (src/index.css). Montserrat
 * weights 400-800; Open Sans 400-700. */


/* tokens/colors.css */
/* TPM Article Design System — Palette
 * Exactly SEVEN semantic colour pairs (draw.io / Miro sticky scheme).
 * Light = fill, dark = border / icon / accent / heading-in-block.
 * The HEX values are the source of truth. HSL mirrors are derived from them.
 * Icons are ALWAYS coloured, never grayscale. One semantic hue per category —
 * colour encodes meaning, never decoration. NO inline hex in components other
 * than these exact values. */

.figma-make-app-wrapper .figma-make-app-root {
  /* ---- Solid (border / heading / icon / accent) ---- */
  --p-gray: #666666;
  --p-blue: #6c8ebf;
  --p-green: #82b366;
  --p-red: #b85450;
  --p-yellow: #d79b00;
  --p-purple: #9673a6;
  --p-darkblue: #23445d;

  /* ---- Light (fill / tinted container background) ---- */
  --p-gray-light: #f5f5f5;
  --p-blue-light: #ddeaff;
  --p-green-light: #d5e8d4;
  --p-red-light: #f8cecc;
  --p-yellow-light: #fff2cc;
  --p-purple-light: #e1d5e7;
  --p-darkblue-light: #bac8d3;

  /* ---- HSL mirrors (for shadcn-style hsl(var(--x)) consumers) ---- */
  --palette-gray: 0 0% 40%;
  --palette-gray-light: 0 0% 96%;
  --palette-blue: 210 33% 59%;
  --palette-blue-light: 217 100% 93%;
  --palette-green: 100 33% 55%;
  --palette-green-light: 100 38% 87%;
  --palette-red: 0 38% 52%;
  --palette-red-light: 0 65% 89%;
  --palette-yellow: 40 100% 42%;
  --palette-yellow-light: 45 100% 90%;
  --palette-purple: 273 22% 55%;
  --palette-purple-light: 273 30% 87%;
  --palette-darkblue: 207 44% 25%;
  --palette-darkblue-light: 207 22% 77%;

  /* ---- Semantic aliases ---- */
  --background: #ffffff;       /* page + card surface */
  --foreground: #334155;       /* body text (slate-700-ish) */
  --heading: var(--p-darkblue);/* all headings & titles */
  --border-default: var(--p-gray); /* default 2px border colour */
  --muted-foreground: #666666;
  --accent: var(--p-blue);     /* primary concept / interactive */
}

/* tokens/typography.css */
/* TPM Article Design System — Typography
 * Headings: Montserrat (font-heading). Titles font-extrabold, p-darkblue,
 *   with a single accent <u> underline on ONE key word.
 * Body: Open Sans (font-body / font-sans), 16px / leading-relaxed. */

.figma-make-app-wrapper .figma-make-app-root {
  --font-heading: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Open Sans', system-ui, sans-serif;

  /* Type scale (px) — editorial long-form */
  --text-h1: 36px;   /* article title  (text-4xl, extrabold) */
  --text-h2: 24px;   /* section title  (text-2xl, bold) */
  --text-h3: 18px;   /* diagram / block title (text-lg, bold) */
  --text-h4: 16px;   /* card title (text-base, bold) */
  --text-body: 16px; /* body copy (text-base) */
  --text-sm: 14px;   /* secondary / card body / captions */
  --text-xs: 12px;   /* diagram labels */

  /* Weights */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;

  /* Line heights */
  --leading-tight: 1.2;
  --leading-relaxed: 1.65;
}

/* tokens/spacing.css */
/* TPM Article Design System — Layout, spacing, surfaces (HARD rules)
 * Single centred column, fixed 893px. Flat design: NO shadows, NO decorative
 * gradients. 2px borders. Outer containers rounded-2xl, inner blocks rounded-xl.
 * NO internal scroll anywhere. */

.figma-make-app-wrapper .figma-make-app-root {
  /* Container */
  --article-max-width: 893px;   /* HARD — never 4xl, never 1400px */
  --article-padding-x: 16px;    /* px-4 */
  --article-padding-y: 40px;    /* py-10 */
  --section-gap: 32px;          /* gap-8 between sections */
  --block-gap: 16px;            /* gap-4 within a section */

  /* Spacing scale (Tailwind-aligned, px) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;

  /* Borders & radii */
  --border-width: 2px;          /* HARD — all borders 2px */
  --radius-outer: 16px;         /* rounded-2xl — outer containers */
  --radius-inner: 12px;         /* rounded-xl — inner blocks */
  --radius-sm: 8px;             /* rounded-lg — icon squares, chips */

  /* Flat — no shadow tokens by design. The only sanctioned depth is a subtle
   * lift on a floating/overlay element inside a diagram (see DESIGN_SYSTEM §3.4). */
  --lens-shadow: 0 8px 24px rgba(35, 68, 93, 0.12);
}

/* Article shell helper — single centred column, natural page scroll only. */
.figma-make-app-wrapper .figma-make-app-root .tpm-article {
  width: 100%;
  max-width: var(--article-max-width);
  margin-inline: auto;
  padding-inline: var(--article-padding-x);
  padding-block: var(--article-padding-y);
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
  font-family: var(--font-body);
  color: var(--foreground);
}

/* tokens/base.css */
/* TPM Article Design System — base element defaults.
 * Minimal resets so specimen cards and components paint correctly. */

.figma-make-app-wrapper .figma-make-app-root * {
  box-sizing: border-box;
}

.figma-make-app-wrapper .figma-make-app-root .body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-relaxed);
  -webkit-font-smoothing: antialiased;
}

.figma-make-app-wrapper .figma-make-app-root h1, .figma-make-app-wrapper .figma-make-app-root h2, .figma-make-app-wrapper .figma-make-app-root h3, .figma-make-app-wrapper .figma-make-app-root h4, .figma-make-app-wrapper .figma-make-app-root h5, .figma-make-app-wrapper .figma-make-app-root h6 {
  font-family: var(--font-heading);
  color: var(--heading);
  margin: 0;
}

.figma-make-app-wrapper .figma-make-app-root p {
  margin: 0;
}

/* Article titles carry a single accent underline on one key word. */
.figma-make-app-wrapper .figma-make-app-root h1 u, .figma-make-app-wrapper .figma-make-app-root h2 u {
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

.figma-make-app-wrapper .figma-make-app-root a {
  color: var(--accent);
}

/* ---- article <style> block ---- */

  @keyframes land { 0%{ opacity:0; transform:translateY(-14px) scale(.85) } 60%{ opacity:1 } 100%{ opacity:1; transform:none } }
  @keyframes floatIcon { 0%, 100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
  @keyframes stripSlideIn { from{opacity:0;transform:translateX(-20px)} to{opacity:1;transform:translateX(0)} }
  @keyframes gatePop { from{opacity:0;transform:rotate(-15deg) scale(.85)} to{opacity:1;transform:rotate(0deg) scale(1)} }
  @keyframes rowFadeUp { from{opacity:0;transform:translateY(12px)} to{opacity:1;transform:translateY(0)} }
  @keyframes checkDraw { from{stroke-dashoffset:var(--dash,20)} to{stroke-dashoffset:0} }
  @keyframes nodeSlideIn { from{opacity:0;transform:translateX(-20px)} to{opacity:1;transform:none} }
  @keyframes nodeSlideInR { from{opacity:0;transform:translateX(20px)} to{opacity:1;transform:none} }
  @keyframes gateDraw { from{opacity:0;transform:rotate(45deg) scale(.2)} to{opacity:1;transform:rotate(45deg) scale(1)} }
  @keyframes lineDraw { from{opacity:0;transform:scaleX(0)} to{opacity:1;transform:scaleX(1)} }
  @keyframes layerRise { from{opacity:0;transform:translateY(40px)} to{opacity:1;transform:none} }
  @keyframes chipPop { from{opacity:0;transform:scale(.8)} to{opacity:1;transform:scale(1)} }
  @keyframes pulse141 { 0%, 100%{transform:scale(1);box-shadow:0 0 0 0 rgba(184,84,80,.45)} 50%{transform:scale(1.06);box-shadow:0 0 0 6px rgba(184,84,80,0)} }
  @keyframes pkgPop { from{opacity:0;scale:.8} to{opacity:1;scale:1} }
  @keyframes barRise { from{opacity:0;transform:translateY(32px)} to{opacity:1;transform:none} }
  @keyframes fadeUp16 { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:none} }
  @keyframes diagIn { from{opacity:0;transform:translate(-24px,-8px)} to{opacity:1;transform:none} }
  @keyframes growX { from{transform:scaleX(0)} to{transform:scaleX(1)} }
  @keyframes growY { from{transform:scaleY(0)} to{transform:scaleY(1)} }
  @keyframes unfoldX { from{opacity:0;transform:scaleX(.15)} to{opacity:1;transform:scaleX(1)} }
  @keyframes labelIn { from{opacity:0;transform:translateX(-16px)} to{opacity:1;transform:none} }
  @keyframes drawStroke { from{stroke-dashoffset:var(--sd,40)} to{stroke-dashoffset:0} }
  @keyframes softIn { from{opacity:0} to{opacity:1} }
  @keyframes accReveal { from{opacity:0;transform:translateY(-8px)} to{opacity:1;transform:none} }
  @keyframes tailPop { from{opacity:0;transform:scale(.95)} to{opacity:1;transform:none} }
  @keyframes cardUp24 { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:none} }
  @keyframes fadeUp10 { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:none} }
  @keyframes barGrow { from{transform:scaleY(0)} to{transform:scaleY(1)} }
  @keyframes cardUp32 { from{opacity:0;transform:translateY(32px) scale(.97)} to{opacity:1;transform:none} }
  @keyframes popIn90Up { from{opacity:0;transform:translateY(16px) scale(.9)} to{opacity:1;transform:none} }
  @keyframes tailPopUp { from{opacity:0;transform:translateY(20px) scale(.95)} to{opacity:1;transform:none} }
  .figma-make-app-wrapper .figma-make-app-root h2 u{ text-decoration-color:#D79B00; text-decoration-thickness:.12em; text-underline-offset:.15em; text-decoration-skip-ink:none }
  @container tproot (max-width: 1023px){
    .figma-make-app-wrapper .figma-make-app-root [data-pkgwrap]{position:static !important;height:auto !important;display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
    .figma-make-app-wrapper .figma-make-app-root [data-pkgwrap] > svg{display:none !important}
    .figma-make-app-wrapper .figma-make-app-root [data-pkgnode], .figma-make-app-wrapper .figma-make-app-root [data-pkggate]{position:static !important;left:auto !important;top:auto !important;transform:none !important;width:calc(50% - 6px) !important;max-width:100%}
    .figma-make-app-wrapper .figma-make-app-root [data-pkggate]{width:100% !important;order:-1;flex-direction:row !important;justify-content:center}
  }
  @media (max-width:599px){ .figma-make-app-wrapper .figma-make-app-root [data-pkgnode]{width:100% !important} }
  @container tproot (max-width: 1023px){
    .figma-make-app-wrapper .figma-make-app-root [data-rec2log]{flex-direction:column !important;align-items:stretch !important;gap:6px !important}
    .figma-make-app-wrapper .figma-make-app-root [data-rec2log] > svg{display:none !important}
    .figma-make-app-wrapper .figma-make-app-root [data-rec2log-label]{display:none !important}
    .figma-make-app-wrapper .figma-make-app-root [data-rec2log-mob]{display:flex !important}
    .figma-make-app-wrapper .figma-make-app-root [data-rec2log] [data-lane]{flex:1 1 auto !important;max-width:100% !important}
  }
  @media (prefers-reduced-motion: reduce){ .figma-make-app-wrapper .figma-make-app-root *{animation:none !important;transition:none !important} }
  /* ===== Адаптив-канон: два брейкпоинта — ≤1023 (планшет), ≤599 (телефон); десктоп ≥1024 не меняется ===== */
  @container tproot (max-width: 1023px){
    .figma-make-app-wrapper .figma-make-app-root [data-screen-label]{max-width:100%}
    .figma-make-app-wrapper .figma-make-app-root figure img{max-width:100%;height:auto}
    .figma-make-app-wrapper .figma-make-app-root [data-watermark]{display:none !important}
    .figma-make-app-wrapper .figma-make-app-root [data-mtband]{grid-template-columns:repeat(3,1fr) !important;gap:12px !important}
  }
  @media (max-width: 599px){
    .figma-make-app-wrapper .figma-make-app-root [data-khead] span{font-size:9.5px !important;letter-spacing:.02em !important;overflow-wrap:anywhere;word-break:break-word;line-height:1.2}
    .figma-make-app-wrapper .figma-make-app-root [data-mtband]{grid-template-columns:repeat(2,1fr) !important}
    .figma-make-app-wrapper .figma-make-app-root [data-m="scrollhint"]{display:block !important;font-size:11px;color:#8a97a8;text-align:center;padding:6px 0 0}
    /* Изобр.11.5 — waterfall вкладов: узкий экран — колонки ужимаются, вся композиция видна целиком без обрезки и прокрутки */
    .figma-make-app-wrapper .figma-make-app-root [data-db-chart]{overflow-x:clip !important;overflow-y:visible !important}
    .figma-make-app-wrapper .figma-make-app-root [data-db-chart] > div{min-width:0 !important}
    .figma-make-app-wrapper .figma-make-app-root [data-db-chart] > div > div{gap:5px !important}
    .figma-make-app-wrapper .figma-make-app-root [data-db-col]{min-width:0 !important;flex:1 1 0 !important}
    .figma-make-app-wrapper .figma-make-app-root [data-db-num], .figma-make-app-wrapper .figma-make-app-root [data-db-chip]{font-size:10px !important}
    .figma-make-app-wrapper .figma-make-app-root [data-db-tip]{display:none !important}
    .figma-make-app-wrapper .figma-make-app-root [data-db-col] > div:last-child{padding-top:6px !important}
    .figma-make-app-wrapper .figma-make-app-root [data-db-col] > div:last-child span{font-size:9px !important;overflow-wrap:anywhere;word-break:break-word;line-height:1.2 !important}
    /* Изобр.0 / Изобр.9 — лента сохраняет натуральную десктопную ширину и прокручивается внутри рамки */
    .figma-make-app-wrapper .figma-make-app-root [data-strip="intro"], .figma-make-app-wrapper .figma-make-app-root [data-strip="gate1"]{overflow-x:auto !important;-webkit-overflow-scrolling:touch;flex-wrap:nowrap !important;justify-content:flex-start !important}
    .figma-make-app-wrapper .figma-make-app-root [data-strip="intro"] > div, .figma-make-app-wrapper .figma-make-app-root [data-strip="gate1"] > div{flex-shrink:0 !important}
    .figma-make-app-wrapper .figma-make-app-root [data-strip="intro"] > div:nth-child(even), .figma-make-app-wrapper .figma-make-app-root [data-strip="gate1"] > div:nth-child(even){flex-basis:auto !important;min-width:60px !important}
    /* Изобр.1 — каждый маршрут: заголовок строкой, плашки фаз с переносом; легенда под заголовком */
    .figma-make-app-wrapper .figma-make-app-root [data-screen-label="Изобр.1"] div:has(> [data-img1="legend"]){flex-direction:column !important;align-items:stretch !important}
    .figma-make-app-wrapper .figma-make-app-root [data-img1="legend"]{justify-content:flex-start !important}
    .figma-make-app-wrapper .figma-make-app-root [data-flow="img1"] > div{flex-direction:column !important;align-items:stretch !important;gap:8px !important}
    .figma-make-app-wrapper .figma-make-app-root [data-flow="img1"] > div > div:first-child{width:auto !important}
    .figma-make-app-wrapper .figma-make-app-root [data-flow="img1"] [data-lbl="desk"]{display:none !important}
    .figma-make-app-wrapper .figma-make-app-root [data-flow="img1"] [data-lbl="mob"]{display:inline !important}
    .figma-make-app-wrapper .figma-make-app-root [data-flow="img1"] > div > div:last-child{flex-wrap:wrap;gap:6px !important;justify-content:flex-start !important}
    .figma-make-app-wrapper .figma-make-app-root [data-flow="img1"] > div > div:last-child > span{flex:1 1 auto !important;min-width:96px;font-size:11px !important}
    .figma-make-app-wrapper .figma-make-app-root [data-flow="img1"] > div > div:last-child > span[style*="rotate(45deg)"]{flex:0 0 auto !important;min-width:0}
    .figma-make-app-wrapper .figma-make-app-root [data-m="conn"]{display:none !important}
    /* Изобр.3 — ось вертикально: «дальше за горизонт» у Амбиции, «ближе к нам» у Плана */
    .figma-make-app-wrapper .figma-make-app-root [data-m="axis-h"]{display:none !important}
    .figma-make-app-wrapper .figma-make-app-root [data-m="axis-v"]{display:block !important;text-align:center;font-size:10.5px;color:#888}
    /* Изобр.4 — стек карточек без искусственного сдвига второй */
    .figma-make-app-wrapper .figma-make-app-root [data-triad="img4"] > div{margin-top:0 !important}
    /* Изобр.5 — аннотации при своих элементах; фильтр А/Б/В — стек с подписью под колонкой */
    .figma-make-app-wrapper .figma-make-app-root [data-node-id="vision"], .figma-make-app-wrapper .figma-make-app-root [data-node-id="goal"]{width:auto !important;max-width:100%}
    .figma-make-app-wrapper .figma-make-app-root [data-node-id="supports"]{display:grid !important;grid-template-columns:1fr 1fr;gap:8px !important}
    .figma-make-app-wrapper .figma-make-app-root [data-m="frow"]{flex-direction:column !important}
    .figma-make-app-wrapper .figma-make-app-root [data-m="frow"] > div{flex-wrap:wrap}
    .figma-make-app-wrapper .figma-make-app-root [data-m="fcap"]{display:block !important;flex-basis:100%;font-size:10.5px;color:#888;padding-left:30px}
    .figma-make-app-wrapper .figma-make-app-root [data-m="flegend"]{display:none !important}
    /* Изобр.6 — подпись инициативы над баром, дата под ромбом */
    .figma-make-app-wrapper .figma-make-app-root [data-gantt="img6"] > div > div:last-child{height:56px !important}
    .figma-make-app-wrapper .figma-make-app-root [data-gantt="img6"] > div > div:last-child > div:nth-child(1){top:20px !important;height:16px !important;overflow:visible !important}
    .figma-make-app-wrapper .figma-make-app-root [data-gantt="img6"] > div > div:last-child > div:nth-child(1) [data-m="barlabel"]{position:absolute;bottom:calc(100% + 3px);left:2px;color:var(--p-darkblue);font-size:11px;font-weight:700;white-space:nowrap}
    .figma-make-app-wrapper .figma-make-app-root [data-gantt="img6"] > div > div:last-child > div:nth-child(2){top:16px !important}
    .figma-make-app-wrapper .figma-make-app-root [data-gantt="img6"] > div > div:last-child > div:nth-child(3){top:40px !important;font-size:10px !important}
    .figma-make-app-wrapper .figma-make-app-root [data-q="f"]{display:none !important}
    .figma-make-app-wrapper .figma-make-app-root [data-q="s"]{display:inline !important}
    /* Изобр.8 — чип фразы переносится, без выхода за край */
    .figma-make-app-wrapper .figma-make-app-root [data-m="phrase"] span{white-space:normal !important;max-width:100%}
    /* Практика — баннер: инструмент над призывом к действию */
    .figma-make-app-wrapper .figma-make-app-root [data-screen-label="Практика"] [data-banner]{flex-direction:column !important}
    .figma-make-app-wrapper .figma-make-app-root [data-screen-label="Практика"] [data-btool]{flex:0 0 auto !important}
    .figma-make-app-wrapper .figma-make-app-root [data-screen-label="Практика"] [data-btabs] button{font-size:10px !important;padding:10px 4px 8px !important}
    /* Изобр.11.7 — таблица «ровно один документ»: горизонтальная прокрутка, колонки сохраняют читаемую ширину */
    .figma-make-app-wrapper .figma-make-app-root [data-charter="img11-7"]{overflow-x:auto !important;-webkit-overflow-scrolling:touch;grid-template-columns:80px 208px 92px 208px !important}
    /* Изобр.11.9 — экран ворот: стопка панелей не растягивается по самой широкой вкладке; таблица уверенности умещается */
    .figma-make-app-wrapper .figma-make-app-root [data-gstack]{grid-template-columns:minmax(0,1fr) !important}
    .figma-make-app-wrapper .figma-make-app-root [data-gstack] > [data-gview]{min-width:0 !important}
    .figma-make-app-wrapper .figma-make-app-root [data-gs="confgrid"] [style*="1fr 96px 138px"]{grid-template-columns:minmax(0,1fr) 58px 84px !important;gap:6px !important}
    .figma-make-app-wrapper .figma-make-app-root [data-gs="confgrid"] [style*="1fr 138px"]{grid-template-columns:minmax(0,1fr) 84px !important;gap:6px !important}
    /* Мандат/Расчёт/Запись — плитки полей: одна колонка, чтобы бейджи не обрезались */
    .figma-make-app-wrapper .figma-make-app-root [data-plategrid]{grid-template-columns:1fr !important}
    /* Карточки-термины (Проект/Фаза/Ворота + Миссия/Видение/Цель/Контрольное событие/Инициатива): ряд → колонка, плитка-иконка по центру сверху, текст на всю ширину */
    .figma-make-app-wrapper .figma-make-app-root [style*="gap: 18px"][style*="align-items: stretch"]{flex-direction:column !important;align-items:stretch !important}
    .figma-make-app-wrapper .figma-make-app-root [style*="width: 96px"][style*="height: 96px"]{margin-left:auto !important;margin-right:auto !important}
    /* Аккордеон ключевых терминов: раскрытая строка (иконка 84px + текст) → иконка по центру сверху, текст на всю ширину */
    .figma-make-app-wrapper .figma-make-app-root [style*="gap: 18px"][style*="align-items: flex-start"]{flex-direction:column !important;align-items:stretch !important}
    .figma-make-app-wrapper .figma-make-app-root [style*="width: 84px"][style*="height: 84px"]{margin-left:auto !important;margin-right:auto !important}
    /* Изобр.2 — внешняя рамка фигуры отдаёт ширину вложенной композиции: боковой padding 5px */
    .figma-make-app-wrapper .figma-make-app-root [data-screen-label="Изобр.2"] > div{padding-left:5px !important;padding-right:5px !important}
    /* Callout'ы с левой цветной полосой («Частая ошибка» и однотипные): левый padding 5px, полоса 4px остаётся */
    .figma-make-app-wrapper .figma-make-app-root [style*="border-left: 4px solid"][style*="border-radius: 0px 12px 12px 0px"]{padding-left:5px !important}
  }

/* ===== s117/s121 mobile laws (hooks present on this page only) ===== */
@media (max-width: 599px){
  .figma-make-app-wrapper .figma-make-app-root .figma-make-app-wrapper .figma-make-app-root div:has(> [data-m96]){flex-direction:column !important;align-items:stretch !important}
  .figma-make-app-wrapper .figma-make-app-root .figma-make-app-wrapper .figma-make-app-root [data-m96]{margin:auto !important}
  .figma-make-app-wrapper .figma-make-app-root .figma-make-app-wrapper .figma-make-app-root [data-macc]{flex-direction:column !important}
  .figma-make-app-wrapper .figma-make-app-root .figma-make-app-wrapper .figma-make-app-root [data-macc] > [data-m84]{margin:auto !important}
  .figma-make-app-wrapper .figma-make-app-root .figma-make-app-wrapper .figma-make-app-root [data-mcal]{padding-left:5px !important}
}
/*tp496:start*/
/* TPM transport layer s521 — article in the site column (rules: BUILD_RULES_s521_ru.md). Replaces tp496.css. */
/* figures: native layout at the column width; no forced design width, no scale */
.figma-make-app-wrapper .figma-make-app-root{overflow-x:clip;container-type:inline-size}
/* s570: the page's tablet canon (@container tproot) follows the column only on tablet windows; a desktop window keeps the desktop layout */
@media (max-width:1023px){.figma-make-app-wrapper .figma-make-app-root{container-name:tproot}}
.figma-make-app-wrapper .figma-make-app-root figure{max-width:100%;box-sizing:border-box}
/* a figure listed in the build map (breaks in the column): lays out at its own width, scaled whole */
.figma-make-app-root figure[data-tp-wide]{width:var(--tp-w)!important;min-width:var(--tp-w)!important;max-width:none!important;margin-left:0!important;margin-right:0!important}
.figma-make-app-root figure[data-tp-wide][data-tp-scaled]{transform:scale(var(--tp-z))!important;transform-origin:0 0!important}
.figma-make-app-root figure[data-tp-wide][data-tp-scaled]>figcaption{transform:scale(var(--tp-zi))!important;transform-origin:0 0!important;width:calc(var(--tp-w) * var(--tp-z))!important;max-width:none!important;box-sizing:border-box}
/* body text = the size of the contents column of the site; headings below the page title */
.figma-make-app-root [data-tp-body]{font-size:15px!important;line-height:1.65!important}
.figma-make-app-root h2:not(figure h2){font-size:22px!important;line-height:1.25!important}
.figma-make-app-root h3:not(figure h3){font-size:18px!important;line-height:1.3!important}
.figma-make-app-root h4:not(figure h4),.figma-make-app-root h5:not(figure h5){font-size:16px!important;line-height:1.3!important}
/* «Определение ключевых терминов» */
.figma-make-app-root section[data-tp-terms]{gap:8px!important;padding-top:18px!important;padding-bottom:14px!important}
.figma-make-app-root section[data-tp-terms]>p{font-size:14px!important;line-height:1.5!important}
.figma-make-app-root [data-tp-termrow]>button{padding-top:7px!important;padding-bottom:7px!important;min-height:0!important;gap:10px!important}
.figma-make-app-root [data-tp-termrow]>button>span{font-size:14.5px!important;line-height:1.3!important}
.figma-make-app-root [data-tp-termrow]>button>span:first-child{height:18px!important}
.figma-make-app-root [data-tp-termrow]>button svg{width:18px!important;height:18px!important}
.figma-make-app-root [data-tp-termrow] p{font-size:14px!important;line-height:1.5!important}
/* term card (s570: size, padding and icon as in Claude Design — only the type follows the site scale) */
.figma-make-app-root [data-tp-term] [data-tp-ttitle]{font-size:17px!important;line-height:1.25!important}
.figma-make-app-root [data-tp-term] p{font-size:14.5px!important;line-height:1.45!important;margin-top:4px!important;margin-bottom:4px!important}
.figma-make-app-root [data-tp-tabbtn]{font-size:14px!important;padding-top:6px!important;padding-bottom:6px!important;min-height:0!important}
/* banner «Практика» and other two-column rows: side by side on desktop */
@media (min-width:760px){.figma-make-app-root [data-tp-unwrap]{flex-wrap:nowrap!important}.figma-make-app-root [data-tp-unwrap]>*{min-width:0!important}}
svg[data-tp-ring] [data-tp-ringline]{pointer-events:none}
/* hint bubbles that would cover the screen's own text in the column */
@media (min-width:760px){.figma-make-app-root [data-tp-callout]{display:none!important}}
.figma-make-app-root [data-tp-offcut]{visibility:hidden!important}
/*tp496:end*/
/*tp570:start*/
/* TPM transport layer s570 (= s554 + CM report 02.11)
   base: TPM transport layer s554 — replaces tp528, on top of tp521 (rules: BUILD_RULES_s554_ru.md). CM site reports 27.10 + 29.10. */
/* body text = the size of the article list in the left column of the site (14 px); headings keep their order */
.figma-make-app-root [data-tp-body]{font-size:14px!important;line-height:1.6!important}
.figma-make-app-root h2:not(figure h2){font-size:20px!important;line-height:1.25!important}
.figma-make-app-root h3:not(figure h3){font-size:16.5px!important;line-height:1.3!important}
.figma-make-app-root h4:not(figure h4),.figma-make-app-root h5:not(figure h5){font-size:15px!important;line-height:1.3!important}
/* «Определение ключевых терминов» is a block, not a section: its title sits below the section headings */
.figma-make-app-root section[data-tp-terms] h2,.figma-make-app-root [data-tp528-termhead]{font-size:16px!important;line-height:1.3!important}
.figma-make-app-root section[data-tp-terms]>p{font-size:13.5px!important}
.figma-make-app-root [data-tp-termrow]>button>span{font-size:14px!important}
/* «Путь проекта» strips: laid out at the width where every phase plate is square, then zoomed whole into the column */
.figma-make-app-root [data-tp528-strip]{width:var(--tp528-w)!important;min-width:var(--tp528-w)!important;max-width:none!important;zoom:var(--tp528-z)!important;flex-wrap:nowrap!important;overflow:visible!important}
.figma-make-app-root [data-tp528-strip]>*{flex-shrink:0!important}
.figma-make-app-root [data-tp528-strip]>[data-tp528-plate]{width:var(--tp528-p)!important;min-width:var(--tp528-p)!important;flex:0 0 var(--tp528-p)!important}
/* figure text: never above the body text; headings inside a figure step down by nesting */
.figma-make-app-root [data-tp528-fs]{font-size:var(--tp528-fs)!important;line-height:1.3!important}
/* tall figures: denser */
.figma-make-app-root figure img[data-tp528-img]{max-height:78vh!important;width:auto!important;max-width:100%!important;object-fit:contain!important;margin-left:auto!important;margin-right:auto!important;display:block!important}
/* s554: figures stay hidden until the layer has laid them out with the final fonts (max 1.5 s) — no visible re-layout */
html[data-tp554-wait] .figma-make-app-root figure{visibility:hidden!important}
/* s554: one type scale — term cards: title one step below the subsection heading, text below the body */
.figma-make-app-root [data-tp-term] [data-tp-ttitle]{font-size:15px!important;line-height:1.25!important}
.figma-make-app-root [data-tp-term] p{font-size:13.5px!important;line-height:1.45!important}
.figma-make-app-root [data-tp-termrow] p{font-size:13.5px!important}
/* s554: ring charts — the whole sector is the hover area (tp521 maps the pointer to the sector), not only its words */
.figma-make-app-root svg[data-tp554-ring]{pointer-events:auto!important;cursor:pointer}
.figma-make-app-root svg[data-tp554-ring] *{pointer-events:none!important}

/* ==== s570 (CM site report 02.11) ==== */
/* «Путь проекта»: no entrance animation — the gates were sometimes drawn without part of their border on a cold load */
.figma-make-app-root [data-strip],.figma-make-app-root [data-strip] *{animation:none!important}
/* «Введение в управление проектами»: one accordion everywhere */
.figma-make-app-root [data-tp570-ihead]{cursor:pointer!important;user-select:none;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important}
.figma-make-app-root [data-tp570-ibox]{flex:0 0 auto;width:23px;height:23px;box-sizing:border-box;border:1.5px solid var(--p-darkblue,#23445d);border-radius:6px;display:inline-flex;align-items:center;justify-content:center;font:700 17px/1 'Open Sans',sans-serif;color:var(--p-darkblue,#23445d);background:#fff}
.figma-make-app-root [data-tp570-ihide]{display:none!important}
.figma-make-app-root section:not([data-tp570-open]) > [data-tp570-ihead]{margin:0!important}
/* banner «Практика»: right column from the left edge; small labels one under another */
.figma-make-app-root [data-tp570-cta]{text-align:left!important;align-items:flex-start!important}
.figma-make-app-root [data-tp570-cta] > *{text-align:left!important;margin-left:0!important;align-self:flex-start}
.figma-make-app-root [data-tp570-chips]{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;align-items:flex-start!important;justify-content:flex-start!important;gap:6px!important}
.figma-make-app-root [data-tp570-chips] > *{flex:0 0 auto!important;width:auto!important;max-width:100%!important;white-space:nowrap!important;padding-top:3px!important;padding-bottom:3px!important;min-height:0!important}
/* EMV tree: the column titles on the dark plates are readable */
.figma-make-app-root [data-emv-head]{font-size:16px!important;line-height:1.05!important;padding:0 6px!important;white-space:normal!important}
/* ring charts: the full width of the block, proportions kept (CM 02.11: the words inside the rings must be readable) */
.figma-make-app-root svg[data-tp-rings]{width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important}
/*tp570:end*/
