*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,sans-serif;background:#0f1115;color:#e6e6e6}.app{display:flex;flex-direction:column;min-height:100vh;max-width:720px;margin:0 auto}header{display:flex;align-items:center;justify-content:space-between;padding:1rem;border-bottom:1px solid #262933}header h1{font-size:1.1rem;margin:0}.header-actions{display:flex;align-items:center;gap:.6rem}.model-input{background:#1a1d24;border:1px solid #2b2f3a;color:#e6e6e6;padding:.4rem .6rem;border-radius:6px;font-size:.85rem;width:200px}.status-dot{width:10px;height:10px;border-radius:50%;display:inline-block}.status-dot.ok{background:#4ade80}.status-dot.bad{background:#f87171}.content{flex:1;overflow-y:auto;padding:1rem;display:flex;flex-direction:column;gap:1.5rem}.content h2{font-size:.95rem;margin:0 0 .6rem;color:#9ca3af}.panel{display:flex;flex-direction:column;gap:.6rem;background:#1a1d24;border:1px solid #2b2f3a;border-radius:10px;padding:1rem}.panel textarea,.panel input[type=file]{background:#0f1115;border:1px solid #2b2f3a;color:#e6e6e6;border-radius:8px;padding:.6rem;font-family:inherit;resize:vertical}.panel button{align-self:flex-start;background:#4f6bed;border:none;color:#fff;padding:.5rem 1.2rem;border-radius:8px;cursor:pointer}.panel button:disabled{opacity:.5;cursor:not-allowed}.response{white-space:pre-wrap;background:#0f1115;border-radius:8px;padding:.8rem;font-size:.9rem;line-height:1.5}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0009;display:flex;align-items:center;justify-content:center;padding:1rem}.modal{background:#1a1d24;border:1px solid #2b2f3a;border-radius:12px;padding:1.5rem;width:100%;max-width:420px}.modal h2{margin:0 0 .4rem;font-size:1.05rem}.modal .hint{color:#6b7280;font-size:.8rem;margin:0 0 1rem}.modal form{display:flex;flex-direction:column;gap:.9rem}.modal label{display:flex;flex-direction:column;gap:.3rem;font-size:.85rem;color:#9ca3af}.modal input{background:#0f1115;border:1px solid #2b2f3a;color:#e6e6e6;border-radius:8px;padding:.5rem .6rem;font-family:inherit}.modal-actions{display:flex;justify-content:flex-end;gap:.6rem}button.secondary{background:transparent;border:1px solid #2b2f3a;color:#e6e6e6;padding:.4rem .8rem;border-radius:8px;cursor:pointer}.error{color:#f87171;font-size:.85rem}
