.serial-workspace--motor .serial-terminal-card--shell{min-height:0}.serial-workspace-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;align-self:center;width:100%;gap:.5rem;padding:0;margin:0 0 .95rem}.serial-workspace-tab{min-width:0;margin:0;padding:.54rem .9rem;border:0;border-radius:.55rem;background:#f7f8f9;color:var(--text-main);font:inherit;font-size:.8rem;font-weight:600;letter-spacing:0;cursor:pointer;transition:background .15s ease-out,color .15s ease-out,box-shadow .15s ease-out,transform .15s ease-out;box-shadow:var(--shadow-pill-action)}.serial-workspace-tab:hover{color:var(--accent);background:var(--bg-main);box-shadow:var(--shadow-pill-action-hover);transform:translateY(-1px)}.serial-workspace-tab:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.serial-workspace-tab.is-active{background:linear-gradient(120deg,#111827,#000);color:#fff;box-shadow:var(--shadow-btn-primary);letter-spacing:.08em}.serial-workspace-tab.is-active:hover{transform:none}@media(prefers-color-scheme:dark){.serial-workspace-tab{background:#161618}.serial-workspace-tab.is-active{background:linear-gradient(120deg,#f9fafb,#d1d5db);color:#111827}}.motor-waveform[hidden]{display:none!important}.motor-waveform{display:flex;flex:1 1 auto;min-height:0;flex-direction:column;gap:.3rem}.motor-waveform-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem .55rem}.motor-waveform-frequency{display:inline-flex;align-items:center;gap:.32rem;color:var(--text-muted);font-size:.75rem;font-weight:500}.motor-waveform-frequency .serial-dd-trigger{min-width:4.8rem;padding:.32rem .45rem;box-shadow:none}.motor-waveform-charts{display:grid;grid-template-rows:repeat(3,minmax(5.2rem,1fr));gap:.25rem;flex:1 1 0;height:0;min-height:0;overflow:hidden;margin-top:.45rem}.motor-waveform-hint{margin:0;color:var(--text-muted);font-size:.68rem;line-height:1.2}.motor-waveform-toolbar+.motor-waveform-hint{margin-top:.35rem}.motor-waveform-state{margin-left:0}.motor-waveform-chart{display:flex;min-height:0;flex-direction:column;overflow:hidden;background:transparent}.motor-waveform-chart__header{display:flex;align-items:baseline;justify-content:space-between;gap:.5rem;padding:.18rem .1rem .22rem;color:var(--text-main);font-size:.74rem;font-weight:600}.motor-waveform-chart__header small{color:var(--text-muted);font-size:.66rem;font-weight:500}.motor-waveform-chart__header strong{color:var(--text-muted);font-size:.72rem;font-weight:500;font-variant-numeric:tabular-nums}.motor-waveform-chart canvas{display:block;width:100%;min-height:0;flex:1 1 auto;cursor:crosshair;touch-action:none}@media(max-width:1100px){.motor-waveform{min-height:30rem}.motor-waveform-charts{flex:1 1 auto;height:auto;min-height:22rem}}.dfu-update-dialog__box{width:90%;max-width:520px}.dfu-update-dialog__hint{max-width:25rem;margin:.28rem 0 0;color:var(--text-muted);font-size:.7rem;line-height:1.45}.dfu-update-progress-label,.dfu-update-dialog__actions{display:flex;align-items:center}.dfu-update-dialog__status{min-height:1.45em;margin:.8rem 0 1rem;color:var(--text-muted);font-size:.75rem;line-height:1.45;white-space:nowrap}.dfu-update-progress-wrap{display:grid;gap:.42rem;margin-top:1rem}.dfu-update-progress-label{justify-content:space-between;color:var(--text-muted);font-size:.74rem}.dfu-update-progress{width:100%;height:.5rem;overflow:hidden;border:0;border-radius:99px;background:#0000001a;accent-color:var(--accent)}.dfu-update-progress::-webkit-progress-bar{background:#0000001a;border-radius:99px}@media(prefers-color-scheme:dark){.dfu-update-progress,.dfu-update-progress::-webkit-progress-bar{background:#ffffff38}}.dfu-update-dialog__actions{justify-content:flex-end;gap:.5rem}.dfu-update-dialog__actions>button{min-height:0;padding-block:.4rem}.dfu-update-dialog__actions .serial-btn{padding-inline:.85rem;font-size:.78rem}.serial-terminal-card--shell .serial-terminal-wrap{display:flex;flex-direction:column;background:#fff}@media(prefers-color-scheme:dark){.serial-terminal-card--shell .serial-terminal-wrap{background:#111}}.serial-terminal-card--shell #terminal{flex:1 1 0;min-height:0;width:100%;position:relative}.serial-terminal-card--shell #terminal .xterm{position:absolute;inset:0}.serial-terminal-card--shell #terminal .xterm-viewport{background-color:#fff!important}@media(prefers-color-scheme:dark){.serial-terminal-card--shell #terminal .xterm-viewport{background-color:#111!important}}
