/* Кабинет голосового робота (static/robot.js) */
.rb-head{display:flex;gap:12px;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;margin-bottom:4px}
.rb-head .filters{margin-bottom:12px}
.rb-owner{margin-bottom:12px;min-width:200px}
.rvm.rvm-wide{width:min(920px,calc(100% - 24px))}
.op-form{display:flex;flex-direction:column;gap:12px}
.op-form textarea,.op-form input,.op-form select{width:100%;border:1px solid var(--line);border-radius:8px;padding:8px 10px;background:var(--surface);color:var(--fg);font:inherit}
.op-form input[type=checkbox]{width:auto}
.op-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.op-list h3{margin:6px 0 2px;font-size:14px}
.op-list>.muted{margin:0 0 6px}
.op-items{position:relative;display:flex;flex-direction:column;gap:6px;margin-bottom:6px;counter-reset:op}
.op-item{display:flex;gap:6px;align-items:flex-start;border-radius:10px}
.op-grip{cursor:grab;touch-action:none;user-select:none;padding:8px 2px 0;color:var(--muted);font-size:13px;letter-spacing:-3px;line-height:1}
.op-grip:hover{color:var(--fg)}
.op-items.sorting{user-select:none}
.op-items.sorting .op-grip{cursor:grabbing}
.op-item.dragging{position:relative;z-index:3;background:var(--surface);box-shadow:0 10px 28px rgba(0,0,0,.28);transition:box-shadow .2s}
.op-item.dragging textarea{border-color:var(--accent)}
.op-guide{margin-top:0}
.op-guide-body{border:1px solid var(--line);border-radius:10px;padding:10px 14px;margin-top:8px;max-width:72ch}
.op-guide-body p{margin:0 0 8px}
.op-guide-body ol{margin:0 0 8px;padding-left:20px;display:flex;flex-direction:column;gap:6px}
.op-guide-body p.muted{margin:0}
.op-item::before{counter-increment:op;content:counter(op) ".";min-width:20px;padding-top:9px;color:var(--muted);font-size:12.5px}
.op-item textarea{flex:1}
.rb-end{display:grid;grid-template-columns:1fr auto;gap:2px 10px;margin:8px 0}
.rb-end b{font-family:var(--mono)}
.rb-endbar{grid-column:1/3;height:8px;background:var(--surface-2);border-radius:4px;overflow:hidden}
.rb-endbar i{display:block;height:100%;background:var(--accent);border-radius:4px}
#ct-q{flex:1;min-width:180px}
#ct-file{max-width:100%}
@media (max-width:640px){.rb-owner{min-width:0;width:100%}}
a.btn{color:inherit;text-decoration:none;display:inline-flex;align-items:center}
