/* Shared workspace review. Keep graph node geometry and user theme tokens intact. */
:root{font-family:'Segoe UI','Microsoft YaHei UI','Microsoft YaHei',sans-serif;font-size:14px}
body{line-height:1.55}button,input,select,textarea{font-family:inherit}button,input,select,textarea,a{-webkit-tap-highlight-color:transparent}
h1,h2,h3{text-wrap:balance}.page-heading p,.notes,.field small{text-wrap:pretty}
.skip-link{position:fixed;z-index:100;left:16px;top:12px;transform:translateY(-160%);background:var(--accent);color:var(--accent-text);padding:12px 18px;border-radius:8px}.skip-link:focus{transform:translateY(0)}
#mainContent:focus{outline:none}
:where(button,a,input,select,textarea,[tabindex]):focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.sidebar{padding-top:25px;overflow-y:auto;scrollbar-width:thin}.brand{margin-bottom:24px}.brand-sub{font-size:12px;letter-spacing:1px;line-height:1.6}.workspace{margin-bottom:23px}.workspace strong,.workspace small,.nav-label,.local-note strong,.local-note small,.local-version,.profile strong,.profile small{font-size:12px}.nav-item{font-size:14px}.nav-label.second{margin-top:22px}.sidebar-bottom{padding-top:18px}.local-note{margin-bottom:13px}.local-version{letter-spacing:.6px;margin-top:8px}.profile{padding-top:15px;padding-bottom:17px}
.breadcrumb,.environment,.local-time{font-size:12px}.icon-button{min-width:36px;min-height:36px}.topbar{height:66px}
.main-shell main{padding-top:28px}.page-heading{gap:20px;align-items:flex-start;margin-bottom:24px}.page-heading h1{font-size:27px;line-height:1.35;letter-spacing:-.6px;margin-bottom:8px}.page-heading p{font-size:13px;line-height:1.75;max-width:68ch}.heading-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px}.eyebrow{display:none}
.btn{font-size:13px;min-height:36px;line-height:1.4}.btn.small{font-size:12px;min-height:32px;padding:6px 10px}.btn.link{font-size:12px;min-height:32px}.btn .icon{width:16px;height:16px}.tag,.counter-badge{font-size:12px}.panel-title{font-size:14px;font-weight:650}.panel-head{padding:16px 20px}.panel{box-shadow:none}.stat-card{box-shadow:none;padding:17px 18px}.stat-label{font-size:13px}.stat-value{font-size:30px;font-weight:650}.stat-foot{font-size:12px;line-height:1.7;flex-wrap:wrap}.stat-icon{top:15px}.stat-value small{font-size:13px}.stats-grid{gap:15px}
.motor-table,.motor-table th,.motor-table td,.motor-bottom{font-size:12px}.motor-table th{padding:11px 14px;font-weight:500}.motor-table td{padding:12px 14px}.motor-table td:first-child>span[style]{font-size:11px!important}.motor-table,.motor-current,.stat-value,.hub-log-row time,.clip-duration-input{font-variant-numeric:tabular-nums}.device-id{font-size:13px}.device-id small,.device-id>span[style]{font-size:12px!important}.diagram-label,.canvas-mode,.head-expression-status{font-size:12px;letter-spacing:0}.quick-action{font-size:12px;line-height:1.6;min-height:78px}.expression-tile strong{font-size:13px;font-weight:600}.expression-tile small,.panel-foot{font-size:12px}.panel-foot{gap:12px;flex-wrap:wrap;line-height:1.7}.workflow-row strong{font-size:13px}.workflow-row small{font-size:12px}.workflow-row>.btn{min-width:36px;flex-shrink:0;margin-left:auto}.workflow-row>div:nth-child(2){min-width:0}.workflow-row .tag{font-size:12px}.workflow-symbol{flex-shrink:0}
.info-strip,.danger-strip,.notes,.field label,.input,select.input,textarea.input,.inline-field,.motor-name,.label-row h3,.list-row strong{font-size:13px}.info-strip[style*="font-size"]{font-size:13px!important}.field small,.range-scale,.motor-meta,.motor-current small,.list-row small,.tiny-note,.storage-note,.help-list,.serial-status small{font-size:12px;line-height:1.8}.input,select.input,textarea.input{min-height:40px}.input[style*="font-family"]{overflow-wrap:anywhere;font-size:12px!important}.filter-tab{font-size:13px;min-height:36px}.motor-name small{font-size:12px}.motor-number-input{font-size:14px}.log{font-size:12px;line-height:1.8}.camera-placeholder strong{font-size:14px}.camera-placeholder small,.camera-badge,.sample-count,.pipeline-step small,.chart-labels{font-size:12px}.pipeline-step strong{font-size:13px}.compact-table{font-size:12px}.compact-table th{font-size:12px}.footer{font-size:12px;letter-spacing:0;line-height:1.7}
.timeline-help,.timeline-ruler,.timeline-toolbar .inline-field{font-size:12px}.clip strong{font-size:13px}.clip small{font-size:12px}.expression-panel-description,.expression-editor-note{font-size:12px}.empty-state{font-size:13px;line-height:1.8}
.automation-hub{margin-bottom:18px}.automation-hub .panel-head{padding:14px 18px}.hub-subtitle{font-size:12px;margin-top:4px}.automation-list,.automation-list-strip{display:flex;gap:12px;overflow-x:auto;overflow-y:hidden;padding:12px 18px 14px;max-height:none;scroll-snap-type:x proximity;scroll-padding-inline:18px;scrollbar-width:thin}.automation-card{flex:0 0 350px;padding:12px 14px;border-radius:9px;scroll-snap-align:start}.automation-card-head{display:flex;gap:10px}.automation-card-head small{font-size:12px;letter-spacing:0}.automation-card-head h3{font-size:14px;line-height:1.5;margin-top:3px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.automation-card-head .tag{font-size:12px;max-width:52%;margin:0}.automation-card-meta,.hub-draft-state,.hub-footnote{font-size:12px;line-height:1.65}.automation-card-meta{margin:7px 0 4px}.hub-draft-state{min-height:22px}.automation-card-actions{gap:6px;margin-top:4px}.automation-card-actions .btn.small{font-size:12px;min-height:30px;padding:5px 8px}.hub-footnote{padding:0 18px 12px}.automation-hub .hub-footnote{max-width:100ch}.hub-persistence{margin:12px 18px 0;border:1px solid var(--red);border-radius:7px;background:var(--red-soft);color:var(--red);padding:10px 12px;font-size:13px;display:flex;align-items:center;justify-content:space-between;gap:12px}.hub-persistence[hidden]{display:none}.hub-overview-row strong{font-size:13px}.hub-overview-row small,.hub-log-row,.hub-log-row time,.hub-audit-filters .input{font-size:12px}.hub-overview-row .grow{flex:1}.hub-overview-list{max-height:260px}.hub-log-row{grid-template-columns:155px 75px minmax(0,1fr)}.hub-kind{font-size:12px}
.flow-editor-top{gap:14px;padding:16px 18px;flex-direction:column;align-items:stretch}.flow-tools{justify-content:flex-start;gap:7px}.flow-editor-top p{font-size:12px;margin-bottom:0}.flow-title-row h2{font-size:17px}.flow-text-button{font-size:12px;min-height:30px}.flow-selection-text,.flow-legend,.flow-simulation-note,.flow-validation,.flow-note,.flow-entry-control{font-size:12px;line-height:1.7}.flow-tabs button{font-size:13px}.flow-entry-control select{font-size:12px}.flow-entry-control{max-width:100%}
.modal-header h2{font-size:19px}.modal-body{font-size:14px;line-height:1.7}.modal-close{width:36px;height:36px;display:grid;place-items:center;flex-shrink:0}.modal-error{border:1px solid var(--red);background:var(--red-soft);color:var(--red);padding:12px 14px;margin-bottom:18px;border-radius:7px;font-size:13px}.input[aria-invalid=true]{border-color:var(--red)}.toast{font-size:13px;line-height:1.6}.theme-intro,.theme-section-label,.theme-preset-name,.theme-input-row label{font-size:13px}.theme-section-label>span,.theme-preset-description,.theme-input-row small{font-size:12px}.recovery-notice{padding:10px 14px;border:1px solid var(--accent-line);border-radius:8px;background:var(--surface);color:var(--ink);font-size:13px;display:flex;align-items:center;gap:10px;margin-bottom:18px}.recovery-notice>span{margin-right:auto}
@media(max-width:1100px){.page-heading{flex-wrap:wrap}.heading-actions{justify-content:flex-start}.dashboard-main{grid-template-columns:1fr 1fr}.dashboard-bottom{grid-template-columns:1fr}.stat-card{padding:15px}.stat-icon{right:12px}.main-shell main{padding-inline:24px}}
@media(max-width:850px){.dashboard-main{grid-template-columns:1fr}.motor-table td,.motor-table th{padding-inline:12px}.sidebar{padding-top:20px}.sidebar .brand-sub{display:none}.stat-foot{font-size:12px}}
@media(max-width:620px){.main-shell main{padding:22px 14px}.topbar{padding-inline:14px;height:62px}.breadcrumb{font-size:12px}.sidebar{padding:20px 8px 0}.nav-item{min-width:44px;min-height:44px}.page-heading h1{font-size:24px}.page-heading p{font-size:13px}.heading-actions{gap:7px;width:100%}.heading-actions .btn{flex:1}.btn,.btn.small,.btn.link,.filter-tab,.icon-button{min-height:44px}.btn,.btn.small{font-size:13px}.environment{min-height:36px}.panel-head{padding:14px;gap:10px;flex-wrap:wrap}.stats-grid{gap:10px}.stat-card{padding:13px 12px}.stat-icon{width:24px;height:24px;right:10px;top:12px}.stat-label{font-size:12px;padding-right:24px}.stat-value{font-size:28px}.stat-foot{gap:4px;font-size:12px}.stat-value[style]{font-size:21px!important}.device-controls{margin-inline:14px;gap:10px;flex-wrap:wrap}.panel-foot{padding:12px 14px}.quick-buttons{padding:14px;gap:8px}.workflow-list{padding:15px 14px}.workflow-row{gap:8px;flex-wrap:wrap}.workflow-row .tag{margin-left:37px}.workflow-row>div:nth-child(2){flex:1}.workflow-row>.btn{min-width:44px}.expression-preview{gap:8px;padding:14px}.expression-tile{padding-inline:5px}.form-body{padding:16px}.motor-meta{gap:8px;flex-wrap:wrap}.footer{padding:14px;flex-wrap:wrap}.footer>span{overflow-wrap:anywhere}.automation-hub .panel-head{padding:14px}.hub-head-actions{gap:7px}.automation-list,.automation-list-strip{padding:10px 12px 14px;scroll-padding-inline:12px}.automation-card{flex-basis:100%;padding:12px}.automation-card-actions .btn.small{min-height:44px;padding:7px 9px}.automation-card-head .tag{font-size:12px;max-width:50%}.hub-footnote{padding-inline:12px}.hub-persistence{margin-inline:12px;flex-wrap:wrap}.hub-overview-list{max-height:310px}.hub-overview-row{gap:9px}.hub-log-row{grid-template-columns:1fr auto}.hub-log-row>span:last-child{grid-column:1/-1}.flow-editor-top{padding:14px}.flow-tools .btn.small{min-height:36px;font-size:12px}.flow-tools{gap:6px}.flow-entry-control{width:100%}.flow-entry-control select{max-width:100%}.flow-text-button{min-height:36px}.two-cols{gap:12px}.recovery-notice{flex-wrap:wrap}.recovery-notice>span{width:100%}.theme-dialog .modal-close{width:44px;height:44px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Let the canvas take priority; the asset library remains one click away. */
.automation-hub.is-collapsed .automation-list,.automation-hub.is-collapsed .hub-footnote{display:none}.automation-hub.is-collapsed .panel-head{border-bottom:0}.hub-library-current{overflow-wrap:anywhere}.range{min-height:28px}.inline-field{min-height:32px}
#flowStudio .flow-editor-top{padding:16px 18px;gap:14px;flex-direction:column;align-items:stretch}#flowStudio .flow-editor-top p,#flowStudio .flow-text-button,#flowStudio .flow-selection-text,#flowStudio .flow-legend,#flowStudio .flow-simulation-note,#flowStudio .flow-validation,#flowStudio .flow-entry-selector,#flowStudio .flow-entry-selector .input,#flowStudio .flow-test-current small,#flowStudio .flow-test-current p,#flowStudio .flow-event-btn small,#flowStudio .flow-trace,#flowStudio .flow-run-state,#flowStudio .flow-custom-event,#flowStudio .flow-events-empty{font-size:12px}#flowStudio .flow-tools{justify-content:flex-start}#flowStudio .flow-text-button{min-height:32px}#flowStudio .flow-edge-label{font-size:11px}#flowStudio .flow-node.flow-action-node small{font-size:11px}#flowStudio .flow-node-kicker{font-size:10px}#flowStudio .flow-node.flow-action-node strong{font-size:13px}#flowStudio .flow-canvas-zoom-input{min-height:28px}#flowStudio .flow-canvas-zoom-range{min-height:28px}
@media(max-width:620px){.range{min-height:44px}.inline-field{min-height:44px}#flowStudio .flow-editor-top{padding:14px}#flowStudio .flow-text-button{min-height:36px}.hub-head-actions>.btn{flex:1 1 40%}.automation-hub.is-collapsed .hub-subtitle{margin-top:5px}}


/* Creator workspace: content first, restrained chrome, theme-aware surfaces.
   Keep the robot, waveforms, timeline and flow geometry as the visual content.
   The existing palette tokens remain the source of truth for every theme. */
:root{font-family:'Segoe UI Variable Text','Segoe UI','Microsoft YaHei UI','Microsoft YaHei',sans-serif}
body{line-height:1.6}
button{transition:background-color .14s,border-color .14s,color .14s,opacity .14s}
.sidebar{padding-top:23px}
.sidebar .brand{font-size:25px;letter-spacing:-.6px;margin-bottom:23px}
.sidebar .brand-sub{font-size:11px;font-weight:400;letter-spacing:.1px;line-height:1.5}
.sidebar .nav-label{font-size:12px;font-weight:500;letter-spacing:0;margin-bottom:8px;padding-left:13px}
.sidebar .nav-item{border-radius:6px;margin-bottom:3px;padding-inline:13px;gap:11px;font-weight:500}
.sidebar .nav-item.active{font-weight:650;box-shadow:none}
.sidebar .nav-item.active:before{width:3px;top:12px;bottom:12px}
.sidebar .nav-item.active .icon{color:var(--sidebar-ink)}
.sidebar .nav-count,.sidebar .beta{border:0;background:transparent;padding:0;font-size:11px;letter-spacing:0}
.sidebar .new-dot{display:none}
.sidebar .local-note{border:0;border-top:1px solid var(--sidebar-line);background:transparent;border-radius:0;padding:15px 4px 3px;margin-inline:9px}
.sidebar .local-version{font-size:11px;letter-spacing:0}
.topbar{height:62px}
.topbar .breadcrumb{font-size:12px;gap:12px}
.topbar .environment{background:transparent;border-color:var(--line);font-size:12px;letter-spacing:0}
.main-shell main{padding-top:26px}
.page-heading{margin-bottom:22px;gap:18px}
.page-heading h1{font-size:25px;line-height:1.4;letter-spacing:0;font-weight:650;margin-bottom:6px}
.page-heading p{font-size:13px;line-height:1.7;max-width:68ch}
.panel{border-radius:9px;box-shadow:none}
.panel-head{padding:15px 20px;gap:12px;min-height:57px}
.panel-title{font-weight:650;letter-spacing:0;font-size:14px}
.panel-title>.icon{color:var(--muted)}
.panel-subtitle{font-size:12px;line-height:1.7}
.btn{font-size:13px;font-weight:500;border-radius:6px;min-height:36px;padding-inline:12px;box-shadow:none}
.btn:hover,.btn.primary,.btn.primary:hover{box-shadow:none;transform:none}
.btn.primary{font-weight:600}
.btn.subtle{background:transparent}
.btn.subtle:hover{background:var(--surface-alt)}
.btn.link{font-weight:500;text-underline-offset:4px}
.btn.link:hover{text-decoration:underline}
.btn:active:not(:disabled){filter:brightness(.94)}
.tag,.counter-badge{border-radius:4px;font-weight:400;letter-spacing:0}
.input,select.input,textarea.input{border-radius:6px;line-height:1.6}
.field label{font-weight:550}
.info-strip,.danger-strip{border-radius:6px;line-height:1.8}
.info-strip{background:var(--surface-alt);border-color:var(--line);color:var(--sub)}
.panel-foot{background:var(--surface);line-height:1.7}
.footer{font-size:11px;line-height:1.7}

/* The overview is an operating desk: one status strip above the live workspace. */
#mainContent:has(>.dashboard-main)>.stats-grid{gap:0;background:var(--surface);border:1px solid var(--line);border-radius:8px;margin-bottom:22px;overflow:hidden}
#mainContent:has(>.dashboard-main)>.stats-grid>.stat-card{background:transparent;border:0;border-right:1px solid var(--line);border-radius:0;box-shadow:none;padding:16px 20px}
#mainContent:has(>.dashboard-main)>.stats-grid>.stat-card:last-child{border-right:0}
#mainContent:has(>.dashboard-main) .stat-label{font-size:12px;font-weight:500;color:var(--muted)}
#mainContent:has(>.dashboard-main) .stat-icon{display:none}
#mainContent:has(>.dashboard-main) .stat-value{font-size:27px;font-weight:600;letter-spacing:0;margin-top:10px;line-height:1.3}
#mainContent:has(>.dashboard-main) .stat-value[style]{font-size:24px!important;margin-top:10px!important}
#mainContent:has(>.dashboard-main) .stat-foot{margin-top:9px;line-height:1.65;font-size:11px;min-height:19px;gap:6px}
#mainContent:has(>.dashboard-main) .stat-foot .tag{font-size:10px;padding:0 4px;line-height:1.7;background:transparent;border-color:var(--line);color:var(--muted)}
.dashboard-main{gap:18px;margin-bottom:18px}
.dashboard-bottom{gap:18px}
.device-panel .panel-head{border-bottom:1px solid var(--line)}
.device-canvas{background:var(--surface-alt)}
.device-grid{opacity:.25}
.head-model{filter:none}
.diagram-label{font-size:11px;letter-spacing:0}
.diagram-label:before{box-shadow:none;background:var(--muted)}
.diagram-label:after{background:var(--line)}
.device-canvas .head-tag{background:var(--surface);color:var(--ink);border-color:var(--line)}
.device-canvas .canvas-corner{opacity:.8}
.device-controls{margin-top:0;padding-top:14px;padding-bottom:0}
.quick-buttons{gap:8px;padding:14px 18px 16px}
.quick-action{min-height:60px;flex-direction:row;justify-content:center;gap:7px;padding:10px 8px;font-size:12px;line-height:1.6;background:var(--surface);color:var(--ink);border-color:var(--line);border-radius:6px}
.quick-action .icon{height:17px;width:17px;color:var(--muted)}
.quick-action:hover{background:var(--surface-alt);border-color:var(--muted)}
.quick-action.stop{background:var(--surface);border-color:var(--line);color:var(--red)}
.quick-action.stop:hover{background:var(--red-soft);border-color:var(--red)}
.motor-table td,.motor-table th{padding-top:11px;padding-bottom:11px}
.motor-table td.number{font-weight:500}
.workflow-symbol{background:transparent;border:0;border-radius:0;color:var(--muted);width:25px;height:28px}
.workflow-symbol .icon{height:17px;width:17px}
.workflow-list{padding-block:6px}
.workflow-row{padding-block:13px;margin:0;border-bottom:1px solid var(--line)}
.workflow-row:last-child{border-bottom:0}
.expression-preview{gap:9px}
.expression-tile{border-radius:7px;box-shadow:none;background:var(--surface)}
.expression-tile:hover{background:var(--surface-alt);box-shadow:none}
.expression-tile.selected{background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--blue)}
.expression-tile .mini-face{color:var(--sub)}
.expression-tile strong{font-weight:500}

/* Asset workspaces keep identifiable previews, without a second layer of icon tiles. */
#voiceStudio .voice-section-symbol{background:transparent;border:0;color:var(--muted);border-radius:0}
#voiceStudio .voice-player-empty>div{background:transparent;border:0;border-radius:0;width:44px;height:44px;margin-bottom:14px}
#voiceStudio .voice-asset-icon{background:var(--surface-alt);border-color:var(--line);color:var(--sub);border-radius:6px}
.sequence-icon{background:var(--surface);border-color:var(--line);color:var(--sub);border-radius:7px}
.sequence-card{border-radius:8px;background:var(--surface)}
.sequence-card-top small,.sequence-clip-list>span{font-size:12px}
#fleetStudio .fleet-model-card{border-radius:9px;transition:border-color .14s,background-color .14s}
#fleetStudio .fleet-model-card:hover{transform:none;background:var(--surface-alt)}
#fleetStudio .fleet-summary{border-radius:9px;border-left-width:1px;padding:24px}
#fleetStudio .fleet-summary-count strong{font-size:36px;color:var(--ink)}
#fleetStudio .fleet-model-caption small{letter-spacing:0}

@media(max-width:1100px){
  #mainContent:has(>.dashboard-main)>.stats-grid>.stat-card{padding:15px 16px}
  .quick-buttons{padding-inline:14px;gap:6px}
  .quick-action{flex-direction:column;gap:5px;min-height:74px;padding-inline:5px}
}
@media(max-width:850px){.quick-action{flex-direction:row;min-height:54px}}
@media(max-width:760px){
  #mainContent:has(>.dashboard-main)>.stats-grid>.stat-card:nth-child(2){border-right:0}
  #mainContent:has(>.dashboard-main)>.stats-grid>.stat-card:nth-child(-n+2){border-bottom:1px solid var(--line)}
}
@media(max-width:620px){
  .sidebar{padding-top:20px}
  .sidebar .nav-item{padding-inline:0;justify-content:center}
  .sidebar .nav-item.active:before{left:-8px}
  .sidebar .nav-count,.sidebar .beta{display:none}
  .main-shell main{padding-top:21px}
  .page-heading h1{font-size:23px}
  .page-heading{margin-bottom:19px}
  .btn,.btn.small,.btn.link,.icon-button{min-height:44px}
  .panel-head{padding:14px;min-height:54px}
  #mainContent:has(>.dashboard-main)>.stats-grid{margin-bottom:18px}
  #mainContent:has(>.dashboard-main)>.stats-grid>.stat-card{padding:13px 12px}
  #mainContent:has(>.dashboard-main) .stat-label{padding-right:0;font-size:12px}
  #mainContent:has(>.dashboard-main) .stat-value{font-size:25px}
  #mainContent:has(>.dashboard-main) .stat-value[style]{font-size:21px!important}
  #mainContent:has(>.dashboard-main) .stat-foot{font-size:11px;min-height:34px;align-content:start}
  .quick-action{flex-direction:column;min-height:76px}
  .workflow-row .tag{margin-left:36px}
  #fleetStudio .fleet-summary{padding:18px}
}
@media(pointer:coarse){.btn,.btn.small,.btn.link,.icon-button{min-height:44px}}
