/* Result stays outside the fixed hero. All overrides are isolated to this tool. */
.letrou-engine{max-width:1120px;margin:28px auto;padding:24px;border:1px solid #d5e3ed;border-radius:20px;background:#fff;color:#18364b;box-shadow:0 8px 30px #11365312;scroll-margin-top:90px;overflow:visible}
.letrou-engine[hidden],.letrou-engine [hidden]{display:none!important}
.letrou-engine .cag-workspace{width:100%;padding:0;background:none;border:0;box-shadow:none}
.letrou-engine h2{font-size:24px;margin:0 0 18px}.letrou-engine .cag-primary{background:#1479cf;color:white;border:1px solid #1479cf}.letrou-engine .cag-secondary{color:#23435b;background:#edf4f9;border:1px solid #bcd1df}
.letrou-engine .cag-sheet-preview{max-height:none!important;min-height:280px;height:auto;overflow:visible!important;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;color:#1c3546;background:#f9fcfe;padding:20px}
.letrou-engine .cag-sheet-preview-line.is-section{color:#d12b37;font-weight:600}.letrou-engine .cag-action-row,.letrou-engine .cag-inline-actions{flex-wrap:wrap;gap:8px}.letrou-engine .cag-song-hints{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:16px 0}
.letrou-engine input:not([type=checkbox]):not([type=range]){width:100%;min-height:42px}.letrou-engine .lt-engine-consent{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.5;margin:20px 0 12px}.letrou-engine [data-engine-page]{display:inline-block;margin:14px;color:#0865b3;text-decoration:underline}.letrou-engine [data-engine-cancel]{margin:12px}.letrou-engine .cag-file-card,.letrou-engine .cag-progress-card{margin:14px 0}.letrou-engine .cag-song-hints label{min-width:0}
@media(max-width:760px){.letrou-engine{margin:20px 12px;padding:16px;border-radius:16px;max-width:calc(100% - 24px)}.letrou-engine h2{font-size:20px}.letrou-engine .cag-song-hints{grid-template-columns:1fr}.letrou-engine .cag-sheet-preview{padding:14px}.letrou-engine button{min-height:40px}.letrou-engine .cag-action-row button{flex:1 1 135px}.letrou-engine .cag-recent-grid{grid-template-columns:1fr}}

.letrou-engine.cag-tool{--cag-accent:#1479cf;--cag-accent-dark:#0864ad;--cag-ink:#18364b;--cag-muted:#536d80;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.letrou-engine h2,.letrou-engine h3{font-family:inherit}.letrou-engine .cag-primary{box-shadow:0 5px 16px #1479cf20}

/* Match the approved song-page typography without disabling A−/A+ controls. */
.letrou-engine .cag-sheet-preview{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;font-size:27px;line-height:1.82;font-weight:580;letter-spacing:.002em;color:#101a25}
.letrou-engine .cag-sheet-preview-line{white-space:pre-wrap;overflow-wrap:anywhere;min-height:1.82em}
@media(max-width:1023px){.letrou-engine .cag-sheet-preview{font-size:22px;line-height:1.78;padding:18px 14px}}
/* LETROU identity across every part of the reused tool. */
html body .letrou-engine{--cag-accent:#1479cf;--cag-accent-dark:#0864ad;--cag-ink:#18364b;--cag-muted:#4b6478;--cag-border:#cddfeb;--cag-soft:#f2f7fb;--cag-blue:#1479cf;color:#18364b;font:400 16px/1.55 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;isolation:isolate}
html body .letrou-engine :is(p,small,label,span,input,select,textarea,button,a){font-family:inherit;letter-spacing:normal}
html body .letrou-engine p{font-size:16px;font-weight:400;line-height:1.6;color:#3c566d}
html body .letrou-engine :is(small,.cag-local-save-status,.cag-recent-actions-note,.cag-repertoire-bookmark,.cag-repertoire-sync,.cag-repertoire-share-note span,.cag-editor-head p,.cag-field span){font-size:14px!important;line-height:1.55!important;font-weight:400!important;color:#4b6478!important}
html body .letrou-engine :is(strong,b){font-weight:650}
html body .letrou-engine :is(h2,h3,h4){color:#18364b;font-weight:650;line-height:1.3}
html body .letrou-engine h2{font-size:24px}html body .letrou-engine h3{font-size:20px}
html body .letrou-engine :is(button,.cag-file-trigger){font-size:15px!important;font-weight:600!important;line-height:1.4;min-height:44px;padding:10px 15px;border-radius:11px;white-space:normal;max-width:100%;letter-spacing:0;box-shadow:none}
html body .letrou-engine :is(input,select,textarea){font-size:16px!important;font-weight:400!important;color:#18364b;background:#fff;border-color:#bfd4e4;border-radius:11px;min-width:0;max-width:100%;line-height:1.45}
html body .letrou-engine input[type=checkbox]{accent-color:#1479cf;width:18px;min-width:18px;height:18px;min-height:18px;flex:none;margin:2px 0}
html body .letrou-engine :is(button,a,input,select,textarea):focus-visible{outline:3px solid #8ec6f2;outline-offset:3px}
html body .letrou-engine button:disabled{opacity:1;color:#52677a;background:#eef3f7;border-color:#d5e0e9;cursor:not-allowed;box-shadow:none}
html body .letrou-engine .cag-primary{color:#fff;background:#1479cf;border-color:#1479cf;box-shadow:0 4px 12px #1479cf18}
html body .letrou-engine .cag-primary:hover:not(:disabled){background:#0864ad;border-color:#0864ad}
html body .letrou-engine .cag-primary:disabled{color:#4b6478;background:#e1ecf4;border-color:#c8dce9}
html body .letrou-engine :is(.cag-secondary,.cag-link-button){color:#215878;background:#f1f7fb;border:1px solid #bed7e9}
html body .letrou-engine :is(.cag-secondary,.cag-link-button):hover:not(:disabled){background:#e5f1fa;border-color:#82b4da}
html body .letrou-engine :is(.cag-recent-library,.cag-study-switcher,.cag-result-feedback,.cag-feedback-reasons,.cag-testimonial-invite,.cag-retention-card,.cag-continue-study,.cag-repertoire-save){background:#f3f8fc!important;border-color:#cddfeb!important;color:#18364b;box-shadow:0 6px 20px #18364b05}
html body .letrou-engine :is(.cag-recent-card,.cag-study-tab){background:#fff!important;border-color:#cfdfeb!important;color:#18364b;font-weight:500}
html body .letrou-engine :is(.cag-recent-card.is-active,.cag-study-tab.is-active){background:#eaf4fc!important;border-color:#1479cf!important;box-shadow:0 0 0 1px #1479cf12}
html body .letrou-engine :is(.cag-recent-heading,.cag-study-switcher__head,.cag-feedback-title,.cag-recent-count,.cag-recent-favorite,.cag-recent-kicker,.cag-repertoire-kicker,.cag-feedback-gate__eyebrow){color:#0864ad!important;font-weight:650!important}
html body .letrou-engine .cag-recent-card :is(h3,strong){font-size:16px!important;color:#18364b;font-weight:600}
html body .letrou-engine .cag-recent-library :is(p,span){color:#425f74;font-weight:400}
html body .letrou-engine .cag-recent-clear{color:#a52b39!important;background:#fff;border-color:#e3cbd0}
html body .letrou-engine .cag-translation-target{color:#18364b!important;border-color:#bfd4e4!important;background:#fff!important;font-size:15px!important;min-height:44px}
html body .letrou-engine .cag-progress-card{background:#f3f8fc!important;border-color:#cddfeb!important;color:#18364b}
html body .letrou-engine .cag-progress-bar>span,html body .letrou-engine [data-progress]{background:linear-gradient(90deg,#1479cf,#59a6e4)!important}
html body .letrou-engine .cag-progress-card :is([data-work-state],[data-status],[data-stage]){font-size:16px!important;font-weight:500!important;color:#294b62!important}
html body .letrou-engine .cag-step{font-size:13px!important;font-weight:600!important;background:#eaf1f7;color:#456378}
html body .letrou-engine .cag-step.is-active{background:#deeffb;color:#0864ad}html body .letrou-engine .cag-step.is-done{background:#e2f2eb;color:#1c6045}
html body .letrou-engine .cag-feedback-gate__dialog{background:#fff;border:1px solid #cddfeb;box-shadow:0 20px 70px #173b5a30;border-radius:20px;color:#18364b;padding:28px;max-height:calc(100dvh - 40px);overflow:auto}
html body .letrou-engine .cag-feedback-gate__dialog p{font-size:16px;color:#3c566d}
html body .letrou-engine .cag-feedback-gate__actions{gap:10px;flex-wrap:wrap}html body .letrou-engine .cag-feedback-gate__actions button{flex:1 1 160px}
html body .letrou-engine .cag-feedback-gate__close{color:#3c566d;background:#f1f7fb;border-color:#d5e3ed;min-width:44px}
html body .letrou-engine .cag-sheet-preview{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:#101a25;font-size:27px;font-weight:580;line-height:1.82;background:#fff;border:1px solid #d5e3ed;border-radius:16px;box-shadow:none}
html body .letrou-engine .cag-sheet-preview-line{font-size:inherit;font-weight:inherit;line-height:inherit;letter-spacing:.002em}
html body .letrou-engine .cag-sheet-preview-line.is-section{color:#c72c3d;font-weight:650}
html body .letrou-engine .lt-engine-consent{font-size:14px!important;font-weight:400!important;line-height:1.6;color:#425f74;gap:10px}
html body .letrou-engine .lt-engine-consent a{color:#0864ad;font-size:inherit;text-decoration:underline;text-underline-offset:3px}
html body .letrou-engine .cag-recent-grid{grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:14px}
html body .cag-page-drop-overlay{border-color:#1479cf;background:#eff7fcf2}html body .cag-page-drop-overlay__card{border-color:#bdd8ec}html body .cag-page-drop-overlay__icon{color:#1479cf;background:#e3f1fb}
@media(max-width:1023px){html body .letrou-engine{width:calc(100% - 24px);margin:20px auto;padding:16px;max-width:none;border-radius:16px;font-size:16px}html body .letrou-engine h2{font-size:21px}html body .letrou-engine h3{font-size:18px}html body .letrou-engine .cag-sheet-preview{font-size:22px;line-height:1.78;padding:18px 12px}html body .letrou-engine .cag-editor-head{padding-inline:0}html body .letrou-engine :is(.cag-inline-actions,.cag-action-row,.cag-recent-head,.cag-recent-library-head,.cag-repertoire-save-row){display:flex;gap:8px;flex-wrap:wrap}html body .letrou-engine .cag-inline-actions button{flex:1 1 100px;font-size:14px!important}html body .letrou-engine .cag-action-row button{flex:1 1 calc(50% - 8px);font-size:14px!important}html body .letrou-engine .cag-recent-grid{grid-template-columns:1fr}html body .letrou-engine .cag-recent-library{padding:16px}html body .letrou-engine .cag-recent-library :is(.cag-recent-desc,.cag-recent-sync-note){text-align:left;max-width:none;font-size:14px!important}html body .letrou-engine .cag-feedback-gate__dialog{padding:22px 18px;width:calc(100vw - 28px);max-width:480px;max-height:calc(100dvh - 28px)}html body .letrou-engine .cag-repertoire-save-row>input{flex:1 1 100%;width:100%}html body .letrou-engine .cag-repertoire-save-row>button{flex:1 1 auto}}
@media(prefers-reduced-motion:reduce){html body .letrou-engine *{animation:none!important;scroll-behavior:auto!important}}
html body .letrou-engine{--cag-global-accent:#1479cf;--cag-global-primary:#18364b}
html body .letrou-engine :is(.cag-recent-sheets,.cag-result-session-bar,.cag-repertoire-savebox,.cag-saved-repertoires){background:#f3f8fc!important;border-color:#cddfeb!important;box-shadow:0 6px 20px #18364b05!important}
html body .letrou-engine .cag-recent-sheets .cag-recent-head>div>span{color:#0864ad!important;font-weight:650!important;font-size:12px!important}
html body .letrou-engine :is(.cag-recent-fav,.cag-recent-card.is-current .cag-recent-fav){color:#0864ad!important}
html body .letrou-engine :is(.cag-autosave-note,.cag-recent-head small,.cag-recent-card>small,.cag-recent-card span,.cag-result-session-bar small,.cag-repertoire-savebox small){font-size:14px!important;font-weight:400!important;color:#4b6478!important;line-height:1.55!important}
html body .letrou-engine .cag-sheet-preview{font-size:27px!important}
html body .letrou-engine .cag-result-feedback>div{flex-wrap:wrap;min-width:0}
@media(max-width:1023px){html body .letrou-engine .cag-sheet-preview{font-size:22px!important}html body .letrou-engine .cag-recent-head{align-items:flex-start;flex-direction:column;gap:10px}html body .letrou-engine .cag-recent-head small{text-align:left;max-width:none}html body .letrou-engine .cag-repertoire-savebox__controls{flex-direction:column;align-items:stretch}html body .letrou-engine .cag-repertoire-savebox__controls input{width:100%;min-width:0}html body .letrou-engine .cag-editor-head .cag-inline-actions>*{flex:1 1 calc(50% - 8px)!important}html body .letrou-engine .cag-editor-head .cag-inline-actions .cag-translation-target{flex:1 1 100%!important;max-width:100%;width:100%;color:#18364b!important;border-color:#bfd4e4!important}}

html body .letrou-engine :is(.cag-file-icon,.cag-upload-icon){background:#e8f3fc!important;color:#0864ad!important}
.letrou-engine .lt-engine-auto-publish-note{margin:14px 0 6px;padding:11px 13px;border:1px solid #cfe0ec;border-radius:10px;background:#f4f9fd;color:#31556e;font-size:13px;line-height:1.5}


/* LETROU v1.35.1 — confirmação de qualidade */
html body .letrou-engine .cag-result-feedback{position:relative;z-index:2}
html body .letrou-engine .cag-result-feedback .cag-feedback-main button,html body .letrou-engine .cag-feedback-reasons button,html body .letrou-engine .cag-feedback-gate__actions button,html body .letrou-engine .cag-feedback-gate__reasons button{cursor:pointer;pointer-events:auto;font-weight:800!important;min-height:46px}
html body .letrou-engine .cag-result-feedback.is-sent{border-color:#9ddbb8!important;background:#f1fbf5!important}
html body .letrou-engine .cag-feedback-gate__dialog h3{font-size:25px;line-height:1.2;color:#173b5a}
html body .letrou-engine .cag-feedback-gate__eyebrow{font-size:12px;letter-spacing:.08em;text-transform:uppercase}
