/* /try/: three decisions on one real case. Values from tokens.css only. */
.try { padding-top: var(--sp-6); padding-bottom: var(--sp-8); color: var(--ds-ink); }
.try > .px-try { padding-top: 0; margin-bottom: var(--sp-7); padding-bottom: var(--sp-7); border-bottom: 1px solid var(--ds-line); }
.try-ic { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.try svg { direction: ltr; }

/* the project is a place, then the person and the job */
.try-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--sp-7); align-items: center; margin-bottom: var(--sp-7); }
.try-site { position: relative; margin: 0; height: 240px; border-radius: var(--r-l); overflow: hidden; background: var(--cc-photo); }
.try-site img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.try-site::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--cc-scrim-0) 40%, var(--cc-scrim)); }
.try-site figcaption { position: absolute; inset-inline: var(--sp-5); bottom: var(--sp-3); z-index: 1; color: var(--ds-on-scrim); }
.try-site figcaption b { display: block; font-size: var(--fs-title-s); font-weight: 600; }
.try-site figcaption span { font-size: var(--fs-label); opacity: 0.92; }
.try-site em { position: absolute; inset-inline-end: var(--sp-3); top: var(--sp-2); z-index: 1; font-style: normal; font-size: var(--fs-label-s); color: var(--ds-on-scrim); background: var(--ds-scrim-soft); padding: 2px var(--sp-2); border-radius: var(--r-full); }
.try-where { margin: 0 0 var(--sp-2); font-size: var(--fs-label); color: var(--ds-ink-3); }
.try-where a { color: inherit; }
.try h1 { margin: 0 0 var(--sp-3); font-size: var(--fs-headline-l); line-height: var(--lh-tight); font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; }
.try-brief { margin: 0 0 var(--sp-3); font-size: var(--fs-body-l); line-height: var(--lh-body); color: var(--ds-ink-2); }
.try-meta { display: flex; align-items: center; gap: var(--sp-2); margin: 0; font-size: var(--fs-label); color: var(--ds-ink-3); }

/* words defined where they first appear */
.try-term { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: help; text-decoration: underline dotted; text-decoration-color: var(--ds-primary); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.try-term[aria-expanded="true"] { color: var(--ds-primary-hover); background: var(--ds-primary-tonal); border-radius: 2px; }
.try-term:focus-visible, .try-def-x:focus-visible, .try-hint:focus-visible { outline: 2px solid var(--ds-primary); outline-offset: 2px; }
.try-def { position: relative; margin: var(--sp-2) 0 !important; padding: var(--sp-2) var(--sp-6) var(--sp-2) var(--sp-3); border-inline-start: 3px solid var(--ds-primary); background: var(--ds-primary-tonal); border-radius: var(--r-xs); font-size: var(--fs-body-s) !important; line-height: 1.45; color: var(--ds-ink) !important; font-weight: 400; }
.try-def b { font-weight: 600; }
.try-def-x { position: absolute; inset-block-start: 2px; inset-inline-end: 2px; width: 28px; height: 28px; border: 0; background: none; font-size: 18px; line-height: 1; color: var(--ds-ink-3); cursor: pointer; }

/* a step: what you are asked, what you read, where you answer */
.try-steps { display: grid; gap: var(--sp-4); }
.try-step { border: 1px solid var(--ds-line); border-radius: var(--r-l); background: var(--ds-bg); scroll-margin-top: var(--sp-5); }
.try-step:not(.is-done) { box-shadow: var(--e1); }
.try-sh { display: flex; align-items: center; gap: var(--sp-4); padding: var(--sp-4) var(--sp-5); }
.try-n { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ds-primary); color: var(--ds-on-primary); font-weight: 600; font-variant-numeric: tabular-nums; }
.is-done .try-n { background: var(--ds-ok); }
.try-of { margin: 0; font-size: var(--fs-label); color: var(--ds-ink-3); }
.try-sh h2 { margin: 0; font-size: var(--fs-title-l); line-height: var(--lh-tight); font-weight: 600; }
.try-sum { margin: 0; margin-inline-start: auto; font-size: var(--fs-body-s); color: var(--ds-ink-2); text-align: end; }
.is-done .try-sb { display: none; }
.try-sb { padding: 0 var(--sp-5) var(--sp-5); }
.try-q { margin: 0 0 var(--sp-4); max-width: 62ch; font-size: var(--fs-title-s); line-height: 1.4; font-weight: 600; }
.try-cols { display: grid; gap: var(--sp-5); }
.try-docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); align-items: start; min-width: 0; }
.try-step[data-s="2"] .try-docs > .try-draw { grid-column: 2; grid-row: 1 / span 2; }
.try-ask { max-width: 560px; min-width: 0; }

