/* Association et télécommande V5 : mêmes tons, commandes lisibles sur téléphone. */
.prompt-remote-dialog{width:min(620px,calc(100vw - 28px))}.prompt-remote-intro{font-size:.76rem;line-height:1.8;color:var(--prompt-muted);margin:16px 0}.prompt-remote-steps{display:grid;gap:14px}.prompt-remote-steps h3{font-size:.76rem;margin:0 0 9px}.prompt-remote-steps>div{min-width:0}.prompt-remote-steps label{display:grid;gap:7px;font-size:.71rem;color:var(--prompt-muted)}.prompt-remote-steps textarea{width:100%;min-height:70px;resize:vertical;border:1px solid var(--prompt-line);border-radius:7px;background:var(--prompt-field);color:var(--prompt-ink);font:11px/1.6 ui-monospace,monospace;padding:10px;overflow-wrap:anywhere}.prompt-remote-steps button{margin-top:8px}.prompt-remote-copy-row{display:flex;gap:7px}.prompt-remote-message{font-size:.74rem;line-height:1.8;background:var(--prompt-soft);color:var(--prompt-accent);padding:11px;border-radius:8px;margin:16px 0 0}.prompt-remote-message.is-error{color:#a05232;background:#fcf1e8}.prompt-remote-local{font-size:.68rem;color:var(--prompt-muted);line-height:1.8}.prompt-remote-connected{padding:15px;border:1px solid #9cb7a5;border-radius:9px;font-size:.8rem;line-height:1.8}.prompt-remote-connected p{margin:0}.prompt-remote-dialog .prompt-dialog-footer{margin-top:16px}.prompt-remote-dot{width:6px;height:6px;background:var(--prompt-muted);border-radius:50%;opacity:.4}.prompt-header-actions [data-remote-open][data-connected=true] .prompt-remote-dot{background:#579b6c;opacity:1}
.prompt-floating-placeholder{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;min-width:0;padding:30px;border:1px dashed #cdbfd6;border-radius:12px;text-align:center;background:var(--prompt-surface)}.prompt-floating-placeholder h2{font-size:1.15rem;font-weight:550;margin:0;color:var(--prompt-ink)}.prompt-floating-placeholder p{font-size:.8rem;line-height:1.9;max-width:360px;color:var(--prompt-muted);margin:0}.prompt-floating-placeholder>div{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:10px}
html[data-prompt-floating],html[data-prompt-floating] body.prompt-floating-surface{height:100%;min-height:0;overflow:hidden;margin:0}.prompt-floating-surface{display:flex;flex-direction:column}.prompt-floating-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:3px 10px;height:34px;min-height:34px;background:var(--prompt-surface);color:var(--prompt-muted);font-size:.6rem}.prompt-floating-bar button{min-height:26px;padding:3px 8px;font-size:.6rem}.prompt-floating-surface .prompt-player{height:auto!important;flex:1;width:100%;min-height:0;border:0;border-radius:0;order:0}.prompt-floating-surface .prompt-reader{padding-inline:26px}.prompt-floating-surface .prompt-time{display:none}
@media(max-width:1000px){.has-floating-reader .prompt-floating-placeholder{order:0;min-height:280px}.prompt-remote-steps textarea{font-size:16px}.prompt-remote-dialog{max-height:calc(100dvh - 24px)}}
@media(max-width:700px){.prompt-header-actions [data-floating]{display:none}.prompt-header-actions [data-remote-open]>[data-remote-label]{display:none}.prompt-header-actions [data-remote-open]{padding-inline:9px;gap:5px}.prompt-remote-dialog .prompt-dialog-heading h2{font-size:1rem}}
html[data-site-theme=dark] .prompt-remote-message.is-error{background:#3b281f;color:#ecc0a4}

.prompt-remote-page{--remote-bg:#111a28;--remote-panel:#182335;--remote-ink:#f2f5fa;--remote-muted:#aebbd0;--remote-line:#2b394e;--remote-accent:#c5a6df;color-scheme:dark;margin:0;min-height:100dvh;background:var(--remote-bg);color:var(--remote-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}.prompt-remote-page *{box-sizing:border-box}.prompt-remote-page [hidden]{display:none!important}.remote-shell{max-width:540px;margin:0 auto;padding:24px 18px max(24px,env(safe-area-inset-bottom))}.remote-header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.remote-header p{font-size:.66rem;letter-spacing:.04em;color:var(--remote-accent);margin:0 0 6px}.remote-header h1{font-size:1.55rem;letter-spacing:-.03em;font-weight:550;margin:0}.remote-connection{font-size:.64rem;border:1px solid var(--remote-line);border-radius:20px;padding:6px 9px;white-space:nowrap;color:var(--remote-muted);margin-top:2px}.remote-connection[data-connected=true]{color:#b1d9bf;border-color:#537b63;background:#20372b}.remote-message{font-size:.77rem;line-height:1.8;margin:18px 0;color:var(--remote-muted);min-height:22px}.remote-message.is-error{color:#efbba2}.remote-pairing{padding:18px;border:1px solid var(--remote-line);border-radius:13px;background:var(--remote-panel)}.remote-pairing h2{font-size:.95rem;font-weight:550;margin:0}.remote-pairing p{font-size:.75rem;line-height:1.85;color:var(--remote-muted);margin:11px 0 17px}.remote-pairing label{display:block;font-size:.75rem;color:var(--remote-muted);margin-bottom:8px}.remote-pairing textarea{width:100%;min-height:90px;border:1px solid var(--remote-line);border-radius:8px;padding:10px;background:var(--remote-bg);color:var(--remote-ink);font:16px/1.65 ui-monospace,monospace;resize:vertical;overflow-wrap:anywhere}.remote-pairing>div{margin-top:22px}.prompt-remote-page button{min-height:48px;border:1px solid var(--remote-line);border-radius:10px;background:var(--remote-panel);color:var(--remote-ink);font-family:inherit;font-size:.83rem;font-weight:550;line-height:1.5;padding:11px 12px;cursor:pointer;touch-action:manipulation}.prompt-remote-page button:disabled{opacity:.35;cursor:default}.prompt-remote-page button:hover:not(:disabled){border-color:#9573b1}.prompt-remote-page button:focus-visible,.prompt-remote-page textarea:focus-visible,.prompt-remote-page summary:focus-visible,.prompt-remote-page a:focus-visible{outline:2px solid var(--remote-accent);outline-offset:4px}.remote-pairing button{width:100%;margin-top:10px}.prompt-remote-page button.remote-primary{background:#9671b1;color:white;border-color:#9671b1}.remote-script{padding:18px;border:1px solid var(--remote-line);border-radius:13px;background:var(--remote-panel)}.remote-script>p:first-child{font-size:.67rem;color:var(--remote-accent);margin:0 0 8px}.remote-script h2{font-size:1.12rem;line-height:1.6;font-weight:550;margin:0;overflow-wrap:anywhere}.remote-script>p{font-size:.75rem;color:var(--remote-muted);line-height:1.7;margin:10px 0 15px}.remote-script progress{width:100%;height:5px;border:0;border-radius:10px;overflow:hidden;accent-color:var(--remote-accent);background:var(--remote-line)}.remote-script progress::-webkit-progress-bar{background:var(--remote-line)}.remote-script progress::-webkit-progress-value{background:var(--remote-accent)}.remote-metrics{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:.66rem;color:var(--remote-muted);font-variant-numeric:tabular-nums;margin-top:10px;flex-wrap:wrap}.prompt-remote-page .remote-play{width:100%;min-height:72px;margin:16px 0 12px;border-color:#b0d4bc;background:#dcece1;color:#294a36;font-size:1.22rem}.remote-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px}.remote-buttons button{min-height:60px}.prompt-remote-page .remote-keep{border-color:#537b63;color:#b1d9bf}.remote-more{margin:19px 0 0;border-top:1px solid var(--remote-line);padding-top:16px}.remote-more summary{font-size:.75rem;color:var(--remote-muted);cursor:pointer;min-height:32px}.remote-more .remote-buttons{margin-top:10px}.remote-more button:last-child{grid-column:1/-1;min-height:46px}.remote-footer{text-align:center;margin-top:26px;color:var(--remote-muted)}.remote-footer button{font-size:.72rem;min-height:42px;padding:8px 15px;background:transparent}.remote-footer p,.remote-footer a{font-size:.66rem;line-height:1.8;color:var(--remote-muted)}.remote-footer a{text-underline-offset:3px}.remote-footer p{margin:12px 0 7px}
@media(max-width:350px){.remote-shell{padding-inline:12px}.remote-header h1{font-size:1.35rem}.remote-header{gap:8px}.remote-connection{font-size:.58rem;padding:5px 7px}.remote-pairing{padding:14px}.remote-buttons button{font-size:.76rem;padding-inline:8px}}

@media(max-width:700px){.teleprompteur-v5 .prompt-header-actions [data-focus-label]{display:none}}
