/* URBI V16: experiencia propia, aislada del avatar y paneles previos. */
.v16-root[hidden],.v16-guest[hidden],.v16-workspace[hidden],.v16-tab[hidden],.v16-notice[hidden]{display:none!important}
.v16-root{position:fixed;inset:0;z-index:5500;display:flex;align-items:center;justify-content:center;padding:20px;font-family:system-ui,-apple-system,'Segoe UI',sans-serif;color:#193b59}
.v16-backdrop{position:absolute;inset:0;background:rgba(7,23,43,.74);backdrop-filter:blur(8px)}
.v16-dialog{position:relative;z-index:1;width:min(900px,100%);max-height:min(860px,96dvh);display:flex;flex-direction:column;overflow:hidden;background:#f5faff;border:1px solid #d1e7f5;border-radius:27px;box-shadow:0 25px 85px rgba(0,17,42,.4)}
.v16-head{display:flex;justify-content:space-between;gap:15px;padding:22px 25px 20px;background:linear-gradient(110deg,#e4f6ff,#f7fbff 67%,#e9ecff);border-bottom:1px solid #d2e7f3;align-items:flex-start}
.v16-brand{display:flex;align-items:center;gap:14px}.v16-orb{width:52px;height:52px;background:linear-gradient(140deg,#039de2,#1259b9);color:white;border-radius:17px;display:grid;place-items:center;font-size:27px;box-shadow:0 7px 19px #039de240;flex:none}
.v16-head small{letter-spacing:.12em;color:#267eb4;font-weight:850;font-size:10px}.v16-head h2{font-size:24px;line-height:1.15;color:#0f3559;margin:5px 0}.v16-head p{font-size:12px;margin:0;color:#557a96}.v16-close{border:1px solid #c7e2f2;background:white;color:#244966;min-width:42px;height:42px;border-radius:13px;font-size:19px;flex:none}
.v16-main{overflow-y:auto;overscroll-behavior:contain;padding:20px 25px 24px}.v16-notice{border:1px solid #bbdbef;border-radius:12px;padding:12px;margin-bottom:14px;background:#eaf8ff;color:#185278;font-size:13px;overflow-wrap:anywhere}.v16-notice.bad{border-color:#f0bbbc;background:#fff2f2;color:#a52f35}
.v16-hero{text-align:center;max-width:520px;margin:24px auto 40px;padding:26px;background:white;border-radius:24px;border:1px solid #d9edf7}.v16-hero-icon{font-size:50px}.v16-hero h3{font-size:22px;color:#13385d;margin:10px 0}.v16-hero p{font-size:14px;color:#58748f;line-height:1.55}.v16-note{font-size:11px!important;margin-top:15px}
.v16-primary,.v16-secondary{background:linear-gradient(110deg,#037fc9,#0872c1);color:white;border:0;padding:11px 17px;border-radius:12px;font-size:13px;min-height:43px;font-weight:800}.v16-secondary{background:#f5fbff;color:#23658f;border:1px solid #cfe5f3}.v16-launch{font-size:12px;font-weight:850;border:1px solid #a9d7ef;background:#def4ff;color:#0c6098;border-radius:999px;padding:10px 14px;min-height:42px;white-space:nowrap}
.v16-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff;padding:13px 16px;border:1px solid #d8eaf4;border-radius:16px;margin-bottom:14px}.v16-toolbar strong{display:block;font-size:15px}.v16-toolbar span:not(.v16-chip){display:block;font-size:11px;margin-top:3px;color:#577c98}.v16-chip{background:#e2f8ed;padding:8px 11px;border-radius:99px;font-size:10px;color:#0c6a4f;white-space:nowrap;font-weight:800}
.v16-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-bottom:12px}.v16-tabs button{background:white;border:1px solid #d3e5f2;border-radius:13px;padding:11px 7px;color:#336585;font-size:12px;font-weight:800;min-height:44px}.v16-tabs button.active{background:#137bbd;color:white;border-color:#137bbd}
.v16-tab{background:#fff;border:1px solid #daecf5;border-radius:18px;padding:18px;min-width:0}.v16-tab h3{font-size:19px;color:#163e60;margin:0 0 8px}.v16-hint{font-size:11px;color:#66839a;line-height:1.5;margin:9px 0}.v16-chatbox{height:260px;overflow-y:auto;overscroll-behavior:contain;background:#f2f8ff;border:1px solid #daebf8;border-radius:15px;padding:13px;display:flex;flex-direction:column;align-items:stretch;gap:10px}
.v16-system{margin:auto;color:#557996;text-align:center;max-width:450px;font-size:13px;line-height:1.5}.v16-bubble{padding:10px 13px;border-radius:15px;max-width:86%;font-size:13px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.v16-bubble.user{background:#067dd0;color:white;align-self:flex-end;border-bottom-right-radius:5px}.v16-bubble.assistant{background:white;color:#214b6b;border:1px solid #daebf4;align-self:flex-start;border-bottom-left-radius:5px}.v16-suggestions{display:flex;gap:7px;flex-wrap:wrap;margin:11px 0}.v16-suggestions button{border:1px solid #d1e9f5;background:#eef9ff;color:#126391;padding:8px 12px;border-radius:999px;font-size:11px;font-weight:800}.v16-chat-form{display:flex;gap:9px;align-items:stretch}.v16-chat-form textarea{flex:1;min-width:0;resize:vertical;min-height:52px;border-radius:13px;border:1px solid #c9e1ef;background:white;padding:12px;font:inherit;font-size:14px;color:#1a4a69}.v16-chat-form button{min-width:78px}
.v16-task-form,.v16-memory-form{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:end;margin:15px 0}.v16-task-form label,.v16-memory-form label{display:grid;gap:6px;font-size:12px;color:#2f607e;font-weight:750}.v16-task-form input,.v16-memory-form input,.v16-memory-form select{min-width:0;width:100%;height:45px;border-radius:12px;border:1px solid #c9e1ef;padding:10px;background:#fff;color:#204d6c;font-size:14px}.v16-memory-form{grid-template-columns:170px 1fr auto}.v16-memory-form .v16-check{grid-column:1 / -1;display:flex;align-items:flex-start;gap:8px;font-weight:400;line-height:1.5}.v16-check input{width:17px;height:17px;flex:none;accent-color:#0875b9}.v16-tasks,.v16-memories{display:grid;gap:9px;margin-top:12px}.v16-record{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 12px;background:#f6fbff;border:1px solid #deedf5;border-radius:13px;font-size:13px;min-width:0}.v16-record .v16-record-main{min-width:0;overflow-wrap:anywhere}.v16-record small{display:block;font-size:11px;color:#66859a;margin-top:4px}.v16-record button{min-height:35px;padding:6px 10px;border-radius:9px;background:white;border:1px solid #d2e5f0;font-size:11px;color:#265b7e;flex:none}.v16-record button:focus-visible{outline:2px solid #0877c9}
.v16-switch{display:flex;align-items:flex-start;gap:12px;background:#f7fbff;border:1px solid #deebf4;padding:13px;border-radius:13px;margin:10px 0;cursor:pointer}.v16-switch input{width:19px;height:19px;accent-color:#0b7cc2;flex:none}.v16-switch span{display:grid;gap:5px}.v16-switch strong{font-size:13px}.v16-switch small{font-size:11px;color:#66849b;line-height:1.5}.v16-privacyactions{display:flex;flex-wrap:wrap;gap:9px;margin:15px 0}.v16-footer{border-top:1px solid #d8eaf4;padding:11px 25px;display:flex;justify-content:space-between;background:#eef6fc;gap:9px;color:#6a8498;font-size:11px}.v16-visuallyhidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
body.v16-open{overflow:hidden}
@media(max-width:750px){.topbar .v16-launch{display:none}.v16-root{padding:0;align-items:flex-end}.v16-dialog{max-height:96dvh;border-radius:24px 24px 0 0;padding-bottom:env(safe-area-inset-bottom)}.v16-head{padding:17px}.v16-head h2{font-size:19px}.v16-orb{width:44px;height:44px}.v16-main{padding:14px}.v16-footer{padding:11px 15px}.v16-tabs button{font-size:11px;padding:9px 4px}.v16-tab{padding:13px}.v16-chatbox{height:min(35dvh,260px)}.v16-task-form,.v16-memory-form{grid-template-columns:1fr}.v16-memory-form .v16-check{grid-column:1}.v16-toolbar{padding:10px 12px}.v16-chip{display:none}.v16-chat-form button{min-width:66px}}
@media(prefers-reduced-motion:reduce){.v16-root *{animation:none!important;transition:none!important}}