/* documents a professional would hold */
.try-doc { border: 1px solid var(--ds-line-2); border-radius: var(--r-s); background: var(--ds-bg); box-shadow: var(--e1); overflow: hidden; }
.try-doc > header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--sp-3); padding: var(--sp-2) var(--sp-4); background: var(--ds-surface); border-bottom: 1px solid var(--ds-line); }
.try-doc > header span { font-size: var(--fs-label-s); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ds-ink-3); }
.try-doc > header b { font-size: var(--fs-body-s); font-weight: 600; }
.try-doc > p, .try-doc > ul, .try-doc > ol { margin: 0; padding-inline: var(--sp-4); }
.try-doc .try-def { margin-inline: var(--sp-4) !important; }
.try-doc > .try-cl { list-style: none; padding: var(--sp-1) 0; }
.try-doc > .try-gen { padding-inline: var(--sp-4); }
.try-cl li, .try-gen { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: var(--sp-3); padding: var(--sp-2) var(--sp-4); font-size: var(--fs-body-s); line-height: 1.45; color: var(--ds-ink-2); }
.try-cl li + li { border-top: 1px solid var(--ds-line); }
.try-cl b, .try-gen b { color: var(--ds-ink-3); font-weight: 600; font-variant-numeric: tabular-nums; }
.try-doc > .try-gen { padding-block: var(--sp-2) var(--sp-3); border-top: 1px dashed var(--ds-line-2); }
.try-tab { width: 100%; border-collapse: collapse; font-size: var(--fs-body-s); }
.try-tab th { padding: var(--sp-2) var(--sp-4); font-size: var(--fs-label-s); font-weight: 500; color: var(--ds-ink-3); text-align: start; }
.try-tab td { padding: var(--sp-2) var(--sp-4); border-top: 1px solid var(--ds-line); vertical-align: top; line-height: 1.35; color: var(--ds-ink-2); }
.try-tab .n { text-align: end; white-space: nowrap; font-variant-numeric: tabular-nums; }
.try-tab th.n { text-align: end; }
.try-tab small { color: var(--ds-ink-3); }
.try-tab b { color: var(--ds-ink); font-weight: 600; }
.try-dim { color: var(--ds-ink-3) !important; font-style: italic; white-space: normal !important; }
.try-tab th, .try-tab td { hyphens: auto; overflow-wrap: break-word; }
.try-tab th.n { white-space: normal; }
.try-note { padding-block: var(--sp-2) !important; font-size: var(--fs-body-s); line-height: 1.45; color: var(--ds-ink-2); }
.try-doc > .try-note:last-child { padding-bottom: var(--sp-3) !important; }
.try-ex-h { padding-bottom: 0 !important; font-weight: 600; color: var(--ds-ink) !important; }
.try-ex { list-style: none; padding-block: var(--sp-1) var(--sp-3) !important; }
.try-ex label, .try-opt { display: flex; gap: var(--sp-3); align-items: flex-start; padding: var(--sp-2) var(--sp-3); border-radius: var(--r-s); cursor: pointer; font-size: var(--fs-body); line-height: 1.4; }
.try-ex label:hover, .try-opt:hover { background: var(--ds-surface); }
.try input[type="checkbox"], .try input[type="radio"] { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ds-primary); }
.try-ex .is-bad label, .try-opts .is-bad .try-opt { background: var(--ds-error-tonal); }
.try-lv .tot td { border-top: 2px solid var(--ds-ink-3); font-weight: 600; color: var(--ds-ink); }
.try-lv .tot + .tot td { border-top: 1px solid var(--ds-line); }
.try-lv [data-v] { color: var(--ds-primary-hover); font-weight: 600; }

