/* Estilos exclusivos dos capítulos originalmente publicados no Códice.
   Atividades convertidas usam a paleta vinho/dourado da FSM. */
.imported-content{--imp-wine:var(--wine);--imp-gold:var(--gold);--imp-soft:var(--soft);--imp-line:var(--line)}
.imported-content .ch-head{margin:0 0 31px}
.imported-content .ch-head .ch-title{margin:12px 0 23px}
.imported-content .ch-head .eyebrow{font-size:11px;letter-spacing:.16em;margin-bottom:9px;color:var(--gold)}
.imported-content .ch-head .rule{display:flex;gap:8px;margin:0 0 19px}
.imported-content .ch-head .rule i,.imported-content .ch-head .rule b{display:block;height:3px;border-radius:5px;background:var(--gold);width:58px}
.imported-content .ch-head .rule b{width:22px;background:var(--pink)}
.imported-content .ch-head .ch-lead{color:var(--muted);font-size:1.08em;line-height:1.6}
.imported-content .ch-meta{display:flex;gap:15px;flex-wrap:wrap;color:var(--muted);font-size:13px}
.imported-content .ch-meta span{display:inline-flex;gap:6px;align-items:center}
.imported-content .ch-meta svg{display:none}
.imported-content .prose{font-size:1em;line-height:1.85}
.imported-content .prose h2{padding-left:16px;border-left:3px solid var(--gold);font-size:1.38em}
.imported-content .prose h3{color:var(--body)}
.imported-content .prose p{max-width:100%}
.imported-content .prose .qs{list-style:none;padding-left:0;display:grid;gap:4px}
.imported-content .prose .qs li{position:relative;padding-left:21px;margin-bottom:0}
.imported-content .prose .qs li:before{content:'?';position:absolute;left:0;color:var(--gold);font-weight:bold}
.imported-content .bl{padding-left:25px}
.imported-content .say{border-left:3px solid var(--wine);background:var(--soft);border-radius:0 10px 10px 0;padding:13px 19px;font-size:1.02em;color:var(--body)}
.imported-content .say.spec{border-color:var(--gold)}
.imported-content .callout{border:1px solid var(--line);border-left:4px solid var(--gold);background:var(--soft);border-radius:12px;padding:20px 23px;margin:28px 0}
.imported-content .callout.dark{background:var(--wine);border-color:var(--wine);color:#fffcf7}
.imported-content .callout.dark :is(p,li,span,strong){color:#fffcf7}
.imported-content .callout.dark .eyebrow{color:#edceaa}
.imported-content .ix{font-size:14px;line-height:1.6;margin:28px 0;padding:22px 24px;background:var(--paper);border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow)}
.imported-content .ix-head{display:flex;align-items:center;gap:10px;padding-bottom:13px;margin-bottom:15px;border-bottom:1px solid var(--line);font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--wine);font-weight:750}
.imported-content .ix-head svg{display:none}
.imported-content .ix-head .badge{background:var(--blush);border-radius:8px;width:19px;height:19px;display:inline-block}
.imported-content .ix-head .cnt{margin-left:auto;letter-spacing:0;text-transform:none;font-size:11px;color:var(--muted)}
.imported-content .ix-lead{font-size:13px;color:var(--muted);margin:0 0 14px}
.imported-content .ix h3{font-size:17px;margin:12px 0 13px}
.imported-content .abc-case{background:var(--soft);padding:18px 21px;border-radius:11px}
.imported-content .abc-case-l{font-size:11px;text-transform:uppercase;font-weight:800;color:var(--wine);letter-spacing:.1em}
.imported-content .abc-text{font-size:15px;line-height:1.7;margin:8px 0}
.imported-content .abc .cseg{background:none;color:inherit;padding:0 2px}
.imported-content .abc[data-sel=a] .cseg[data-s=a]{background:rgba(178,146,98,.33)}
.imported-content .abc[data-sel=b] .cseg[data-s=b]{background:rgba(216,0,119,.14)}
.imported-content .abc[data-sel=c] .cseg[data-s=c]{background:rgba(83,5,44,.16)}
.imported-content .abc-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:15px 0}
.imported-content .abc-arrow{display:none}
.imported-content .abc-step{color:var(--body);background:var(--paper);border:1px solid var(--line);padding:15px 12px;display:flex;flex-direction:column;text-align:left;gap:5px;border-radius:10px;min-width:0}
.imported-content .abc-step[aria-pressed=true]{background:var(--blush);border-color:var(--wine)}
.imported-content .abc-n{font-size:11px;color:var(--gold);font-weight:750}
.imported-content .abc-k{font-size:12px;font-weight:750;text-transform:uppercase}
.imported-content .abc-d{font-size:12px;color:var(--muted)}
.imported-content .abc-panel{margin-top:14px}
.imported-content .abc-ex{padding:15px 18px;border-left:3px solid var(--gold);background:var(--soft);border-radius:0 10px 10px 0}
.imported-content .abc-ex[hidden]{display:none}
.imported-content .abc-ex-h{font-size:11px;font-weight:750;letter-spacing:.1em;text-transform:uppercase;color:var(--wine);margin-bottom:8px}
.imported-content .abc-ex p{margin:0 0 10px;font-size:14px;line-height:1.6}
.imported-content .abc-ex p:last-child{margin-bottom:0}
.imported-content .chain{list-style:none!important;padding:0!important;margin:0!important}
.imported-content .chain li{margin:0!important;border-left:2px solid var(--gold);padding:0 0 0 18px;position:relative}
.imported-content .chain li:before{content:'';position:absolute;left:-5px;top:18px;width:8px;height:8px;background:var(--gold);border-radius:50%}
.imported-content .chain .st{color:var(--body);padding:11px 13px;border-radius:8px;background:transparent;border:1px solid transparent;width:100%;text-align:left;display:flex;gap:10px;flex-wrap:wrap;font-size:14px}
.imported-content .chain li.broken .st{background:var(--error-bg);border-color:var(--error)}
.imported-content .chain li.off .st{opacity:.4}
.imported-content .chain-why{width:100%;font-size:12px;color:var(--error)}
.imported-content .chain-fb:not([hidden]){padding:17px 19px;background:var(--soft);border-radius:12px;margin-top:16px;font-size:14px}
.imported-content .chain-fb p{margin:0 0 10px}
.imported-content .activity .activity-title{font-size:15px;line-height:1.45;margin:0}
.imported-content .activity .activity-response p{margin:0 0 11px}
.imported-content .activity .activity-response blockquote{margin:9px 0}
.imported-content .activity .activity-response small{color:var(--muted)}
.imported-content .activity .activity-stages{margin-bottom:14px}
.imported-content .activity .stage-btn[aria-selected=true]{background:var(--wine);color:#fff;border-color:var(--wine)}
.imported-content .activity details{margin:10px 0;border:1px solid var(--line);border-radius:8px;overflow:hidden}
.imported-content .activity summary{font-weight:700;font-size:13px;cursor:pointer;padding:15px;background:var(--soft)}
.imported-content .activity details>div{padding:14px 17px;font-size:13px}
.imported-content .fsm-review{margin:35px 0}
.imported-content .fsm-review>h2{border:0;padding:0;margin-bottom:8px}
.imported-content .fsm-review-intro{color:var(--muted);font-size:14px}
.imported-content .fsm-review .activity{margin:15px 0}
.imported-content .fill-s{font-size:17px;margin-bottom:17px}
.imported-content .fill-answer{color:var(--wine);border-bottom:2px solid var(--gold);padding:0 4px}
.imported-content .fill-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:17px 0}
.imported-content .fill-feedback{font-size:14px}
.imported-content .fsm-reveal{width:100%;min-height:95px;background:var(--soft);color:var(--body);border:1px solid var(--line);border-radius:10px;padding:15px;display:flex;flex-direction:column;text-align:left;gap:12px}
.imported-content .fsm-reveal:hover{border-color:var(--gold)}
.imported-content .fsm-reveal-answer{display:flex;flex-direction:column;gap:6px;color:var(--body);font-size:13px;line-height:1.6}
.imported-content .fsm-reveal-answer[hidden]{display:none}
.imported-content .fsm-reveal-answer b{color:var(--wine)}
.imported-content .fsm-video-player{aspect-ratio:16/9;display:grid;place-items:center;background:linear-gradient(145deg,var(--wine),#751f49);border-radius:12px;overflow:hidden}
.imported-content .fsm-video-player iframe{width:100%;height:100%;border:0}
.imported-content .fsm-legacy-video>p{font-size:14px;color:var(--muted)}
.imported-content .refs{font-size:13px;line-height:1.65;padding-left:0;list-style:none}
.imported-content .refs li{border-bottom:1px solid var(--line);padding:10px 0;display:flex;gap:13px}
.imported-content .ref-n{font-size:11px;font-weight:bold;color:var(--gold)}
.imported-content .term{color:var(--wine);text-decoration:underline;text-decoration-color:var(--pink);text-underline-offset:3px;cursor:pointer}
@media(max-width:780px){.imported-content .abc-steps{grid-template-columns:1fr}.imported-content .fill-options{grid-template-columns:1fr}}
