.unox-panel{z-index:45;left:12px;right:12px;bottom:calc(84px + env(safe-area-inset-bottom));border:1px solid color-mix(in srgb,var(--accent) 19%,var(--border));width:auto;max-width:500px;max-height:min(53dvh,440px);color:var(--text);isolation:isolate;background:#eee;border-radius:22px;flex-direction:column;margin-inline:auto;display:flex;position:fixed;overflow:hidden;box-shadow:0 18px 48px #24242436}.dark .unox-panel{background:#282828;border-color:#4a4a4a;box-shadow:0 18px 48px #0007}.unox-panel.unox-keyboard{bottom:calc(var(--nox-keyboard-offset) + 10px);max-height:calc(100dvh - var(--nox-keyboard-offset) - 24px)}.unox-header{border-bottom:1px solid color-mix(in srgb,var(--accent) 16%,transparent);flex:none;justify-content:space-between;align-items:center;gap:10px;min-height:57px;padding:8px 10px 8px 15px;display:flex}.unox-title{align-items:center;gap:9px;min-width:0;display:flex}.unox-title strong{font-size:13px;line-height:1.1;display:block}.unox-title small{color:var(--muted);margin-top:4px;font-size:10px;display:block}.unox-mark{width:28px;height:28px;color:var(--accent);background:#dcdcdc;border-radius:9px;flex:none;place-items:center;display:grid}.dark .unox-mark{background:#393939}.unox-controls{flex:none;align-items:center;display:flex}.unox-icon{width:34px;height:34px;color:var(--text);background:0 0;border:0;border-radius:50%;place-items:center;display:grid}.unox-icon:hover{background:color-mix(in srgb,var(--accent) 12%,transparent)}.unox-messages{overscroll-behavior:contain;scrollbar-width:thin;flex:1;min-height:92px;max-height:230px;padding:13px 13px 5px;overflow-y:auto}.unox-message{background:var(--surface);width:fit-content;max-width:95%;color:var(--text);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:14px;margin:0 0 9px;padding:10px 12px;font-size:12px;line-height:1.5}.unox-message.unox-mine{background:var(--accent);color:#fff;margin-left:auto}.unox-context{background:#e0e0e0}.dark .unox-context{background:#353535}.unox-thinking{color:var(--muted)}.unox-compose{padding:9px 10px max(9px,env(safe-area-inset-bottom));border-top:1px solid color-mix(in srgb,var(--accent) 16%,transparent);flex:none;align-items:flex-end;gap:8px;display:flex}.unox-compose textarea{resize:vertical;border:1px solid color-mix(in srgb,var(--accent) 23%,var(--border));background:var(--surface);min-width:0;min-height:40px;max-height:120px;color:var(--text);border-radius:13px;outline:none;flex:1;padding:10px 12px;font-size:12px;line-height:1.35;display:block}.unox-compose textarea:focus{border-color:var(--accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 20%,transparent)}.unox-compose button{background:var(--accent);color:#fff;border:0;border-radius:12px;flex:none;place-items:center;width:40px;height:40px;display:grid}.unox-compose button:disabled{opacity:.45}.unox-status{color:#525252;margin:0;padding:0 13px 10px;font-size:11px;line-height:1.4}.dark .unox-status{color:#c9c9c9}.unox-panel.unox-expanded{top:calc(12px + env(safe-area-inset-top));bottom:calc(84px + env(safe-area-inset-bottom));max-height:none}.unox-expanded .unox-messages{min-height:0;max-height:none}.unox-panel.unox-expanded.unox-keyboard{bottom:calc(var(--nox-keyboard-offset) + 8px)}@media (min-width:768px){.unox-panel{width:380px;max-width:calc(100vw - 48px);max-height:min(65dvh,510px);bottom:24px;left:auto;right:24px}.unox-panel.unox-expanded{width:520px;height:min(80dvh,700px);max-height:none;top:auto;bottom:24px}.unox-panel.unox-keyboard,.unox-panel.unox-expanded.unox-keyboard{bottom:24px}.unox-compose{padding-bottom:10px}}@media (max-width:360px){.unox-panel{border-radius:19px;left:9px;right:9px}.unox-header{padding-left:12px}}@media (prefers-reduced-motion:reduce){.unox-panel,.unox-panel *{scroll-behavior:auto!important;transition-duration:.01ms!important;animation:none!important}}.unox-service-context{border:1px solid color-mix(in srgb,var(--accent) 24%,var(--border));background:color-mix(in srgb,var(--accent) 8%,var(--surface));border-radius:14px;gap:4px;margin:0 0 11px;padding:12px;display:grid}.unox-service-context small{color:var(--accent);text-transform:uppercase;letter-spacing:.04em;font-size:10px;font-weight:700}.unox-service-context strong{font-size:13px;line-height:1.4}.unox-service-context>span{color:var(--muted);font-size:11px;line-height:1.4}.unox-context-options{flex-wrap:wrap;gap:5px;margin-top:7px;display:flex}.unox-context-options button,.unox-suggestions button{border:1px solid color-mix(in srgb,var(--accent) 24%,var(--border));background:var(--surface);min-height:30px;color:var(--text);text-align:left;border-radius:999px;align-items:center;gap:3px;padding:6px 9px;font-size:10px;line-height:1.25;display:inline-flex}.unox-context-options button:hover,.unox-suggestions button:hover{border-color:var(--accent)}.unox-suggestions{flex-wrap:wrap;gap:6px;margin:6px 0 12px;display:flex}.unox-suggestions button:disabled,.unox-context-options button:disabled{opacity:.5}.unox-suggestions .unox-create-brief{background:var(--accent);color:#fff;border-color:var(--accent)}.unox-memory-note{color:var(--muted);margin:0 0 8px;font-size:10px;line-height:1.4}.unox-memory-note button{color:var(--accent);font:inherit;background:0 0;border:0;padding:0;font-weight:600}.unox-brief{background:var(--surface);border:1px solid var(--border);border-radius:15px;gap:9px;margin:4px 0 12px;padding:13px;display:grid}.unox-brief-head{justify-content:space-between;align-items:center;display:flex}.unox-brief-head strong{font-size:14px}.unox-brief-head button{background:var(--soft);width:25px;height:25px;color:var(--text);border:0;border-radius:50%;place-items:center;display:grid}.unox-brief p{color:var(--muted);margin:0;font-size:11px;line-height:1.4}.unox-brief label{gap:4px;font-size:11px;font-weight:600;display:grid}.unox-brief input,.unox-brief textarea{border:1px solid var(--border);background:var(--surface);width:100%;min-width:0;color:var(--text);font:inherit;resize:vertical;border-radius:10px;padding:9px 10px;font-size:12px;line-height:1.4}.unox-brief textarea{min-height:82px}.unox-brief input:focus,.unox-brief textarea:focus{outline:2px solid var(--accent);outline-offset:1px}.unox-brief small{color:var(--muted);font-size:10px;line-height:1.4}.unox-brief-submit{background:var(--accent);color:#fff;border:0;border-radius:999px;justify-content:center;align-items:center;gap:6px;min-height:38px;font-size:11px;font-weight:600;display:flex}.unox-brief-submit:disabled{opacity:.55}.unox-brief-status{background:color-mix(in srgb,var(--accent) 9%,var(--surface));border-radius:9px;padding:7px 9px;line-height:1.4;color:var(--text)!important;font-size:11px!important}.unox-actions{border-top:1px solid color-mix(in srgb,var(--accent) 16%,transparent);flex:none;padding:7px 12px 3px}.unox-actions .unox-suggestions{scrollbar-width:thin;max-height:76px;margin:0 0 4px;overflow-y:auto}.unox-actions .unox-memory-note{margin:4px 0 5px}
