
@charset "UTF-8";
:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#183e37;background:#e8eee6;--ink:#183e37;--muted:#5c7369;--forest:#175848;--lime:#d4e98e;--line:#d3dfd1;--ease:cubic-bezier(.2,.7,.2,1);font-synthesis:none;text-rendering:optimizeLegibility;color-scheme:light}
*{box-sizing:border-box}body{margin:0;min-width:280px;min-height:100dvh;padding:24px;background:radial-gradient(ellipse at 0 0,#d1e2d0,transparent 57%),radial-gradient(ellipse at 100% 95%,#e1e6ca,transparent 60%),#e8eee6}button,input,a{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;touch-action:manipulation;color:inherit}button:not(:disabled){transition:transform .17s var(--ease),box-shadow .17s var(--ease),border-color .17s var(--ease),filter .17s var(--ease)}button:not(:disabled):active{transform:translateY(2px) scale(.985)}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #197867;outline-offset:4px}input:focus-visible{outline:none}[hidden]{display:none!important}.icon{width:24px;height:24px;display:block;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.reversed{transform:rotate(180deg)}
.app-shell{max-width:1100px;margin:0 auto;position:relative;overflow:hidden;isolation:isolate;border:1px solid #fafdf4;border-radius:30px;background:linear-gradient(120deg,#fbfcf5f2,#eff4e9f2);box-shadow:inset 0 1px 0 #fff,0 2px 2px #44624913,0 30px 70px -30px #385f4a49}.app-shell:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:radial-gradient(#2e574d0d .55px,transparent .8px),repeating-linear-gradient(115deg,#fff3 0 1px,transparent 1px 6px);background-size:4px 4px,auto}.app-shell:after{content:"";position:absolute;top:0;left:0;right:0;height:5px;background:linear-gradient(90deg,#165948,#4b8668 45%,#b8ce77 82%,#d6e5a9)}
.app-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:21px 32px 18px;border-bottom:1px solid #d9e4d2;background:linear-gradient(115deg,#fffff9c4,#eaf1e2a8);box-shadow:0 1px 0 #fff}.brand{display:flex;align-items:center;gap:14px;text-decoration:none;color:#194b40;min-height:84px}.brand-avatar{width:86px;height:86px;object-fit:contain;border-radius:25px;background:radial-gradient(ellipse at 25% 0,#fff 0,#e0eaca 74%);border:1px solid #f8ffe8;box-shadow:inset 0 1px 2px #fff,0 3px 0 #c4d1b8,0 7px 12px -5px #3c5c3e35;filter:drop-shadow(0 1px 1px #47735214)}.brand>span{font-size:33px;font-weight:800;letter-spacing:3px;line-height:1;display:flex;align-items:center;gap:9px}.brand-dot{align-self:flex-end;width:7px;height:7px;border-radius:50%;margin-bottom:3px;background:#9eba49;box-shadow:0 0 0 4px #a7c3651c}.header-actions{display:flex;gap:10px}
.icon-button{position:relative;min-width:48px;min-height:48px;display:inline-flex;align-items:center;justify-content:center;flex:none;padding:12px;border:1px solid #cedaca;border-radius:15px;color:#376553;background:linear-gradient(145deg,#fffffb,#e7eddf);box-shadow:inset 0 1px 0 #fff,0 3px 0 #c9d5c2,0 5px 9px -4px #38583c24}.icon-button .icon{width:21px;height:21px}.icon-button:not(:disabled):active{box-shadow:inset 0 2px 4px #83977c33,0 1px 0 #c9d5c2}.icon-button[aria-pressed=false]{color:#61796a}.icon-button[aria-pressed=true]{color:#175b4b;border-color:#8aab83;background:linear-gradient(145deg,#f1f8df,#e0edc7)}
main{padding:30px 40px 22px}.voice-console{max-width:650px;margin:auto;text-align:center}.voice-console h1{font-size:31px;font-weight:600;letter-spacing:-1px;line-height:1.25;margin:0 0 16px;color:#234e41}.voice-deck{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;padding:0 0 10px}.mic-stage{width:286px;height:286px;position:relative;display:grid;place-items:center;isolation:isolate;margin-bottom:6px}.mic-stage:before{content:"";position:absolute;inset:6px;border:1px solid #fff;border-radius:50%;background:radial-gradient(circle,#e9f2d9 0,#edf3e2 54%,#f8fbf000 74%);box-shadow:inset 0 3px 12px #9baf8624,0 1px 0 #d5e0c9;z-index:-1}.dial-markers{position:absolute;inset:23px;border-radius:50%;border:1px solid #c5d5ae;box-shadow:0 0 0 8px #fff4,inset 0 0 0 8px #fffffb38;pointer-events:none}.dial-markers:before,.dial-markers:after{content:"";position:absolute;width:5px;height:5px;border-radius:50%;background:#88a965;top:50%;margin-top:-2px;box-shadow:0 1px 0 #fff}.dial-markers:before{left:6px}.dial-markers:after{right:6px}
.big-mic{width:204px;height:204px;position:relative;flex:none;display:grid;place-items:center;border:10px solid transparent;border-radius:50%;color:#f7ffe3;background:radial-gradient(circle at 30% 12%,#5a9370 0,#2f7259 32%,#16533f 70%,#103f35 100%) padding-box,conic-gradient(from 140deg,#89a44b,#f5ffd2 13%,#d3e68c 28%,#97b75b 45%,#86a047 53%,#edfac3 75%,#b8d278 90%,#89a44b) border-box;box-shadow:0 0 0 1px #a3bb7c,0 0 0 3px #fff9,0 7px 0 #7e9852,0 13px 7px -5px #5b734a70,0 24px 25px -15px #315d4260,inset 0 2px 2px #deffbd70,inset 0 -7px 12px #153b3859}.big-mic:before{content:"";position:absolute;inset:-7px;border-radius:50%;border:1px solid #9cb667;border-top:2px solid #ffffeb;border-left-color:#f1ffd3;pointer-events:none}.big-mic:after{content:"";position:absolute;inset:12px;border:1px solid #caf1b746;border-radius:50%;box-shadow:inset 0 1px 1px #fff2;pointer-events:none}.big-mic .icon{width:66px;height:66px;stroke-width:1.5;filter:drop-shadow(0 2px 1px #11392e99)}.big-mic:not(:disabled):active{transform:translateY(6px) scale(.97);box-shadow:0 0 0 1px #94ad6a,0 0 0 3px #fff9,0 2px 0 #7e9852,0 10px 18px -10px #315d4260,inset 0 4px 9px #0e362c66}.mic-label{font-size:17px;line-height:1.6;font-weight:600;color:#355c49}.voice-waves{display:flex;align-items:center;gap:4px;height:18px;margin-top:9px}.voice-waves i{width:3px;height:5px;border-radius:3px;background:#8fa776}.voice-waves i:nth-child(2n){height:9px}.voice-waves i:nth-child(3n){height:14px}.voice-waves i:nth-child(2){--i:1}.voice-waves i:nth-child(3){--i:2}.voice-waves i:nth-child(4){--i:3}.voice-waves i:nth-child(5){--i:4}.voice-waves i:nth-child(6){--i:5}.voice-waves i:nth-child(7){--i:6}
.search-form{margin-top:17px}.query-bar{display:flex;align-items:center;gap:9px;padding:6px 6px 6px 19px;min-width:0;border:1px solid #c7d5bf;border-top-color:#bacdb5;border-radius:19px;background:linear-gradient(145deg,#e9efdf,#fcfdf6);box-shadow:inset 0 3px 6px #55734c20,0 1px 0 #fff;transition:border-color .18s,box-shadow .18s}.query-bar:focus-within{border-color:#5f936e;box-shadow:inset 0 2px 5px #55734c15,0 0 0 3px #9abf7026}.query-bar input{width:100%;min-width:0;flex:1;border:0;outline:0;padding:10px 0;background:transparent;color:#1f4a3d;font-size:17px;line-height:1.5;appearance:none}.query-bar input::placeholder{color:#566d54;font-size:15px}.send-button{position:relative;min-width:50px;min-height:50px;flex:none;display:grid;place-items:center;border:1px solid #185641;border-radius:14px;background:radial-gradient(ellipse at 25% 0,#a0c39a66,transparent 75%),linear-gradient(145deg,#397b5d,#1d5843);color:#effbd9;box-shadow:inset 0 1px 0 #d7f3c959,0 3px 0 #174935,0 5px 8px -4px #294e3d40}.send-button .icon{width:23px;height:23px}.send-button:not(:disabled):active{box-shadow:inset 0 2px 5px #113c3a80,0 1px 0 #174935}
.shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:29px}.shortcut{position:relative;min-height:126px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;padding:19px 10px;border:1px solid #c1d1b8;border-top-color:#fff;border-radius:21px;background:radial-gradient(ellipse at 15% 0,#ffffffe8,transparent 80%),linear-gradient(140deg,#eaf0dd,#dce7cb);color:#355740;box-shadow:inset 0 1px 0 #fff,0 4px 0 #c1cfb0,0 9px 13px -7px #4d6d4138}.shortcut:after{content:"";position:absolute;inset:3px;border:1px solid #ffffff80;border-radius:17px;pointer-events:none}.shortcut-icon{width:52px;height:52px;display:grid;place-items:center;border:1px solid #fff8;border-radius:16px;color:#476e35;background:linear-gradient(145deg,#f9ffe7,#cfe2ad);box-shadow:inset 0 1px 0 #fff,0 2px 2px #8a9d6033}.shortcut-icon .icon{width:27px;height:27px}.shortcut strong{font-size:15px;font-weight:650;line-height:1.4;overflow-wrap:anywhere}.shortcut[data-module=pecas]{background:radial-gradient(ellipse at 15% 0,#fff,transparent 80%),linear-gradient(140deg,#e3eeeb,#d4e5e1);border-color:#c0d4cd;border-top-color:#fff;box-shadow:inset 0 1px 0 #fff,0 4px 0 #bdd0ca,0 9px 13px -7px #4d6d4138}.shortcut[data-module=pecas] .shortcut-icon{background:linear-gradient(145deg,#f2fcf4,#bcdacf);color:#316d62}.shortcut[data-module=procedimentos]{background:radial-gradient(ellipse at 15% 0,#fff,transparent 80%),linear-gradient(140deg,#f4eee0,#eae0ca);border-color:#dfceb2;border-top-color:#fff;box-shadow:inset 0 1px 0 #fff,0 4px 0 #d8c9ad,0 9px 13px -7px #856d4130}.shortcut[data-module=procedimentos] .shortcut-icon{background:linear-gradient(145deg,#fff7dd,#e9c994);color:#916a39}.shortcut[data-module=manuais]{background:radial-gradient(ellipse at 15% 0,#fff,transparent 80%),linear-gradient(140deg,#e8edf0,#dae2e8);border-color:#c6d0da;border-top-color:#fff;box-shadow:inset 0 1px 0 #fff,0 4px 0 #c3cdd5,0 9px 13px -7px #4d5e6d30}.shortcut[data-module=manuais] .shortcut-icon{background:linear-gradient(145deg,#f2f8ff,#c3d7e2);color:#4b6c82}.shortcut[aria-pressed=true]{border-color:#55846a;box-shadow:inset 0 0 0 2px #69956966,inset 0 1px 0 #fff,0 4px 0 #8fa77f,0 9px 13px -7px #4d6d4138}.shortcut:not(:disabled):active{transform:translateY(3px) scale(.985);box-shadow:inset 0 2px 6px #72846633,0 1px 0 #becbb0}.utilities{display:flex;align-items:center;justify-content:center;gap:18px;min-height:48px;margin-top:21px}.quiet{background:transparent;box-shadow:none;border-color:transparent;color:#6a816b}.quiet:active{box-shadow:none!important}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:46px;padding:10px 8px;border:0;background:transparent;color:#366249;font-size:14px;font-weight:600}.text-button .icon{width:20px;height:20px}
/* Resposta e continuação da conversa ficam na mesma superfície de toque. */
dialog{width:min(980px,calc(100% - 40px));max-width:none;max-height:calc(100dvh - 40px);margin:auto;padding:0;overflow:hidden;border:1px solid #fff;border-radius:25px;background:#f6f8ef;color:var(--ink);box-shadow:0 2px 4px #18433126,0 30px 90px -15px #173f3a70}dialog::backdrop{background:#30514866;backdrop-filter:blur(7px)}dialog[open]{animation:panel-in .18s var(--ease)}body.dialog-open{overflow:hidden}.panel{display:flex;flex-direction:column;height:min(860px,calc(100dvh - 42px));max-height:calc(100dvh - 42px)}.dialog-header{display:flex;align-items:center;gap:15px;flex:none;padding:18px 23px;background:linear-gradient(110deg,#eef4df,#f9fbf1);border-bottom:1px solid #d7e2cb;box-shadow:inset 0 3px 0 #527e60}.dialog-avatar{width:57px;height:57px;object-fit:contain;flex:none;filter:drop-shadow(0 3px 3px #476b3b33)}.dialog-title{flex:1;min-width:0}.eyebrow{display:block;font-size:11px;font-weight:650;line-height:1.5;letter-spacing:.5px;color:#506f4c}.dialog-header h2{font-size:25px;font-weight:650;letter-spacing:-.6px;line-height:1.22;margin:4px 0 0;overflow-wrap:anywhere}.dialog-header h2:focus{outline:none}.close{align-self:center}.dialog-body{flex:1;min-height:0;padding:24px 30px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#a9be9e #edf3e4;background-image:radial-gradient(#3b603308 .5px,transparent .8px);background-size:5px 5px}.user-question{width:fit-content;max-width:85%;margin:0 0 22px auto;padding:12px 17px;border:1px solid #d5dfbb;border-radius:17px 17px 5px 17px;background:linear-gradient(135deg,#e9efcf,#e2ebc4);color:#4b613d;font-size:15px;line-height:1.6;box-shadow:inset 0 1px 0 #fff9,0 2px 3px #57734410;overflow-wrap:anywhere}.answer{white-space:pre-line;font-size:18px;line-height:1.65;font-weight:450;color:#234e40;margin:0 0 20px;overflow-wrap:anywhere}.answer:empty{display:none}.results{display:grid;gap:16px}.technical-steps{list-style:none;counter-reset:step;margin:0;padding:0;display:grid;gap:12px}.technical-steps li{counter-increment:step;position:relative;min-height:62px;padding:17px 18px 17px 67px;border:1px solid #dce5d2;border-top-color:#fff;border-radius:17px;background:linear-gradient(135deg,#fffef8,#eff4e5);box-shadow:inset 0 1px 0 #fff,0 2px 0 #d7e0cc,0 5px 7px -6px #4b693b35;font-size:16px;line-height:1.7;overflow-wrap:anywhere}.technical-steps li:before{content:counter(step,decimal-leading-zero);position:absolute;left:17px;top:19px;font-size:15px;font-weight:750;letter-spacing:-.4px;color:#4d7954;width:33px;height:33px;display:grid;place-items:center;border:1px solid #c7d8b1;border-radius:11px;background:linear-gradient(145deg,#f0f9db,#dce9c6);box-shadow:inset 0 1px 0 #fff}.technical-note{font-size:14px;line-height:1.65;color:#7b6238;margin:3px 0 0;padding:14px 17px;border:1px solid #e8dbb9;border-left:3px solid #baa06b;border-radius:13px;background:#faf3df}.choice-prompt{font-size:19px;line-height:1.5;font-weight:650;letter-spacing:-.25px;margin:2px 0 0}.choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding-bottom:5px}.conversation-choice{min-width:0;min-height:100px;text-align:left;display:flex;align-items:center;gap:13px;padding:17px;border:1px solid #bdcfb5;border-top-color:#fdfef8;border-radius:17px;background:radial-gradient(ellipse at 15% 0,#ffffffe0,transparent 85%),linear-gradient(140deg,#edf4df,#dce9c9);color:#2c5842;box-shadow:inset 0 1px 0 #fff,0 4px 0 #bfd0b0,0 7px 11px -7px #375b3d3b}.choice-number{flex:none;display:grid;place-items:center;width:30px;height:30px;border:1px solid #c1d3ae;border-radius:10px;background:#f9fdef;color:#507348;font-size:14px;font-weight:750;box-shadow:inset 0 1px 1px #fff}.choice-content{flex:1;min-width:0;display:grid;gap:5px}.choice-content strong{font-size:16px;font-weight:650;line-height:1.4}.choice-content>span{font-size:13px;line-height:1.5;color:#4f6748}.conversation-choice>.icon{width:18px;height:18px;color:#759266}.conversation-choice:not(:disabled):active{box-shadow:inset 0 2px 5px #59734826,0 1px 0 #bfd0b0}
.technical-sources{margin-top:4px;color:#55734c;font-size:13px;border-top:1px solid #dce6d4}.technical-sources summary,.conversation-history summary{cursor:pointer;min-height:48px;padding:15px 3px;font-size:13px;font-weight:550}.conversation-history{margin-top:15px;color:#55734c;border-top:1px solid #dce6d4}.history-turn{padding:10px 14px;margin-bottom:9px;border:1px solid #dfe7d8;border-radius:13px;background:#f1f5e9;font-size:13px;line-height:1.65}.history-turn p{white-space:pre-line;margin:7px 0}.history-question{font-weight:650;color:#456547}.dialog-footer{flex:none;padding:16px 24px 7px;border-top:1px solid #d3dfc8;background:linear-gradient(145deg,#f4f8eb,#e6eedc);box-shadow:0 -5px 15px #55754808}.conversation-form{display:flex;gap:12px;align-items:center}.conversation-form .query-bar{flex:1}.conversation-form input{font-size:16px}.conversation-form input::placeholder{font-size:14px}.dialog-mic{width:64px;height:64px;flex:none;display:grid;place-items:center;border:4px solid #cfdfaa;border-radius:20px;background:radial-gradient(ellipse at 30% 0,#6d9d74,#276b50 65%,#17533f);color:#f2ffdb;box-shadow:inset 0 1px 2px #efffcd66,0 3px 0 #8da563,0 6px 7px -4px #3d5b3c59}.dialog-mic .icon{width:28px;height:28px}.dialog-mic:active{box-shadow:inset 0 2px 4px #153e38,0 1px 0 #8da563}.voice-tools{display:flex;align-items:center;gap:6px;margin-top:5px;min-height:44px}.voice-tools .back{margin-left:auto}.voice-tools .icon-button{min-height:44px;min-width:44px;padding:10px}.dialog-voice-status{font-size:12px;color:#546e4e;line-height:1.4;flex:1}.dialog-notice{flex:none;margin:0;padding:11px 24px;border-top:1px solid #d2dfb8;background:#e7f0d2;color:#45613b;font-size:14px;line-height:1.6}.dialog-search{margin-bottom:20px}
.result{min-width:0;padding:20px;border:1px solid #cfddc4;border-top-color:#fff;border-radius:17px;background:linear-gradient(135deg,#fffef8,#edf3e3);box-shadow:inset 0 1px 0 #fff,0 3px 0 #cbd8bd,0 7px 11px -8px #4e673950;overflow-wrap:anywhere}.result-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.result-code{font-size:32px;font-weight:750;line-height:1.4;letter-spacing:-.5px;color:#235b43}.copy-button{min-width:48px;min-height:48px;display:grid;place-items:center;flex:none;border:1px solid #c0d3b3;border-radius:13px;color:#4b7346;background:linear-gradient(145deg,#fbfff1,#dfeccb);box-shadow:inset 0 1px 0 #fff,0 2px 0 #bed0ac}.copy-button .icon{width:21px;height:21px}.result-description{font-size:17px;font-weight:600;line-height:1.6;margin:12px 0;color:#2b4f3b}.result-meta{font-size:13px;line-height:1.6;color:#55734c;margin:0}.result details{font-size:12px;line-height:1.6;color:#648054;margin-top:6px}.result summary{cursor:pointer;min-height:48px;padding:15px 0}.result details p{margin:0 0 9px}.data-badge{display:block;width:fit-content;font-size:12px;font-weight:600;line-height:1.6;margin-top:11px;padding:6px 9px;border:1px solid #e2d3a3;border-radius:8px;color:#8a6c34;background:#fbf2d8}.result-filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:17px}.result-filters button{min-height:48px;padding:10px 14px;border:1px solid #cad9be;border-radius:12px;color:#507144;background:linear-gradient(145deg,#fffef7,#e9f0de);font-size:14px}.result-filters button[aria-pressed=true]{background:#d8e7ba;border-color:#8da86d;color:#365834;box-shadow:inset 0 1px 0 #f8ffe3,0 2px 0 #afc18d}.pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:22px}.pagination>span{font-size:13px;color:#55734c;line-height:1.6}.pagination>div{display:flex;align-items:center;gap:13px;flex:none}.pagination>div>span{font-size:13px;color:#547345}.source-note{font-size:13px;line-height:1.7;color:#56734e;margin:22px 0 0;padding-top:15px;border-top:1px solid #d5e1cb}.empty-state{padding:25px;border:1px dashed #bfcead;border-radius:16px;color:#69815b;font-size:16px;line-height:1.65;text-align:center;background:#eff5e5}.model-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.model-choice{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:76px;min-width:0;padding:17px;border:1px solid #c5d6b9;border-radius:15px;color:#416941;text-align:left;font-size:16px;background:linear-gradient(145deg,#fffff8,#e5efd7);box-shadow:inset 0 1px 0 #fff,0 3px 0 #c6d5b6}.model-choice .icon{width:20px;height:20px;color:#839e64}.document-card{display:flex;flex-direction:column;align-items:flex-start;gap:13px;text-align:left;width:100%;min-height:130px;color:#416342;font-size:17px;font-weight:550}.document-card>.icon{color:#82a25b;width:30px;height:30px}.document-card small{font-size:13px;color:#55734c;font-weight:400}.manual-card h3{font-size:18px;line-height:1.5;color:#436a3b;font-weight:650;margin:0 0 13px}.manual-excerpt{font-size:16px;line-height:1.75;white-space:pre-line;color:#58714e;margin:0 0 13px;overflow-wrap:anywhere}.manual-source{font-size:12px;line-height:1.6;color:#5b7450;margin:12px 0 3px}.manual-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:7px 0 12px}.manual-actions button,.manual-actions a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 14px;border:1px solid #c4d7b3;border-radius:12px;background:linear-gradient(145deg,#fffff8,#e6efd9);font-size:13px;line-height:1.5;color:#597d47;text-decoration:none;box-shadow:inset 0 1px 0 #fff,0 2px 0 #c6d5b6}.manual-actions .icon{width:18px;height:18px}.manual-page{white-space:pre-wrap;overflow-wrap:anywhere;color:#49663f;font-size:16px;line-height:1.9;margin:0}.manual-page.table-layout{white-space:pre;overflow-x:auto;max-width:100%;font-family:ui-monospace,monospace;font-size:13px;line-height:1.65;overflow-wrap:normal}.page-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.page-navigation .page-label{font-size:14px;color:#6c8556}.page-input{width:73px;min-height:48px;padding:8px;border:1px solid #bdd0ac;border-radius:11px;background:#fbfef5;color:#3d6636;text-align:center;font-size:16px}.page-input:focus{outline:2px solid #79a368;outline-offset:2px}.primary-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 17px;gap:8px;border:1px solid #b0c58a;border-radius:13px;background:linear-gradient(145deg,#f0f9dc,#cfdfac);color:#3b6233;font-size:15px;font-weight:600;box-shadow:inset 0 1px 0 #fff,0 2px 0 #adc18d}.toast{position:fixed;z-index:20;bottom:max(22px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%,14px);opacity:0;pointer-events:none;padding:14px 20px;border:1px solid #fbfff0;border-radius:15px;background:linear-gradient(145deg,#f9fef0,#e1edce);color:#41603a;box-shadow:0 6px 25px #214e3340;max-width:calc(100% - 28px);width:max-content;font-size:15px;line-height:1.6;text-align:center;transition:opacity .18s,transform .18s}.toast.show{opacity:1;transform:translate(-50%,0)}
/* Escuta ativa: amarelo, halo e aro em movimento. */
.voice-deck[data-mode=listening] .big-mic{color:#493600;background:radial-gradient(circle at 30% 12%,#fff6b4 0,#ffe05a 32%,#ffc600 72%,#dea500 100%) padding-box,conic-gradient(from 140deg,#b47b00,#fff9d3 15%,#ffde50 33%,#e4aa00 52%,#fff2a6 76%,#ffc700 92%,#b47b00) border-box;box-shadow:0 0 0 1px #d7aa1d,0 0 0 3px #fffa,0 7px 0 #b98b0a,0 13px 7px -5px #9c771663,0 0 38px 7px #ffd12b61,inset 0 2px 2px #fff7c5,inset 0 -7px 12px #c28f0033;animation:none;filter:none}
.voice-deck[data-mode=listening] .big-mic::before{border-color:#e8b718;border-top-color:#fff9d6;border-left-color:#fff0a0}
.voice-deck[data-mode=listening] .big-mic::after{border-color:#fff5bf96}
.voice-deck[data-mode=listening] .big-mic .icon{filter:drop-shadow(0 1px 0 #fff0a9);stroke-width:1.8}
.voice-deck[data-mode=listening] .mic-stage::before{border-color:#ebbd3980;background:radial-gradient(circle,#ffce375e 0,#ffe79270 48%,#fff3b300 74%);box-shadow:0 0 30px #ffcb393b,inset 0 0 20px #ffdf4763;animation:mic-halo 1.8s ease-in-out infinite}
.voice-deck[data-mode=listening] .dial-markers{border:3px solid #e7b82745;border-top-color:#d69700;border-right-color:#ffcd24;box-shadow:0 0 10px #ffc52938,inset 0 0 0 7px #fff5;animation:mic-orbit 2.8s linear infinite}
.voice-deck[data-mode=listening] .dial-markers::before,.voice-deck[data-mode=listening] .dial-markers::after{background:#ba8100}
.voice-deck[data-mode=listening] .mic-label{color:#765000}
.voice-deck[data-mode=permission] .big-mic,.voice-deck[data-mode=starting] .big-mic,.voice-deck[data-mode=processing] .big-mic{filter:saturate(.7)}
.voice-deck[data-mode=speaking] .big-mic{filter:brightness(1.1)}
.voice-deck:not([data-mode=idle]) .voice-waves i{background:#5e8751;animation:wave 1s ease-in-out infinite;animation-delay:calc(var(--i,0)*.12s)}
.voice-deck[data-mode=listening] .voice-waves i{background:#af7900}
.dialog-mic{position:relative;isolation:isolate}
.dialog-mic[data-mode=listening]{color:#493600;background:radial-gradient(ellipse at 30% 0,#fff4a1,#ffcd19 65%,#e6af00);border-color:#f5d24e;box-shadow:inset 0 1px 2px #fff7cb,0 3px 0 #b58b13,0 0 19px 4px #ffd02970;animation:none}
.dialog-mic[data-mode=listening]::before{content:"";position:absolute;inset:-7px;pointer-events:none;border:2px solid #d9a8004d;border-top-color:#b47b00;border-right-color:#ffd532;border-radius:50%;animation:mic-orbit 2.8s linear infinite}
.dialog-mic[data-mode=processing],.dialog-mic[data-mode=permission],.dialog-mic[data-mode=starting]{background:linear-gradient(145deg,#a8ac77,#747c4c)}
.dialog-voice-status[data-mode=listening]{color:#765000;font-weight:650}
@keyframes mic-orbit{to{transform:rotate(360deg)}}
@keyframes mic-halo{0%,100%{opacity:.6}50%{opacity:1}}

@keyframes listen-pulse{50%{filter:brightness(1.1)}}@keyframes wave{50%{transform:scaleY(.4)}}@keyframes panel-in{from{opacity:0;transform:translateY(8px) scale(.996)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(hover:hover) and (pointer:fine){.shortcut:hover,.conversation-choice:hover{transform:translateY(-2px);filter:brightness(1.025);border-color:#a5bf8b}.big-mic:hover,.dialog-mic:hover{filter:brightness(1.06)}.icon-button:hover,.copy-button:hover,.model-choice:hover,.document-card:hover{border-color:#8fb474;filter:brightness(1.02)}}
@media(min-width:960px){main{display:grid;grid-template-columns:1.05fr .95fr;column-gap:48px;padding:31px 42px 18px}.voice-console{margin:0;min-width:0}.voice-console h1{font-size:30px}.shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));align-self:center;margin:0;gap:20px}.shortcut{min-height:160px;gap:18px}.shortcut-icon{width:58px;height:58px}.shortcut strong{font-size:16px}.utilities{grid-column:1/-1;margin-top:12px}.app-header{padding-inline:35px}}
@media(min-width:700px) and (max-width:959px){body{padding:20px}.app-header{padding:21px 27px}.app-shell{max-width:860px}.mic-stage{width:306px;height:306px}.big-mic{width:220px;height:220px}.big-mic .icon{width:70px;height:70px}main{padding:30px 30px 20px}.shortcuts{gap:13px}.shortcut{min-height:130px}.shortcut strong{font-size:13px}.voice-console h1{font-size:33px}.search-form{margin-top:21px}}
@media(max-width:699px){body{padding:0;background:#f4f7ec}.app-shell{min-height:100dvh;max-width:650px;border:0;border-radius:0;box-shadow:none}.app-header{padding:16px 20px 14px;padding-top:max(16px,env(safe-area-inset-top))}.brand{gap:11px;min-height:65px}.brand-avatar{width:66px;height:66px;border-radius:20px}.brand>span{font-size:26px;letter-spacing:2px}.header-actions{gap:8px}.header-actions .icon-button{min-width:44px;min-height:44px;padding:10px;border-radius:14px}main{padding:26px 22px max(16px,env(safe-area-inset-bottom))}.voice-console h1{font-size:28px;margin-bottom:13px}.mic-stage{width:252px;height:252px}.big-mic{width:186px;height:186px;border-width:9px}.big-mic .icon{width:61px;height:61px}.mic-label{font-size:16px}.search-form{margin-top:14px}.query-bar{padding-left:15px}.query-bar input{font-size:16px}.query-bar input::placeholder{font-size:13px}.shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:24px}.shortcut{min-height:112px;padding:15px 10px;gap:10px}.shortcut-icon{width:44px;height:44px;border-radius:13px}.shortcut-icon .icon{width:24px;height:24px}.shortcut strong{font-size:14px}.utilities{margin-top:19px}dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px);border-radius:21px}.panel{height:calc(100dvh - 18px);max-height:calc(100dvh - 18px)}.dialog-header{padding:14px;gap:10px}.dialog-avatar{width:43px;height:43px}.dialog-header h2{font-size:20px;letter-spacing:-.4px}.eyebrow{font-size:10px}.dialog-header .icon-button{min-width:44px;min-height:44px;padding:10px;border-radius:12px}.dialog-header #newConversationButton{display:none}.dialog-body{padding:20px 17px}.answer{font-size:17px;line-height:1.7}.user-question{font-size:14px;padding:10px 13px;max-width:92%}.choice-grid{grid-template-columns:1fr;gap:12px}.conversation-choice{min-height:86px;padding:14px;gap:11px}.choice-content strong{font-size:16px}.choice-content>span{font-size:13px}.technical-steps li{padding:16px 15px 16px 58px;font-size:15px}.technical-steps li:before{left:13px;top:18px;width:30px;height:30px}.technical-note{font-size:13px}.choice-prompt{font-size:18px}.dialog-footer{padding:12px 12px max(4px,env(safe-area-inset-bottom))}.conversation-form{gap:9px}.dialog-mic{width:55px;height:61px;border-radius:17px}.conversation-form .query-bar{padding-left:12px;gap:5px}.conversation-form input::placeholder{font-size:12px}.conversation-form .send-button{min-width:44px;min-height:48px}.voice-tools{gap:2px}.text-button{font-size:13px}.dialog-voice-status{font-size:11px}.result{padding:17px}.result-code{font-size:29px}.result-description{font-size:16px}.manual-excerpt{font-size:15px}.model-grid{grid-template-columns:1fr}.model-choice{min-height:64px}.pagination{gap:8px}.pagination>div{gap:8px}.manual-page{font-size:15px}.toast{font-size:14px}.manual-page.table-layout{font-size:12px}}
@media(max-width:359px){.app-header{padding-inline:14px}.brand-avatar{width:56px;height:56px;border-radius:17px}.brand{gap:8px}.brand>span{font-size:24px;letter-spacing:1px}.brand-dot{width:5px;height:5px}.header-actions{gap:6px}main{padding-inline:17px}.mic-stage{width:234px;height:234px}.big-mic{width:170px;height:170px}.voice-console h1{font-size:26px}.dialog-avatar{display:none}.conversation-form input::placeholder{font-size:11px}.dialog-header h2{font-size:19px}.dialog-footer{padding-inline:10px}}
@media(min-width:700px) and (max-height:720px){body{padding:14px}.app-header{padding-block:15px}.brand-avatar{width:66px;height:66px}.brand{min-height:66px}main{padding-block:22px 14px}.mic-stage{width:239px;height:239px}.big-mic{width:174px;height:174px}.voice-console h1{font-size:27px;margin-bottom:6px}.shortcuts{margin-top:20px}.shortcut{min-height:105px}.voice-deck{padding-bottom:2px}.mic-label{font-size:15px}.utilities{margin-top:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Edição 5: cabeçalho verde e estados de toque com contraste para o campo. */
.app-header{position:relative;isolation:isolate;padding-block:19px;background:radial-gradient(ellipse at 5% 0,#4da77940,transparent 65%),linear-gradient(115deg,#00714b,#006344 58%,#00523d);border-bottom:1px solid #003b2e;box-shadow:inset 0 1px 0 #8fcea34d,inset 0 -1px 0 #8dc39833,0 5px 11px -6px #064a2b59;overflow:visible}
.app-header:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:repeating-linear-gradient(120deg,#ffffff04 0 1px,transparent 1px 5px),radial-gradient(#c6efa20d .65px,transparent .85px);background-size:auto,5px 5px}
.app-header:after{content:"";position:absolute;bottom:-2px;height:3px;left:28px;right:28px;border-radius:3px;background:linear-gradient(90deg,#a8d263,#ddf39e 34%,#659957 75%,transparent);opacity:.85}
.app-shell:after{background:linear-gradient(90deg,#a5c76d,#def19c 55%,#b9d580)}
.brand{color:#fcffe9;gap:16px;position:relative;padding:3px 0}.brand>span{font-size:35px;font-weight:800;letter-spacing:3px;text-shadow:0 2px 0 #00452f,0 4px 9px #003f2833}.brand-dot{width:7px;height:7px;background:#d9f293;box-shadow:0 0 0 4px #d5ed9014,0 0 9px #dcfb8550}
.brand-avatar{width:90px;height:90px;border-radius:27px;border:1px solid #eaf8bd;background:radial-gradient(ellipse at 25% 0,#fffff1 0,#e6f0cf 45%,#c8dca9 100%);box-shadow:inset 0 2px 2px #fffff2,0 4px 0 #7c9d68,0 6px 0 #004b34,0 13px 15px -8px #002f2799;filter:none;transition:transform .24s cubic-bezier(.18,.9,.25,1.3),box-shadow .24s ease;transform-origin:center 72%}
.brand:active .brand-avatar{transform:translateY(-7px) scale(1.07) rotate(-3deg);box-shadow:inset 0 2px 2px #fffff2,0 4px 0 #7c9d68,0 6px 0 #004b34,0 20px 22px -8px #002f2770}
.header-actions .icon-button{color:#f0fbd2;background:linear-gradient(145deg,#278c62,#086145);border-color:#5eab7a;border-top-color:#79bb87;box-shadow:inset 0 1px 0 #c7ecae40,0 3px 0 #004d35,0 6px 10px -5px #003a2c80}
.header-actions .icon-button[aria-pressed=false]{color:#ebf6d7;background:linear-gradient(145deg,#237952,#0d5d42)}
.header-actions .icon-button:focus-visible{outline-color:#e6ff9e}
.big-mic .icon{width:68px;height:68px;stroke-width:1.6;filter:drop-shadow(0 2px 0 #062f29bf) drop-shadow(0 -1px 0 #e9ffc73b);transition:transform .24s cubic-bezier(.18,.9,.25,1.3)}
.big-mic{transition:transform .24s cubic-bezier(.18,.9,.25,1.3),box-shadow .24s ease,filter .2s ease!important}
.big-mic:not(:disabled):active{transform:translateY(-6px) scale(1.035);box-shadow:0 0 0 1px #9bb879,0 0 0 4px #fff9,0 8px 0 #7e9852,0 27px 24px -12px #315d4266,inset 0 2px 2px #deffbd70,inset 0 -7px 12px #153b3859}
.big-mic:active .icon{transform:translateY(-2px) scale(1.06)}
.dialog-mic:active{transform:translateY(-3px) scale(1.04);box-shadow:inset 0 1px 2px #efffcd66,0 4px 0 #8da563,0 11px 13px -6px #3d5b3c66}
.shortcuts{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.shortcut{min-height:137px;gap:15px;padding:20px 12px;border-width:2px}.shortcut strong{font-size:16px;font-weight:700;letter-spacing:-.2px;color:#244f38}
.shortcut-icon{width:54px;height:54px}.shortcut-check{position:absolute;right:10px;top:10px;display:none;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:#e6f8aa;border:1px solid #faffd5;color:#155334;box-shadow:0 2px 3px #003e2e4d}.shortcut-check .icon{width:20px;height:20px;stroke-width:2.8}
.shortcuts .shortcut[aria-pressed=true]{background:radial-gradient(ellipse at 5% 0,#4ca27450,transparent 80%),linear-gradient(140deg,#087147,#00563e);border:2px solid #074e36;border-top-color:#63a36d;box-shadow:inset 0 0 0 2px #d4ee8b,inset 0 1px 0 #f0ffb873,0 5px 0 #164c33,0 10px 15px -7px #28533466;transform:translateY(-1px)}
.shortcuts .shortcut[aria-pressed=true] strong{color:#ffffee;text-shadow:0 1px 0 #003f30}
.shortcuts .shortcut[aria-pressed=true] .shortcut-icon{background:linear-gradient(145deg,#e7f8a3,#b8d46f);border-color:#edffc0;color:#124d32;box-shadow:inset 0 1px 0 #ffffce,0 3px 0 #003f2b60}
.shortcuts .shortcut[aria-pressed=true] .shortcut-check{display:flex}.shortcuts .shortcut[aria-pressed=true]:after{border-color:#f4ffc533;inset:5px}
.shortcuts .shortcut:not(:disabled):active{transform:translateY(-4px) scale(1.02);filter:brightness(1.06)}
@media(hover:hover) and (pointer:fine){.brand:hover .brand-avatar{transform:translateY(-7px) scale(1.07) rotate(-3deg);box-shadow:inset 0 2px 2px #fffff2,0 4px 0 #7c9d68,0 6px 0 #004b34,0 20px 22px -8px #002f2770}.big-mic:hover{transform:translateY(-7px) scale(1.035);filter:brightness(1.04)}.big-mic:hover .icon{transform:translateY(-2px) scale(1.04)}.dialog-mic:hover{transform:translateY(-3px) scale(1.035)}.shortcuts .shortcut:hover{transform:translateY(-4px);filter:brightness(1.04)}.shortcuts .shortcut[aria-pressed=true]:hover{filter:brightness(1.09)}}
@media(min-width:960px){main{grid-template-columns:1fr 1fr;column-gap:42px}.shortcuts{grid-template-columns:1fr;gap:17px;align-self:center}.shortcut{min-height:114px;flex-direction:row;justify-content:flex-start;text-align:left;padding:21px 29px;gap:21px}.shortcut strong{font-size:19px}.shortcut-icon{width:57px;height:57px}.shortcut-check{top:16px;right:16px}.voice-console h1{font-size:30px}}
@media(min-width:700px) and (max-width:959px){.shortcut{min-height:147px}.shortcut strong{font-size:16px}.app-header{padding-block:20px}.brand-avatar{width:94px;height:94px}}
@media(max-width:699px){.app-header{padding:16px 19px 18px;padding-top:max(16px,env(safe-area-inset-top))}.brand{gap:12px;min-height:73px}.brand-avatar{width:73px;height:73px;border-radius:23px}.brand>span{font-size:28px;letter-spacing:1.8px}.brand-dot{width:6px;height:6px}.shortcuts{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.shortcut{min-height:128px;gap:11px;padding:18px 5px 15px;border-radius:18px}.shortcut strong{font-size:13px;letter-spacing:-.3px}.shortcut-icon{width:44px;height:44px}.shortcut-check{width:23px;height:23px;top:7px;right:7px}.shortcut-check .icon{width:16px;height:16px}.shortcuts .shortcut[aria-pressed=true]{box-shadow:inset 0 0 0 2px #d4ee8b,0 4px 0 #164c33,0 8px 13px -7px #28533466}.big-mic .icon{width:61px;height:61px}.header-actions{gap:8px}}
@media(max-width:359px){.app-header{padding-inline:13px}.brand-avatar{width:60px;height:60px;border-radius:19px}.brand{gap:9px;min-height:60px}.brand>span{font-size:25px;letter-spacing:1px}.shortcuts{gap:8px}.shortcut strong{font-size:12px}.shortcut{min-height:120px}.shortcut-icon{width:42px;height:42px}}
@media(min-width:700px) and (max-height:720px){.brand-avatar{width:67px;height:67px}.brand{min-height:67px}.app-header{padding-block:13px}.shortcut{min-height:101px}}
@media(prefers-reduced-motion:reduce){.brand-avatar,.big-mic,.big-mic .icon,.dialog-mic{transition:none!important}.brand:hover .brand-avatar,.brand:active .brand-avatar,.big-mic:hover,.big-mic:active,.big-mic:hover .icon,.big-mic:active .icon,.dialog-mic:hover,.dialog-mic:active{transform:none!important}}
@media(min-width:500px) and (max-width:699px){.shortcut{min-height:144px}.shortcut strong{font-size:16px}.shortcut-icon{width:53px;height:53px}.brand-avatar{width:82px;height:82px}.brand>span{font-size:32px}}


/* ===========================================================
   MANU | acabamento superior alinhado à identidade SIGA
   Só o cabeçalho é alterado; restante da interface preservado.
   Paleta SIGA: verde #004F00 / verde 2 #087000 / lima #9BFF00
   =========================================================== */
:root{--siga-verde:#004F00;--siga-verde-claro:#087000;--siga-verde-profundo:#002B00;--siga-lima:#9BFF00}
.app-header{
  padding:13px 31px 14px;
  position:relative;
  isolation:isolate;
  overflow:visible;
  background:
    radial-gradient(ellipse 58% 180% at 12% -70%,rgba(8,112,0,.70) 0%,transparent 74%),
    linear-gradient(135deg,var(--siga-verde) 0%,#003e00 65%,var(--siga-verde-profundo) 100%);
  border-bottom:4px solid var(--siga-lima);
  box-shadow:inset 0 1px 0 rgba(212,255,176,.23),
             inset 0 -1px 0 rgba(190,255,119,.17),
             0 8px 19px -12px rgba(0,55,0,.52);
}
.app-header::before{
  content:"";
  z-index:-1;
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(ellipse 28% 170% at 95% -25%,rgba(129,255,56,.055),transparent 74%),
    repeating-linear-gradient(122deg,transparent 0px,transparent 27px,rgba(255,255,255,.022) 28px,transparent 29px),
    radial-gradient(circle,rgba(255,255,255,.048) .65px,transparent .9px);
  background-size:auto,auto,7px 7px;
  opacity:.85;
}
.app-header::after{
  content:"";
  pointer-events:none;
  position:absolute;
  z-index:0;
  height:1px;
  left:26px;
  right:26px;
  bottom:0;
  border-radius:0;
  background:linear-gradient(90deg,transparent,rgba(240,255,166,.76) 23%,rgba(234,255,195,.28) 72%,transparent);
  opacity:.82;
}
.app-shell::after{
  height:3px;
  background:linear-gradient(90deg,#9BFF00 0%,#ceff76 36%,#79cb20 75%,#004F00 100%);
}
.brand{
  color:#f7ffec;
  gap:13px;
  position:relative;
  isolation:isolate;
  min-height:90px;
  padding:0 5px 0 0;
  -webkit-tap-highlight-color:transparent;
}
/* O robô NÃO fica preso a um quadrado claro. Ele flutua no verde SIGA. */
.brand::before{
  content:"";
  position:absolute;
  left:1px;
  top:50%;
  z-index:-1;
  width:98px;
  height:94px;
  border-radius:50%;
  transform:translateY(-50%);
  background:radial-gradient(ellipse,rgba(174,255,91,.32) 0%,rgba(75,185,28,.12) 44%,transparent 72%);
  filter:blur(10px);
  pointer-events:none;
}
.brand-avatar{
  width:96px;
  height:96px;
  object-fit:contain;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  filter:drop-shadow(0 5px 3px rgba(0,34,0,.44)) drop-shadow(0 13px 12px rgba(0,28,0,.28));
  transition:transform .26s cubic-bezier(.19,.91,.27,1.22),filter .26s ease;
  transform-origin:50% 65%;
}
.brand>span{
  font-size:35px;
  font-weight:850;
  line-height:1;
  letter-spacing:2.7px;
  color:#f8ffed;
  text-shadow:0 1px 0 rgba(250,255,226,.35),0 3px 9px rgba(0,29,0,.39);
}
.brand-dot{
  align-self:flex-end;
  width:8px;
  height:8px;
  margin:0 0 3px -2px;
  background:var(--siga-lima);
  box-shadow:0 0 0 4px rgba(155,255,0,.11),0 0 14px rgba(155,255,0,.59);
}
.header-actions{position:relative;z-index:1;gap:11px}
.header-actions .icon-button,
.header-actions .icon-button[aria-pressed="true"],
.header-actions .icon-button[aria-pressed="false"]{
  width:50px;
  height:50px;
  min-width:50px;
  min-height:50px;
  padding:12px;
  border:1px solid rgba(197,255,132,.37);
  border-top-color:rgba(224,255,167,.64);
  border-radius:17px;
  color:#f0ffe7;
  background:linear-gradient(150deg,rgba(23,130,17,.85),rgba(0,79,0,.70) 52%,rgba(0,48,0,.78));
  box-shadow:inset 0 1px 0 rgba(242,255,201,.27),
             inset 0 -1px 0 rgba(0,30,0,.28),
             0 3px 0 rgba(0,34,0,.80),
             0 9px 14px -8px rgba(0,20,0,.73);
  transition:transform .18s cubic-bezier(.21,.87,.25,1.3),box-shadow .18s ease,background .18s ease,filter .18s ease;
  -webkit-tap-highlight-color:transparent;
}
.header-actions .icon-button[aria-pressed="false"]{
  color:#e8f6d9;
  border-color:rgba(204,239,185,.27);
  background:linear-gradient(155deg,rgba(17,90,10,.91),rgba(0,54,0,.85));
}
.header-actions .icon-button .icon{width:22px;height:22px;stroke-width:1.95}
.header-actions .icon-button:active,
.header-actions .icon-button[aria-pressed="true"]:active,
.header-actions .icon-button[aria-pressed="false"]:active{
  transform:translateY(3px) scale(.965);
  box-shadow:inset 0 3px 7px rgba(0,29,0,.42),0 1px 0 rgba(0,24,0,.62);
  filter:brightness(1.12);
}
.brand:active .brand-avatar{
  transform:translateY(-5px) scale(1.095) rotate(-2deg);
  filter:drop-shadow(0 7px 4px rgba(0,34,0,.44)) drop-shadow(0 17px 14px rgba(0,20,0,.22));
}
.brand:focus-visible,.header-actions .icon-button:focus-visible{
  outline:3px solid #d7ff86;
  outline-offset:4px;
}
@media(hover:hover) and (pointer:fine){
  .brand:hover .brand-avatar{
    transform:translateY(-7px) scale(1.085) rotate(-3deg);
    filter:drop-shadow(0 8px 4px rgba(0,34,0,.4)) drop-shadow(0 17px 13px rgba(0,20,0,.24));
  }
  .brand:hover>span{color:#ffffff}
  .header-actions .icon-button:hover{
    transform:translateY(-4px);
    filter:brightness(1.18);
    box-shadow:inset 0 1px 0 rgba(242,255,201,.37),0 5px 0 rgba(0,34,0,.70),0 13px 17px -8px rgba(0,20,0,.7);
  }
}
@media(max-width:699px){
  .app-header{padding:11px 18px 12px;padding-top:max(11px,env(safe-area-inset-top));border-bottom-width:4px}
  .brand{gap:8px;min-height:75px}
  .brand::before{width:75px;height:80px;left:0}
  .brand-avatar{width:77px;height:77px}
  .brand>span{font-size:28px;letter-spacing:1.65px}
  .brand-dot{width:7px;height:7px;margin-bottom:2px}
  .header-actions{gap:9px}
  .header-actions .icon-button,
  .header-actions .icon-button[aria-pressed="true"],
  .header-actions .icon-button[aria-pressed="false"]{
    width:46px;height:46px;min-width:46px;min-height:46px;border-radius:15px;padding:11px;
  }
}
@media(max-width:359px){
  .app-header{padding-inline:11px}
  .brand{gap:5px;min-height:63px}
  .brand::before{width:64px;height:64px}
  .brand-avatar{width:65px;height:65px}
  .brand>span{font-size:25px;letter-spacing:1px}
  .header-actions{gap:6px}
  .header-actions .icon-button,
  .header-actions .icon-button[aria-pressed="true"],
  .header-actions .icon-button[aria-pressed="false"]{width:43px;height:43px;min-width:43px;min-height:43px;padding:10px}
}
@media(min-width:700px) and (max-height:720px){
  .app-header{padding-block:10px}
  .brand{min-height:72px}
  .brand-avatar{width:74px;height:74px}
  .brand::before{width:74px;height:74px}
}
@media(prefers-reduced-motion:reduce){
  .brand-avatar,.header-actions .icon-button{transition:none!important}
  .brand:hover .brand-avatar,.brand:active .brand-avatar,
  .header-actions .icon-button:hover,.header-actions .icon-button:active{transform:none!important}
}


/* Conecta+ é o aplicativo; Manu é a assistente. */
.app-header{gap:18px}
.brand{min-width:0}
.brand-avatar{flex-shrink:0}
.brand>.brand-copy{display:grid;align-items:start;gap:4px;min-width:0;font-size:inherit;line-height:1.1;letter-spacing:0}
.brand-name{display:flex;align-items:baseline;gap:2px;color:#f8ffed;font-size:35px;font-weight:850;letter-spacing:-1.3px;line-height:1}
.brand-plus{color:var(--siga-lima);font-size:1.17em;font-weight:650;text-shadow:0 0 18px #9bff0033}
.brand-subtitle{font-size:14px;font-weight:650;letter-spacing:3.3px;text-transform:uppercase;color:#f4ffe4;line-height:1.3}
.brand-assistant{display:flex;align-items:center;gap:7px;margin-top:4px;font-size:11.5px;font-weight:500;letter-spacing:.15px;color:#d5e9c4;line-height:1.3}
.brand-assistant .brand-dot{align-self:center;flex-shrink:0;width:5px;height:5px;margin:0;box-shadow:0 0 0 3px #9bff0014,0 0 10px #9bff0066}
.header-actions{flex-shrink:0}
.procedure-safety{display:flex;align-items:flex-start;gap:10px;margin:0 0 18px;padding:13px 15px;border:1px solid #ead28c;border-left:3px solid #ce9b19;border-radius:13px;background:linear-gradient(115deg,#fff5d2,#fffbed);box-shadow:inset 0 1px 0 #fff;color:#72500c;font-size:14px;font-weight:550;line-height:1.6;overflow-wrap:anywhere}
.procedure-safety .icon{width:20px;height:20px;margin-top:1px;stroke-width:1.8;color:#9d6b00}
@media(max-width:699px){
 .app-header{padding-inline:15px;gap:10px}
 .brand{gap:7px;min-height:76px}
 .brand-avatar{width:64px;height:72px}
 .brand-name{font-size:27px;letter-spacing:-1px}
 .brand-subtitle{font-size:11px;letter-spacing:2.2px}
 .brand-assistant{font-size:10px;letter-spacing:0;gap:5px;margin-top:3px}
 .header-actions{gap:7px}
 .header-actions .icon-button,.header-actions .icon-button[aria-pressed=true],.header-actions .icon-button[aria-pressed=false]{width:44px;height:44px;min-width:44px;min-height:44px;padding:10px}
 .procedure-safety{padding:11px 12px;gap:8px;font-size:13px;line-height:1.6}
}
@media(max-width:389px){.app-header{padding-inline:11px;gap:7px}.brand{gap:4px}.brand-avatar{width:52px;height:65px}.brand-name{font-size:24px}.brand-subtitle{font-size:10px;letter-spacing:2px}.brand-assistant{font-size:9.5px}}
@media(max-width:359px){.app-header{padding-inline:10px;gap:6px}.brand{gap:3px;min-height:68px}.brand-avatar{width:45px;height:58px}.brand-name{font-size:21px}.brand-subtitle{font-size:10px;letter-spacing:1.45px}.brand-assistant{font-size:9px;gap:4px}.header-actions{gap:5px}}
@media(prefers-reduced-motion:reduce){.voice-deck[data-mode=listening] .mic-stage::before{opacity:1}}


/* Estado de preparação e instalação, sem ocupar a conversa. */
.app-readiness{font-size:13px;line-height:1.6;color:#607559;margin:0 0 12px}
.retry-load{margin-bottom:12px;border:1px solid #a7be96;border-radius:12px;padding:10px 16px;background:#f0f6df;color:#24563e;font-weight:650}
.utilities{flex-wrap:wrap;column-gap:17px;row-gap:4px}
.pwa-state{display:flex;align-items:center;justify-content:center;gap:7px;flex-basis:100%;color:#667b5c;font-size:11px;line-height:1.5;margin:1px 0 5px;text-align:center}
.pwa-state::before{content:"";width:5px;height:5px;flex:none;border-radius:50%;background:#b39c58}
.pwa-state[data-state=ready]::before{background:#548744;box-shadow:0 0 0 3px #9cc87e1c}
.pwa-state[data-state=offline]{color:#7b642d}.pwa-state[data-state=offline]::before{background:#bd8b25}
.pwa-state[data-state=error]{color:#8b653e}
#updateButton{color:#285d3c;background:#e6f2cc;border:1px solid #bad299;border-radius:12px;padding-inline:13px}
@media(display-mode:standalone){body{overscroll-behavior-y:contain}}

#prepareOfflineButton{color:#2c603e;background:#edf5dc;border:1px solid #c7d7b0;border-radius:12px;padding-inline:13px}
#prepareOfflineButton:disabled{opacity:.65}
