@font-face{font-family:LocalSans;src:local("Segoe UI")}*{box-sizing:border-box}body{margin:0;font-family:LocalSans,Inter,Arial,sans-serif;color:#e9e0dc;background:#1b1411;font-size:14px;line-height:1.5}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.5}a{color:inherit;text-decoration:none}[hidden]{display:none!important}button:focus-visible,a:focus-visible{outline:3px solid #744624;outline-offset:4px}h1,h2,h3,p{margin-top:0}h1{font-size:36px;line-height:1.2;letter-spacing:-1.4px;font-weight:600;margin-bottom:12px}h2{font-size:19px;font-weight:600;letter-spacing:-.45px}h3{font-size:16px;font-weight:600}.muted{color:#b89d8f}.small{font-size:12px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.8px;color:#9d7866;margin-bottom:14px}.shell{display:flex;min-height:100vh}.sidebar{width:236px;position:fixed;inset:0 auto 0 0;background:#120e0b;border-right:1px solid #2f241e;padding:32px 22px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;font-size:31px;font-weight:650;letter-spacing:-1.8px;margin:0 14px 42px}.brand-dot{color:#945d34}.brand-icon{display:inline-grid;place-items:center;width:36px;height:36px;font-size:32px;line-height:1;letter-spacing:0;background:#231b16;color:#ae8568;border-radius:11px}.workspace-label{font-size:9px;letter-spacing:1.3px;color:#916e5c;display:flex;align-items:center;justify-content:space-between;padding:0 10px;margin-bottom:14px}.workspace-label span{font-size:8px;letter-spacing:.5px;background:#261d18;border:1px solid #31251f;border-radius:4px;padding:2px 5px}nav{display:grid;gap:7px}.nav-item{border:0;background:none;width:100%;padding:12px 13px;text-align:left;display:flex;align-items:center;gap:12px;border-radius:8px;color:#bba295;font-size:13px}.nav-item>span:first-child{font-size:19px;width:19px}.nav-item.active{background:#1f1714;color:#c0a692;font-weight:600}.count{margin-left:auto;background:#2d221d;border-radius:4px;padding:0 6px;font-size:10px}.sidebar-bottom{margin-top:auto;padding:30px 10px 0}.local-status{display:flex;gap:10px;align-items:center;font-size:11px}.local-status i,.subscription-badge i{width:6px;height:6px;border-radius:50%;background:#5caf64;display:inline-block;flex-shrink:0}.local-status small{display:block;color:#8b6959;font-size:9px;margin-top:3px}.text-button{border:0;padding:0;background:none;color:#916e5c;font-size:11px;margin:20px 0 12px}.main-wrap{width:calc(100% - 236px);margin-left:236px}.topbar{height:78px;padding:0 48px;border-bottom:1px solid #2f241e;display:flex;justify-content:space-between;align-items:center;background:#140f0d}.breadcrumb{font-size:12px;color:#977361;display:flex;gap:17px}.breadcrumb strong{font-weight:500;color:#ccb8af}.topbar-right{display:flex;gap:24px;align-items:center}.subscription-badge{font-size:10px;display:flex;align-items:center;gap:7px;color:#bca296}.avatar{height:31px;width:31px;border-radius:50%;background:#2b211c;display:grid;place-items:center;font-size:10px;color:#c2aa9f}.view{padding:43px 48px 22px;max-width:1500px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-bottom:29px}.page-heading p:last-child{color:#9e7a68;font-size:13px;margin-bottom:0}.primary,.secondary{border-radius:7px;padding:11px 17px;display:inline-flex;align-items:center;justify-content:center;gap:15px;font-size:12px;font-weight:600;min-height:41px;white-space:nowrap}.primary{border:1px solid #e2d7d1;background:#e2d7d1;color:#0e0b09;box-shadow:0 3px 5px #0000000a}.primary:hover{background:#d0c5bd}.secondary{border:1px solid #3d2e27;background:#0e0b09;color:#cebbb2}.secondary:hover{border-color:#6e533f}.full{width:100%}.welcome-banner{min-height:260px;border:1px solid #2b211c;background:#1f1714;border-radius:11px;display:flex;justify-content:space-between;align-items:center;padding:30px 34px;overflow:hidden}.pill{display:inline-block;font-size:8px;letter-spacing:1.2px;font-weight:700;color:#93755f;margin-bottom:15px}.banner-copy h2{font-size:29px;line-height:1.25;letter-spacing:-.9px;margin-bottom:12px;font-weight:550}.banner-copy p{color:#93705e;font-size:11px;line-height:1.8;margin-bottom:16px}.text-link{border:0;padding:0;background:none;display:inline-flex;align-items:center;gap:18px;font-size:11px;font-weight:600;color:#b8a699}.text-link:hover{color:#e0cec0}.flow-illustration{position:relative;display:flex;align-items:center;gap:17px;padding-right:15px}.flow-node{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:7px;min-width:92px}.flow-node>span:nth-child(2){font-size:11px;font-weight:600;color:#bfb6af}.flow-node small{font-size:8px;color:#796b60}.node-symbol{height:60px;width:60px;border:5px solid #120e0b;border-radius:18px;display:grid;place-items:center;font-size:27px;box-shadow:0 5px 15px #00000014;margin-bottom:7px}.purple{background:#3d2717;color:#a78974}.ink{background:#dfd3cc;color:#322116}.peach{background:#48250c;color:#c87949}.flow-node.middle{transform:translateY(-16px)}.flow-arrow{color:#675140;font-size:18px;transform:translateY(-18px)}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:24px 0 34px}.metrics>div{border:1px solid #31251f;border-radius:8px;padding:20px;display:flex;align-items:center;gap:14px;background:#120e0c}.metric-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;font-size:18px}.lavender{background:#1f1814;color:#87664e}.mint{background:#261d18;color:#59a25c}.sand{background:#271e19;color:#bd8e36}.metrics strong{font-size:22px;font-weight:500;display:block;line-height:1.1}.metrics div>span:not(.metric-icon){font-size:10px;color:#9d7866;margin-top:5px;display:block}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.section-heading h2{font-size:17px;margin:0}.section-heading h2>span{font-size:10px;font-weight:500;color:#866556;margin-left:9px}.empty{text-align:center;min-height:235px;border:1px dashed #3f3028;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px;background:#16100e}.empty>span{font-size:25px;color:#6f5d50;width:45px;height:45px;border:1px solid #2b201b;background:#1d1613;border-radius:12px;display:grid;place-items:center;margin-bottom:17px}.empty h3{font-size:16px;margin-bottom:7px}.empty p{color:#987361;font-size:11px;line-height:1.8;margin-bottom:18px}.empty .secondary{font-size:10px;min-height:34px;padding:8px 12px}.page-footer{border-top:1px solid #332620;margin-top:30px;padding:20px 0;display:flex;justify-content:space-between;font-size:9px;color:#876656}.tiny-dot{display:inline-block;width:4px;height:4px;background:#7c5e4f;border-radius:50%;margin-right:5px}.project-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.project-card,.connection-card,.aside-card,.guide-card{border:1px solid #352822;border-radius:10px;background:#130f0c;padding:24px}.project-card{cursor:pointer;transition:transform .15s,border-color .15s}.project-card:hover{border-color:#5f4837;transform:translateY(-2px)}.project-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.project-card h3{font-size:17px;margin-bottom:8px}.project-card p{color:#9d7865;font-size:11px;margin:0 0 19px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.status-tag{font-size:9px;border-radius:4px;background:#261d19;padding:4px 7px;color:#ab9d73;display:inline-block}.status-tag.green{background:#261d18;color:#94c58f}.status-tag.purple{color:#a48874;background:#201814}.status-tag.amber{color:#dab473;background:#3f2d03}.progress-track{height:3px;background:#2b201b;border-radius:5px;overflow:hidden;margin-bottom:10px}.progress-fill{height:100%;background:#7c5b43}.card-footer{display:flex;justify-content:space-between;font-size:9px;color:#8f6c5b}.connection-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-bottom:20px}.connection-title{display:flex;gap:12px;align-items:center;margin-bottom:18px}.provider-mark{height:42px;width:42px;display:grid;place-items:center;font-size:23px;border-radius:12px}.connection-title h2{font-size:17px;margin-bottom:4px}.connection-card p{font-size:12px;color:#9d7866;line-height:1.8}.model-chips{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:18px}.model-chips span{border:1px solid #2e231d;border-radius:5px;padding:4px 7px;font-size:10px;color:#908074;background:#120e0c}.button-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.connection-card.claude{max-width:800px}.notice{background:#241c17;border:1px solid #584310;color:#d2b87c;padding:12px 14px;border-radius:7px;font-size:12px}.guide-card{max-width:780px;padding:35px}.guide-card p,.guide-card li{color:#a48271;line-height:1.9}.guide-card li{margin-bottom:12px}.guide-illustration{font-size:60px;color:#9b7c65;letter-spacing:20px;margin-bottom:20px}.guide-illustration span{font-size:30px}.detail-heading{margin-top:22px;align-items:flex-start}.detail-heading h1{font-size:30px}.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:25px}.detail-description{white-space:pre-wrap}.stage{background:#120e0c;border:1px solid #372a23;border-radius:9px;margin-bottom:15px;overflow:hidden}.stage-header{padding:20px;display:flex;gap:12px}.stage-number{font-size:11px;color:#7f6755;background:#1f1714;border-radius:8px;width:30px;height:30px;display:grid;place-items:center;flex-shrink:0}.stage-heading{flex:1}.stage-heading h3{margin:1px 0 5px}.stage-heading p{font-size:11px;color:#936f5e;margin:0}.stage-reason{font-size:11px;line-height:1.7;color:#987361;padding:0 20px 0 62px;margin-bottom:14px}.stage-actions{border-top:1px solid #281f1a;padding:14px 20px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.stage-actions select{font-size:11px;padding:8px;max-width:180px;min-height:35px}.stage-actions .primary,.stage-actions .secondary{min-height:35px;font-size:10px;padding:8px 11px;gap:7px}.stage-output{border-top:1px solid #281f1a;padding:20px;max-height:420px;overflow:auto;white-space:pre-wrap;word-break:break-word;font:12px/1.8 Consolas,monospace;color:#c6b0a5;background:#17110f}.stage-error{margin:0 20px 15px;background:#221a16;color:#c66f59;border-radius:6px;padding:10px;font-size:11px}.stage-verified{font-size:9px;color:#a07c6a;margin:0 20px 13px}.auto-control{font-size:10px;color:#a07c6a;display:flex;gap:6px;align-items:center}.auto-control input{width:auto;min-height:auto}.aside-card{padding:19px;margin-bottom:15px}.aside-card h3{font-size:13px;margin-bottom:8px}.aside-card textarea{font-size:11px}.aside-card .secondary{margin-top:10px;font-size:10px;min-height:34px;padding:7px}.file-item{display:block;max-width:100%;border:0;background:none;color:#947f6f;padding:7px 0;font-size:11px;text-align:left;overflow-wrap:anywhere}.file-upload{display:block;font-size:10px!important;color:#947f6f!important;margin:12px 0!important;cursor:pointer}.event{border-left:2px solid #2d221d;margin:10px 0;padding-left:10px;font-size:10px;color:#8f6c5b;overflow-wrap:anywhere}.event time{display:block;font-size:8px;color:#6e5346;margin-bottom:3px}dialog{border:1px solid #322620;border-radius:13px;background:#130f0c;padding:29px;width:min(620px,calc(100% - 30px));max-height:88vh;color:#e2d6d1;box-shadow:0 20px 100px #00000033}dialog::backdrop{background:#00000066;backdrop-filter:blur(4px)}.dialog-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:5px}.dialog-top h2{font-size:19px;margin:0}.icon-button{font-size:25px;color:#7b5d4f;background:none;border:0;padding:0 4px}.dialog-top .eyebrow{margin:0}.dialog-top+h2{font-size:26px;margin:10px 0 23px}label{display:block;font-size:11px;font-weight:600;color:#bca296;margin:15px 0 7px}input,textarea,select{width:100%;border:1px solid #3b2d26;border-radius:6px;background:#0e0b09;color:#d2c1b8;padding:10px 12px;outline:none;min-height:41px}input:focus,textarea:focus,select:focus{border-color:#795b46;box-shadow:0 0 0 3px #c7af9e18}textarea{resize:vertical;line-height:1.7}input::placeholder,textarea::placeholder{color:#705548;font-size:12px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}form>.small{margin:18px 0}.toast{position:fixed;right:25px;bottom:25px;background:#e0d8d2;color:#0e0b09;padding:15px 20px;border-radius:8px;box-shadow:0 8px 40px #00000030;max-width:420px;font-size:12px;z-index:10}.auth-screen{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#130f0c}.auth-card{max-width:480px;padding:60px 35px;margin:auto}.brand-icon.large{width:50px;height:50px;font-size:40px;margin-bottom:45px}.auth-card h1{font-size:37px;margin-bottom:20px}.auth-card>.eyebrow{color:#8c7361}.auth-card>p:not(.eyebrow){color:#906d5c;font-size:13px}.auth-card form{margin:28px 0}.auth-card form .primary{margin-top:20px;width:100%;justify-content:space-between}.error{color:#c15757!important;font-size:12px;margin-top:15px;white-space:pre-wrap}.auth-art{background:#251c18;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}.orbit{position:absolute;left:50%;top:43%;border:1px solid #402d20;border-radius:50%;transform:translate(-50%,-50%) rotate(-30deg)}.o1{width:210px;height:210px}.o2{width:370px;height:370px}.o3{width:530px;height:530px}.sun{position:absolute;left:50%;top:43%;transform:translate(-50%,-50%);font-size:85px;color:#a08673}.planet{position:absolute;z-index:2;display:grid;place-items:center;border:6px solid #16110e;border-radius:20px;width:65px;height:65px;font-size:25px;box-shadow:0 10px 30px #00000015}.p1{top:24%;left:24%;color:#9f8c7f;background:#442f1f;transform:rotate(-12deg)}.p2{top:48%;right:17%;background:#683a0e;color:#c88245;transform:rotate(12deg)}.p3{bottom:27%;left:27%;background:#ded2cc;color:#221a16;transform:rotate(-6deg)}.auth-art p{position:absolute;bottom:9%;text-align:center;font-size:22px;line-height:1.5;color:#887364;letter-spacing:-.4px}.dialog-pre{white-space:pre-wrap;font:12px/1.8 Consolas,monospace;word-break:break-word;max-height:45vh;overflow:auto;border:1px solid #2b211c;background:#191310;border-radius:8px;padding:15px}.device-code{font-size:24px;letter-spacing:4px;font-weight:700;padding:20px;text-align:center;color:#9f7a5f}.connection-result{margin-top:14px}.manual-form textarea{font-size:12px}.usage-info{color:#987461;font-size:9px;padding:0 20px 12px}
@media(min-width:1500px){.welcome-banner{padding:40px 50px}.flow-illustration{gap:28px;padding-right:30px}}
@media(max-width:1150px){.sidebar{width:205px;padding:28px 16px}.main-wrap{margin-left:205px;width:calc(100% - 205px)}.view{padding:32px 30px}.topbar{padding:0 30px}.flow-illustration{gap:8px;padding-right:0}.flow-node{min-width:70px}.flow-node small{font-size:7px}.node-symbol{height:50px;width:50px;font-size:23px}.banner-copy h2{font-size:25px}.welcome-banner{padding:25px}.detail-layout{grid-template-columns:minmax(0,1fr) 240px}.metrics>div{padding:15px;gap:10px}.metrics div>span:not(.metric-icon){font-size:9px}}
@media(max-width:850px){.sidebar{width:76px;padding:25px 10px}.brand{margin:0 7px 40px}.brand>span:last-child,.workspace-label,.nav-item{font-size:0}.nav-item{padding:12px;justify-content:center}.nav-item>span:first-child{font-size:21px}.nav-item .count{display:none}.sidebar-bottom{display:none}.main-wrap{margin-left:76px;width:calc(100% - 76px)}.view{padding:28px 22px}.topbar{padding:0 22px;height:66px}.flow-illustration{display:none}.welcome-banner{min-height:220px}.banner-copy br.desktop-only{display:none}.page-heading h1{font-size:30px}.metrics{gap:10px}.metrics>div{padding:13px 10px;gap:8px}.metric-icon{width:28px;height:28px;font-size:14px}.metrics strong{font-size:19px}.metrics div>span:not(.metric-icon){font-size:8px}.detail-layout{grid-template-columns:1fr}.project-aside{display:grid;grid-template-columns:1fr 1fr;gap:12px}.connection-grid{grid-template-columns:1fr}.auth-card{padding:40px 30px}.auth-card h1{font-size:30px}.auth-art{min-width:0}.orbit.o3{width:430px;height:430px}.orbit.o2{width:300px;height:300px}}
@media(max-width:560px){.sidebar{width:100%;height:63px;inset:auto 0 0;z-index:3;border-right:0;border-top:1px solid #2c211c;padding:5px 10px;background:#0e0b09}.brand,.workspace-label{display:none}.sidebar nav{display:flex;justify-content:space-around;gap:5px}.nav-item{font-size:9px;display:flex;flex-direction:column;gap:0;padding:4px 10px;width:100%;border-radius:7px;min-height:51px}.nav-item>span:first-child{font-size:18px}.main-wrap{width:100%;margin-left:0;padding-bottom:65px}.topbar{height:59px;padding:0 20px}.topbar-right{gap:12px}.subscription-badge{font-size:8px}.avatar{width:26px;height:26px;font-size:8px}.breadcrumb{font-size:10px;gap:8px}.view{padding:26px 20px 15px}.page-heading{align-items:flex-start;gap:15px;flex-direction:column;margin-bottom:23px}.page-heading h1{font-size:31px}.page-heading>button{width:100%}.eyebrow{font-size:8px}.page-heading p:last-child{font-size:12px}.welcome-banner{padding:25px;min-height:240px}.banner-copy h2{font-size:26px}.metrics{margin:17px 0 25px;gap:7px}.metrics>div{padding:12px 9px;display:block}.metric-icon{width:25px;height:25px;font-size:12px;margin-bottom:9px;border-radius:7px}.metrics strong{font-size:21px}.metrics div>span:not(.metric-icon){font-size:8px;line-height:1.4}.section-heading h2{font-size:16px}.section-heading>.small{font-size:9px}.empty{padding:28px 15px}.empty h3{font-size:15px}.empty p{font-size:11px}.project-grid{grid-template-columns:1fr}.page-footer{font-size:8px;gap:15px;line-height:1.7}.page-footer span:last-child{display:none}.connection-card{padding:20px}.guide-card{padding:22px}.guide-card p,.guide-card li{font-size:12px}.guide-card ol{padding-left:18px}.project-aside{display:block}.stage-header{padding:17px}.stage-reason{padding-left:59px;padding-right:17px}.stage-actions{padding:13px 17px}.stage-actions select{max-width:100%;flex:1}.stage-actions .primary{flex:1}.form-row{grid-template-columns:1fr;gap:0}dialog{padding:22px}.auth-screen{grid-template-columns:1fr}.auth-art{display:none}.auth-card{padding:45px 28px}.auth-card h1{font-size:35px}.brand-icon.large{margin-bottom:40px}.toast{right:15px;left:15px;bottom:80px;max-width:none}.detail-heading h1{font-size:27px;overflow-wrap:anywhere}.stage-verified{line-height:1.6}.connection-grid{gap:15px}.guide-illustration{font-size:45px}}

/* Conversas */
#chat-view{padding:0;height:calc(100dvh - 78px);display:grid;grid-template-columns:224px minmax(0,1fr);overflow:hidden;background:#130f0c}#chat-view[hidden]{display:none}.chat-list-panel{padding:24px 14px;border-right:1px solid #2b211c;overflow:auto;background:#181210;display:flex;flex-direction:column}.chat-list-heading{display:flex;align-items:center;justify-content:space-between;margin:0 10px 20px}.chat-list-heading h2{font-size:14px;margin:0}.chat-list-heading button{font-size:22px}.chat-list-item{display:flex;gap:10px;align-items:center;text-align:left;border:0;background:transparent;border-radius:9px;padding:13px 12px;width:100%;color:#c2ab9f;font-size:12px}.chat-list-item>span:last-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.chat-list-item.selected{background:#2a201b;color:#d3c4b8}.chat-list-item:hover{background:#221a16}.chat-list-note{margin-top:auto;padding:25px 10px 0;line-height:1.8;font-size:10px}.chat-workspace{display:flex;flex-direction:column;min-height:0;min-width:0}.chat-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 32px;border-bottom:1px solid #221a16;min-height:69px}.chat-header h1{font-size:15px;font-weight:500;margin:0;max-width:450px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-header>span{font-size:10px}#chat-list-toggle{display:none}.chat-scroll{flex:1;overflow:auto;scroll-behavior:smooth;padding:24px 32px;min-height:0}.chat-scroll::-webkit-scrollbar{width:5px}.chat-scroll::-webkit-scrollbar-thumb{background:#362922;border-radius:10px}#chat-messages{max-width:830px;margin:auto}.chat-welcome{text-align:center;padding:clamp(25px,9vh,100px) 10px 25px}.chat-welcome .large{margin:0 auto 24px}.chat-welcome h2{font-size:34px;font-weight:500;letter-spacing:-1.3px;margin:18px 0}.chat-welcome>p:last-of-type{color:#80736a;font-size:14px;line-height:1.8}.chat-suggestions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:30px}.chat-suggestions button{border:1px solid #2a201b;border-radius:10px;background:#0e0b1a;padding:14px 16px;font-size:11px;color:#9a8d83}.chat-suggestions button:hover{border-color:#614b3b;background:#18120f}.chat-compose-wrap{padding:12px 32px 18px;width:100%;max-width:940px;margin:0 auto}.chat-composer{border:1px solid #362922;border-radius:18px;background:#0e0b1a;box-shadow:0 7px 30px #00000010;padding:15px 17px 12px}.chat-composer:focus-within{border-color:#725844;box-shadow:0 7px 30px #00000016}.chat-composer textarea{width:100%;resize:none;border:0;box-shadow:none;padding:6px 2px;min-height:65px;max-height:180px;font:inherit;font-size:14px;line-height:1.7;background:transparent}.chat-composer textarea:focus{outline:none;border:0;box-shadow:none}.chat-compose-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}.chat-selectors{display:flex;gap:5px;min-width:0;flex-wrap:wrap}.chat-selectors select{border:0;background:#1c1512;padding:8px 10px;border-radius:8px;width:auto;max-width:230px;font-size:11px;color:#bdb1a8;margin:0}.chat-compose-buttons{display:flex;align-items:center;gap:8px}.chat-compose-buttons .primary{min-height:36px;padding:8px 13px;border-radius:10px}.chat-compose-buttons .secondary{font-size:11px;min-height:36px}.chat-attach-button{display:flex;align-items:center;justify-content:center;width:34px;height:36px;border-radius:8px;font-size:25px;color:#877263;margin:0;cursor:pointer}.chat-attach-button:hover{background:#1c1512}.chat-compose-hint{text-align:center;font-size:9px;color:#866556;line-height:1.7;margin:10px 0 0}.chat-message{margin:0 0 28px;padding:4px 0;min-width:0}.chat-message-label{display:flex;align-items:center;gap:9px;margin-bottom:12px;color:#b3aaa4;font-size:12px}.chat-message-label>span{display:flex;align-items:center;justify-content:center;width:28px;height:28px;background:#211915;color:#9a7f6b;border-radius:9px;font-size:14px}.chat-message-label>small{font-size:9px;font-weight:normal;color:#7a5d4e;margin-left:4px}.chat-message.from-user{max-width:85%;margin-left:auto}.from-user .chat-message-label{justify-content:flex-end}.from-user .chat-message-body{background:#221a16;border-radius:15px 3px 15px 15px;padding:15px 20px;color:#cac0b9}.chat-message-body{font-size:14px;line-height:1.85;color:#c3bbb5;overflow-wrap:anywhere}.chat-line{min-height:.45em}.chat-message-body h3{font-size:17px;margin:18px 0 8px}.chat-message-body code{font-family:Consolas,monospace;background:#221a16;border-radius:4px;padding:2px 4px;font-size:12px}.chat-bullet{padding-left:14px}.chat-code{background:#1b1512;border:1px solid #2c211c;border-radius:11px;overflow:hidden;margin:15px 0}.chat-code>div{display:flex;justify-content:space-between;align-items:center;padding:6px 14px;background:#251c18;font-size:10px;color:#927e6f}.chat-code button{border:0;background:none;color:#b3a194;font-size:10px;padding:4px}.chat-code pre{padding:14px;margin:0;overflow:auto;line-height:1.6}.chat-code pre code{background:none;padding:0;white-space:pre;font-size:12px}.copy-chat-message{font-size:10px;margin-top:11px;color:#7d6c5f}.chat-message-status{font-size:11px;color:#8d7360;margin:8px 0;white-space:pre-wrap}.chat-attachments{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 10px}.chat-upload,.pending-chat-file{border:1px solid #362922;background:#140f0d;border-radius:10px;display:flex;align-items:center;gap:10px;padding:10px;color:#b3a59a;font-size:11px;text-decoration:none;max-width:250px}.chat-upload img{width:70px;height:65px;object-fit:cover;border-radius:6px}.chat-upload>span,.pending-chat-file>span{min-width:0;overflow-wrap:anywhere}.chat-upload small,.pending-chat-file small{display:block;font-size:9px;color:#716257;margin-top:4px}.pending-chat-file button{border:0;background:none;font-size:17px;color:#846e5e;padding:0 4px}.chat-dragging .chat-workspace{outline:3px dashed #7c6352;outline-offset:-10px;background:#191310}.chat-workspace .error{color:#d02935}.chat-message-body a{color:#a17d62}
@media(min-width:1450px){.chat-scroll{padding-left:70px;padding-right:70px}}@media(max-width:1100px){#chat-view{grid-template-columns:180px minmax(0,1fr)}.chat-header{padding:18px 20px}.chat-scroll{padding:22px 20px}.chat-compose-wrap{padding:10px 18px 15px}.chat-selectors select{max-width:155px}.chat-welcome h2{font-size:29px}}@media(max-width:760px){#chat-view{height:calc(100dvh - 124px);display:block;position:relative}.chat-workspace{height:100%}.chat-list-panel{position:absolute;z-index:15;left:0;top:0;bottom:0;width:260px;box-shadow:10px 0 35px #00000022;display:none}.chat-list-open .chat-list-panel{display:flex}.chat-header{padding:13px 16px;min-height:61px;gap:8px}.chat-header h1{font-size:12px;max-width:220px}#chat-list-toggle{display:block;font-size:10px;margin-bottom:5px}.chat-header>span{font-size:8px;max-width:95px;text-align:right}.chat-scroll{padding:17px 16px}.chat-compose-wrap{padding:9px 12px 9px}.chat-composer{padding:10px 12px;border-radius:14px}.chat-composer textarea{min-height:48px;font-size:14px}.chat-selectors select{max-width:132px;font-size:10px;padding:7px}.chat-compose-controls{gap:5px}.chat-compose-buttons{gap:3px}.chat-compose-buttons .primary span{display:none}.chat-compose-buttons .primary{min-width:33px;padding:7px 10px}.chat-compose-buttons .secondary{padding:7px;font-size:9px}.chat-attach-button{width:25px}.chat-compose-hint{font-size:8px;margin-top:7px}.chat-welcome{padding-top:30px}.chat-welcome h2{font-size:27px}.chat-welcome .large{width:44px;height:44px;font-size:28px}.chat-welcome>p:last-of-type{font-size:12px}.chat-suggestions{gap:7px;margin-top:20px}.chat-suggestions button{font-size:10px;padding:11px 12px}.chat-message-body{font-size:13px}.chat-message.from-user{max-width:94%}.chat-message-label>small{font-size:8px;overflow-wrap:anywhere}.chat-upload{max-width:100%}.chat-upload img{width:50px;height:50px}.chat-code pre{max-width:100%;padding:11px}.nav-item{font-size:8px!important;padding-left:5px!important;padding-right:5px!important}}

.chat-routing{background:#1b1512;border-left:3px solid #795d49;border-radius:7px;padding:10px 13px;margin:0 0 16px;font-size:11px;line-height:1.7;color:#978272}.chat-routing strong{font-size:10px;color:#93755f;text-transform:uppercase;letter-spacing:.6px}.chat-routing p{margin:5px 0}.chat-routing details{font-size:10px;margin-top:5px}.chat-routing details>div{padding:4px 0}.chat-routing summary{cursor:pointer}

/* ===== Supernova — layout estilo painel (capa + trilho de ícones) ===== */
:root{--bg:#050303;--panel:#0c0807;--card:#0f0a08;--card2:#170f0b;--line:#2a1a12;--line2:#3a2417;--text:#f5ebe3;--muted:#b09a8c;--soft:#7a6255;--accent:#ff9a3c;--ok:#7fd88a;--warn:#e9a55c;--font:"Space Grotesk","Segoe UI Variable Text","Segoe UI",Inter,system-ui,sans-serif;color-scheme:dark}
body{background:var(--bg);color:var(--text);font-family:var(--font);letter-spacing:-.1px}
.sprite{position:absolute;width:0;height:0;overflow:hidden}
.i{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:-3px}
.topbar{display:none}
/* trilho lateral */
.sidebar{width:58px;inset:10px auto 10px 10px;padding:12px 0;align-items:center;background:var(--panel);border:1px solid var(--line);border-radius:16px;z-index:5}
.brand{margin:2px 0 26px;font-size:0}.brand>span:last-child{display:none}
.brand-icon{width:32px;height:32px;font-size:20px;border-radius:10px;background:radial-gradient(circle at 50% 50%,#fff 0,#ffe0b0 18%,#ff8a4c 45%,#ff3d8b 75%,#6d4cd6 100%);color:#fff;box-shadow:0 0 16px #ff7a3d55}
.workspace-label{display:none}
nav{gap:6px;justify-items:center}
.nav-item{width:38px;height:38px;padding:0;justify-content:center;border-radius:10px;color:var(--muted);position:relative}
.nav-item b{display:none}.nav-item .count{display:none}
.nav-item:hover{background:var(--card2);color:var(--text)}
.nav-item.active{background:#2a170c;color:#fff;box-shadow:none;font-weight:500}
.nav-item:hover b{display:block;position:absolute;left:48px;top:50%;transform:translateY(-50%);background:#1c110b;border:1px solid var(--line2);color:var(--text);font-size:11px;font-weight:500;padding:5px 9px;border-radius:7px;white-space:nowrap;z-index:9}
.sidebar-bottom{padding:0;display:flex;flex-direction:column;align-items:center;gap:10px}
.sidebar-bottom .local-status{font-size:0;gap:0}.sidebar-bottom .local-status div{display:none}.sidebar-bottom .local-status i{width:8px;height:8px;background:var(--ok);box-shadow:0 0 8px var(--ok)}
.sidebar-bottom>p{display:none}
#logout{margin:0;width:38px;height:38px;display:grid;place-items:center;border-radius:10px;color:var(--muted)}#logout:hover{background:var(--card2);color:var(--text)}
.main-wrap{margin-left:78px;width:calc(100% - 78px)}
.view{padding:36px 40px 24px}
/* superfícies */
.project-card,.connection-card,.aside-card,.guide-card,.stage,.metrics>div,.empty,dialog{background:var(--card);border-color:var(--line)}
.welcome-banner{background:linear-gradient(120deg,#1a0f09,#0c0807 60%);border-color:var(--line)}
.primary{background:#f2f5f6;border-color:#f2f5f6;color:#1a0b03;font-weight:600;box-shadow:0 2px 10px #0006}.primary:hover{background:#fff}
.secondary{background:var(--card2);border-color:var(--line2);color:var(--text)}.secondary:hover{border-color:#7a3d18}
input,textarea,select{background:#0a0605;border-color:var(--line2);color:var(--text)}
input:focus,textarea:focus,select:focus{border-color:#ff8a3d;box-shadow:0 0 0 3px #ff8a3d26}
.eyebrow,.pill{color:var(--muted);letter-spacing:2px}
.text-link{color:var(--accent)}.progress-fill{background:linear-gradient(90deg,#ffb07a,#ff6f91)}
.project-card:hover{border-color:#7a3d18}
/* Início */
.home{padding:0 0 40px;max-width:none}
.hero{position:relative;height:clamp(300px,46vh,440px);overflow:hidden;background:radial-gradient(ellipse 38% 55% at 68% 42%,#ff8a4c40,transparent 70%),radial-gradient(ellipse 60% 70% at 72% 40%,#ff3d8b26,transparent 70%),radial-gradient(ellipse 70% 80% at 25% 70%,#7a2a0a33,transparent 70%),radial-gradient(ellipse 50% 60% at 10% 10%,#5b3fd61f,transparent 70%),linear-gradient(180deg,#050b10,#0a1a20 70%,var(--bg))}
.hero::after{content:"";position:absolute;inset:auto 0 0;height:45%;background:linear-gradient(transparent,var(--bg))}
#hero-stars{position:absolute;inset:0;width:100%;height:100%}
.hero-copy{position:relative;z-index:1;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:0 20px 40px}
.hero-copy h1{font-size:clamp(26px,3.2vw,40px);font-weight:600;letter-spacing:-1px;margin:0 0 10px;text-shadow:0 2px 24px #000a}
.hero-copy p{color:#f0d9c8;font-size:14px;margin:0;text-shadow:0 1px 10px #000}
.hero-credit{position:absolute;right:18px;bottom:62px;z-index:2;font-size:10px;color:#c0a593;background:#0a0605cc;border:1px solid var(--line);padding:5px 9px;border-radius:7px}
.quick-card{position:relative;z-index:3;width:min(620px,calc(100% - 32px));margin:-48px auto 0;background:#110a07f2;backdrop-filter:blur(12px);border:1px solid var(--line2);border-radius:14px;box-shadow:0 18px 50px #0009}
.quick-tabs{display:flex;gap:4px;padding:6px 10px 0;border-bottom:1px solid var(--line)}
.quick-tabs button{border:0;background:none;color:var(--muted);font-size:12px;padding:9px 8px 10px;display:flex;align-items:center;gap:6px;border-bottom:2px solid transparent;margin-bottom:-1px}
.quick-tabs button .i{width:14px;height:14px}
.quick-tabs button.active{color:#fff;border-bottom-color:#fff}
#quick-form textarea{border:0;background:none;box-shadow:none;resize:none;min-height:64px;padding:14px 16px 4px;font-size:14px}
#quick-form textarea:focus{box-shadow:none}
.quick-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 10px 10px 16px}
#quick-hint{font-size:10px;color:var(--soft)}
.round-send{width:32px;height:32px;border-radius:50%;border:0;background:#ffb066;color:#1a0b03;display:grid;place-items:center;flex-shrink:0}.round-send:hover{background:#fff}.round-send .i{width:16px;height:16px}
.home-head{width:min(1050px,calc(100% - 40px));margin:44px auto 12px}
.home-head .eyebrow{margin:0}
.home-grid{width:min(1050px,calc(100% - 40px));margin:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.home-card{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:16px 18px;min-height:170px}
.home-card.wide{grid-column:span 2}
.home-card header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.home-card h3{font-size:13px;font-weight:500;margin:0;display:flex;align-items:center;gap:8px}
.home-card h3 .i{width:16px;height:16px;color:var(--muted)}.home-card h3 small{color:var(--soft);font-weight:400;font-size:11px}
.card-link{border:0;background:none;color:var(--muted);font-size:11px;display:flex;align-items:center;gap:4px}.card-link .i{width:12px;height:12px}.card-link:hover{color:#fff}
.home-row{display:flex;align-items:center;gap:10px;width:100%;border:0;background:none;color:var(--text);text-align:left;padding:8px 6px;border-radius:8px;font-size:13px}
button.home-row:hover{background:var(--card2)}
.home-row .dot{width:7px;height:7px;border-radius:50%;border:1.5px solid var(--soft);flex-shrink:0}
.home-row.ok .dot{background:var(--ok);border-color:var(--ok)}.home-row.warn .dot{background:var(--warn);border-color:var(--warn)}
.home-row-label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.home-row-side{font-size:11px;color:var(--muted);white-space:nowrap}
.home-empty{color:var(--muted);font-size:12px;margin:6px 0}
.home-big{font-size:42px;font-weight:600;letter-spacing:-2px;line-height:1.1}.home-big small{font-size:18px;color:var(--muted);margin-left:2px}
#home-progress .progress-track{background:#2a1810;height:5px;margin-top:10px}
/* conversa: sem topbar */
#chat-view{height:100dvh;background:transparent}.chat-list-panel{background:var(--panel);border-color:var(--line)}
.chat-composer{background:var(--card2);border-color:var(--line2)}
.from-user .chat-message-body{background:#2a170d;color:#eef5f7}
/* login */
.auth-screen{background:var(--bg)}
.auth-art{background:radial-gradient(circle at 50% 43%,#fff 0,#ffe8c0 2%,#ff9a5a 7%,#ff3d8b2e 22%,transparent 45%),radial-gradient(ellipse at 30% 80%,#7a2a0a40,transparent 60%),linear-gradient(180deg,#050b10,#0b1c23)}
.orbit{border-color:#ffffff1c}.sun{color:#fff;text-shadow:0 0 30px #ffd9a8,0 0 70px #ff7a3d}
.planet{background:#110a07!important;border-color:#3a2417;color:#e6eef1!important}
.auth-art p{color:#f0d9c8}
@media(max-width:850px){.home-grid{grid-template-columns:1fr 1fr}.home-card.wide{grid-column:span 2}.view{padding:28px 22px}.home{padding:0 0 30px}.sidebar{width:58px;padding:12px 0}.main-wrap{margin-left:78px;width:calc(100% - 78px)}.brand{margin:2px 0 26px}}
@media(max-width:560px){
 .sidebar{inset:auto 8px 8px 8px;width:auto;height:58px;flex-direction:row;padding:0 8px;border-radius:14px;background:#0c0807f5}
 .sidebar nav{display:flex;flex:1;justify-content:space-around}.sidebar-bottom{display:none}
 .nav-item{width:44px;height:44px;min-height:0;font-size:0!important;padding:0!important}.nav-item:hover b{display:none}
 .main-wrap{margin-left:0;width:100%;padding-bottom:76px}
 #chat-view{height:calc(100dvh - 76px)}
 .hero{height:300px}.hero-credit{display:none}.hero-copy h1{font-size:25px}
 .quick-card{margin-top:-44px}
 .home-grid{grid-template-columns:1fr;width:calc(100% - 32px)}.home-card.wide{grid-column:auto}.home-head{width:calc(100% - 32px);margin-top:30px}
}

/* ===== Supernova — tema Buraco Negro ===== */
.hero{height:clamp(340px,58vh,560px);background:#050303 url(/cover.webp) center 28%/cover no-repeat}
.hero::after{height:55%;background:linear-gradient(transparent,#050303 92%)}
#hero-stars{display:none}
.hero-copy{justify-content:flex-end;padding-bottom:78px}
.hero-copy h1{text-shadow:0 2px 30px #000,0 0 60px #000}
.hero-copy p{color:#f0d9c8}
.hero-credit{bottom:96px}
.quick-card{background:#0f0907ee;border-color:#3a2417;box-shadow:0 18px 60px #000c,0 0 0 1px #ff7a1a10,0 -10px 50px #ff6a0012}
.quick-tabs button.active{color:#ffd2a6;border-bottom-color:#ff8a3d}
.round-send{background:linear-gradient(135deg,#ffc070,#ff7a1a);color:#1a0b03}.round-send:hover{background:linear-gradient(135deg,#ffd49a,#ff8a3d)}
.brand-icon{background:radial-gradient(circle at 50% 50%,#000 0 34%,#ffd08a 38%,#ff8a2a 46%,#a8360a 60%,#1a0a05 74%);color:transparent;box-shadow:0 0 14px #ff7a1a66;font-size:0}
.primary{background:linear-gradient(135deg,#ffbf6e,#ff7a1a);border-color:#ff8a3d;color:#1a0b03;box-shadow:0 4px 22px #ff6a0033}
.primary:hover{background:linear-gradient(135deg,#ffd49a,#ff8a3d);filter:none}
.nav-item.active{background:#2a170c;color:#ffc58f;box-shadow:inset 0 0 0 1px #4a2a14}
.sidebar-bottom .local-status i{background:#ff9a3c;box-shadow:0 0 8px #ff9a3c}
.progress-fill{background:linear-gradient(90deg,#ffd08a,#ff7a1a,#c2410c)}
.home-card{background:linear-gradient(180deg,#110b08,#0c0807)}
.home-card:hover{border-color:#4a2a14}
.home-big{background:linear-gradient(180deg,#ffe0b8,#ff8a3d);-webkit-background-clip:text;background-clip:text;color:transparent}
.chat-composer:focus-within{border-color:#7a3d18;box-shadow:0 0 30px #ff6a0018}
.chat-message-body a,.text-link{color:#ffab5e}
/* login */
.auth-art{background:#050303 url(/cover.webp) center 30%/cover no-repeat}
.auth-art .orbit,.auth-art .sun{display:none}
.planet{background:#0f0907dd!important;border-color:#3a2417;color:#ffd2a6!important;box-shadow:0 0 24px #ff6a0022}
.auth-art p{color:#f0d9c8;text-shadow:0 2px 14px #000}
@media(max-width:560px){.hero{height:330px;background-position:center 20%}.hero-copy{padding-bottom:60px}}

/* ===== Supernova — janela, trilho, caixa rápida, cartões ===== */
/* janela sem barra do Windows */
.win-bar{position:fixed;top:0;left:78px;right:0;height:38px;z-index:40;display:flex;justify-content:flex-end;align-items:center}
.win-controls{display:flex;height:100%}
.win-controls button{width:46px;height:100%;border:0;background:transparent;color:#cdb8a8;display:grid;place-items:center;border-radius:0}
.win-controls button .i{width:15px;height:15px;stroke-width:1.4}
.win-controls button:hover{background:#ffffff14;color:#fff}
.win-controls .win-close:hover{background:#c42b1c;color:#fff}
#win-edges i{position:fixed;z-index:60;display:block}
#win-edges [data-edge=l]{left:0;top:8px;bottom:8px;width:5px;cursor:ew-resize}
#win-edges [data-edge=r]{right:0;top:8px;bottom:8px;width:5px;cursor:ew-resize}
#win-edges [data-edge=t]{top:0;left:8px;right:8px;height:4px;cursor:ns-resize}
#win-edges [data-edge=b]{bottom:0;left:8px;right:8px;height:5px;cursor:ns-resize}
#win-edges [data-edge=tl]{left:0;top:0;width:8px;height:8px;cursor:nwse-resize}
#win-edges [data-edge=tr]{right:0;top:0;width:8px;height:8px;cursor:nesw-resize}
#win-edges [data-edge=bl]{left:0;bottom:0;width:8px;height:8px;cursor:nesw-resize}
#win-edges [data-edge=br]{right:0;bottom:0;width:8px;height:8px;cursor:nwse-resize}
.is-desktop .view:not(.home){padding-top:52px}
.is-desktop #chat-view{padding-top:0;margin-top:38px;height:calc(100dvh - 38px)}
.is-desktop .auth-screen{min-height:100dvh}
/* trilho lateral (como na referência) */
.sidebar{width:56px;inset:8px auto 8px 8px;padding:12px 0 10px;border-radius:18px;background:linear-gradient(180deg,#120b08,#0a0605);border-color:#24160f;box-shadow:0 10px 40px #0008}
.main-wrap{margin-left:72px;width:calc(100% - 72px)}
.win-bar{left:72px}
.brand{margin:0 0 14px}
.rail-tools{display:grid;gap:4px;justify-items:center}
.rail-sep{display:block;width:24px;height:1px;background:#2a1a12;margin:14px 0}
nav{gap:4px}
.nav-item{width:36px;height:36px;border-radius:10px;color:#9c8577}
.nav-item .i{width:18px;height:18px}
.nav-item.active{background:#2a170c;color:#ffc58f;box-shadow:inset 0 0 0 1px #4a2a14}
.sidebar-bottom{gap:6px;padding-bottom:2px;position:relative}
.sidebar-bottom .local-status{margin-bottom:6px}
.avatar-button{width:32px;height:32px;border-radius:50%;border:1px solid #4a2a14;background:radial-gradient(circle at 35% 30%,#3a2213,#120a06);color:#ffc58f;font-weight:600;font-size:13px;display:grid;place-items:center;margin-top:4px}
.avatar-button:hover{border-color:#ff8a3d}
.avatar-menu{position:absolute;left:48px;bottom:0;background:#140c08;border:1px solid #3a2417;border-radius:10px;padding:6px;z-index:20;box-shadow:0 10px 30px #000a;white-space:nowrap}
.avatar-menu .text-button{display:flex;align-items:center;gap:8px;color:#e9d6c8;font-size:12px;padding:8px 10px;margin:0;width:auto;height:auto;border-radius:7px}
.avatar-menu .text-button:hover{background:#2a170c}
#logout{width:auto;height:auto}
/* saudação e linha rotativa */
.ticker{height:24px;overflow:hidden;position:relative}
#ticker-text{margin:0;transition:opacity .45s ease,transform .45s ease,filter .45s ease}
#ticker-text.in{opacity:1;transform:translateY(0);filter:blur(0)}
#ticker-text.out{opacity:0;transform:translateY(-10px);filter:blur(3px)}
#ticker-text.enter{opacity:0;transform:translateY(10px);filter:blur(3px);transition:none}
#home-greeting{animation:sn-rise .7s ease both}
@keyframes sn-rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){#ticker-text{transition:opacity .2s}#ticker-text.out,#ticker-text.enter{transform:none;filter:none}#home-greeting{animation:none}}
/* caixa rápida */
.quick-tabs{gap:2px;overflow-x:auto;scrollbar-width:none}
.quick-tabs button{white-space:nowrap}
.quick-foot{gap:10px}
.quick-project{display:flex;align-items:center;gap:6px;margin:0;color:#b09a8c;font-size:11px;font-weight:500;flex-shrink:0}
.quick-project[hidden]{display:none}
.quick-project .i{width:14px;height:14px}
.quick-project select{background:transparent;border:0;color:#d9c3b3;font-size:11px;padding:4px 2px;min-height:0;width:auto;max-width:150px;cursor:pointer}
.quick-project select:focus{box-shadow:none}
#quick-hint{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.home-head{display:flex;justify-content:space-between;align-items:center}
.home-head .card-link .i{width:14px;height:14px}
/* tarefas e notas */
.task-row,.note-row{display:flex;align-items:center;gap:10px;padding:7px 6px;border-radius:8px;font-size:13px;position:relative}
.task-row:hover,.note-row:hover{background:#170f0b}
.task-check{width:17px;height:17px;border-radius:5px;border:1.5px solid #6b5144;background:none;flex-shrink:0;padding:0}
.task-check:hover{border-color:#ff8a3d}
.task-row.high .task-check{border-color:#ff8a3d}
.task-row.done .task-check{background:#ff8a3d;border-color:#ff8a3d;box-shadow:inset 0 0 0 3px #0f0a08}
.task-row.done .home-row-label{text-decoration:line-through;color:#7a6255}
.tag{color:#ffab5e;font-size:11px}
.due{font-size:10px;color:#b09a8c;border:1px solid #3a2417;border-radius:5px;padding:1px 6px;white-space:nowrap}
.due.soon{color:#ffc58f}.due.late{color:#ff7b6b;border-color:#5a2018}
.row-del{border:0;background:none;color:#7a6255;padding:2px;opacity:0;flex-shrink:0;display:grid;place-items:center}
.row-del .i{width:14px;height:14px}
.task-row:hover .row-del,.note-row:hover .row-del{opacity:1}.row-del:hover{color:#ff7b6b}
.note-row{align-items:flex-start;flex-wrap:wrap;gap:4px 10px}
.note-row p{flex:1;margin:0;color:#e9d6c8;font-size:12.5px;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.note-row small{color:#7a6255;font-size:10px}
/* clima */
.weather-now{display:flex;align-items:center;gap:14px}
.weather-icon .i{width:40px;height:40px;color:#ffb066;stroke-width:1.3}
.weather-temp{font-size:38px;font-weight:600;letter-spacing:-1.5px;line-height:1}
.weather-text{color:#d9c3b3;font-size:12px;margin-top:3px}
.weather-meta{color:#8f786b;font-size:10.5px;margin:10px 0 12px}
.weather-days{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.weather-days div{background:#170f0b;border:1px solid #2a1a12;border-radius:9px;padding:8px 6px;display:grid;justify-items:center;gap:2px;font-size:11px}
.weather-days small{color:#b09a8c;font-size:10px;text-transform:capitalize}
.weather-days .i{width:16px;height:16px;color:#ffb066}
.weather-days b{font-weight:600}.weather-days span{color:#8f786b}.weather-days em{font-style:normal;color:#7fb8ff;font-size:10px}
.weather-card #weather-setup{margin-top:8px;font-size:11px;min-height:32px}
/* jogo */
.game-teams{display:flex;align-items:center;gap:10px;font-size:16px;margin:4px 0 6px;flex-wrap:wrap}
.game-teams span{color:#ff8a3d}
.game-when{color:#ffc58f;font-size:13px;margin:0 0 4px}
/* busca */
.search-dialog{padding:0;width:min(560px,calc(100% - 30px));top:12vh;margin-top:0;background:#0f0a08;border-color:#3a2417}
.search-box{display:flex;align-items:center;gap:10px;padding:12px 16px;border-bottom:1px solid #2a1a12}
.search-box .i{color:#b09a8c}
.search-box input{border:0;background:none;box-shadow:none;padding:6px 0;font-size:14px}
.search-box input:focus{box-shadow:none}
#search-results{max-height:50vh;overflow:auto;padding:8px}
.search-item{display:flex;justify-content:space-between;gap:12px;width:100%;border:0;background:none;color:#f5ebe3;text-align:left;padding:10px;border-radius:8px;font-size:13px}
.search-item:hover{background:#2a170c}
.search-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.search-item small{color:#8f786b;white-space:nowrap}
#prefs-dialog .secondary.full{margin-top:10px}
@media(max-width:850px){.sidebar{width:56px}.main-wrap{margin-left:72px;width:calc(100% - 72px)}}
@media(max-width:560px){
 .sidebar{inset:auto 8px 8px 8px;width:auto;height:58px;padding:0 8px}
 .sidebar .brand,.rail-sep,.rail-tools #open-search{display:none}
 .rail-tools{display:flex}
 .main-wrap{margin-left:0;width:100%}
 .quick-foot{flex-wrap:wrap}#quick-hint{order:3;flex-basis:100%;white-space:normal}
 .weather-days{gap:4px}
}
/* app do PC: sem barra de rolagem da página para a borda direita redimensionar */
html:has(body.is-desktop){scrollbar-width:none}
html:has(body.is-desktop)::-webkit-scrollbar{display:none}

/* ===== Supernova — conversa redesenhada ===== */
/* fotos das IAs */
.ai-avatar{width:30px;height:30px;border-radius:9px;display:inline-grid;place-items:center;flex-shrink:0;box-shadow:inset 0 0 0 1px #ffffff14}
.ai-avatar svg{width:62%;height:62%}
.ai-avatar.sm{width:20px;height:20px;border-radius:6px}
.ai-avatar.md{width:36px;height:36px;border-radius:11px}
.ai-avatar.lg{width:42px;height:42px;border-radius:12px}
.ai-avatar.xl{width:58px;height:58px;border-radius:17px;margin:0 auto 22px;box-shadow:0 0 40px #ff7a1a40,inset 0 0 0 1px #ffffff1a}
.ai-avatar.ai-claude{background:#f4e9e1;color:#d97757}
.ai-avatar.ai-chatgpt{background:#10a37f;color:#fff}
.ai-avatar.ai-nvidia{background:#76b900;color:#fff}
.ai-avatar.ai-supernova{background:radial-gradient(circle,#2a120a,#0a0605);color:#ff9a3c}
/* área geral */
#chat-view{background:transparent;grid-template-columns:250px minmax(0,1fr)}
.chat-list-panel{margin:10px 0 10px 4px;border:1px solid #24160f;border-radius:16px;background:linear-gradient(180deg,#110b08,#0b0706);padding:18px 10px}
.is-desktop .chat-list-panel{margin-top:6px}
.chat-list-heading{margin:2px 8px 14px}
.chat-list-heading h2{font-size:13px;font-weight:600;letter-spacing:.2px}
.chat-list-heading button{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;font-size:18px;color:#d9c3b3}
.chat-list-heading button:hover{background:#2a170c;color:#fff}
.chat-list-item{padding:10px 10px;font-size:12.5px;color:#cdb8a8;border-radius:10px;gap:9px}
.chat-list-item>span:first-child{width:6px;height:6px;border-radius:50%;background:#4a2f20;font-size:0;flex-shrink:0}
.chat-list-item:hover{background:#170f0b}
.chat-list-item.selected{background:#2a170c;color:#ffd2a6;box-shadow:inset 0 0 0 1px #4a2a14}
.chat-list-item.selected>span:first-child{background:#ff8a3d;box-shadow:0 0 8px #ff8a3d}
.chat-list-note{color:#6e5649}
.chat-header{border-bottom:0;padding:18px 36px 8px;min-height:60px}
.chat-header h1{font-size:15px;font-weight:600;letter-spacing:-.2px;color:#f5ebe3}
.chat-header>span{font-size:10.5px;color:#b09a8c;border:1px solid #2a1a12;background:#120b08;border-radius:999px;padding:5px 11px;display:flex;align-items:center;gap:6px}
.chat-header>span::before{content:"";width:6px;height:6px;border-radius:50%;background:#7fd88a;box-shadow:0 0 6px #7fd88a}
.chat-scroll{padding:16px 36px 24px}
.chat-scroll::-webkit-scrollbar-thumb{background:#2a1a12}
#chat-messages{max-width:780px}
/* boas-vindas */
.chat-welcome{padding:clamp(20px,7vh,80px) 10px 20px}
.chat-welcome h2{font-size:32px;font-weight:600;color:#f5ebe3}
.chat-welcome>p:not(.eyebrow){color:#b09a8c;font-size:13.5px;max-width:460px;margin:0 auto}
.ai-team{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:30px auto 0;max-width:720px;text-align:left}
.ai-team-card{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #2a1a12;border-radius:14px;background:linear-gradient(180deg,#130c09,#0d0806)}
.ai-team-card strong{display:block;font-size:13.5px;color:#f5ebe3}
.ai-team-card strong small{color:#8f786b;font-weight:400;font-size:11px}
.ai-team-card span:not(.ai-avatar){display:block;font-size:11.5px;color:#b09a8c;line-height:1.45;margin-top:2px}
.chat-suggestions{margin-top:22px;gap:8px}
.chat-suggestions button{display:flex;align-items:center;gap:8px;border:1px solid #2a1a12;background:#0f0a08;color:#d9c3b3;border-radius:999px;padding:8px 14px 8px 8px;font-size:12px}
.chat-suggestions button:hover{border-color:#5a3418;background:#170f0b;color:#fff}
/* mensagens */
.chat-message{margin-bottom:30px;animation:sn-msg .35s ease both}
@keyframes sn-msg{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.chat-message-label{gap:10px;margin-bottom:10px;font-size:13px;color:#f5ebe3}
.chat-message-label strong{font-weight:600}
.chat-message-label>span:not(.ai-avatar){width:auto;height:auto;background:none}
.ai-role{font-style:normal;font-size:10.5px;color:#ffc58f;border:1px solid #4a2a14;background:#1c0f08;border-radius:999px;padding:2px 9px}
.from-ai.by-claude .ai-role{color:#f0b49a;border-color:#5a3020}
.from-ai.by-chatgpt .ai-role{color:#7fe0c0;border-color:#14533f;background:#08160f}
.from-ai.by-nvidia .ai-role{color:#b6e070;border-color:#3d5a10;background:#0e1606}
.chat-message-label>small{font-size:10px;color:#7a6255;margin-left:0}
.from-ai .chat-message-body{padding-left:40px;color:#e9d6c8;font-size:14px;line-height:1.8}
.from-ai .copy-chat-message{margin-left:40px}
.copy-chat-message{border:0;background:none;color:#8f786b;font-size:11px;padding:4px 0;margin-top:8px;cursor:pointer}
.copy-chat-message:hover{color:#ffc58f}
.me-avatar{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;border:1px solid #4a2a14;background:radial-gradient(circle at 35% 30%,#3a2213,#120a06);color:#ffc58f;font-size:11px;font-weight:600}
.from-user{max-width:78%}
.from-user .chat-message-label{flex-direction:row-reverse;gap:8px}
.from-user .chat-message-body{background:linear-gradient(135deg,#2a170c,#1d0f08);border:1px solid #3a2417;border-radius:18px 4px 18px 18px;padding:13px 18px;color:#fbeee4;font-size:14px}
.chat-message-status{color:#ffb066;display:flex;align-items:center;gap:8px}
.chat-message-status:not(.error)::before{content:"";width:8px;height:8px;border-radius:50%;background:#ff8a3d;animation:sn-pulse-dot 1.2s ease-in-out infinite}
@keyframes sn-pulse-dot{50%{opacity:.25;transform:scale(.7)}}
.chat-code{border-color:#2a1a12;background:#0c0807;border-radius:12px}
.chat-code>div{background:#150d09;color:#b09a8c}
.chat-code button{color:#ffb066}
.chat-message-body code{background:#1c120d;color:#ffd2a6}
/* resumo da escolha automática (foto na frente) */
.chat-routing{display:flex;gap:12px;align-items:flex-start;border:1px solid #2a1a12;border-left:0;border-radius:14px;background:linear-gradient(90deg,#160d09,#0e0907);padding:12px 14px;margin:0 0 14px;color:#b09a8c}
.from-ai.by-chatgpt .chat-routing{background:linear-gradient(90deg,#0a1612,#0e0907)}
.from-ai.by-nvidia .chat-routing{background:linear-gradient(90deg,#101606,#0e0907)}
.chat-routing-copy{flex:1;min-width:0}
.chat-routing strong{display:block;font-size:12.5px;text-transform:none;letter-spacing:0;color:#f5ebe3;font-weight:600}
.chat-routing-copy>span{display:block;font-size:12px;color:#d9c3b3;margin-top:1px}
.chat-routing details{margin-top:6px;font-size:11px;color:#8f786b}
.chat-routing summary{color:#b09a8c}
.chat-routing details p,.chat-routing details div{margin:5px 0;line-height:1.6}
/* área de digitar */
.chat-compose-wrap{padding:10px 36px 16px;max-width:860px}
.chat-composer{border:1px solid #3a2417;border-radius:20px;background:linear-gradient(180deg,#140c09ee,#0f0907ee);backdrop-filter:blur(12px);box-shadow:0 14px 50px #000a,0 -6px 40px #ff6a000d;padding:14px 14px 10px 18px}
.chat-composer:focus-within{border-color:#7a3d18;box-shadow:0 14px 50px #000a,0 0 0 4px #ff7a1a14}
.chat-composer textarea{font-size:14.5px;min-height:56px;color:#f5ebe3}
.chat-composer textarea::placeholder{color:#7a6255}
.chat-compose-controls{margin-top:6px}
.chat-selectors{align-items:center;gap:6px}
.ai-badge{display:inline-flex}
.chat-selectors select{background:#1a100b;border:1px solid #2e1d14;border-radius:999px;padding:7px 12px;color:#e9d6c8;font-size:11.5px;min-height:0}
.chat-selectors select:hover{border-color:#5a3418}
.chat-attach-button{width:34px;height:34px;border-radius:50%;color:#d9c3b3;font-size:22px}
.chat-attach-button:hover{background:#2a170c;color:#fff}
.chat-compose-buttons .primary{border-radius:999px;min-height:38px;padding:8px 16px}
.chat-compose-buttons .secondary{border-radius:999px}
.chat-compose-hint{color:#6e5649;font-size:10px}
.chat-upload,.pending-chat-file{background:#140c09;border-color:#2e1d14;color:#d9c3b3}
@media(max-width:1100px){#chat-view{grid-template-columns:210px minmax(0,1fr)}.chat-scroll{padding:16px 22px}.chat-compose-wrap{padding:10px 18px 14px}.ai-team{grid-template-columns:1fr}}
@media(max-width:760px){.chat-list-panel{margin:0;border-radius:0 16px 16px 0;background:#0e0907}.chat-header{padding:12px 16px 6px}.from-ai .chat-message-body{padding-left:0}.from-ai .copy-chat-message{margin-left:0}.from-user{max-width:92%}.chat-welcome h2{font-size:26px}.ai-team{max-width:100%}.chat-composer{border-radius:16px;padding:10px 10px 8px 12px}}

/* fotos enviadas pelo usuário */
.ai-avatar{overflow:hidden}
.ai-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.ai-avatar.ai-claude,.ai-avatar.ai-chatgpt,.ai-avatar.ai-nvidia{background:#fff;box-shadow:0 0 0 1px #ffffff1f}

/* ===== sua mensagem e sua foto ===== */
.me-avatar{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;overflow:hidden;border:1.5px solid #5a3418;background:radial-gradient(circle at 35% 30%,#3a2213,#120a06);color:#ffc58f;font-size:12px;font-weight:600}
.me-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.me-avatar.has-photo{border-color:#ff8a3d;box-shadow:0 0 0 2px #050303,0 0 12px #ff7a1a44}
.me-avatar.rail{width:32px;height:32px;margin:0}
.me-avatar.xl{width:64px;height:64px;font-size:22px}
.avatar-button{border:0;background:none;padding:0;width:auto;height:auto;margin-top:4px;border-radius:50%}
.avatar-button:hover .me-avatar{border-color:#ff8a3d}
.chat-message.from-user{display:flex;flex-direction:row-reverse;align-items:flex-end;gap:10px;max-width:82%;margin-left:auto}
.user-stack{display:flex;flex-direction:column;align-items:flex-end;min-width:0}
.from-user .chat-message-body{background:linear-gradient(135deg,#ff8a3d26,#ff3d8b14),#1a0f0a;border:1px solid #ff8a3d38;border-radius:20px 20px 6px 20px;padding:12px 17px;color:#fff3ea;font-size:14.5px;line-height:1.65;box-shadow:0 6px 24px #ff6a0012}
.from-user .chat-attachments{justify-content:flex-end;margin-bottom:6px}
.from-user time{font-size:10px;color:#6e5649;margin:5px 4px 0}
.from-user .me-avatar{margin-bottom:20px}
/* preferências */
.pref-photo{display:flex;gap:16px;align-items:center;margin:6px 0 4px;padding:14px;border:1px solid #2a1a12;border-radius:14px;background:#120b08}
.pref-photo strong{font-size:13.5px}
.pref-photo p{margin:2px 0 8px}
.pref-photo-actions{display:flex;gap:12px;align-items:center}
.pref-photo-actions .text-button{margin:0;font-size:12px;color:#b09a8c}
.small-btn{min-height:34px;padding:7px 12px;font-size:11.5px;margin:0;cursor:pointer;white-space:nowrap}
.pref-inline{display:flex;gap:8px}
.pref-inline input{flex:1}
.pref-check{display:flex;align-items:center;gap:10px;font-weight:500;color:#e9d6c8;font-size:12.5px;cursor:pointer}
.pref-check input{width:16px;height:16px;min-height:0;accent-color:#ff8a3d}
@media(max-width:760px){.chat-message.from-user{max-width:94%}}

/* balão do usuário mais compacto */
.chat-message.from-user{gap:8px;margin-bottom:22px}
.from-user .chat-message-body{padding:7px 13px;font-size:13.5px;line-height:1.5;border-radius:16px 16px 4px 16px;box-shadow:none;background:linear-gradient(135deg,#ff8a3d1f,#ff3d8b0f),#170d09;border-color:#ff8a3d2e}
.from-user .chat-message-body .chat-line{min-height:0}
.from-user .me-avatar{width:26px;height:26px;margin-bottom:17px;font-size:10px}
.from-user .me-avatar.has-photo{box-shadow:0 0 0 1.5px #050303}
.from-user time{font-size:9.5px;margin-top:3px}

/* imagem gerada pela IA */
.ai-image{margin:14px 0 4px;max-width:440px;border:1px solid #2e1d14;border-radius:16px;overflow:hidden;background:#0f0907}
.ai-image img{display:block;width:100%;height:auto}
.ai-image figcaption{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 12px;font-size:11px;color:#b09a8c}
.ai-image figcaption span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ai-image-download{flex-shrink:0;color:#1a0b03;background:linear-gradient(135deg,#ffbf6e,#ff7a1a);border-radius:999px;padding:5px 12px;font-weight:600;font-size:11px}
.ai-image-download:hover{filter:brightness(1.1)}

/* legenda da imagem: pedido do usuário + descrição recolhida; botão legível */
.ai-image figcaption{align-items:flex-start}
.ai-image-copy{flex:1;min-width:0}
.ai-image-request{display:block;color:#e9d6c8;font-size:11.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ai-image details{margin-top:4px;font-size:10.5px;color:#8f786b}
.ai-image details summary{cursor:pointer;color:#b09a8c}
.ai-image details p{margin:6px 0 2px;line-height:1.55;color:#b09a8c;white-space:normal}
.chat-message-body a.ai-image-download,.ai-image a.ai-image-download{color:#1a0b03;text-decoration:none}
.chat-message-body a.ai-image-download:hover{color:#000}

.chat-understood{margin:6px 0 0;font-size:11.5px;color:#e9d6c8;line-height:1.55}

/* conversa ocupa a largura toda; lista de conversas encostada na barra lateral */
#chat-view{max-width:none;margin:0;width:100%}
.chat-list-panel{margin:10px 0 10px 0}
.is-desktop .chat-list-panel{margin-top:8px}
@media(max-width:760px){.chat-list-panel{margin:0}}

/* ===== cenas do clima ===== */
.weather-hero{position:relative;height:138px;border-radius:14px;overflow:hidden;margin:-2px 0 10px;border:1px solid #ffffff10}
.weather-hero-copy{position:absolute;left:14px;bottom:10px;z-index:5;text-shadow:0 2px 10px #0009}
.weather-hero .weather-temp{font-size:40px;color:#fff}
.weather-hero .weather-text{color:#fff;font-size:12.5px;font-weight:500;margin-top:2px}
.weather-place{color:#ffffffb3;font-size:10.5px}
.weather-meta{margin:0 0 10px}
.ws{position:absolute;inset:0;overflow:hidden}
.ws.ws-k-sun{background:linear-gradient(160deg,#ffcf6b 0%,#ff9440 50%,#c4531f 100%)}
.ws.ws-k-partly{background:linear-gradient(160deg,#7fb6e8 0%,#4f86c6 55%,#2a4f86 100%)}
.ws.ws-k-cloudy{background:linear-gradient(160deg,#8d97a6 0%,#5d6878 55%,#343c48 100%)}
.ws.ws-k-rain{background:linear-gradient(160deg,#5b6b80 0%,#3b4757 55%,#1f2731 100%)}
.ws.ws-k-storm{background:linear-gradient(160deg,#3d3a52 0%,#262438 55%,#131220 100%)}
.ws.ws-k-snow{background:linear-gradient(160deg,#c3d3e6 0%,#8ea6c2 55%,#5b7392 100%)}
.ws.ws-k-fog{background:linear-gradient(160deg,#a6a9ad 0%,#7c8086 55%,#4f5359 100%)}
.ws.ws-k-night,.ws.ws-k-night-cloud{background:linear-gradient(160deg,#1c2a52 0%,#111a36 55%,#070b1a 100%)}
/* sol */
.ws .ws-sun{position:absolute;right:22px;top:16px;width:58px;height:58px;border-radius:50%;background:radial-gradient(circle,#fff6c9 0,#ffd85c 45%,#ffb12e 100%);box-shadow:0 0 30px #ffd55c,0 0 70px #ffae3a99}
.ws .ws-sun.small{width:46px;height:46px;right:30px;top:14px}
.ws-rays{position:absolute;inset:-26px;border-radius:50%;background:repeating-conic-gradient(#ffe38a66 0 6deg,transparent 6deg 30deg);-webkit-mask:radial-gradient(circle,transparent 40%,#000 41%,transparent 72%);mask:radial-gradient(circle,transparent 40%,#000 41%,transparent 72%);animation:ws-spin 24s linear infinite}
/* nuvens */
.ws-cloud{position:absolute;width:120px;height:60px;fill:#f2f5fa;opacity:.92;filter:drop-shadow(0 6px 10px #0003);animation:ws-drift 18s ease-in-out infinite alternate}
.ws-cloud svg{width:100%;height:100%}
.ws-cloud.c1{left:-10px;top:10px;transform:scale(.9)}
.ws-cloud.c2{left:42%;top:26px;transform:scale(1.15);animation-duration:22s}
.ws-cloud.c3{left:12%;top:42px;transform:scale(1.25);opacity:.8;animation-duration:26s}
.ws-cloud.c4{left:60%;top:-4px;transform:scale(.8);opacity:.75;animation-duration:20s}
.ws-k-cloudy .ws-cloud,.ws-k-rain .ws-cloud{fill:#d6dce5}
.ws-k-storm .ws-cloud{fill:#6f6c86;opacity:.95}
.ws-k-night-cloud .ws-cloud{fill:#3c4970;opacity:.85}
/* chuva e neve */
.ws-rain{position:absolute;inset:40px 0 0}
.ws-drop{position:absolute;left:var(--x);top:-14px;width:2px;height:14px;border-radius:2px;background:linear-gradient(transparent,#bfe0ff);animation:ws-fall var(--s) linear var(--d) infinite}
.ws-rain.heavy .ws-drop{height:18px;width:2px;background:linear-gradient(transparent,#d9e8ff)}
.ws-rain.snow .ws-drop{width:5px;height:5px;border-radius:50%;background:#fff;animation-duration:calc(var(--s) * 4)}
/* tempestade */
.ws-bolt{position:absolute;left:46%;top:38px;width:26px;height:52px;fill:#ffe46b;filter:drop-shadow(0 0 10px #ffe46b);opacity:0;animation:ws-bolt 4.2s ease-in-out infinite;z-index:3}
.ws-bolt svg{width:100%;height:100%}
.ws-flash{position:absolute;inset:0;background:#fff;opacity:0;animation:ws-flash 4.2s ease-in-out infinite;z-index:2}
/* neblina */
.ws-fog{position:absolute;left:-30%;width:160%;height:18px;border-radius:20px;background:#ffffff40;filter:blur(6px);animation:ws-fog 9s ease-in-out infinite alternate}
.ws-fog.f1{top:30px}.ws-fog.f2{top:62px;animation-duration:12s;opacity:.8}.ws-fog.f3{top:94px;animation-duration:15s;opacity:.6}
/* noite */
.ws-moon{position:absolute;right:26px;top:18px;width:46px;height:46px;border-radius:50%;background:#fdf3d0;box-shadow:inset -12px -6px 0 #d9c98f,0 0 30px #fdf3d088}
.ws-star{position:absolute;left:var(--x);top:var(--y);width:2px;height:2px;border-radius:50%;background:#fff;animation:ws-twinkle 3s ease-in-out var(--d) infinite}
@keyframes ws-spin{to{transform:rotate(360deg)}}
@keyframes ws-drift{from{translate:-12px 0}to{translate:18px 0}}
@keyframes ws-fall{to{transform:translateY(120px)}}
@keyframes ws-bolt{0%,62%,70%,100%{opacity:0}64%,68%{opacity:1}}
@keyframes ws-flash{0%,62%,72%,100%{opacity:0}64%{opacity:.35}66%{opacity:.05}68%{opacity:.25}}
@keyframes ws-fog{from{translate:-8% 0}to{translate:8% 0}}
@keyframes ws-twinkle{0%,100%{opacity:.25}50%{opacity:1}}
@media(prefers-reduced-motion:reduce){.ws *{animation:none!important}.ws-bolt{opacity:1}}
/* ícones coloridos dos próximos dias */
.weather-days .wi-sun{color:#ffc24a}.weather-days .wi-partly{color:#ffd27a}.weather-days .wi-cloudy,.weather-days .wi-fog{color:#c3cad4}
.weather-days .wi-rain{color:#7fb8ff}.weather-days .wi-storm{color:#c9a8ff}.weather-days .wi-night,.weather-days .wi-night-cloud{color:#fdf3d0}

/* ===== Personalizar (menu de preferências) ===== */
dialog.prefs{width:min(680px,calc(100% - 24px));padding:0;border-radius:20px;border:1px solid #2e1d14;background:linear-gradient(180deg,#140c09,#0c0807);box-shadow:0 30px 120px #000c}
dialog.prefs form{display:flex;flex-direction:column;max-height:88vh}
.prefs-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:22px 24px 18px;border-bottom:1px solid #22150f;background:radial-gradient(420px 160px at 0% 0%,#ff7a1a1c,transparent 70%)}
.prefs-hero{display:flex;align-items:center;gap:16px}
.prefs-hero .eyebrow{margin:0 0 4px}
.prefs-hero h2{font-size:24px;margin:0 0 2px;letter-spacing:-.6px}
.prefs-hero p{margin:0}
.prefs-head .me-avatar.xl{width:68px;height:68px;font-size:24px}
.prefs-head .icon-button{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;color:#b09a8c}
.prefs-head .icon-button:hover{background:#2a170c;color:#fff}
.prefs-head .icon-button .i{width:16px;height:16px}
.prefs-body{overflow:auto;padding:6px 24px 8px}
.prefs-section{padding:16px 0;border-bottom:1px solid #1d120d}
.prefs-section:last-child{border-bottom:0}
.prefs-section h3{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600;letter-spacing:1.2px;text-transform:uppercase;color:#ffb38a;margin:0 0 12px}
.prefs-section h3 .i{width:14px;height:14px}
.prefs-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.prefs-field{margin-bottom:12px;min-width:0}
.prefs-field label,.prefs-label{display:block;font-size:11.5px;font-weight:600;color:#d9c3b3;margin:0 0 6px}
.prefs-field small{display:block;font-size:10.5px;color:#8f786b;margin-top:5px}
.prefs-input{display:flex;align-items:center;gap:8px;border:1px solid #2e1d14;border-radius:11px;background:#0a0605;padding:0 6px 0 11px;transition:border-color .15s,box-shadow .15s}
.prefs-input:focus-within{border-color:#ff8a3d;box-shadow:0 0 0 3px #ff7a1a22}
.prefs-input>.i{width:15px;height:15px;color:#8f786b;flex-shrink:0}
.prefs-input input{border:0;background:none;box-shadow:none;padding:10px 0;min-height:40px;font-size:13px}
.prefs-input input:focus{box-shadow:none;border:0}
.prefs-input.with-btn{padding-right:5px}
.prefs-input.with-btn .small-btn{min-height:30px;padding:5px 11px;border-radius:8px}
.prefs-photo-actions{display:flex;gap:8px;align-items:center;min-height:42px}
.prefs-photo-actions .small-btn .i,.ghost-btn .i{width:13px;height:13px}
.ghost-btn{display:inline-flex;align-items:center;gap:6px;border:0;background:none;color:#b09a8c;font-size:12px;padding:8px 10px;border-radius:9px;cursor:pointer}
.ghost-btn:hover{background:#1e130d;color:#fff}
.prefs-note{font-size:10.5px;color:#7a6255;margin:0}
.prefs-switch{display:flex;align-items:center;gap:14px;cursor:pointer;padding:12px 14px;border:1px solid #2a1a12;border-radius:13px;background:#0f0907;margin:0}
.prefs-switch:hover{border-color:#4a2a14}
.prefs-switch input{position:absolute;opacity:0;width:1px;height:1px;min-height:0}
.prefs-switch .switch{position:relative;flex-shrink:0;width:40px;height:22px;border-radius:999px;background:#3a2417;transition:background .2s}
.prefs-switch .switch::after{content:"";position:absolute;left:3px;top:3px;width:16px;height:16px;border-radius:50%;background:#d9c3b3;transition:transform .2s,background .2s}
.prefs-switch input:checked+.switch{background:linear-gradient(135deg,#ffbf6e,#ff7a1a)}
.prefs-switch input:checked+.switch::after{transform:translateX(18px);background:#fff}
.prefs-switch input:focus-visible+.switch{outline:2px solid #ff8a3d;outline-offset:2px}
.prefs-switch strong{display:block;font-size:13px;color:#f5ebe3;font-weight:600}
.prefs-switch small{display:block;font-size:11px;color:#8f786b;margin-top:2px;font-weight:400}
.prefs-link{display:inline-flex;align-items:center;gap:8px;border:1px solid #2e1d14;background:#0f0907;color:#e9d6c8;border-radius:11px;padding:10px 14px;font-size:12.5px;cursor:pointer}
.prefs-link:hover{border-color:#ff8a3d;color:#fff}
.prefs-link .i{width:14px;height:14px}
.prefs-foot{display:flex;justify-content:flex-end;gap:10px;padding:14px 24px 18px;border-top:1px solid #22150f;background:#0c0807}
.prefs-foot .primary{min-width:170px}
@media(max-width:600px){.prefs-grid{grid-template-columns:1fr;gap:0}.prefs-head{padding:18px}.prefs-body{padding:4px 18px}.prefs-foot{padding:12px 18px}.prefs-foot .primary{flex:1;min-width:0}}
dialog.prefs{overflow:hidden;max-height:none}

.watch-addr{margin:0 0 10px}.watch-addr b{color:#ffc58f;font-weight:600;word-break:break-all}
.watch-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:6px}
.watch-code{font:700 20px/1 ui-monospace,Consolas,monospace;letter-spacing:3px;color:#fff;background:#2a170c;border:1px solid #5a3418;border-radius:10px;padding:7px 12px}

/* arrastar e soltar em qualquer lugar + anexos do PC */
.drop-overlay{position:fixed;inset:0;z-index:80;display:none;place-items:center;background:#050303cc;backdrop-filter:blur(3px);pointer-events:none}
body.files-dragging .drop-overlay{display:grid}
.drop-overlay>div{display:flex;flex-direction:column;align-items:center;gap:10px;padding:42px 60px;border:2px dashed #ff9a4a;border-radius:24px;background:#1a0f0acc;color:#ffd9b8;text-align:center}
.drop-overlay .i{width:34px;height:34px;color:#ff9a4a}
.drop-overlay strong{font-size:20px;font-weight:600}
.drop-overlay span{font-size:12px;color:#c9a58c}
.pending-chat-file img{width:38px;height:38px;object-fit:cover;border-radius:7px}
.file-ext{display:grid;place-items:center;min-width:38px;height:38px;border-radius:8px;background:#2a1a10;color:#ffb877;font:700 10px/1 ui-monospace,Consolas,monospace;letter-spacing:.5px}
.chat-upload.from-pc{border-color:#5a3a22}
.chat-upload.from-pc small{color:#c98d5c}

/* ---------- escolha automática na conversa: versões, avisos, passos, ações, perguntas ---------- */
.chat-quota{margin:0 auto 8px;max-width:820px;padding:8px 14px;border-radius:12px;background:#2a1a0e;border:1px solid #6a4020;color:#ffc58f;font-size:12px}
.ai-versions{display:flex;gap:6px;margin:0 0 8px}
.ai-versions button{border:1px solid #3a2a20;background:#1a1310;color:#a8948a;border-radius:999px;padding:4px 11px;font-size:11px}
.ai-versions button.on{background:#3a2414;border-color:#8a5428;color:#ffd2a8}
.ai-notice p{margin:0 0 6px;padding:7px 11px;border-radius:10px;background:#231710;border-left:3px solid #ff9a4a;color:#e6c3a6;font-size:12px}
.ai-parts{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}
.ai-parts span{display:inline-flex;align-items:center;gap:6px;padding:3px 10px 3px 4px;border-radius:999px;background:#1e1612;color:#c9b2a2;font-size:11px}
.ai-steps{margin:8px 0;color:#b89a86;font-size:12px}
.ai-steps ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}
.ai-steps li{position:relative;padding-left:22px;line-height:1.5}
.ai-steps li.done::before{content:'✓';position:absolute;left:4px;color:#7fd88a}
.ai-steps li.now{color:#ffd2a8}
.ai-steps li.now::before{content:'';position:absolute;left:3px;top:4px;width:10px;height:10px;border-radius:50%;border:2px solid #ff9a4a;border-right-color:transparent;animation:aispin .8s linear infinite}
@keyframes aispin{to{transform:rotate(360deg)}}
.ai-steps-head{margin:0 0 6px;color:#ffc58f}
.ai-eta{margin:6px 0 0;font-size:11px;color:#8d7360}
.pc-action{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0;padding:10px 13px;border:1px solid #4a3020;border-radius:12px;background:#1a110c}
.pc-action>div:first-child{display:flex;flex-direction:column;min-width:0}
.pc-action strong{font-size:12px;color:#ffd2a8}
.pc-action span{font-size:11px;color:#a8948a;overflow-wrap:anywhere}
.pc-action em{font-style:normal;font-size:11px;color:#c9b2a2}
.pc-action.done em{color:#7fd88a}.pc-action.failed em{color:#ff7b6b}
.pc-action-buttons{display:flex;gap:6px;flex-shrink:0}
.pc-action-buttons .primary{min-height:30px;padding:5px 13px;font-size:12px}
.ai-clarify{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.ai-clarify button{border:1px solid #6a4020;background:#24170f;color:#ffd2a8;border-radius:999px;padding:7px 14px;font-size:12px}
.ai-clarify button:hover{background:#3a2414}
.ai-footer{display:flex;align-items:center;gap:6px;margin-top:10px}
.ai-footer .copy-chat-message{margin:0}
.ai-fb{border:0;background:none;font-size:13px;opacity:.45;padding:2px 5px;border-radius:7px}
.ai-fb:hover,.ai-fb.on{opacity:1;background:#221a16}
.redo-menu{position:relative;font-size:10px;color:#7d6c5f}
.redo-menu summary{cursor:pointer;list-style:none;padding:3px 8px;border-radius:7px}
.redo-menu summary::-webkit-details-marker{display:none}
.redo-menu summary:hover,.redo-menu[open] summary{background:#221a16;color:#d3b8a4}
.redo-menu>div{position:absolute;left:0;bottom:calc(100% + 4px);z-index:5;display:flex;flex-direction:column;min-width:170px;padding:5px;border:1px solid #3a2a20;border-radius:11px;background:#160f0c;box-shadow:0 10px 30px #0008}
.redo-menu>div button{border:0;background:none;text-align:left;padding:8px 10px;border-radius:8px;color:#d3c4b8;font-size:12px}
.redo-menu>div button:hover{background:#2a1d16}
/* Personalizar: regras, memória, desempenho */
.auto-rules{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:8px;margin:8px 0 12px}
.auto-rule{display:flex;flex-direction:column;gap:4px;font-size:11px;color:#a8948a}
.auto-rule select{margin:0;padding:7px 9px;font-size:12px}
.memory-list{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-direction:column;gap:5px;max-height:240px;overflow:auto}
.memory-list li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 10px;border-radius:9px;background:#18110d;font-size:12px}
.memory-list li small{display:block;font-size:9px;color:#c98d5c;text-transform:uppercase;letter-spacing:.4px}
.memory-list li.muted{color:#8d7360;background:none}
.ai-stats table{width:100%;border-collapse:collapse;font-size:11px}
.ai-stats th,.ai-stats td{padding:6px 7px;border-bottom:1px solid #2a1f19;text-align:left}
.ai-stats th{color:#8d7360;font-weight:500}

/* resumo da manhã */
.morning-dialog{border:0;padding:0;background:transparent;max-width:min(520px,92vw)}
.morning-dialog::backdrop{background:#050303cc;backdrop-filter:blur(4px)}
.morning-card{background:radial-gradient(120% 90% at 100% 0,#3a1a08 0,#140d0a 55%);border:1px solid #4a2c18;border-radius:22px;padding:26px 28px 22px;color:#eadbd0;box-shadow:0 30px 80px #000a}
.morning-card h2{font-size:28px;font-weight:600;margin:4px 0 16px;letter-spacing:-.6px}
.morning-card .eyebrow{text-transform:capitalize}
.mb-weather{display:flex;align-items:center;gap:16px;padding:14px 16px;border-radius:16px;background:#ffffff0d;margin-bottom:10px}
.mb-temp{font-size:42px;font-weight:700;color:#ffc58f}
.mb-weather div,.mb-row div{display:flex;flex-direction:column;gap:2px;font-size:13px}
.mb-weather span,.mb-row span{color:#b89a86}
.mb-weather em{font-style:normal;color:#ffd2a8;font-size:12px;margin-top:3px}
.mb-row{display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:16px;background:#ffffff0a;margin-bottom:10px}
.mb-row .i{width:22px;height:22px;color:#ff9a4a}
.mb-list{margin:12px 0}
.mb-list h3{font-size:11px;text-transform:uppercase;letter-spacing:.8px;color:#8d7360;margin:0 0 6px}
.mb-list p{margin:4px 0;font-size:13px}
.mb-list p.late{color:#ffb4a8}.mb-list small{color:#8d7360}.mb-list .muted{color:#8d7360}
.morning-card footer{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}

/* pasta do PC e mudanças propostas */
.chat-folder-button{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 10px;border:0;border-radius:8px;background:none;color:#877263;font-size:11px;max-width:170px}
.chat-folder-button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chat-folder-button .i{width:17px;height:17px}
.chat-folder-button:hover{background:#1c1512}
.chat-folder-button.on{background:#2a1a0e;color:#ffc58f;border:1px solid #6a4020}
.folder-dialog{border:0;padding:0;background:transparent;width:min(560px,92vw)}
.folder-dialog::backdrop{background:#050303cc;backdrop-filter:blur(3px)}
.folder-card{background:#140d0a;border:1px solid #4a2c18;border-radius:20px;padding:22px 24px;color:#eadbd0}
.folder-card h2{margin:0 0 8px;font-size:20px}
.folder-card footer{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}
.folder-recent{display:flex;flex-direction:column;gap:4px;margin-top:8px}
.folder-recent button{display:flex;align-items:center;gap:8px;border:0;background:#1a120e;color:#c9b2a2;border-radius:9px;padding:8px 10px;font-size:12px;text-align:left}
.folder-recent button:hover{background:#2a1d16}
.folder-recent .i{width:15px;height:15px;color:#ff9a4a}
.folder-changes{margin:12px 0;border:1px solid #4a3020;border-radius:14px;background:#120c09;padding:12px 14px}
.folder-changes header{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.folder-changes header .i{width:20px;height:20px;color:#ff9a4a}
.folder-changes header div{display:flex;flex-direction:column}
.folder-changes header strong{font-size:13px;color:#ffd2a8}
.folder-changes header span{font-size:11px;color:#8d7360;overflow-wrap:anywhere}
.folder-changes details{border-top:1px solid #2a1f19;padding:6px 0}
.folder-changes summary{cursor:pointer;font-size:12px;color:#d3c4b8}
.folder-changes summary small{color:#8d7360}
.folder-changes .st-novo{color:#7fd88a}.folder-changes .st-alterado{color:#ffc58f}.folder-changes .st-removido{color:#ff7b6b}
.diff{margin:6px 0 2px;max-height:360px;overflow:auto;background:#0b0807;border-radius:9px;padding:8px 10px;font:11px/1.5 Consolas,monospace;white-space:pre}
.diff .add{color:#8fe39a;background:#123018}.diff .del{color:#ff9d90;background:#331512}.diff .hunk{color:#7fb8ff}
.folder-changes em{display:block;font-style:normal;font-size:12px;color:#c9b2a2;margin-top:8px}
.folder-changes em.ok{color:#7fd88a}
.folder-changes .pc-action-buttons{margin-top:10px}
.speed-title{font-size:11px;color:#8d7360;text-transform:uppercase;letter-spacing:.6px;margin:4px 0 6px}
.ai-stats td.slow{color:#ff9d90}.ai-stats td.fine{color:#7fd88a}
.ai-stats table+table,.ai-stats table+p{margin-top:10px}

/* missão em etapas */
.mission-card{margin:0 0 12px;border:1px solid #4a3020;border-radius:14px;background:#120c09;padding:12px 14px}
.mission-card header{display:flex;flex-direction:column;gap:2px;margin-bottom:8px}
.mission-card header strong{font-size:13px;color:#ffd2a8}
.mission-card header span{font-size:11px;color:#8d7360}
.mission-card ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:5px}
.mission-card li{display:flex;align-items:center;gap:8px;font-size:12px;color:#c9b2a2}
.mission-card li .ms-title{flex:1;min-width:0}
.mission-card li small{color:#8d7360;font-size:10.5px;white-space:nowrap}
.mission-card .ms-icon{width:14px;text-align:center}
.mission-card .ms-done .ms-icon{color:#7fd88a}.mission-card .ms-failed .ms-icon{color:#ff7b6b}
.mission-card .ms-running{color:#ffd2a8}.mission-card .ms-running .ms-icon{color:#ff9a4a;animation:aipulse 1s ease-in-out infinite alternate}
.mission-card .ms-pending{opacity:.55}
@keyframes aipulse{from{opacity:.3}to{opacity:1}}
.mission-card footer{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:10px;font-size:11px;color:#a8948a}
.mission-card footer code{font-size:10.5px}
.mission-card .ok{color:#7fd88a}.mission-card .bad{color:#ff7b6b}
/* gasto e continuação da missão */
.mission-cost{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;margin-top:10px;padding-top:9px;border-top:1px solid #2c1d14;font-size:11px;color:#b9a395}
.mission-cost strong{color:#ffd2a8;font-size:11px;width:100%}
.mission-cost span{display:inline-flex;align-items:center;gap:6px}
.mission-cost .ok{color:#7fd88a}.mission-cost small{color:#8d7360}
.mission-resume{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:10px}
.mission-resume small{font-size:11px;color:#a8948a}
/* revisão de risco das mudanças */
.change-review{margin:8px 0 10px;padding:10px 12px;border-radius:11px;border:1px solid #3a2a20;background:#130d0a;font-size:12px;color:#d6c4b6}
.change-review strong{display:inline-block;margin-right:8px;font-size:12px}
.change-review small{color:#8d7360;font-size:10.5px}
.change-review p{margin:6px 0 0}.change-review ul{margin:6px 0 0;padding-left:18px}
.change-review.working{color:#a8948a;font-style:italic}
.change-review.r-baixo{border-color:#2f5a35}.change-review.r-baixo strong{color:#7fd88a}
.change-review.r-medio{border-color:#6a4a20}.change-review.r-medio strong{color:#e9a55c}
.change-review.r-alto{border-color:#7a2a22;background:#1a0c0a}.change-review.r-alto strong{color:#ff7b6b}
.risk{font-size:10px;font-weight:600;padding:1px 6px;border-radius:6px;margin-left:4px}
.risk.r-baixo{color:#7fd88a;background:#13241a}.risk.r-medio{color:#e9a55c;background:#2a1c0e}.risk.r-alto{color:#ff7b6b;background:#2c120f}
.risk-why{margin:4px 0 6px;font-size:11.5px;color:#c9b2a2}
/* comparar respostas lado a lado */
.ai-compare{margin:4px 0 18px}
.ai-compare-head{font-size:11px;letter-spacing:1px;text-transform:uppercase;color:#a8948a;margin:0 0 8px}
.ai-compare-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:start}
.ai-compare-grid>.chat-message{margin:0;min-width:0;border:1px solid #2c1d14;border-radius:14px;padding:12px;background:#0d0907}
@media (max-width:900px){.ai-compare-grid{grid-template-columns:1fr}}
.ai-pick{padding:5px 12px;font-size:12px}
.ai-chosen{font-size:11px;color:#7fd88a;font-style:normal;margin-right:4px}
.ai-speak{border:0;background:none;font-size:11px;color:#9a8576;padding:3px 7px;border-radius:7px}
.ai-speak:hover{background:#221a16;color:#e3cbb9}
/* ditado */
.chat-mic-button{width:34px;height:34px;border:0;border-radius:50%;background:none;font-size:15px;opacity:.8}
.chat-mic-button:hover{background:#2a170c;opacity:1}
.chat-mic-button.on{background:#5a1e14;opacity:1;animation:aipulse 1s ease-in-out infinite alternate}
/* resumo da semana */
.prefs-weekly{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding:12px;border:1px solid var(--line);border-radius:12px;background:#0d0907}
.prefs-weekly>div:first-child{display:flex;flex-direction:column;gap:3px;flex:1;min-width:220px}
.prefs-weekly strong{font-size:13px}.prefs-weekly small{font-size:11.5px;color:var(--muted)}
.prefs-weekly-buttons{display:flex;gap:8px}
.mb-week{border:1px solid #4a3020;border-radius:12px;padding:10px 12px;background:#120c09}
.mb-week-project{margin-top:8px}.mb-week-project strong{color:#ffd2a8;font-size:13px}
.mb-week-project p{margin:3px 0 0}
/* assinatura Google: Flow, Gemini, NotebookLM */
.google-card{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin:10px 0;padding:12px 14px;border:1px solid #2b3d5a;border-radius:13px;background:#0b0f17}
.google-card div{display:flex;flex-direction:column;gap:3px}
.google-card strong{font-size:13px;color:#b9d2ff}.google-card span{font-size:12px;color:#9aa6bd}
/* conversas em pastas */
.chat-group{margin:0 0 6px;border-radius:10px}
.chat-group.drop-here{background:#22140c;outline:1px dashed #7a4520}
.chat-group-head{display:flex;align-items:center;gap:2px;padding:2px 2px 2px 0}
.chat-group-toggle{flex:1;display:flex;align-items:center;gap:6px;min-width:0;border:0;background:none;color:#d9c3b3;font-size:12px;font-weight:600;padding:6px 6px;border-radius:8px;text-align:left}
.chat-group-toggle span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chat-group-toggle small{color:#7d6c5f;font-weight:400;font-size:10.5px}
.chat-group-toggle:hover{background:#1c1410}
.chat-group-caret{font-size:10px;color:#8d7360;transition:transform .15s}
.chat-group.closed .chat-group-caret{transform:rotate(-90deg)}
.chat-group.closed .chat-group-items{display:none}
.chat-group-btn{border:0;background:none;color:#7d6c5f;width:24px;height:24px;border-radius:7px;font-size:12px;opacity:0;transition:opacity .15s}
.chat-group-head:hover .chat-group-btn,.chat-group-btn:focus-visible{opacity:1}
.chat-group-btn:hover{background:#2a1d16;color:#fff}
.chat-group-items{padding-left:10px;border-left:1px solid #2a1a12;margin-left:10px}
.chat-row{display:flex;align-items:center;border-radius:9px}
.chat-row .chat-list-item{flex:1;min-width:0}
.chat-row-more{border:0;background:none;color:#7d6c5f;width:24px;height:24px;border-radius:7px;opacity:0}
.chat-row:hover .chat-row-more,.chat-row.selected .chat-row-more,.chat-row-more:focus-visible{opacity:1}
.chat-row-more:hover{background:#2a1d16;color:#fff}
.folder-move-card{display:flex;flex-direction:column;gap:8px;min-width:min(380px,88vw);padding:18px}
.folder-move-card h3{margin:0 0 4px;font-size:15px}
.folder-move-card label{font-size:12px;color:var(--muted)}
.folder-move-list{display:flex;flex-direction:column;gap:2px;max-height:220px;overflow:auto}
.folder-move-list button{border:0;background:none;text-align:left;color:#d9c3b3;padding:7px 10px;border-radius:8px;font-size:13px}
.folder-move-list button:hover{background:#2a1d16}
.folder-move-card footer{display:flex;justify-content:flex-end;gap:8px;margin-top:6px}
/* caminhos do PC clicáveis */
.pc-path{cursor:pointer;color:#ffb27a !important;text-decoration:underline dotted #8a5a35;text-underline-offset:3px}
.pc-path:hover{background:#2c1c12 !important;color:#ffd2a8 !important}
.path-menu{position:fixed;z-index:50;display:flex;flex-direction:column;min-width:190px;padding:5px;border:1px solid #3a2a20;border-radius:11px;background:#160f0c;box-shadow:0 12px 32px #000a}
.path-menu button{border:0;background:none;text-align:left;padding:8px 10px;border-radius:8px;color:#e3d2c4;font-size:12.5px}
.path-menu button:hover{background:#2a1d16}
.path-menu small{padding:6px 10px;color:#8d7360;font-size:11px}
/* +linhas −linhas */
.lines-add{color:#7fd88a;font-weight:600}.lines-del{color:#ff7b6b;font-weight:600}
/* caixa de próximo passo (pergunta com botões no fim da resposta) */
.ai-next{margin:14px 0 4px;padding:14px 16px;border:1px solid #3a2a20;border-radius:14px;background:#151010;max-width:560px}
.ai-next p{margin:0 0 12px;font-weight:600;color:#f1e3d8;font-size:14px}
.ai-next-buttons{display:flex;flex-wrap:wrap;gap:8px}
.ai-next-buttons button{border:1px solid #3a2a20;background:#241a15;color:#e9d8ca;border-radius:9px;padding:7px 12px;font-size:13px;display:inline-flex;align-items:center;gap:6px}
.ai-next-buttons button:hover{background:#2f221b}
.ai-next-buttons .primary-next{background:#f2ebe6;color:#1a110c;border-color:#f2ebe6;font-weight:600}
.ai-next-buttons .primary-next:hover{background:#fff}
.ai-next kbd{font:11px var(--font);border:1px solid #c9bdb4;border-radius:5px;padding:0 4px;color:#5d4a3d;background:#fff}
/* rodapé da resposta só aparece ao passar o mouse (como no Claude); no toque continua visível */
@media (hover:hover){
  .chat-message .ai-footer>:not(.ai-pick):not(.ai-chosen){opacity:0;transition:opacity .15s}
  .chat-message:hover .ai-footer>*,.chat-message:focus-within .ai-footer>*,.ai-footer>details[open]{opacity:1 !important}
}
/* atividade da resposta numa linha (como no Claude): fecha e abre */
.ai-activity{margin:2px 0 12px;color:#9c8b80;font-size:12.5px}
.ai-activity summary{display:inline-flex;align-items:center;gap:7px;max-width:100%;cursor:pointer;list-style:none;padding:4px 8px 4px 0;border-radius:8px}
.ai-activity summary::-webkit-details-marker{display:none}
.ai-activity summary:hover{color:#e6d3c4}
.ai-activity-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.ai-activity-time{color:#7d6c5f}
.ai-chevron{display:inline-block;transition:transform .15s;color:#7d6c5f;font-size:15px;line-height:1}
.ai-activity[open] .ai-chevron{transform:rotate(90deg)}
.ai-activity ol{list-style:none;margin:6px 0 4px 4px;padding:2px 0 2px 14px;border-left:1px solid #2e2119;display:flex;flex-direction:column;gap:4px}
.ai-activity li{position:relative;padding-left:20px;line-height:1.5}
.ai-activity li.done::before{content:'✓';position:absolute;left:2px;color:#6f9f76}
.ai-activity li.now{color:#ffd2a8}
.ai-activity li.now::before{content:'';position:absolute;left:1px;top:4px;width:10px;height:10px;border-radius:50%;border:2px solid #ff9a4a;border-right-color:transparent;animation:aispin .8s linear infinite}
.ai-activity.live summary{color:#e3cbb9}
.ai-spin{width:11px;height:11px;border-radius:50%;border:2px solid #ff9a4a;border-right-color:transparent;animation:aispin .8s linear infinite;flex-shrink:0}
.ai-activity .ai-eta{color:#7d6c5f;font-size:11.5px}
/* ===== chat como o do Claude ===== */
.chat-h{margin:18px 0 8px;line-height:1.35;color:#f1e3d8}
h2.chat-h{font-size:20px}h3.chat-h{font-size:17px}h4.chat-h{font-size:15px}h5.chat-h{font-size:14px}
.chat-hr{border:0;border-top:1px solid #2e2119;margin:16px 0}
.chat-quote{margin:6px 0;padding:2px 0 2px 14px;border-left:3px solid #4a3020;color:#bfae9f}
.chat-bullet{display:flex;gap:8px;padding-left:4px;line-height:1.75}
.chat-bullet .chat-dot{flex-shrink:0;min-width:12px;color:#a88a74}
.chat-num .chat-dot{min-width:20px;text-align:right}
.chat-bullet.lvl-1{padding-left:26px}.chat-bullet.lvl-2{padding-left:48px}.chat-bullet.lvl-3{padding-left:70px}
.chat-check{flex-shrink:0;width:15px;height:15px;margin-top:6px;border:1px solid #6a5444;border-radius:4px;font-size:11px;line-height:13px;text-align:center;color:#1a110c}
.chat-check.on{background:#7fd88a;border-color:#7fd88a}
.chat-message-body em{font-style:italic}.chat-message-body del{opacity:.7}
.chat-table-wrap{overflow-x:auto;margin:10px 0}
.chat-table{border-collapse:collapse;font-size:13px;min-width:50%}
.chat-table th,.chat-table td{border:1px solid #2e2119;padding:7px 11px;text-align:left;vertical-align:top}
.chat-table th{background:#1b1411;color:#f1e3d8;font-weight:600}
.chat-table tr:nth-child(even) td{background:#120d0b}
.chat-table .al-center{text-align:center}.chat-table .al-right{text-align:right}
.tk-k{color:#ff9e64}.tk-s{color:#a6d189}.tk-c{color:#7f7068;font-style:italic}.tk-n{color:#e5c07b}.tk-f{color:#8cc8ff}
/* suas mensagens: ferramentas no passar do mouse, edição e mensagens longas */
.user-tools{display:flex;justify-content:flex-end;align-items:center;gap:4px;margin-top:4px}
.user-tools button{border:0;background:none;color:#8d7360;font-size:11px;padding:2px 7px;border-radius:7px}
.user-tools button:hover{background:#221a16;color:#e3cbb9}
@media (hover:hover){.chat-message .user-tools>button{opacity:0;transition:opacity .15s}.chat-message:hover .user-tools>button{opacity:1}}
.chat-message-body.is-long{max-height:280px;overflow:hidden;-webkit-mask-image:linear-gradient(#000 70%,transparent);mask-image:linear-gradient(#000 70%,transparent)}
.chat-more{border:0;background:none;color:#c89b78;font-size:12px;padding:4px 0;margin-left:auto;display:block}
.chat-edit{width:min(640px,80vw)}
.chat-edit textarea{width:100%;min-height:90px;border:1px solid #6a4020;border-radius:14px;background:#120c09;padding:12px 14px;font:inherit;font-size:14px;color:#f1e3d8;resize:vertical}
.chat-edit>div{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}
/* botão ↓ */
.chat-workspace{position:relative}
.chat-to-bottom{position:absolute;left:50%;transform:translateX(-50%);bottom:170px;width:36px;height:36px;border-radius:50%;border:1px solid #3a2a20;background:#1b1411;color:#f1e3d8;font-size:17px;box-shadow:0 6px 18px #0008;z-index:4}
.chat-to-bottom:hover{background:#2a1d16}
.chat-to-bottom[hidden]{display:none}
/* lista: busca, fixadas, apagar */
.chat-search{margin:0 6px 12px;padding:8px 11px;border:1px solid #2b211c;border-radius:9px;background:#120d0b;color:#e3d2c4;font-size:12.5px;width:calc(100% - 12px)}
.chat-group-toggle.static{cursor:default}
.path-menu .danger{color:#ff8a7a}
/* ===== caixa de mensagem compacta (como no Claude): + texto 🎤 ↵ ===== */
.chat-composer.compact{display:flex;align-items:flex-end;gap:6px;padding:8px 8px 8px 10px;border-radius:16px;background:#151010;border:1px solid #2e2119}
.chat-composer.compact:focus-within{border-color:#5a3e2c}
.chat-composer.compact textarea{flex:1;min-height:24px;max-height:200px;padding:7px 4px;margin:0;font-size:14.5px;line-height:1.55;background:transparent;border:0;box-shadow:none;resize:none}
.chat-composer.compact .chat-attach-button{width:34px;height:34px;border-radius:10px;font-size:20px;color:#bfa999;flex-shrink:0}
.chat-composer.compact .chat-attach-button:hover{background:#241a15;color:#fff}
.send-icon,.stop-icon{flex-shrink:0;width:34px;height:34px;border-radius:10px;border:0;background:none;color:#bfa999;font-size:18px}
.send-icon:hover{background:#241a15;color:#fff}
.send-icon:disabled{opacity:.4}
.stop-icon{color:#ff8a7a;font-size:13px}.stop-icon:hover{background:#2a1512}
.chat-composer.compact .chat-mic-button{width:34px;height:34px;border-radius:10px;color:#bfa999;opacity:1;flex-shrink:0;display:grid;place-items:center}
.chat-composer.compact .chat-mic-button .i{width:18px;height:18px}
.chat-composer.compact .chat-mic-button:hover{background:#241a15;color:#fff}
/* linha de baixo com IA, modelo e pasta como texto (como "Opus 5.5 · Médio · Automático") */
.composer-meta{display:flex;flex-wrap:wrap;align-items:center;gap:2px;margin:6px 4px 0;font-size:12px;color:#8d7a6d}
.composer-meta .meta-select{display:none}
.composer-meta .ai-badge{display:inline-flex;margin-right:2px}
.composer-meta .ai-badge .ai-avatar{width:16px;height:16px}
.meta-pick{border:0;background:none;color:#a8958a;font-size:12px;padding:4px 7px;border-radius:7px;display:inline-flex;align-items:center;gap:4px}
.meta-pick:hover{background:#1f1714;color:#f1e3d8}
.meta-pick[hidden]{display:none}
.meta-caret{font-size:10px;opacity:.6}
.composer-meta .chat-folder-button{height:auto;max-width:200px;padding:4px 7px;font-size:12px;color:#a8958a;border:0;background:none}
.composer-meta .chat-folder-button.on{color:#ffc58f;background:#24170e}
.composer-meta .chat-folder-button .i{width:13px;height:13px}
.meta-menu button.on{color:#ffd2a8}
/* respostas: lista com código inline não quebra; espaço entre parágrafos */
.chat-li{min-width:0;flex:1}
.chat-gap{height:.75em}
/* ação no PC (estilo das permissões do Claude) */
.pc-action{display:flex;align-items:center;gap:12px;margin:12px 0;padding:12px 14px;border:1px solid #33241b;border-radius:14px;background:#151010;max-width:640px}
.pc-action.proposed{border-color:#4a3424;background:linear-gradient(180deg,#1a1210,#141010)}
.pa-icon{flex-shrink:0;width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#241a15;color:#ffc58f;font-size:16px}
.pa-text{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.pa-text strong{font-size:13.5px;font-weight:500;color:#e9d8ca}
.pa-text strong b{font-weight:650;color:#fff}
.pa-text>span{font-size:11.5px;color:#8d7a6d;font-family:Consolas,monospace;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pa-text small{font-size:11px;color:#7d6c5f}
.pc-action .pc-action-buttons{display:flex;gap:6px;flex-shrink:0}
.pc-action .ghost-btn{min-height:32px;padding:6px 12px;font-size:12.5px;border-radius:9px}
.pa-allow{min-height:32px;padding:6px 16px;border:0;border-radius:9px;background:#f2ebe6;color:#1a110c;font-weight:600;font-size:12.5px}
.pa-allow:hover{background:#fff}
.pa-state{flex-shrink:0;font-size:12px;color:#a8958a;padding:4px 10px;border-radius:20px;background:#1f1714;display:inline-flex;align-items:center;gap:6px}
.pa-state.ok{color:#7fd88a;background:#13241a}.pa-state.bad{color:#ff7b6b;background:#2c120f}
.pc-action.done,.pc-action.cancelled{opacity:.85}
@media (max-width:620px){.pc-action{flex-wrap:wrap}.pc-action .pc-action-buttons{width:100%;justify-content:flex-end}}
.prefs-choice select{flex-shrink:0;width:auto;min-width:86px;padding:6px 10px;border-radius:10px;border:1px solid #3a2417;background:#160d09;color:#f5ebe3;font-size:12px}
.prefs-choice select:focus-visible{outline:2px solid #ff8a3d;outline-offset:2px}