/* the thing itself: a section through the wall, drawn like a drawing */
.try-draw { margin: 0; padding: var(--sp-3) var(--sp-4); border: 1px solid var(--ds-line); border-radius: var(--r-s); }
.try-draw svg { display: block; width: 100%; max-width: 460px; height: auto; margin-inline: auto; }
.try-draw .dr-conc { fill: var(--ds-surface); stroke: var(--ds-ink-2); stroke-width: 1.2; }
.try-draw .dr-hatch { stroke: var(--ds-line-2); stroke-width: 1; }
.try-draw .dr-wool { fill: none; stroke: var(--ds-ink-3); stroke-width: 1; }
.try-draw .dr-void { fill: var(--ds-bg); stroke: var(--ds-ink-2); stroke-width: 1; }
.try-draw .dr-board { fill: var(--ds-surface-2); stroke: var(--ds-ink); stroke-width: 1.2; }
.try-draw .dr-fs { fill: var(--ds-primary); stroke: var(--ds-primary-hover); stroke-width: 1.2; }
.try-draw .dr-lead { stroke: var(--ds-ink-2); stroke-width: 1; fill: none; }
.try-draw .dr-dim { stroke: var(--ds-ink-2); stroke-width: 1; fill: none; }
.try-draw .dr-key circle { fill: var(--ds-bg); stroke: var(--ds-ink); stroke-width: 1.4; }
.try-draw .dr-key text, .try-draw .dr-t { font: 600 12px var(--ds-font); fill: var(--ds-ink); }
.try-draw .dr-t { font-weight: 500; fill: var(--ds-ink-2); }
.try-draw ol { list-style: none; margin: var(--sp-2) 0 0; padding: 0; display: grid; gap: var(--sp-1); }
.try-draw li { display: flex; gap: var(--sp-3); align-items: baseline; font-size: var(--fs-label); line-height: 1.35; color: var(--ds-ink-2); }
.try-draw li b { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1.4px solid var(--ds-ink); font-size: 11px; font-weight: 600; color: var(--ds-ink); }

/* your answer */
.try-f { margin-bottom: var(--sp-3); }
.try-f label { display: block; font-weight: 600; font-size: var(--fs-body); }
.try-sub { margin: 2px 0 var(--sp-2); font-size: var(--fs-label); color: var(--ds-ink-3); }
.try-in { display: flex; align-items: center; height: 52px; padding: 0 var(--sp-4); border: 1.5px solid var(--ds-line-2); border-radius: var(--r-m); transition: border-color var(--dur) var(--ease); }
.try-in:focus-within { border-color: var(--ds-primary); }
.try-f.is-bad .try-in { border-color: var(--ds-error); }
.try-f.is-ok .try-in { border-color: var(--ds-ok); background: var(--ds-ok-tonal); }
.try-in span { margin-inline-end: var(--sp-2); font-size: var(--fs-title-s); color: var(--ds-ink-3); }
.try-in input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 500 var(--fs-title)/1 var(--ds-font); color: var(--ds-ink); font-variant-numeric: tabular-nums; }
.try-echo { min-height: 18px; margin: var(--sp-1) 0 0; font-size: var(--fs-label); color: var(--ds-ink-3); }
.try-opts { list-style: none; margin: 0 0 var(--sp-3); padding: 0; display: grid; gap: var(--sp-1); }
.try-opt { border: 1px solid var(--ds-line); }
.try-opt:has(input:checked) { border-color: var(--ds-primary); background: var(--ds-primary-tonal); }
.try-btn { display: flex; align-items: center; justify-content: center; gap: var(--sp-2); width: 100%; min-height: var(--btn-h); border: 0; border-radius: var(--r-full); background: var(--ds-primary); color: var(--ds-on-primary);
  padding: var(--sp-2) var(--sp-5); font: var(--btn-font); line-height: 1.3; text-align: center; text-decoration: none; cursor: pointer; transition: background var(--dur) var(--ease); }
.try-btn:hover { background: var(--ds-primary-hover); color: var(--ds-on-primary); }
.try-btn[hidden] { display: none; }
.try-hints { margin-top: var(--sp-3); }
.try-hint { border: 0; background: none; padding: 0; font: 500 var(--fs-body-s)/1.4 var(--ds-font); color: var(--ds-primary-hover); cursor: pointer; }
.try-hints ol { margin: var(--sp-2) 0 0; padding-inline-start: var(--sp-5); font-size: var(--fs-body-s); color: var(--ds-ink-2); }
.try-hints ol:empty { display: none; }

