.telegram-examples{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 10px}.telegram-examples button{min-height:44px;border:1px solid #ccb9dd;border-radius:5px;padding:9px 15px;font-size:15px;background:white;color:#664188}.telegram-examples button[aria-pressed=true]{background:#f0e6f7;border-color:#84609e;color:#51316e}
.telegram-demo [data-fact=action],.telegram-demo [data-target-fact=action]{--fact-bg:#e9dbf5;--fact-ink:#573078}.telegram-demo [data-fact=deadline],.telegram-demo [data-target-fact=deadline]{--fact-bg:#dcebf7;--fact-ink:#284f76}.telegram-demo [data-fact=condition],.telegram-demo [data-target-fact=condition]{--fact-bg:#f5e3ce;--fact-ink:#7c4a22}
.telegram-demo:not([data-story-step="0"]) [data-fact]{background:var(--fact-bg);color:var(--fact-ink)}.telegram-demo[data-story-step="2"] [data-target-fact],.telegram-demo[data-story-step="3"] [data-target-fact]{background:var(--fact-bg);color:var(--fact-ink);border-radius:3px;box-decoration-break:clone;-webkit-box-decoration-break:clone}.telegram-demo[data-story-step="0"] .telegram-target [data-telegram-output],.telegram-demo[data-story-step="1"] .telegram-target [data-telegram-output]{opacity:1;transform:none;color:#685876}.telegram-target [data-telegram-output]{min-height:83px}.telegram-demo .telegram-facts span{border-width:0 0 3px;border-radius:0;background:transparent;padding:3px 0;margin-right:12px;border-color:#ab8bc1;color:#573078}.telegram-demo .telegram-facts span:nth-child(2){border-color:#6c99c4;color:#284f76}.telegram-demo .telegram-facts span:nth-child(3){border-color:#c19464;color:#7c4a22}
.telegram-transfer{align-self:center}.telegram-transfer svg{width:100%;height:130px;overflow:visible}.fact-path{fill:none;stroke-width:2.5;stroke:#b59ac7;stroke-linecap:round}.fact-action{stroke:#a37cc0}.fact-deadline{stroke:#6c99c4}.fact-condition{stroke:#c19464}.telegram-demo[data-story-step="2"] .fact-path{stroke-dasharray:120;animation:fact-connect 1.15s ease-out both}.telegram-demo[data-story-step="2"] .fact-deadline{animation-delay:.16s}.telegram-demo[data-story-step="2"] .fact-condition{animation-delay:.32s}.condition-omitted .fact-condition{stroke:#b65d49;stroke-dasharray:3 5}.telegram-demo.condition-omitted [data-target-fact=condition]{background:#fbe5df;color:#984a38;text-decoration:line-through}.telegram-demo.condition-omitted .telegram-facts [data-telegram-condition]{background:transparent;border-bottom-style:dashed;color:#984a38!important}.telegram-answer{margin-top:26px;padding:24px;background:#f7f5fa;border-radius:7px;display:grid;grid-template-columns:1.7fr 1fr 1fr;gap:25px}.telegram-answer .panel-label{display:block;font-size:13px;margin-bottom:8px}.telegram-answer p{font:21px/1.5 var(--serif);margin:0}.telegram-answer strong{display:block;font:27px/1.3 var(--serif);color:#51316e}.condition-omitted [data-telegram-target-answer]{color:#984a38}.telegram-challenge input{width:18px;height:18px;accent-color:#68418e}.telegram-challenge label{cursor:pointer}
@keyframes fact-connect{from{stroke-dashoffset:120}to{stroke-dashoffset:0}}
@media(max-width:680px){.telegram-examples button{font-size:14px;padding:8px 12px}.telegram-transfer{width:100%;height:40px;transform:none;overflow:hidden}.telegram-transfer svg{width:40px;height:85px;transform:rotate(90deg)}.telegram-answer{padding:21px;grid-template-columns:1fr 1fr;gap:20px}.telegram-answer>div:first-child{grid-column:1/-1}.telegram-answer strong{font-size:23px}.telegram-answer p{font-size:22px}.telegram-target [data-telegram-output]{min-height:65px}}
.skillfed-wish [data-wish-part]{border-radius:3px;box-decoration-break:clone;-webkit-box-decoration-break:clone;transition:background-color .3s}.skillfed-demo:not([data-story-step="0"]) [data-wish-part]{background:#ddebf7}.skillfed-demo [data-wish-part].is-matched{background:#c1dced;color:#174f76}.catalogue-match{text-align:left;background:white;color:var(--ink);font:inherit;cursor:pointer;position:relative;box-shadow:0 5px 0 -2px #f3f7fb,0 5px 0 -1px #d9e3ed,0 10px 0 -3px #eef3f8,0 10px 0 -2px #d9e3ed;transition:border-color .2s,box-shadow .5s,transform .5s}.catalogue-match:hover,.catalogue-match:focus-visible{border-color:#5895bd}.catalogue-match[aria-pressed=true]{border-color:#397da7;background:#f3f8fc}.skillfed-demo[data-story-step="0"] .catalogue-match{opacity:1;transform:none}.skillfed-demo[data-story-step="2"] .catalogue-match,.skillfed-demo[data-story-step="3"] .catalogue-match{box-shadow:0 0 0 0 #fff;transform:translateY(0)}.catalogue-match .match-purpose{display:block;font-size:14px;line-height:1.7;min-height:48px;margin-bottom:17px}.catalogue-match .match-inspect{display:block;font-size:14px;color:#246c94}.skillfed-inspector{background:#edf5fa;border:1px solid #c9ddeb;border-radius:7px;padding:25px;margin-top:28px;display:grid;grid-template-columns:1.25fr 1fr;gap:12px 40px}.skillfed-inspector h3{font:27px/1.3 var(--serif);margin:0 0 10px}.skillfed-inspector p{font-size:15px;line-height:1.75;max-width:48ch;margin:0}.skillfed-inspector dl{margin:0}.skillfed-inspector dl>div{padding:10px 0;border-bottom:1px solid #d2e1ed;display:grid;grid-template-columns:76px 1fr;gap:12px}.skillfed-inspector dt{font-size:13px;color:var(--muted)}.skillfed-inspector dd{font-size:14px;margin:0;overflow-wrap:anywhere}.skillfed-inspector>a{font-size:14px;grid-column:2;align-self:end}.skillfed-demo[data-story-step="1"] .pipeline-wire,.skillfed-demo[data-story-step="2"] .pipeline-wire,.skillfed-demo[data-story-step="3"] .pipeline-wire{background:linear-gradient(90deg,#3c80ad 0%,#a4c4dc 100%);animation:catalogue-wire .8s ease-out both;transform-origin:left}.skillfed-demo[data-story-step="1"] .catalogue-match{animation:catalogue-arrive .6s ease-out both}.skillfed-demo[data-story-step="1"] .catalogue-match:nth-child(2){animation-delay:.12s}.skillfed-demo[data-story-step="1"] .catalogue-match:nth-child(3){animation-delay:.24s}
@keyframes catalogue-wire{from{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes catalogue-arrive{from{transform:translateY(7px)}to{transform:translateY(0)}}
@media(max-width:680px){.skillfed-inspector{grid-template-columns:1fr;gap:15px;padding:21px}.skillfed-inspector>a{grid-column:1}.catalogue-match .match-purpose{grid-column:2;grid-row:1/3;min-height:0;margin:0}.catalogue-match .match-inspect{grid-column:1/-1;margin-top:7px}}
@media(prefers-reduced-motion:reduce){.fact-path,.pipeline-wire,.catalogue-match{animation:none!important;transition:none!important}}

/* Question-dependent fidelity keeps the source fixed while the reading task changes. */
.initiative-demo [hidden]{display:none!important}
.telegram-phone-toolbar{display:none}
@media(max-width:540px){
 .telegram-demo{overflow:visible}
 .telegram-demo.has-telegram-playback .telegram-workbench{display:block}
 .telegram-demo.has-telegram-playback .telegram-phone-toolbar{position:sticky;top:96px;z-index:5;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;align-self:start;gap:12px;padding:11px 12px;margin:0 0 12px;border:1px solid #d4c2e2;border-radius:7px;background:#fff;box-shadow:0 3px 8px #51316e0d}
 .telegram-phone-toolbar>div{min-width:0}
 .telegram-phone-toolbar span{display:block;font-size:13px;line-height:1.4;color:#5e476f}
 .telegram-phone-toolbar strong{display:block;margin-top:3px;font-size:15px;line-height:1.35;font-weight:600;color:#51316e}
 .telegram-phone-toolbar button{min-height:44px;min-width:74px;padding:9px 11px;border:1px solid #68418e;border-radius:5px;background:#68418e;color:#fff;font:550 14px/1.4 var(--sans,system-ui,sans-serif);cursor:pointer}
 .telegram-phone-toolbar button:focus-visible{outline:3px solid #996b30;outline-offset:3px}
}
.telegram-question-choice{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 20px;margin:23px 0 0}
.telegram-question-choice>span{font-size:15px;font-weight:600;color:#5c4470}
.telegram-question-choice>div{display:flex;gap:8px;flex-wrap:wrap}
.telegram-question-choice button{min-height:44px;padding:9px 14px;border:1px solid #c9b7da;border-radius:5px;background:white;color:#5b3d75;font:550 15px/1.4 var(--sans,system-ui,sans-serif);cursor:pointer}
.telegram-question-choice button[aria-pressed=true]{border-color:#80579e;background:#efe4f7;color:#51316e}
.telegram-question-choice button:focus-visible{outline:3px solid #996b30;outline-offset:3px}
.telegram-target .telegram-notation{margin:16px 0 0;font:500 14px/1.6 ui-monospace,monospace;color:#5e476f;overflow-wrap:anywhere}
.telegram-demo[data-telegram-example=relation] [data-telegram-output]{font-family:ui-monospace,monospace;font-size:clamp(16px,1.8vw,21px);line-height:1.8;overflow-wrap:anywhere}
.telegram-demo.condition-omitted:not(.answer-unsupported) [data-telegram-target-answer]{color:#51316e}
.telegram-demo.answer-unsupported [data-telegram-target-answer]{color:#8b402e}

/* The match inspector ends in a specific, source-linked instruction file. */
.skillfed-request-link{grid-column:1/-1;padding:0 0 12px;border-bottom:1px solid #c5d9e7}
.skillfed-request-link .panel-label{display:block;color:#4a687b;font-size:14px;margin-bottom:8px}
.skillfed-inspector .skillfed-request-link p{font-size:18px;line-height:1.55;max-width:none;color:#244f6b}
.skillfed-request-arrow{display:block;margin-top:10px;font-size:19px;line-height:1;color:#416f8b}
.skillfed-document{grid-column:1/-1;display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 16px;padding-top:13px;border-top:1px solid #c5d9e7;min-width:0}
.skillfed-document .panel-label{font-size:14px;color:#4a687b;margin:0;flex:none}
.skillfed-document a{min-width:0;color:#235d82;text-underline-offset:3px}
.skillfed-document code{font:500 14px/1.6 ui-monospace,monospace;white-space:normal;overflow-wrap:anywhere;background:none;padding:0;color:inherit}
.skillfed-payload{grid-column:1/-1;padding:20px 22px;border-left:3px solid #497e9f;border-radius:0 7px 7px 0;background:#fff;margin:5px 0 0}
.skillfed-payload h4{font-size:16px;line-height:1.5;margin:0 0 13px;color:#294f65}
.skillfed-payload ol{margin:0;padding-left:22px}
.skillfed-payload li{padding-left:4px;margin:10px 0;font-size:16px;line-height:1.65;color:#36576c;overflow-wrap:anywhere}
.skillfed-inspector .skillfed-payload p{font-size:14px;line-height:1.6;color:#506a79;margin:14px 0 0;max-width:none}
.skillfed-demo[data-story-step="3"] .skillfed-payload{animation:skill-source-reveal .35s ease-out both}
@keyframes skill-source-reveal{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:680px){
 .telegram-question-choice{align-items:flex-start;flex-direction:column;gap:10px}
 .telegram-question-choice>div{width:100%}
 .telegram-question-choice button{flex:1;min-width:0;font-size:14px;padding:9px 11px}
 .skillfed-inspector .skillfed-request-link p{font-size:17px}
 .skillfed-payload{padding:17px 16px}
 .skillfed-payload ol{padding-left:18px}
 .skillfed-payload li{padding-left:2px}
}
@media(prefers-reduced-motion:reduce){.skillfed-payload{animation:none!important;transition:none!important}}

/* One compact scene keeps the existing controls beside the changing source record. */
.skillfed-demo .skillfed-compact-inspector{display:block;padding:24px;margin-top:20px}
.skillfed-compact-inspector>.story-caption{border:0;padding:0;margin:0;min-height:0}
.skillfed-compact-inspector>.story-caption p{font-size:16px;line-height:1.6;max-width:68ch;margin:8px 0 0}
.skillfed-compact-inspector>.story-controls{padding:17px 0 15px}
.skillfed-capability-choices{display:flex;flex-wrap:wrap;gap:8px;border-bottom:1px solid #c4d8e6;padding-bottom:17px}
.skillfed-capability-choices button{min-height:44px;padding:9px 14px;border:1px solid #b3ccdd;border-radius:5px;background:#fff;color:#285c7c;font:550 15px/1.4 var(--sans,system-ui,sans-serif);cursor:pointer}
.skillfed-capability-choices button[aria-pressed=true]{border-color:#3a789f;background:#dcecf6;color:#214f6d}
.skillfed-capability-choices button:focus-visible,.skillfed-provenance a:focus-visible{outline:3px solid #9d6c32;outline-offset:3px}
.skillfed-selected-result{margin:17px 0 12px}
.skillfed-selected-result .skillfed-request-link{padding:0;border:0}
.skillfed-selected-result .skillfed-request-link p{font-size:18px;line-height:1.5}
.skillfed-selected-result .skillfed-request-arrow{margin:8px 0}
.skillfed-selected-result .panel-label{margin:0 0 6px;font-size:14px;color:#4a687b;display:block}
.skillfed-selected-result h3{font-size:25px;line-height:1.25;margin:0}
.skillfed-provenance{display:flex;align-items:baseline;flex-wrap:wrap;gap:7px 15px;font-size:14px;line-height:1.6;color:#4a6577;padding:0 0 7px}
.skillfed-provenance a{font-size:14px;color:#235d82;text-underline-offset:3px}
.skillfed-provenance>span{font-weight:550}
.skillfed-compact-inspector>.skillfed-payload{margin-top:15px;padding:17px 19px}
.skillfed-compact-inspector>.skillfed-payload h4{margin-bottom:9px}
.skillfed-compact-inspector>.skillfed-payload li{margin:7px 0;font-size:16px;line-height:1.6}
.skillfed-compact-inspector>.skillfed-payload p{margin-top:10px}
@media(min-width:760px){
 .skillfed-selected-result{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;column-gap:72px;margin:23px 0 20px}
 .skillfed-selected-result>div{min-width:0}
 .skillfed-selected-result .skillfed-request-link{grid-column:auto;position:relative}
 .skillfed-selected-result .skillfed-request-arrow{position:absolute;right:-46px;top:50%;margin:0;transform:translateY(-50%) rotate(-90deg)}
}
@media(max-width:680px){
 .skillfed-demo .skillfed-compact-inspector{padding:18px 16px}
 .skillfed-compact-inspector>.story-controls{gap:7px;padding:15px 0 12px}
 .skillfed-compact-inspector>.story-controls button{font-size:14px;padding:8px 10px}
 .skillfed-compact-inspector>.story-controls button:first-child{min-width:0}
 .skillfed-compact-inspector>.story-controls p{margin-top:0}
 .skillfed-capability-choices{gap:7px;padding-bottom:14px}
 .skillfed-capability-choices button{font-size:14px;padding:8px 11px}
 .skillfed-selected-result{margin-top:15px}
 .skillfed-selected-result .skillfed-request-link p{font-size:17px}
 .skillfed-compact-inspector>.skillfed-payload{padding:16px 14px}
}
