.robot-panel-tabs{display:flex;gap:6px;padding:0 18px 12px;flex-shrink:0}
.robot-panel-tabs button{display:flex;justify-content:center;align-items:center;gap:7px;flex:1;min-height:36px;border:1px solid var(--line);border-radius:8px;background:transparent;color:var(--muted);font:inherit;font-size:12px;cursor:pointer}
.robot-panel-tabs button[aria-selected=true]{background:#e5e8f6;color:#35457b;border-color:#aab5e1;font-weight:600}
.robot-panel-tabs svg{width:15px;height:15px}
.voice-conversation{display:flex;flex:1;min-height:0;flex-direction:column}
.voice-conversation[hidden],.manual-view[hidden]{display:none}
.manual-view{flex:1;min-height:0;overflow-y:auto;padding:4px 18px 16px;overscroll-behavior:contain}
.manual-readings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 18px;padding:13px 10px;background:#f7f8fa;border:1px solid #e6e7ec;border-radius:10px}
.manual-readings div{display:flex;flex-direction:column;gap:6px;text-align:center;min-width:0}
.manual-readings span{font-size:10px;color:var(--muted)}
.manual-readings strong{font-size:12px;font-weight:550;color:var(--ink);overflow-wrap:anywhere}
.manual-row{display:flex;align-items:center;justify-content:space-between;margin:12px 0;font-size:12px;color:var(--ink)}
.manual-speeds{display:flex;padding:3px;gap:3px;background:#f1f2f4;border-radius:8px}
.manual-speeds button{min-width:40px;height:30px;border:0;border-radius:6px;background:transparent;color:var(--muted);font:inherit;font-size:12px;cursor:pointer}
.manual-speeds button[aria-pressed=true]{background:#405090;color:white;box-shadow:0 1px 4px #35457b20}
.manual-row select{padding:7px 10px;min-height:34px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);font:inherit;font-size:12px;cursor:pointer}
.manual-row[hidden]{display:none}
.manual-pad [data-move]{touch-action:none;user-select:none;-webkit-user-select:none}
.manual-pad button.is-held{opacity:1;background:#405090!important;color:white;border-color:#35457b;box-shadow:0 0 0 3px #4050901a}
.manual-pad{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,66px);gap:8px;max-width:268px;margin:22px auto 12px}
.manual-pad button{border:1px solid #bac2e2;background:#f2f4fb;border-radius:12px;color:#35457b;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;font:inherit;font-size:11px;cursor:pointer;touch-action:manipulation}
.manual-pad svg{width:21px;height:21px}
.manual-pad [data-move=forward]{grid-area:1/2}
.manual-pad [data-move=left]{grid-area:2/1}
.manual-pad [data-move=right]{grid-area:2/3}
.manual-pad [data-move=backward]{grid-area:3/2}
.manual-pad .manual-stop{grid-area:2/2;background:#fff1ed;border-color:#e9c6bf;color:#a34236}
.manual-pad .manual-stop svg{fill:currentColor;width:16px;height:16px}
.manual-pad button:not(:disabled):hover{background:#dee2f3;border-color:#405090}
.manual-pad button:not(:disabled):active{transform:scale(.96)}
.manual-pad .manual-stop:hover{background:#fbe1db!important;border-color:#b55446!important}
.manual-pad button:disabled{opacity:.4;cursor:not-allowed}
.manual-hint{min-height:30px;margin:8px 0 12px;text-align:center;color:var(--muted);font-size:11px;line-height:1.6}
.manual-tasks{display:flex;gap:8px}
.manual-tasks button{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;min-height:38px;border:1px solid var(--line);border-radius:8px;background:#fffdf8;color:var(--ink);font:inherit;font-size:12px;cursor:pointer}
.manual-tasks svg{width:16px;height:16px}
.manual-note{display:block;margin-top:12px;text-align:center;font-size:10px;color:var(--muted)}
.manual-keyboard{display:flex;justify-content:center;flex-wrap:wrap;gap:3px 12px;margin:0 0 10px;font-size:10px;color:var(--muted);line-height:1.6}
.manual-mode .voice-foot>span{display:none}
.manual-mode .voice-foot{padding-block:10px}
@media(max-height:750px){.manual-readings{margin-bottom:8px;padding-block:8px}.manual-pad{grid-template-rows:repeat(3,44px);gap:6px;max-width:222px;margin-block:10px 6px}.manual-row{margin-block:8px}.manual-note{display:none}.manual-hint{min-height:18px;margin-block:6px 10px}.manual-view{padding-bottom:10px}.manual-tasks button{min-height:34px}}
