/* An original implementation using the light canvas / violet emphasis direction of OneSciCore. */
:root { --office-accent:#7357d9; --office-ink:#243252; --office-muted:#73809b; --office-line:#e5e7f1; --sap-blue:#7357d9; --sap-blue-hover:#5e43bf; --sap-canvas:#f4f5fb; --sap-border:#e3e6f0; --sap-text:#243252; }
html,body { font-family:"Segoe UI","Microsoft YaHei UI",sans-serif; background:#f4f5fb; }
#app .top-navbar { background:rgba(255,255,255,.97); border-bottom:1px solid #e5e4f0; height:60px; flex-basis:60px; }
#app .top-navbar h1 { color:#2c3150; font-weight:650; letter-spacing:.4px; }
#app .brand-area { position:relative; }
#app .brand-area:after { content:"AI WORKSPACE"; font-size:9px; font-weight:700; letter-spacing:1.4px; color:#937acb; padding:5px 7px; border:1px solid #e8e0fa; border-radius:5px; }
#app .sidebar { background:linear-gradient(180deg,#f1effa,#f5f6fc); border-right:1px solid #e3e3f0; }
#app .sidebar-toggle { background:transparent; color:#807596; border-bottom:1px solid #e4e1f0; }
#app .workflow-nav { padding:8px 10px 16px; }
#app .workflow-nav h2 { color:#9692a7; font-size:10px; letter-spacing:1.5px; padding-left:12px; line-height:26px; }
#app .workflow-nav section { margin-bottom:10px; }
#app .workflow-nav button { border:0; border-radius:8px; color:#5c607c; height:32px; line-height:32px; padding:0 12px; margin-bottom:2px; transition:background .15s,color .15s; }
#app .workflow-nav button i { margin-right:9px; font-size:15px; vertical-align:-1px; }
#app .workflow-nav button:hover { background:#e9e4f7; color:#6545bb; }
#app .workflow-nav button.active { color:#6546bb; background:linear-gradient(90deg,#e7dff9,#eeebfa); box-shadow:inset 3px 0 #8d70d7; font-weight:600; }
#app .content-area { background:radial-gradient(ellipse at 85% 0%,#eee9fb99,transparent 50%),#f4f5fb; }
#app .content-wrapper { scrollbar-gutter:auto; }
#app .el-button--primary,.ow-dialog .el-button--primary { background:#7357d9; border-color:#7357d9; }
#app .el-button--primary:hover,.ow-dialog .el-button--primary:hover { background:#6247c3; border-color:#6247c3; }
#app .el-button--primary.is-plain { background:#f3effd; color:#7357d9; border-color:#d9cdf8; }
#app .el-button--text { color:#7357d9; }
#app .el-input__inner:focus,#app .el-textarea__inner:focus,.ow-dialog .el-input__inner:focus,.ow-dialog .el-textarea__inner:focus { border-color:#9c81e1; }
#app .el-checkbox__input.is-checked .el-checkbox__inner { background:#7357d9; border-color:#7357d9; }
#app .el-checkbox__input.is-checked+.el-checkbox__label { color:#7357d9; }
#app .tw-shell { border-radius:12px; border-color:#e5e5f0; box-shadow:0 4px 22px #33386c05; }
#app .config-card,#app .config-panel { border-color:#e5e5f0; border-radius:10px; }
.ow-nav-count { float:right; margin-top:7px; background:#dcd0f7; color:#6843b1; min-width:18px; text-align:center; padding:0 4px; font-size:10px; line-height:18px; border-radius:5px; }
.ow-badge { display:inline-block; background:#e7dff9; color:#6741b7; padding:1px 5px; border-radius:4px; margin-left:3px; }
#app .content-wrapper.office-workspace-active { display:flex; padding:22px 24px 16px; overflow:hidden; }
.ow-shell { display:flex; flex-direction:column; gap:16px; flex:1; height:100%; min-height:0; min-width:0; color:#283553; }
.ow-shell *, .ow-dialog * { box-sizing:border-box; }
.ow-header { flex:none; display:flex; align-items:center; justify-content:space-between; gap:12px; min-width:0; }
.ow-header>div:first-child { min-width:0; }
.ow-header h2 { margin:6px 0; font-size:24px; line-height:1.4; letter-spacing:-.5px; overflow-wrap:anywhere; }
.ow-header p { margin:0; font-size:12px; color:#7a849e; line-height:1.6; }
.ow-eyebrow { display:flex; gap:6px; align-items:center; color:#9385af; font-size:9px; font-weight:600; letter-spacing:1.7px; }
.ow-live-dot { width:5px; height:5px; background:#9774dc; border-radius:50%; box-shadow:0 0 0 3px #ece4fa; }
.ow-actions { display:flex; gap:8px; flex:none; }
.ow-actions .el-button+.el-button { margin-left:0; }
.ow-card { background:#fff; border:1px solid #e5e7f1; border-radius:12px; box-shadow:0 3px 14px #29365f03; min-width:0; min-height:0; }
.ow-scroll { min-height:0; overflow:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#d9d0ec transparent; }
.ow-metrics { flex:none; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.ow-metrics>div { display:flex; align-items:center; gap:12px; min-width:0; padding:16px 18px; border:1px solid #e7e5f0; background:#fff; border-radius:11px; }
.ow-metric-icon { background:#f1ecfb; color:#9673d0; width:42px; height:42px; display:grid; place-items:center; border-radius:12px; font-size:19px; }
.ow-metric-icon.amber { background:#fff4e7; color:#c49148; }
.ow-metric-icon.mint { background:#eaf7f4; color:#4fa18e; }
.ow-metrics small { display:block; font-size:11px; color:#858ca2; }
.ow-metrics strong { display:block; font-size:27px; line-height:1.3; font-weight:600; color:#333c5d; }
.ow-metrics .el-button,.ow-metrics>div>.ow-help { margin-left:auto; font-size:11px; }
.ow-template-strip { display:flex; flex:none; gap:14px; max-height:205px; overflow:auto; scrollbar-width:thin; }
.ow-template-tile { flex:1 0 250px; padding:17px 18px 10px; border:1px solid #e3def1; background:linear-gradient(115deg,#fbfaff,#f4f1fc); border-radius:12px; min-width:0; }
.ow-template-tile:nth-child(2) { border-color:#dce6ef; background:linear-gradient(115deg,#fbfcff,#f0f5fb); }
.ow-template-tile>div { position:relative; padding-right:45px; }
.ow-template-symbol { position:absolute; right:0; top:2px; display:grid; place-items:center; width:38px; height:38px; border:1px solid #e4ddf6; background:#f1ebfc; color:#9671cf; border-radius:12px; font-size:20px; }
.ow-template-tile:nth-child(2) .ow-template-symbol { background:#e9f0fa; border-color:#dce5f4; color:#7899c8; }
.ow-template-tile h3 { font-size:15px; margin:0 0 7px; color:#4d4167; }
.ow-template-tile p { font-size:11px; line-height:1.6; color:#8d869c; margin:0 0 6px; }
.ow-template-tile small { font-size:10px; color:#a09aae; }
.ow-template-tile footer { display:flex; align-items:center; gap:10px; margin-top:12px; }
.ow-template-add { flex:0 0 150px; background:transparent; border:1px dashed #cfc5e7; border-radius:12px; color:#9478bd; cursor:pointer; }
.ow-template-add i { display:block; font-size:24px; margin-bottom:12px; }
.ow-list { display:flex; flex-direction:column; flex:1; overflow:hidden; }
.ow-list-toolbar { display:flex; align-items:center; gap:8px; flex:none; padding:12px 16px; border-bottom:1px solid #f0eef6; }
.ow-list-toolbar>strong { margin-right:auto; font-size:13px; white-space:nowrap; }
.ow-list-toolbar .el-input { width:180px; }
.ow-list-toolbar .el-select { width:105px; }
.ow-list-toolbar .el-select .el-input { width:100%; }
.ow-run-list { flex:1; }
.ow-run-row { display:flex; align-items:center; width:100%; text-align:left; gap:14px; border:0; border-bottom:1px solid #f2f0f7; padding:15px 18px; background:#fff; color:#38425f; cursor:pointer; }
.ow-run-row:hover { background:#faf8ff; }
.ow-run-icon { display:grid; place-items:center; width:35px; height:35px; border-radius:10px; background:#f2effa; color:#ad96d5; font-size:18px; flex:none; }
.ow-run-copy { min-width:0; flex:1; }
.ow-run-copy strong { display:block; font-size:13px; font-weight:500; white-space:normal; overflow-wrap:anywhere; }
.ow-run-copy small { display:block; color:#9a9db0; font-size:10px; margin-top:6px; }
.ow-run-deadline { color:#9a98aa; font-size:10px; }
.ow-run-row>.el-icon-arrow-right { font-size:10px; color:#bbb5cd; }
.ow-pagination { display:flex; align-items:center; justify-content:space-between; flex:none; padding:8px 14px; border-top:1px solid #f0eef6; font-size:11px; color:#9e9caf; }
.ow-empty { text-align:center; display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:150px; height:100%; padding:20px; color:#bcb1d3; }
.ow-empty>i { font-size:36px; color:#cec4df; }
.ow-empty h3 { color:#888096; font-size:13px; font-weight:500; margin:12px 0 5px; }
.ow-empty p { color:#aaa3b6; font-size:11px; line-height:1.7; margin:0; }
.ow-section-toolbar { display:flex; justify-content:space-between; align-items:center; color:#8e879e; font-size:12px; gap:8px; }
.ow-agent-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; align-content:start; }
.ow-agent-card { padding:20px; display:flex; flex-direction:column; }
.ow-agent-top { display:flex; align-items:center; justify-content:space-between; }
.ow-agent-orb { display:grid; place-items:center; width:45px; height:45px; flex:none; border-radius:14px; border:1px solid #e3daf5; background:radial-gradient(ellipse at 25% 0%,#fff,#e9def9); box-shadow:inset 0 1px 0 #fff; color:#9470c9; font-size:23px; }
.ow-agent-card:nth-child(2n) .ow-agent-orb { background:radial-gradient(ellipse at 25% 0%,#fff,#dfeafa); border-color:#dce4f1; color:#7c9ac6; }
.ow-agent-card h3 { font-size:17px; margin:16px 0 7px; }
.ow-specialty { font-size:11px; color:#a28ac4; }
.ow-agent-card p { white-space:pre-wrap; overflow-wrap:anywhere; font-size:12px; line-height:1.9; color:#8d8ba0; margin:18px 0; flex:1; }
.ow-agent-card footer { display:flex; align-items:center; justify-content:space-between; border-top:1px solid #f0edf6; padding-top:8px; font-size:10px; color:#aca6bb; }
.ow-run-status { display:flex; align-items:center; gap:14px; font-size:11px; color:#9a92aa; flex:none; }
.ow-run-status .el-button { margin-left:auto; }
.ow-detail-grid { display:grid; grid-template-columns:205px minmax(0,1fr) 215px; gap:14px; flex:1; min-height:0; }
.ow-detail-grid>.ow-card { display:flex; flex-direction:column; overflow:hidden; }
.ow-card-label { display:flex; justify-content:space-between; align-items:center; padding:16px; flex:none; font-size:12px; color:#665a7e; border-bottom:1px solid #f0edf6; }
.ow-card-label>span { color:#b2a8c4; letter-spacing:1px; font-size:9px; }
.ow-journey .ow-scroll { padding:18px 12px; }
.ow-step { display:flex; gap:10px; position:relative; padding:0 0 24px; }
.ow-step:before { content:""; width:1px; position:absolute; left:12px; top:26px; bottom:0; background:#ebe5f5; }
.ow-step:last-child:before { display:none; }
.ow-step-dot { display:grid; place-items:center; flex:none; width:25px; height:25px; border:1px solid #e9e3f1; color:#b2a6c8; border-radius:9px; font-size:10px; z-index:1; background:#fcfbfe; }
.ow-step.current .ow-step-dot { background:#8260c8; border-color:#8260c8; color:#fff; box-shadow:0 0 0 4px #f0e9fb; }
.ow-step.done .ow-step-dot { background:#eff8f4; border-color:#d6ece1; color:#7aaa95; }
.ow-step>div { min-width:0; flex:1; }
.ow-step strong { display:block; font-size:12px; font-weight:500; margin:3px 0 6px; overflow-wrap:anywhere; }
.ow-step small { display:block; font-size:10px; color:#b0a5be; line-height:1.6; margin-bottom:6px; }
.ow-step .el-tag { font-size:9px; }
.ow-step.current strong { color:#8058bb; }
.ow-work-content { padding:20px; flex:1; }
.ow-task-heading { display:flex; gap:12px; align-items:center; margin-bottom:20px; }
.ow-task-heading h3 { font-size:17px; margin:0 0 7px; }
.ow-task-heading p { font-size:11px; line-height:1.6; color:#a196af; margin:0; }
.ow-assist-note { display:flex; align-items:flex-start; gap:10px; background:#f8f5fd; border:1px solid #eee6f9; padding:10px 12px; border-radius:8px; color:#9e82c4; margin:0 0 16px; }
.ow-assist-note>i { font-size:17px; }
.ow-assist-note p { margin:0; font-size:11px; line-height:1.7; color:#9b8daa; }
.ow-field-label { display:block; font-size:12px; margin:16px 0 9px; color:#79698d; }
.ow-work .el-textarea__inner { font-size:12px; line-height:1.9; border-color:#e9e2f1; color:#635975; }
.ow-help { color:#a49ab3; font-size:11px; line-height:1.7; }
.ow-node-actions { flex:none; display:flex; align-items:center; justify-content:flex-end; gap:8px; border-top:1px solid #eee9f4; padding:12px 16px; }
.ow-node-actions .el-button+.el-button { margin-left:0; }
.ow-history .ow-scroll { padding:16px 16px 0; }
.ow-history article { position:relative; padding:0 0 20px 12px; border-left:1px solid #ece6f3; }
.ow-event-dot { position:absolute; left:-3px; top:4px; width:5px; height:5px; background:#c9b6df; border-radius:50%; }
.ow-history strong { display:block; font-size:11px; color:#9b83b3; font-weight:500; }
.ow-history small { display:block; color:#b5aabe; font-size:9px; line-height:1.7; margin:5px 0; }
.ow-history details { font-size:10px; color:#a996bb; }
.ow-history summary { cursor:pointer; }
.ow-shell pre,.ow-dialog pre { font-family:inherit; font-size:12px; white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.9; margin:8px 0; color:#83758f; }
.ow-history pre { font-size:10px; }
.ow-materials { margin-top:22px; border-color:#eee9f4; }
.ow-materials .el-collapse-item__header { font-size:11px; color:#9d8ab4; }
.ow-completed,.ow-processing { text-align:center; padding:20px 10px; color:#a58cbe; }
.ow-completed>i,.ow-processing>i { font-size:40px; }
.ow-completed h3,.ow-processing h3 { font-size:16px; font-weight:500; }
.ow-completed p,.ow-processing p { color:#b0a3be; font-size:11px; }
.ow-overdue { color:#ce8e66 !important; }
.ow-error { flex:none; }
.ow-dialog .el-dialog { border-radius:14px; max-width:calc(100vw - 28px); margin:5vh auto !important; max-height:90vh; display:flex; flex-direction:column; }
.ow-dialog .el-dialog__header { border-bottom:1px solid #eee9f5; padding:18px 22px; }
.ow-dialog .el-dialog__title { color:#635077; font-size:16px; }
.ow-dialog .el-dialog__body { overflow:auto; padding:20px 22px; min-height:0; }
.ow-dialog .el-dialog__footer { border-top:1px solid #eee9f5; padding:14px 22px; }
.ow-dialog .el-form-item__label { font-size:12px; color:#8c7a9c; line-height:1.8; padding-bottom:7px; }
.ow-dialog .el-input__inner,.ow-dialog .el-textarea__inner { border-radius:7px; border-color:#e4dced; color:#746080; }
.ow-launch-grid { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:25px; }
.ow-launch-route { background:#faf7fd; border:1px solid #eee6f6; border-radius:10px; padding:16px; }
.ow-launch-route h3 { font-size:13px; margin:0 0 8px; color:#8b71a4; }
.ow-launch-route>p { font-size:10px; color:#b0a0bf; margin:0 0 16px; line-height:1.7; }
.ow-assignment { margin-bottom:16px; }
.ow-assignment strong { font-size:11px; font-weight:500; color:#8b789f; display:block; margin-bottom:6px; }
.ow-assignment strong>span { display:inline-grid; place-items:center; width:20px; height:20px; margin-right:7px; background:#eee5f8; color:#a58bbb; border-radius:6px; font-size:10px; }
.ow-assignment small { display:block; color:#b3a2c0; font-size:10px; margin:0 0 8px 27px; }
.ow-assignment .el-select { width:100%; }
.ow-two-fields { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.ow-node-editor { display:flex; align-items:center; gap:12px; padding:14px 12px; border:1px solid #ede5f4; border-radius:10px; margin-bottom:12px; background:#fcfaff; }
.ow-node-number { width:25px; height:25px; background:#eee4f9; color:#ae90c6; border-radius:8px; display:grid; place-items:center; flex:none; font-size:11px; }
.ow-node-fields { display:grid; grid-template-columns:1fr 1.15fr 1fr 95px; gap:10px; flex:1; min-width:0; }
.ow-node-fields .el-form-item { margin-bottom:0; min-width:0; }
.ow-node-fields .el-select { width:100%; }
.ow-node-order { display:flex; gap:7px; flex:none; }
.ow-node-order .el-button+.el-button { margin-left:0; }
.ow-reminder-title { display:flex; align-items:center; justify-content:space-between; color:#806299; margin-bottom:12px; }
.ow-reminder-items { max-height:330px; overflow:auto; }
.ow-reminder-item { background:#faf7fe; border:1px solid #eee4f6; border-radius:8px; display:flex; align-items:center; gap:9px; width:100%; text-align:left; padding:12px; color:#a58bb7; margin-bottom:8px; cursor:pointer; }
.ow-reminder-item span { font-size:12px; line-height:1.7; flex:1; }
@media(min-width:1600px) { .ow-shell { max-width:1650px; width:100%; margin:auto; } }
@media(max-width:1200px) { .ow-detail-grid { grid-template-columns:175px minmax(0,1fr); } .ow-history { grid-column:1/-1; max-height:145px; } .ow-detail-grid { grid-template-rows:minmax(0,1fr) auto; } .ow-history .ow-scroll { display:flex; gap:24px; } .ow-history article { min-width:180px; } .ow-history .ow-card-label { padding:9px 14px; } .ow-agent-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .ow-metrics>div { padding:12px; gap:8px; } .ow-metrics .el-button { font-size:10px; } .ow-metric-icon { width:32px; height:32px; } }
@media(max-width:900px) { #app .brand-area:after { display:none; } .ow-run-deadline { display:none; } .ow-node-fields { grid-template-columns:1fr 1fr; } .ow-metrics .el-button,.ow-metrics>div>.ow-help { display:none; } .ow-header h2 { font-size:20px; } }
@media(max-width:768px) {
  #app .top-navbar { height:54px; flex-basis:54px; padding:0 8px; gap:5px; } #app .top-navbar h1 { display:none; } #app .top-navbar .brand-logo { width:105px; max-height:33px; object-fit:contain; } #app .top-navbar .user-info { margin-left:auto; } #app .top-navbar .user-info>.el-button { padding:7px 8px; } #app .top-navbar .user-info>.el-button:first-of-type { display:none; } #app .user-info .el-popover__reference { padding:7px 8px; }
  #app { --navigation-width:145px; } #app.sidebar-collapsed { --navigation-width:112px; } #app .workflow-nav { padding:6px; } #app .workflow-nav button { padding-left:8px; font-size:11px; height:31px; line-height:31px; } #app .workflow-nav button i { display:none; } #app .workflow-nav h2 { font-size:9px; padding-left:8px; } #app .workflow-nav section { margin-bottom:7px; } #app .ow-nav-count { font-size:9px; min-width:14px; padding:0 3px; }
  #app .content-wrapper.office-workspace-active { padding:12px 8px 8px; } .ow-shell { gap:10px; } .ow-header { align-items:flex-start; flex-wrap:wrap; gap:10px; } .ow-header h2 { font-size:18px; margin:5px 0; } .ow-eyebrow { font-size:7px; letter-spacing:.9px; } .ow-header p { font-size:10px; } .ow-actions { width:100%; justify-content:flex-end; gap:6px; } .ow-actions .el-button { padding:7px 9px; font-size:11px; }
  .ow-metrics { gap:5px; } .ow-metrics>div { display:block; padding:9px; } .ow-metric-icon { display:none; } .ow-metrics small { font-size:9px; } .ow-metrics strong { font-size:21px; margin-top:3px; } .ow-template-strip { gap:8px; max-height:175px; } .ow-template-tile { flex-basis:215px; padding:12px; } .ow-template-tile h3 { font-size:13px; } .ow-template-tile p { font-size:10px; } .ow-template-tile small { font-size:9px; } .ow-template-symbol { width:28px; height:28px; font-size:16px; } .ow-template-tile footer { margin-top:9px; } .ow-template-tile footer .el-button { padding:7px 8px; font-size:10px; }
  .ow-list-toolbar { flex-wrap:wrap; padding:9px; gap:6px; } .ow-list-toolbar>strong { width:100%; font-size:12px; } .ow-list-toolbar .el-input { width:100%; flex:1; min-width:70px; } .ow-list-toolbar .el-select { width:85px; } .ow-list-toolbar .el-select .el-input { width:100%; } .ow-list-toolbar>.el-button { padding:8px; } .ow-run-row { padding:11px 10px; gap:8px; flex-wrap:wrap; } .ow-run-icon { display:none; } .ow-run-copy strong { font-size:11px; } .ow-run-copy small { font-size:9px; line-height:1.5; } .ow-run-row .el-tag { max-width:75px; font-size:9px; } .ow-run-row>.el-icon-arrow-right { display:none; } .ow-pagination { flex-wrap:wrap; padding:5px 8px; gap:3px; } .ow-pagination .el-pagination { max-width:100%; } .ow-pagination .el-pager li { min-width:22px; }
  .ow-agent-grid { grid-template-columns:1fr; gap:10px; } .ow-agent-card { padding:15px; } .ow-section-toolbar { align-items:flex-start; flex-direction:column; font-size:10px; } .ow-agent-card p { font-size:11px; }
  .ow-run-status { flex-wrap:wrap; font-size:9px; gap:7px; } .ow-run-status>span:nth-of-type(3) { display:none; } .ow-detail-grid { display:flex; flex-direction:column; overflow:auto; } .ow-journey { flex:none; max-height:130px; } .ow-journey .ow-card-label { padding:8px 12px; } .ow-journey .ow-scroll { display:flex; padding:10px 12px; } .ow-step { min-width:170px; padding:0 12px 4px 0; } .ow-step:before { display:none; } .ow-step small { font-size:9px; } .ow-step strong { font-size:11px; } .ow-work { flex:none; min-height:420px !important; } .ow-work-content { padding:12px; overflow:visible; } .ow-work .ow-card-label { padding:12px; } .ow-task-heading h3 { font-size:14px; } .ow-task-heading p { font-size:10px; } .ow-agent-orb { width:34px; height:34px; font-size:18px; border-radius:11px; } .ow-node-actions { padding:10px; flex-wrap:wrap; } .ow-node-actions .el-button { font-size:10px; padding:8px; } .ow-history { flex:none; max-height:220px; } .ow-history .ow-scroll { display:block; }
  .ow-launch-grid,.ow-two-fields { grid-template-columns:1fr; gap:0; } .ow-launch-route { margin-top:10px; } .ow-dialog .el-dialog__body { padding:14px; } .ow-node-editor { padding:10px; gap:7px; align-items:flex-start; flex-wrap:wrap; } .ow-node-fields { grid-template-columns:1fr; } .ow-node-order { margin-left:auto; } .ow-dialog .el-dialog { max-width:calc(100vw - 20px); } .ow-reminder-popover { max-width:calc(100vw - 20px); }
}
@media(prefers-reduced-motion:reduce) { #app .workflow-nav button { transition:none; } }

/* Unified work window: the queue stays beside the selected task. */
.ow-shell { gap:10px; }
.ow-header { flex-wrap:wrap; }
.ow-header h2 { font-size:20px; }
.ow-actions { flex-wrap:wrap; }
.ow-count { background:#eee7fa; color:#7651b4; padding:2px 4px; border-radius:4px; font-size:10px; }
.ow-metrics>div { padding:8px 14px; }
.ow-metrics strong { font-size:21px; }
.ow-metric-icon { height:32px; width:32px; font-size:16px; }
.ow-template-strip { max-height:142px; }
.ow-template-tile { padding:10px 14px; }
.ow-template-tile footer { margin-top:6px; }
.ow-template-tile h3 { font-size:13px; margin-bottom:5px; }
.ow-template-tile p { font-size:10px; margin-bottom:3px; }
.ow-template-tile small { font-size:9px; }
.ow-board { display:grid; grid-template-columns:minmax(0,1fr); flex:1; min-height:0; gap:12px; }
.ow-board.has-selection { grid-template-columns:minmax(220px,26%) minmax(0,1fr); }
.ow-selected-pane { display:flex; flex-direction:column; min-width:0; min-height:0; gap:8px; }
.ow-list-heading { display:flex; align-items:center; gap:8px; margin-right:auto; }
.ow-list-heading strong { font-size:12px; }
.ow-list-heading>span { color:#8d819f; font-size:10px; }
.ow-list-toolbar { flex-wrap:wrap; padding:9px 12px; }
.ow-list-toolbar .el-input { width:150px; }
.ow-scope-switch { display:flex; padding:2px; background:#f4f0fa; border:1px solid #eee7f5; border-radius:6px; }
.ow-scope-switch button { cursor:pointer; background:transparent; border:0; border-radius:4px; padding:5px 8px; font-size:11px; color:#837290; white-space:nowrap; }
.ow-scope-switch button.active { background:white; color:#7357d9; box-shadow:0 1px 3px #54406518; }
.ow-scope-switch button span { background:#eae0f8; padding:1px 4px; border-radius:3px; }
.ow-run-row { padding:11px 12px; gap:9px; }
.ow-run-row.selected { background:#f7f3fd; box-shadow:inset 3px 0 #9371ce; }
.ow-run-copy strong { font-size:12px; }
.ow-board.has-selection .ow-list-toolbar .ow-list-heading { width:100%; }
.ow-board.has-selection .ow-list-toolbar .ow-scope-switch { width:100%; }
.ow-board.has-selection .ow-list-toolbar .el-input { flex:1; width:100%; min-width:75px; }
.ow-board.has-selection .ow-list-toolbar .el-select { width:90px; }
.ow-board.has-selection .ow-run-row { flex-wrap:wrap; }
.ow-board.has-selection .ow-run-row .ow-run-icon,.ow-board.has-selection .ow-run-row>.el-icon-arrow-right,.ow-board.has-selection .ow-run-deadline { display:none; }
.ow-board.has-selection .ow-run-copy { flex-basis:100%; }
.ow-board.has-selection .ow-pagination { flex-wrap:wrap; padding:5px; }
.ow-detail-grid { grid-template-columns:minmax(115px,.6fr) minmax(190px,1.8fr); gap:8px; grid-template-rows:minmax(0,1fr); }
.ow-history { grid-column:1/-1; max-height:135px; }
.ow-history .ow-card-label { padding:7px 12px; }
.ow-history .ow-scroll { display:flex; gap:20px; padding:10px 12px; }
.ow-history article { min-width:175px; max-width:300px; padding-bottom:8px; }
.ow-card-label { padding:9px 12px; font-size:11px; }
.ow-journey .ow-scroll { padding:12px 10px; }
.ow-step { gap:8px; padding-bottom:16px; }
.ow-step strong { font-size:11px; }
.ow-step small { font-size:9px; }
.ow-work-content { padding:12px; }
.ow-task-heading { gap:9px; margin-bottom:12px; }
.ow-task-heading h3 { font-size:14px; }
.ow-task-heading .ow-agent-orb { width:32px; height:32px; font-size:18px; }
.ow-node-actions { padding:9px 12px; }
.ow-dialog-agent-grid { margin-top:16px; grid-template-columns:repeat(2,minmax(0,1fr)); }
.ow-run-status { gap:8px; flex-wrap:wrap; font-size:10px; }
.ow-run-title { display:flex; align-items:center; gap:8px; min-width:0; }
.ow-run-title h3 { font-size:15px; overflow-wrap:anywhere; margin:0; flex:1; color:#4e3c66; }
.ow-shell:has(.has-selection)>.ow-template-strip { display:none; }
.ow-shell:has(.has-selection)>.ow-metrics>div { padding:5px 12px; }
.ow-shell:has(.has-selection)>.ow-metrics>div>div { display:flex; align-items:center; gap:10px; }
.ow-shell:has(.has-selection)>.ow-metrics strong { font-size:17px; }
.ow-shell:has(.has-selection)>.ow-metrics .ow-metric-icon { height:26px; width:26px; font-size:13px; }
.ow-settings-picker { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-bottom:16px; margin-bottom:16px; border-bottom:1px solid #eee7f5; }
.ow-settings-picker .el-select { min-width:0; }
.ow-shell .ow-work pre { color:#675873; }
.ow-shell .ow-task-heading p,.ow-shell .ow-help,.ow-shell .ow-step small { color:#84748f; }
@media(min-width:1550px) {
  .ow-detail-grid { grid-template-columns:145px minmax(250px,1fr) 185px; }
  .ow-history { grid-column:auto; max-height:none; }
  .ow-history .ow-scroll { display:block; }
  .ow-history article { min-width:0; }
}
@media(max-width:1100px) {
  .ow-header p { display:none; }
  .ow-board.has-selection { grid-template-columns:minmax(180px,28%) minmax(0,1fr); }
  .ow-detail-grid { display:flex; flex-direction:column; }
  .ow-journey { max-height:116px; flex:none; }
  .ow-journey .ow-scroll { display:flex; padding:10px; }
  .ow-step { min-width:150px; padding:0 12px 4px 0; }
  .ow-step:before { display:none; }
  .ow-work { flex:1; }
  .ow-history { max-height:110px; flex:none; }
  .ow-history .ow-scroll { display:flex; }
}
@media(max-width:768px) {
  .ow-header h2 { font-size:17px; }
  .ow-header .ow-actions { justify-content:flex-start; }
  .ow-header .ow-actions .el-button { padding:6px 7px; font-size:10px; }
  .ow-metrics>div { padding:7px; }
  .ow-template-strip { max-height:140px; }
  .ow-board.has-selection { display:flex; flex-direction:column; }
  .ow-board.has-selection>.ow-list { flex:none; height:170px; }
  .ow-board.has-selection>.ow-selected-pane { flex:1; }
  .ow-board.has-selection .ow-list-toolbar { padding:6px; gap:5px; }
  .ow-board.has-selection .ow-list-toolbar .ow-list-heading { width:auto; }
  .ow-board.has-selection .ow-list-toolbar .ow-scope-switch { width:auto; }
  .ow-board.has-selection .ow-list-toolbar>.el-input,.ow-board.has-selection .ow-list-toolbar>.el-select,.ow-board.has-selection .ow-list-toolbar>.el-button { display:none; }
  .ow-board.has-selection .ow-pagination>span { display:none; }
  .ow-board.has-selection .ow-pagination { padding:0 5px; }
  .ow-board.has-selection .ow-run-row { padding:6px 9px; gap:3px; }
  .ow-board.has-selection .ow-run-copy strong { font-size:10px; }
  .ow-board.has-selection .ow-run-copy small { display:none; }
  .ow-board.has-selection .ow-run-copy { flex-basis:auto; }
  .ow-shell:has(.has-selection)>.ow-metrics,.ow-shell:has(.has-selection)>.ow-template-strip { display:none; }
  .ow-detail-grid { overflow:auto; }
  .ow-detail-grid .ow-work { min-height:350px !important; flex:none; }
  .ow-history { max-height:180px; }
  .ow-history .ow-scroll { display:block; }
  .ow-dialog-agent-grid { grid-template-columns:1fr; }
}
