.content.is-chat { overflow:hidden; }
.web-chat { display:flex;flex-direction:column;flex:1;min-height:0;height:100%; }
.web-chat-tools { display:flex;align-items:center;gap:12px;padding:12px 18px;border-bottom:1px solid #ffffff12; }
.web-chat-tools label { flex:1;min-width:0; }
.web-chat-tools select { width:100%;padding:10px;border:1px solid #ffffff25;border-radius:8px;background:#19191d;color:#f4f4f5;font:13px Inter,system-ui,sans-serif; }
.web-chat-info,.web-chat-low { padding:10px 18px;color:#a8a8b4;font-size:11px;line-height:1.7; }
.web-input-estimate { padding:10px 18px;border-bottom:1px solid #ffffff15;color:#dddde7;font-size:12px;line-height:1.6; }
.model-rating{flex-shrink:0;padding:10px 18px;border-bottom:1px solid #ffffff12;font-size:11px;line-height:1.5;color:#a8a8b4}
.model-rating-heading{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;margin-bottom:6px}
.model-rating-heading strong{font-weight:500;color:#e2e2e9}
.model-rating-legend{display:flex;flex-wrap:wrap;gap:5px 14px}
.model-rating-facts{display:flex;flex-wrap:wrap;gap:2px 18px;margin:6px 0 0}.model-rating-facts div{display:flex;gap:6px}.model-rating-facts dt{color:#8a8a94}.model-rating-facts dd{margin:0;color:#e2e2e9}
.model-rating-tier{display:inline-flex;align-items:center;gap:6px;padding:2px 0}
.model-rating-tier.is-current{color:#fff;font-weight:600}
.model-rating-tier.is-current .model-rating-dot{outline:1px solid currentColor;outline-offset:3px}
.model-rating-dot{display:inline-block;width:8px;height:8px;border-radius:50%;flex-shrink:0}
.model-rating-dot.green{background:#5ecb8b}.model-rating-dot.yellow{background:#edc963}.model-rating-dot.red{background:#ed7f83}
.model-rating p{margin:6px 0 0;font-size:10px}
.model-rating .model-rating-note{color:#dddde7}
@media(max-width:700px){.model-rating{padding:8px 12px}.model-rating-legend{gap:4px 10px}}
.web-chat .msgs { flex:1;min-height:100px;overflow:auto; }
.web-chat .msg { white-space:pre-wrap;overflow-wrap:anywhere; }
.web-chat-empty { color:#9a9aa6;margin:auto;max-width:420px;text-align:center;line-height:1.8;font-size:14px; }
.web-chat-error { color:#efc7c7;white-space:pre-wrap;font-size:12px;line-height:1.7;padding:0 18px; }
.web-composer { display:flex;align-items:flex-end;gap:10px;padding:14px 18px; }
.web-composer textarea { resize:vertical;min-height:48px;max-height:180px;flex:1;min-width:0;border:1px solid #ffffff25;border-radius:12px;background:#ffffff06;color:#fff;padding:12px;font:13px/1.6 Inter,system-ui,sans-serif; }
.web-composer button { min-height:44px; }
@media(max-width:700px){.web-chat-tools{padding:8px;gap:6px}.web-chat-tools .btn{font-size:10px}.web-composer{padding:10px}.web-chat .msgs{padding:12px}.web-chat .msg{max-width:95%}.web-chat-info{padding:8px 12px}}
/* Guest captcha dialog: same glass panel as the app window, above it (.wm is z-index 30). */
.lght-hv-overlay{position:fixed;inset:0;z-index:40;display:grid;place-items:center;padding:16px}
.lght-hv-overlay[hidden]{display:none}
.lght-hv-backdrop{position:absolute;inset:0;background:rgba(4,4,6,.55);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.lght-hv-dialog{position:relative;width:min(400px,100%);max-height:calc(100svh - 32px);overflow:auto;padding:22px 22px 18px;border-radius:12px;border:1px solid rgba(255,255,255,.12);background:rgba(28,28,32,.92);-webkit-backdrop-filter:blur(30px) saturate(1.4);backdrop-filter:blur(30px) saturate(1.4);box-shadow:0 0 0 .5px rgba(0,0,0,.9),0 50px 120px -20px rgba(0,0,0,.85),0 0 80px -30px rgba(255,255,255,.18);color:#e4e4e7;font:13px/1.5 Inter,system-ui,sans-serif}
.lght-hv-dialog:focus{outline:none}
.lght-hv-dialog button{appearance:none;font:inherit;color:inherit;cursor:pointer}
.lght-hv-close{position:absolute;top:12px;right:12px;display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:50%;background:none;color:#8a8a94!important;font-size:18px!important;line-height:1}
.lght-hv-close:hover,.lght-hv-close:focus-visible{background:rgba(255,255,255,.08);color:#fff!important}
.lght-hv-header{display:flex;flex-direction:column;gap:6px;padding-right:30px}
.lght-hv-badge{color:#6b6b75;font-size:10.5px;font-weight:600;letter-spacing:.08em}
.lght-hv-title{color:#fff;font-size:17px;font-weight:600;letter-spacing:-.01em}
.lght-hv-subtitle{margin:8px 0 0;color:#a8a8b4;font-size:12px;line-height:1.6}
.lght-hv-status{margin-top:14px;min-height:1.6em;color:#dddde7;font-size:12px;line-height:1.6}
.lght-hv-status[data-tone="error"]{color:#efc7c7}
.lght-hv-widget{display:flex;justify-content:center;margin-top:12px}
.lght-hv-widget:empty{display:none}
.lght-hv-controls{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.web-thread-row{display:flex;align-items:center;gap:4px;min-width:0}
.web-thread-row>.side-item{flex:1;min-width:0}
.web-thread-delete{flex:none;border:0;border-radius:6px;background:transparent;color:#bda4a4;font:20px/1 system-ui;cursor:pointer;padding:7px}
.web-thread-delete:hover,.web-thread-delete:focus-visible{color:#f4a3a3;background:rgba(208,59,59,.12)}
.web-thread-delete:disabled{opacity:.4;cursor:default}
