.dev-progress{position:fixed;z-index:700;top:calc(6px + var(--safe-top,0px));left:calc(14px + var(--safe-left,0px));right:calc(14px + var(--safe-right,0px));max-width:750px;margin:auto;height:38px;background:var(--white);color:var(--ink);border:1px solid var(--line);border-radius:11px;box-shadow:0 2px 8px #0002;display:flex;align-items:center;gap:5px;padding:3px 8px 7px}
.dev-progress button{background:none;color:inherit;border:0;min-height:28px;font:700 12px var(--font)}#dev-progress-open{display:flex;align-items:center;gap:8px;flex:1;min-width:0;text-align:left}#dev-progress-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}#dev-percent{color:var(--forest);white-space:nowrap}#dev-progress-hide{width:28px;flex:none;font-size:20px}
#dev-meter{position:absolute;left:8px;bottom:3px;width:calc(100% - 16px);height:4px;border:0;border-radius:6px;overflow:hidden;accent-color:#e79a2a;background:#d5dfda}#dev-meter::-webkit-progress-bar{background:#d5dfda}#dev-meter::-webkit-progress-value{background:#e79a2a}#dev-meter::-moz-progress-bar{background:#e79a2a}
body[data-dev-progress=true] .route-panel,body[data-dev-progress=true][data-beta-guiding=true] .route-panel{top:calc(51px + var(--safe-top,0px))}
.dev-progress[hidden],#dev-mic[hidden],#dev-open[hidden]{display:none!important}
#dev-mic[aria-pressed=true]{background:#9d361e;color:#fff;border-color:#ffb689}
.bottom-tools #dev-open{position:relative;background:#ffd286;color:#182e35;border-color:#d49b43;font-weight:900}
.dev-unread{position:absolute;top:4px;right:4px;width:11px;height:11px;border:2px solid #fff;border-radius:50%;background:#d51d2a;box-shadow:0 1px 3px #0004;pointer-events:none}
.dev-unread[hidden]{display:none!important}
.bottom-tools #dev-open>span{font-size:12px}
#dev-dialog{width:min(540px,calc(100% - 20px));max-height:calc(92dvh - var(--safe-top,0px) - var(--safe-bottom,0px));padding:16px;background:var(--white);color:var(--ink);border:1px solid var(--line);border-radius:22px}
.dev-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.dev-heading h2{font-size:21px;margin:0}.dev-heading button{width:44px;height:44px;font-size:24px;background:var(--paper);color:var(--ink);border-radius:12px}#dev-connection{font-size:12px;color:var(--muted);margin:3px 0 12px}
#dev-messages{max-height:42dvh;overflow:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:10px;padding:4px 0}.dev-message{max-width:93%;padding:10px 12px;border-radius:14px;background:var(--paper);align-self:flex-start;overflow-wrap:anywhere;font-size:14px}.dev-message strong{font-size:11px;opacity:.75}.dev-message p{white-space:pre-wrap;margin:4px 0;line-height:1.4}.dev-message.user{align-self:flex-end;background:#244e46;color:#fff}.dev-empty{font-size:14px;color:var(--muted);line-height:1.5}
#dev-form{display:grid;gap:8px;margin-top:10px}#dev-text{min-height:65px;max-height:130px;resize:vertical;font:16px var(--font);padding:12px;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:12px;width:100%}.dev-chat-actions{display:flex;flex-wrap:wrap;gap:8px}.dev-chat-actions button{flex:1;min-height:44px;font-size:14px;padding:8px;border-radius:12px}#dev-live{font-size:13px;color:var(--forest);min-height:18px;margin:10px 0 0;overflow-wrap:anywhere}#dev-reply-hint{font-size:12px;color:var(--muted)}.dev-footer{display:flex;justify-content:space-between;align-items:center;gap:8px}.dev-footer small{font-size:11px;color:var(--muted)}
body[data-network-probing=true] .dev-progress{display:none}
#dev-dialog [hidden]{display:none!important}