/* the verdict: which professional mistake it is, then the rule */
.try-fb:empty { display: none; }
.try-fb { margin-top: var(--sp-4); }
.try-fbx { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: var(--sp-3); padding: var(--sp-4); border-radius: var(--r-m); background: var(--ds-error-tonal); font-size: var(--fs-body-s); line-height: 1.5; color: var(--ds-ink-2); }
.try-fbx.is-ok { background: var(--ds-ok-tonal); }
.try-fbx p { margin: var(--sp-1) 0 0; }
.try-fbh { display: block; font-size: var(--fs-body); font-weight: 600; color: var(--ds-ink); line-height: 1.35; }
.try-dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--ds-error); margin-top: 1px; }
.is-ok > .try-dot { background: var(--ds-ok); }
.try-dot svg { width: 12px; height: 12px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.try-why { margin-top: var(--sp-3); }
.try-why + .try-why { padding-top: var(--sp-3); border-top: 1px solid var(--ds-line-2); }
.try-why b { font-weight: 600; color: var(--ds-ink); }
.try-rule { margin-top: var(--sp-3) !important; padding-top: var(--sp-3); border-top: 1px solid var(--ds-line-2); color: var(--ds-ink) !important; font-weight: 500; }
.try-bars { margin-top: var(--sp-4); padding-top: var(--sp-3); border-top: 1px solid var(--ds-line-2); }
.try-bars p { margin: var(--sp-2) 0 var(--sp-1); font-size: var(--fs-label); font-weight: 600; color: var(--ds-ink-3); }
.try-bar { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: var(--sp-2); align-items: center; margin-bottom: var(--sp-1); }
.try-bn { font-size: var(--fs-label); color: var(--ds-ink-2); }
.try-bt { display: flex; height: 14px; background: transparent; }
.try-bt i { display: block; height: 100%; }
.try-bt .a { background: var(--ds-ink-3); }
.try-bt .b { background: var(--ds-ok); }
.try-bt .gap, .try-key .gap { background: var(--ds-primary); }
.try-bv { grid-column: 2; font-size: var(--fs-label); font-variant-numeric: tabular-nums; color: var(--ds-ink); }
.try-key { display: flex; align-items: center; gap: var(--sp-2); }
.try-key i { width: 12px; height: 12px; border-radius: 2px; }
.try-ask .is-next { margin-top: var(--sp-3); }

/* the end: three things learned, then the course */
.try-end { padding: var(--sp-6) var(--sp-5); border: 1px solid var(--ds-line); border-radius: var(--r-l); background: var(--ds-surface); scroll-margin-top: var(--sp-5); }
.try-end h2 { margin: 0 0 var(--sp-4); font-size: var(--fs-headline-s); font-weight: 600; outline: none; }
.try-end ul { margin: 0 0 var(--sp-5); padding: 0; list-style: none; display: grid; gap: var(--sp-3); max-width: 62ch; }
.try-end li { position: relative; padding-inline-start: var(--sp-6); font-size: var(--fs-body-l); line-height: var(--lh-body); }
.try-end li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.6em; width: 14px; height: 3px; background: var(--ds-primary); border-radius: 2px; }
.try-end .try-btn { display: inline-flex; width: auto; }
.try-ctasub, .try-erp { margin: var(--sp-3) 0 0; font-size: var(--fs-label); color: var(--ds-ink-3); max-width: 62ch; }
[dir="rtl"] .try-btn span { display: inline-block; transform: scaleX(-1); }

@media (max-width: 899px) {
  .try-stack thead { display: none; }
  .try-stack tr { display: flex; flex-wrap: wrap; border-top: 1px solid var(--ds-line); }
  .try-stack td { border-top: 0; flex: 1 1 auto; hyphens: none; }
  .try-stack td:first-child { flex-basis: 100%; padding-bottom: 0; }
  .try-stack td[data-l] { text-align: start; }
  .try-stack td[data-l]::before { content: attr(data-l); display: block; font-size: var(--fs-label-s); color: var(--ds-ink-3); }
  .try-stack td.n { white-space: normal; }
  .try { padding-top: var(--sp-4); }
  .try-hero { grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); margin-bottom: var(--sp-5); }
  .try-site { height: 124px; margin-inline: calc(-1 * var(--sp-4)); border-radius: 0; }
  .try h1 { font-size: var(--fs-headline-s); }
  .try-brief { font-size: var(--fs-body); }
  .try-sh { padding: var(--sp-3) var(--sp-4); flex-wrap: wrap; gap: var(--sp-3); }
  .try-sum { margin-inline-start: 0; flex-basis: 100%; text-align: start; padding-inline-start: 52px; margin-top: calc(-1 * var(--sp-2)); }
  .try-sb { padding: 0 var(--sp-4) var(--sp-4); }
  .try-q { font-size: var(--fs-body); }
  .try-cols { gap: var(--sp-4); }
  .try-docs, .try-step[data-s] .try-docs { grid-template-columns: minmax(0, 1fr); }
  .try-step[data-s="2"] .try-docs > .try-draw { grid-column: auto; grid-row: auto; }
  .try-tab th, .try-tab td { padding-inline: var(--sp-2); }
  .try-tab th:first-child, .try-tab td:first-child { padding-inline-start: var(--sp-4); }
  .try-tab th:last-child, .try-tab td:last-child { padding-inline-end: var(--sp-4); }
  .try-end { padding: var(--sp-5) var(--sp-4); }
  .try-end .try-btn { display: flex; width: 100%; }
  .try-end li { font-size: var(--fs-body); }
}
