.history-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#2d2a2666;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:flex-start;justify-content:flex-end;padding:20px;z-index:1000;animation:overlayFadeIn .2s ease-out}@keyframes overlayFadeIn{0%{opacity:0}to{opacity:1}}.history-panel{background:#fff;border-radius:16px;width:100%;max-width:400px;max-height:80vh;display:flex;flex-direction:column;box-shadow:0 20px 60px #2d2a2626,0 0 0 1px #d4a24c26;animation:panelSlideIn .3s cubic-bezier(.34,1.56,.64,1)}@keyframes panelSlideIn{0%{opacity:0;transform:translate(40px) scale(.95)}to{opacity:1;transform:translate(0) scale(1)}}.history-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid #EDE9E3}.history-header h3{margin:0;font-family:Georgia,Times New Roman,serif;font-size:20px;font-weight:400;color:#2d2a26}.history-close{width:32px;height:32px;border-radius:50%;background:#f5f2ed;border:none;color:#8b8680;font-size:24px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;padding:0}.history-close:hover{background:#ede9e3;color:#2d2a26}.history-close:active{transform:scale(.9)}.history-content{flex:1;overflow-y:auto;padding:8px}.history-loading,.history-error,.history-empty{padding:40px 20px;text-align:center;color:#8b8680;font-size:14px}.history-error{color:#e57373}.history-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}.history-item{background:#faf8f5;border:1px solid #EDE9E3;border-radius:12px;padding:12px 16px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;transition:all .2s;animation:itemFadeIn .3s ease-out backwards}.history-item:nth-child(1){animation-delay:.05s}.history-item:nth-child(2){animation-delay:.1s}.history-item:nth-child(3){animation-delay:.15s}.history-item:nth-child(4){animation-delay:.2s}.history-item:nth-child(5){animation-delay:.25s}.history-item:nth-child(6){animation-delay:.3s}.history-item:nth-child(7){animation-delay:.35s}.history-item:nth-child(8){animation-delay:.4s}.history-item:nth-child(9){animation-delay:.45s}.history-item:nth-child(10){animation-delay:.5s}@keyframes itemFadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.history-item:hover{background:#f5f2ed;border-color:#e8bc6a}.history-item-content{flex:1;min-width:0}.history-item-title{margin:0 0 4px;font-size:14px;font-weight:500;color:#2d2a26;line-height:1.4;word-wrap:break-word}.history-item-body{margin:0;font-size:13px;color:#8b8680;line-height:1.4;word-wrap:break-word}.history-item-header{display:flex;align-items:flex-start;gap:8px}.history-item-priority-badge{font-size:10px;flex-shrink:0;margin-top:2px}.history-item-priority{border-left:3px solid #E57373}.history-item-meta{display:flex;align-items:center;gap:8px;margin-top:8px;flex-wrap:wrap}.history-item-author{font-size:12px;color:#d4a24c;font-weight:500}.history-item-date{font-size:12px;color:#8b8680;white-space:nowrap;flex-shrink:0}.history-item-badges{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.history-item-status-badge{display:inline-block;padding:4px 10px;border-radius:12px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.3px}.history-item-note{margin:8px 0 0;padding:8px 12px;background:#f5f2ed;border-radius:8px;font-size:12px;color:#8b8680;font-style:italic}.history-item-resolved{border-left:3px solid #81C784}.history-item-rejected{border-left:3px solid #E57373;opacity:.8}.history-item-assigned{border-left:3px solid #64B5F6}@media (max-width: 640px){.history-overlay{padding:0;align-items:flex-end}.history-panel{max-width:100%;max-height:70vh;border-radius:16px 16px 0 0}.history-header{padding:16px 20px}.history-header h3{font-size:18px}.history-item{padding:10px 14px}.history-item-title{font-size:13px}.history-item-body{font-size:12px}}.orb-container{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;gap:40px;background:#faf8f5}.orb{width:200px;height:200px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fbe8c2,#f5d799,#e8bc6a 50%,#d4a24c);box-shadow:0 15px 50px #d4a24c40,0 0 100px #f5d79926;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .5s cubic-bezier(.4,0,.2,1);position:relative;border:none;outline:none;overflow:hidden;will-change:width,height,transform}.orb:before{content:"";position:absolute;top:12%;left:18%;width:35%;height:25%;border-radius:50%;background:radial-gradient(ellipse at center,rgba(255,255,255,.45) 0%,transparent 70%);pointer-events:none}.orb:after{content:"";position:absolute;top:-30px;right:-30px;bottom:-30px;left:-30px;border-radius:50%;background:radial-gradient(circle at center,rgba(245,215,153,.25) 0%,rgba(245,215,153,.08) 50%,transparent 70%);animation:glowPulse 4s ease-in-out infinite;pointer-events:none}@keyframes glowPulse{0%,to{opacity:.6;transform:scale(1)}50%{opacity:1;transform:scale(1.08)}}.orb-idle{animation:breathe 4s ease-in-out infinite}@keyframes breathe{0%,to{transform:scale(1)}50%{transform:scale(1.04)}}.orb-capture{width:80px!important;height:80px!important;transition:width .4s cubic-bezier(.34,1.56,.64,1),height .4s cubic-bezier(.34,1.56,.64,1)}.orb-capture.orb-ready{box-shadow:0 10px 40px #d4a24c59,0 0 80px #f5d79940;transform:scale(1.05)}.orb:active:not(:disabled){transform:scale(.95);transition:all .15s cubic-bezier(.4,0,.2,1)}.orb-sending{width:90px;height:90px;animation:sendPulse .6s ease-in-out infinite;pointer-events:none}@keyframes sendPulse{0%,to{transform:scale(1);opacity:1}50%{transform:scale(.95);opacity:.8}}.orb-success{width:100px;height:100px;background:radial-gradient(circle at 35% 30%,#c8e6c9,#a5d6a7 40%,#81c784);pointer-events:none;animation:successPop .5s cubic-bezier(.34,1.56,.64,1)}@keyframes successPop{0%{transform:scale(.8)}50%{transform:scale(1.1)}to{transform:scale(1)}}.orb-error{background:radial-gradient(circle at 35% 30%,#ffcdd2,#ef9a9a 40%,#e57373);animation:errorShake .5s ease-out}@keyframes errorShake{0%,to{transform:translate(0)}20%{transform:translate(-8px)}40%{transform:translate(8px)}60%{transform:translate(-8px)}80%{transform:translate(8px)}}.orb-label{display:none}.input-container{width:90%;max-width:400px;animation:slideDown .4s cubic-bezier(.34,1.56,.64,1);position:relative}@keyframes slideDown{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.signal-input{width:100%;min-height:100px;background:#f5f2ed;border:2px solid transparent;border-radius:20px;padding:20px;color:#2d2a26;font-size:17px;line-height:1.5;resize:none;transition:all .3s ease}.signal-input::placeholder{color:#8b8680}.signal-input:focus{border-color:#e8bc6a;background:#fff;box-shadow:0 4px 20px #d4a24c26}.character-counter{position:absolute;bottom:-28px;right:10px;font-size:13px;color:#8b8680;font-weight:500}.success-message{position:absolute;font-family:Georgia,Times New Roman,serif;font-size:24px;font-weight:400;color:#2d2a26;opacity:0;animation:messageFadeIn .6s ease-out forwards;z-index:20}@keyframes messageFadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.error-message{position:absolute;font-family:Georgia,Times New Roman,serif;font-size:24px;font-weight:400;color:#e57373;animation:messageAppear .5s cubic-bezier(.34,1.56,.64,1)}@keyframes messageAppear{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.spark{position:fixed;width:8px;height:8px;border-radius:50%;background:radial-gradient(circle at center,#fbe8c2,#e8bc6a,#d4a24c);box-shadow:0 0 10px #f5d799,0 0 20px #f5d79999,0 0 30px #d4a24c66;animation:sparkFly 5s cubic-bezier(.2,0,.2,1) forwards;pointer-events:none;z-index:100}@keyframes sparkFly{0%{top:50%;left:50%;transform:translate(-50%) scale(0);opacity:0}8%{opacity:1;transform:translate(-50%,-20px) scale(1)}25%{transform:translate(calc(-50% + var(--x1)),-18vh) scale(1)}50%{transform:translate(calc(-50% + var(--x2)),-40vh) scale(.9)}75%{transform:translate(calc(-50% + var(--x3)),-60vh) scale(.8)}to{top:-50px;left:50%;transform:translate(calc(-50% + var(--x4)),-90vh) scale(.5);opacity:0}}.user-info{position:absolute;top:20px;right:20px;display:flex;align-items:center;gap:12px}.history-button{width:40px;height:40px;border-radius:10px;background:#f5f2ed;color:#8b8680;border:none;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;padding:0}.history-button:hover{background:#ede9e3;color:#2d2a26}.history-button:active{transform:scale(.95)}.history-button svg{width:18px;height:18px}.user-name{color:#2d2a26;font-size:14px;font-weight:500;padding:10px 14px;background:#f5f2ed;border-radius:10px}.logout-button{background:#f5f2ed;color:#8b8680;border:none;padding:10px 16px;border-radius:10px;cursor:pointer;transition:all .2s;font-size:14px;font-weight:500}.logout-button:hover{background:#ede9e3;color:#2d2a26}.offline-indicator{position:absolute;bottom:20px;left:50%;transform:translate(-50%);padding:12px 24px;background:#fef3c7;color:#92400e;font-size:14px;font-weight:500;border-radius:24px;border:1px solid #FCD34D}@media (max-width: 640px){.orb{width:180px;height:180px}.orb-capture{width:70px!important;height:70px!important}.user-info{top:16px;right:16px;gap:8px}.history-button{width:36px;height:36px}.history-button svg{width:16px;height:16px}.user-name{font-size:12px;padding:8px 12px}.logout-button{font-size:12px;padding:8px 14px}.signal-input{font-size:16px;padding:16px}}.ambiente-brand{position:absolute;top:20px;left:20px}.ambiente-logo{height:20px;width:auto;opacity:.4;transition:opacity .2s}.ambiente-logo:hover{opacity:.6}@media (max-width: 640px){.ambiente-brand{top:16px;left:16px}.ambiente-logo{height:18px}}.login-screen{width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:20px;background:#faf8f5;position:relative}.login-content{display:flex;flex-direction:column;align-items:center;max-width:400px;width:100%;text-align:center}.logo{margin-bottom:40px}.logo-orb{width:180px;height:180px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fbe8c2,#f5d799,#e8bc6a 50%,#d4a24c);box-shadow:0 20px 60px #d4a24c40,0 0 120px #f5d79933;animation:orbBreath 4s ease-in-out infinite;position:relative}.logo-orb:before{content:"";position:absolute;top:15%;left:20%;width:40%;height:30%;border-radius:50%;background:radial-gradient(ellipse at center,rgba(255,255,255,.4) 0%,transparent 70%)}.logo-orb:after{content:"";position:absolute;top:-40px;right:-40px;bottom:-40px;left:-40px;border-radius:50%;background:radial-gradient(circle at center,rgba(245,215,153,.3) 0%,rgba(245,215,153,.1) 40%,transparent 70%);animation:glowPulse 4s ease-in-out infinite}@keyframes orbBreath{0%,to{transform:scale(1)}50%{transform:scale(1.03)}}@keyframes glowPulse{0%,to{opacity:.6;transform:scale(1)}50%{opacity:1;transform:scale(1.05)}}.login-screen h1{font-family:Georgia,Times New Roman,serif;font-size:48px;font-weight:400;letter-spacing:-.5px;margin:0 0 16px;color:#2d2a26}.tagline{font-size:17px;color:#8b8680;margin:0;line-height:1.5}.login-button-wrapper{margin-top:48px}.get-started-button{display:flex;align-items:center;justify-content:center;gap:10px;padding:16px 40px;font-size:17px;font-weight:500;color:#fff;background:#1a1a1a;border:none;border-radius:30px;cursor:pointer;transition:all .2s ease}.get-started-button:hover:not(:disabled){background:#333;transform:translateY(-1px)}.get-started-button:active:not(:disabled){transform:translateY(0)}.get-started-button:disabled{opacity:.6;cursor:not-allowed}.get-started-button svg{transition:transform .2s ease}.get-started-button:hover:not(:disabled) svg{transform:translate(3px)}.footer-tagline{position:absolute;bottom:40px;left:50%;transform:translate(-50%);font-size:14px;color:#8b8680;margin:0}@media (max-width: 640px){.logo-orb{width:150px;height:150px}.login-screen h1{font-size:40px}.tagline{font-size:16px}.footer-tagline{bottom:30px;font-size:13px}}.ambiente-brand{position:absolute;top:20px;left:20px;display:flex;align-items:center;gap:8px;font-size:10px;color:#b8b4ae;letter-spacing:.3px}.ambiente-logo{height:16px;width:auto;opacity:.5}.ambiente-brand strong{font-weight:700;color:#8b8680}.app{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at center,#1a1a1a,#0a0a0a);position:relative;overflow:hidden}.app.loading{background:#0a0a0a}.spinner{width:40px;height:40px;border:3px solid rgba(255,255,255,.1);border-top-color:#fffc;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@font-face{font-family:GT America;src:url(/assets/GT-America-Standard-Regular-CnJhPl_D.otf) format("opentype");font-weight:400}@font-face{font-family:GT America;src:url(/assets/GT-America-Standard-Medium-D9nlwaC6.otf) format("opentype");font-weight:500}@font-face{font-family:GT America;src:url(/assets/GT-America-Standard-Bold-COphI8DP.otf) format("opentype");font-weight:700}*{margin:0;padding:0;box-sizing:border-box}html,body,#root{width:100%;height:100%;overflow:hidden;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}body{font-family:GT America,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#faf8f5;color:#2d2a26}button{font-family:inherit;border:none;background:none;cursor:pointer;-webkit-tap-highlight-color:transparent}input,textarea{font-family:inherit;border:none;outline:none;background:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}@supports (padding: max(0px)){body{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}}
