:root{--bg: #0b1220;--panel: #121b2e;--line: #24314d;--text: #e8eefc;--muted: #9aa8c7;--blue: #4c9bff;--blue-strong: #2f7ff0;--ok: #43c59e;--bad: #ff7a7a;color-scheme:dark;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:16px;line-height:1.45;color:var(--text);background:var(--bg)}*{box-sizing:border-box}body{margin:0;min-height:100dvh;background:var(--bg)}h1{font-size:1.5rem;margin:.25rem 0 .5rem}h2{font-size:1.2rem;margin:0 0 .25rem}p{margin:.4rem 0}.muted{color:var(--muted)}.fine{color:var(--muted);font-size:.85rem;margin:.2rem 0}.ok{color:var(--ok)}.error{color:var(--bad)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}label{display:block;margin:.9rem 0 .3rem;font-weight:600}input,select,textarea{width:100%;padding:.7rem .8rem;border-radius:10px;border:1px solid var(--line);background:#0e1626;color:var(--text);font:inherit}input:focus,select:focus,textarea:focus{outline:2px solid var(--blue);outline-offset:1px}fieldset{border:1px solid var(--line);border-radius:12px;margin:1rem 0 0;padding:.5rem .9rem .8rem}legend{padding:0 .3rem;font-weight:600}label.choice{display:flex;gap:.55rem;align-items:center;font-weight:400;margin:.6rem 0 0}label.choice input{width:auto}button{font:inherit;cursor:pointer;border-radius:10px;border:1px solid var(--line);background:var(--panel);color:var(--text);padding:.65rem 1rem}button:disabled{opacity:.5;cursor:default}button.primary{background:var(--blue-strong);border-color:var(--blue-strong);color:#fff;font-weight:600;width:100%;margin-top:1.1rem}button.primary.small{width:auto;margin:0;padding:.4rem .8rem}button.link{background:none;border:none;color:var(--blue);padding:.4rem}.center{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1.25rem 1rem}.card{background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:1.5rem}.card.narrow{width:100%;max-width:420px}.logo{display:block;margin:0 auto .5rem;border-radius:22%;filter:drop-shadow(0 0 18px rgba(76,155,255,.45))}.narrow h1{text-align:center}.address{display:flex;align-items:center;gap:.3rem}.address input{flex:1;min-width:0}.address span{color:var(--muted);font-size:.9rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:55%}.spinner{width:32px;height:32px;border-radius:50%;border:3px solid var(--line);border-top-color:var(--blue);animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.setup{max-width:760px;margin:0 auto;padding:max(1rem,env(safe-area-inset-top)) 1rem 2rem}.setup-head{display:flex;align-items:center;justify-content:space-between}.steps{display:flex;gap:.4rem;overflow-x:auto;padding:.5rem 0 .8rem;scrollbar-width:none}.step{position:relative;display:flex;align-items:center;gap:.45rem;white-space:nowrap;padding:.45rem .8rem;border-radius:999px}.step .dot{width:9px;height:9px;border-radius:50%;background:var(--line)}.step.done .dot{background:var(--ok)}.step.skipped .dot{background:#c9a227}.step.current{border-color:var(--blue)}.panel .skip{display:block;margin:.8rem auto 0}.agreement{background:#0e1626;border:1px solid var(--line);border-radius:12px;padding:.4rem .9rem;margin-top:.8rem}.hours-row{display:flex;align-items:center;justify-content:space-between;gap:.5rem;min-height:2.6rem}.hours-row label.choice{margin:0}.times{display:flex;align-items:center;gap:.3rem;min-width:0}.times input{width:6.6rem;min-width:0;padding:.45rem .35rem}.times input::-webkit-calendar-picker-indicator{display:none}.connectors{list-style:none;padding:0;margin:.8rem 0 0;display:grid;gap:.5rem}.connector{padding:.7rem .9rem;border:1px solid var(--line);border-radius:12px;background:#0e1626}.connector-head{display:flex;align-items:center;justify-content:space-between;gap:.8rem}.connector-head>:last-child{flex-shrink:0;white-space:nowrap}.accounts{list-style:none;padding:0;margin:.5rem 0 0;display:grid;gap:.2rem;font-size:.9rem}.accounts li{display:flex;align-items:center;gap:.5rem}.accounts .account{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted)}.guide{margin-top:.5rem;font-size:.9rem}.guide summary{color:var(--blue);cursor:pointer}.guide ol,.guide-steps{margin:.4rem 0 0;padding-left:1.2rem;color:var(--muted);font-size:.9rem}.guide li,.guide-steps li{margin:.25rem 0}.inline-form{margin-top:.6rem;border-top:1px solid var(--line);padding-top:.4rem}.notice{background:#10233f;border:1px solid var(--blue);border-radius:12px;padding:.6rem .9rem}.badge{font-size:.8rem;color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:.15rem .6rem;white-space:nowrap}.badge.ok{color:var(--ok);border-color:var(--ok)}.chat{height:100dvh;display:flex;flex-direction:column;max-width:760px;margin:0 auto}.chat-head img{border-radius:22%}.chat-head{display:flex;align-items:center;gap:.6rem;padding:max(.7rem,env(safe-area-inset-top)) 1rem .7rem;border-bottom:1px solid var(--line)}.chat-head p{margin:0}.chat-head button{white-space:nowrap}.chat-head>div{min-width:0}.spacer{flex:1}.messages{flex:1;overflow-y:auto;padding:1rem;display:flex;flex-direction:column;gap:.6rem}.empty{text-align:center;margin-top:30%}.bubble{max-width:85%;padding:.65rem .9rem;border-radius:16px;white-space:pre-wrap;overflow-wrap:anywhere}.bubble.user{align-self:flex-end;background:var(--blue-strong);color:#fff;border-bottom-right-radius:4px}.bubble.assistant{align-self:flex-start;background:var(--panel);border:1px solid var(--line);border-bottom-left-radius:4px}.connect-card{margin-top:.5rem;white-space:normal}.typing{display:inline-flex;gap:4px}.typing i{width:7px;height:7px;border-radius:50%;background:var(--muted);animation:blink 1.2s infinite}.typing i:nth-child(2){animation-delay:.2s}.typing i:nth-child(3){animation-delay:.4s}@keyframes blink{0%,80%,to{opacity:.25}40%{opacity:1}}.composer{display:flex;gap:.5rem;padding:.7rem 1rem max(.7rem,env(safe-area-inset-bottom));border-top:1px solid var(--line)}.composer input{flex:1}.composer button.primary{width:auto;margin:0}@media(prefers-reduced-motion:reduce){.spinner,.typing i{animation:none}}
