.connection-feedback{margin-top:22px;padding:16px 18px;border:1px solid;border-radius:12px;transition:.25s}
.feedback-head{display:flex;gap:12px;align-items:center}
.feedback-head p{margin:4px 0 0;font-size:14px}
.feedback-icon{width:14px;height:14px;border-radius:50%;flex:0 0 auto}
.connection-feedback.waiting{background:#fff9e8;border-color:#ead48a;color:#725812}
.waiting .feedback-icon{background:#e0aa18;box-shadow:0 0 0 0 #e0aa1866;animation:pulse 1.5s infinite}
.connection-feedback.syncing{background:#edf7ff;border-color:#9bc9eb;color:#164f78}
.syncing .feedback-icon{border:3px solid #8bc2e8;border-top-color:#176da6;background:transparent;animation:spin .8s linear infinite}
.connection-feedback.success{background:#edf9f2;border-color:#8ed0aa;color:#14633b}
.success .feedback-icon{background:#159254}
.connection-feedback.error{background:#fff0ef;border-color:#e6aaa6;color:#8f2923}
.error .feedback-icon{background:#c43d35}
.sync-progress{display:grid;grid-template-columns:1fr 44px;gap:10px;align-items:center;margin-top:14px}
.sync-track{height:10px;background:#fff;border-radius:10px;overflow:hidden;box-shadow:inset 0 0 0 1px #176da622}
.sync-track div{height:100%;width:0;background:linear-gradient(90deg,#17815c,#25b77d);border-radius:10px;transition:width .5s ease}
.sync-progress span{font:700 12px monospace;text-align:right}
@keyframes pulse{70%{box-shadow:0 0 0 10px #e0aa1800}}
@keyframes spin{to{transform:rotate(360deg)}}
.qr-panel.failed{grid-template-columns:1fr}
.qr-panel.failed>img,.qr-panel.failed>div>h3,.qr-panel.failed>div>ol{display:none}
.header-top{display:flex;align-items:center;justify-content:space-between;gap:20px}
.tutorial-button{background:#fff;color:#17211d;border:1px solid #d8d8cf;box-shadow:0 3px 12px #17211d12;padding:10px 15px}
.tutorial-button:hover{background:#17211d;color:#fff}
.tutorial-modal{width:min(720px,calc(100% - 28px));max-height:88vh;border:0;border-radius:18px;padding:28px;background:#fffdf8;color:#17211d;box-shadow:0 24px 80px #08120d55}
.tutorial-modal::backdrop{background:#0a1510aa;backdrop-filter:blur(3px)}
.tutorial-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;border-bottom:1px solid #d8d8cf;padding-bottom:18px}
.tutorial-heading h2{font:800 30px/1.1 Georgia,serif;margin:8px 0 0}
.close-tutorial{display:grid;place-items:center;width:38px;height:38px;padding:0;border-radius:50%;background:#e7e8e1;color:#17211d;font-size:25px}
.tutorial-intro{font-size:17px;color:#66736d}
.tutorial-steps{list-style:none;padding:0;margin:20px 0;display:grid;gap:10px}
.tutorial-steps li{display:grid;grid-template-columns:38px 1fr;gap:13px;align-items:start;padding:12px;border-radius:11px;background:#f4f3ed}
.tutorial-steps li>span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#0d7a55;color:#fff;font-weight:800}
.tutorial-steps strong{display:block;margin:1px 0 3px}.tutorial-steps p{margin:0;color:#66736d;line-height:1.45}
.tutorial-safe{border-left:4px solid #d6ff56;background:#f6fadf;padding:13px 15px;border-radius:7px;margin:16px 0}
.tutorial-start{width:100%;font-size:16px;padding:14px}
@media(max-width:560px){.header-top{align-items:flex-start}.tutorial-modal{padding:20px}.tutorial-heading h2{font-size:25px}}

/* Identidade visual minimalista */
:root{--surface:#fff;--surface-soft:#f7f8f5;--border:#e2e5df;--primary:#087a57;--primary-dark:#056044;--text:#14201b;--muted:#68736e}
body{background:radial-gradient(circle at 80% 0,#eaf4ee 0,transparent 34%),#f4f5f1;color:var(--text)}
main{width:min(1040px,calc(100% - 40px));padding:72px 0 48px}
header{max-width:720px;margin-bottom:46px}
header .eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--primary);letter-spacing:.18em}
header .eyebrow:before{content:"";width:7px;height:7px;border-radius:50%;background:#24b47e;box-shadow:0 0 0 5px #24b47e18}
h1{font-size:clamp(50px,7vw,76px);line-height:.98;letter-spacing:-.06em;margin:22px 0 20px}
header p{font-size:18px;line-height:1.6;color:var(--muted);margin:0}
.card{border:1px solid var(--border);border-radius:20px;padding:30px;background:#ffffffee;box-shadow:0 16px 45px #1b302408;backdrop-filter:blur(8px)}
.section-title{gap:16px;margin-bottom:26px}.section-title>span{background:#e7f4ed;color:var(--primary);font-size:11px;width:38px;height:38px}.section-title h2{font-size:23px;letter-spacing:-.025em}.section-title p{line-height:1.5}
.primary-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.primary-actions button{min-height:46px;padding:0 19px;border-radius:11px;transition:transform .18s,box-shadow .18s,background .18s}
.primary-actions button:hover{transform:translateY(-1px)}
#start-session{background:var(--primary);box-shadow:0 7px 18px #087a5725}
#start-session:hover{background:var(--primary-dark);box-shadow:0 9px 22px #087a5735}
.tutorial-button{background:#fff;color:var(--text);border:1px solid var(--border);box-shadow:none}
.tutorial-button span{display:inline-grid;place-items:center;width:21px;height:21px;border-radius:50%;background:#eef1ed;color:var(--primary);margin-right:5px;font-size:12px}
.tutorial-button:hover{background:var(--surface-soft);color:var(--text)}
.safety-note{display:flex;align-items:center;gap:8px;margin-top:18px!important;font-size:13px;color:var(--muted)}
.safety-note span{display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#e2f5eb;color:var(--primary);font-weight:800}
.toolbar input{background:var(--surface-soft);border-color:var(--border)}
.chats{border-color:var(--border);background:#fff}.chat{border-color:#edf0eb}.chat:hover{background:#f4faf6}
.export-bar{border-top:1px solid var(--border);padding-top:20px}
.download{border-radius:11px}.download.featured{box-shadow:0 7px 18px #087a5725}
.download.hidden{display:none}
aside{border:1px solid var(--border);border-left:1px solid var(--border);border-radius:14px;background:#ffffff90;padding:18px 20px;margin:24px 0;color:var(--muted)}
aside strong{display:block;margin-bottom:5px;font-size:13px;color:var(--text)}
.tutorial-modal{border:1px solid #ffffff80;border-radius:22px;padding:30px}
.tutorial-steps li{background:var(--surface-soft);border:1px solid transparent}.tutorial-steps li:hover{border-color:#cfe4d7;background:#f2f8f4}
.tutorial-steps li>span{background:var(--primary)}.tutorial-start{background:var(--primary)}
@media(max-width:650px){main{width:min(100% - 24px,1040px);padding-top:36px}header{margin-bottom:28px}h1{font-size:clamp(44px,15vw,62px)}.card{padding:22px;border-radius:16px}.primary-actions{align-items:stretch}.primary-actions button{flex:1}.safety-note{align-items:flex-start}}
.retention-modal{width:min(540px,calc(100% - 28px));border:1px solid #ffffff80;border-radius:22px;padding:30px;background:#fff;color:var(--text);box-shadow:0 24px 80px #08120d55}
.retention-modal::backdrop{background:#0a1510aa;backdrop-filter:blur(3px)}
.retention-modal>.close-tutorial{position:absolute;right:20px;top:20px}.retention-modal h2{font:800 30px/1.1 Georgia,serif;letter-spacing:-.03em;margin:12px 45px 8px 0}.retention-modal>p{color:var(--muted);line-height:1.5}
.retention-options{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin:22px 0}.retention-options input{position:absolute;opacity:0;pointer-events:none}.retention-options span{display:flex;align-items:baseline;justify-content:center;gap:4px;padding:16px 8px;border:1px solid var(--border);border-radius:12px;background:var(--surface-soft);cursor:pointer;transition:.18s}.retention-options b{font-size:22px}.retention-options input:checked+span{background:#e6f5ed;border-color:var(--primary);color:var(--primary);box-shadow:0 0 0 3px #087a5712}.retention-options input:focus-visible+span{outline:3px solid #087a5730}
.retention-info{font-size:13px;line-height:1.5;color:var(--muted);background:#f4f7f3;border-radius:10px;padding:12px 14px;margin-bottom:18px}
@media(max-width:480px){.retention-options{grid-template-columns:repeat(2,1fr)}.retention-modal{padding:24px}}
