codebee 0.1.6 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/app/ui/style.css CHANGED
@@ -1,4 +1,5 @@
1
1
  /* CodeBee UI —— ChatGPT 风格:左侧栏 + 居中主栏 + 卡片化内容,零依赖 */
2
+ /* Refreshed defaults apply when no selectable palette is active. */
2
3
  :root {
3
4
  --bg: #212121;
4
5
  --sidebar: #171717;
@@ -26,7 +27,7 @@
26
27
  --uc-ca: #3fd0bb;
27
28
  --uc-out: #b79bff;
28
29
  }
29
- html[data-theme="light"] {
30
+ html[data-theme="light"]:not([data-skin]), html[data-theme="light"][data-skin="classic"] {
30
31
  --bg: #ffffff;
31
32
  --sidebar: #f9f9f9;
32
33
  --panel: #ffffff;
@@ -416,6 +417,13 @@ body.side-collapsed #sidebar { border-right: none; padding-left: 0; padding-righ
416
417
  .stask:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
417
418
  .stask .t { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
418
419
  .stask .tm { flex: none; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
420
+ .stask-more {
421
+ flex: none; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 6px;
422
+ background: transparent; color: var(--muted); cursor: pointer; font: 700 16px/1 inherit;
423
+ opacity: 0; transition: opacity .12s, color .12s, background-color .12s;
424
+ }
425
+ .stask:hover .stask-more, .stask:focus-within .stask-more, .stask-more:focus-visible { opacity: 1; }
426
+ .stask-more:hover, .stask-more:focus-visible { color: var(--text); background: var(--panel); outline: none; }
419
427
  /* 状态字形:进行中旋转✻ / 完成绿点 / 失败红点 / 取消橙点 / 排队空圈 / 未运行暗点 */
420
428
  /* 闸门等待徽章(任务分支待裁决)+ 侧栏铃铛开关 */
421
429
  .sbadge {
@@ -773,7 +781,7 @@ button.small { padding: 4px 10px; font-size: 12px; }
773
781
 
774
782
  .steps { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
775
783
  .step {
776
- display: grid; grid-template-columns: 30px 92px 118px 1fr auto auto;
784
+ display: grid; grid-template-columns: 30px 92px 118px minmax(0, 1fr) auto auto auto;
777
785
  align-items: center; gap: 12px;
778
786
  background: var(--panel2); border: 1px solid transparent; border-radius: var(--r-md);
779
787
  padding: 10px 14px; cursor: pointer; font-size: 13px;
@@ -789,6 +797,15 @@ button.small { padding: 4px 10px; font-size: 12px; }
789
797
  .step .who { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
790
798
  .step .sum { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
791
799
  .step .dur { color: var(--muted); font-size: 12px; font-family: var(--mono); }
800
+ .step-log-btn {
801
+ border: 1px solid var(--border); border-radius: 999px; background: transparent;
802
+ color: var(--muted); padding: 3px 8px; font-size: 11px; line-height: 1.2;
803
+ cursor: pointer; white-space: nowrap; transition: color .12s, border-color .12s, background-color .12s;
804
+ }
805
+ .step-log-btn:hover, .step-log-btn:focus-visible {
806
+ color: var(--accent); border-color: var(--accent);
807
+ background: color-mix(in srgb, var(--accent) 7%, transparent); outline: none;
808
+ }
792
809
  /* 编排计划(只读,无日志可点) */
793
810
  .step.plan { grid-template-columns: 30px 180px 1fr; cursor: default; }
794
811
  .step.plan .role { color: var(--text); }
@@ -1540,6 +1557,7 @@ html[data-theme="light"] .seg-btn.active { box-shadow: 0 1px 3px rgba(0, 0, 0, .
1540
1557
  .usage-svg .uc-legend text { fill: var(--muted); font-size: 11px; }
1541
1558
  .usage-svg .uc-grid { stroke: var(--border); stroke-width: 1; stroke-dasharray: 3 4; }
1542
1559
  .usage-svg .uc-base { stroke: var(--border-strong); stroke-width: 1; }
1560
+ .usage-svg .uc-bar { fill: var(--accent); opacity: .10; pointer-events: auto; }
1543
1561
  .usage-svg .uc-peak { fill: var(--muted); font-size: 11px; font-weight: 600; }
1544
1562
  /* 柱顶总量标签:峰值日加重,矮柱的信息全靠它 */
1545
1563
  .usage-svg .uc-val { fill: var(--muted); font-size: 10px; font-family: var(--mono); }
@@ -1749,6 +1767,8 @@ html[data-theme="light"] .seg-btn.active { box-shadow: 0 1px 3px rgba(0, 0, 0, .
1749
1767
  .hive-cell .hc-live, .hive-lane .lane-live {
1750
1768
  display: inline-flex; align-items: center; gap: 4px;
1751
1769
  }
1770
+ .hive-cell .hc-log-link { margin-left: auto; color: var(--muted); font-size: 10.5px; opacity: .78; }
1771
+ .hive-cell:hover .hc-log-link, .hive-cell:focus-visible .hc-log-link { color: var(--accent); opacity: 1; }
1752
1772
  .hive-cell .hc-live {
1753
1773
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
1754
1774
  border-radius: 999px; padding: 0 7px; line-height: 16px; font-size: 10.5px;
@@ -2827,6 +2847,8 @@ html.code-wrap #file-pop .fp-edit { white-space: pre-wrap; word-break: break-wor
2827
2847
  智能体回复整幅平铺(不套气泡框),用户消息右侧浅灰圆角块。列宽 820px。 */
2828
2848
  /* 直连任务「对话为主」:常规页签条收起,右上角小胶囊按需打开其它分区 */
2829
2849
  #run-detail.chat-mode #rd-tabs { display: none; }
2850
+ #run-detail.chat-mode .rd-meta { opacity: .72; margin-bottom: 8px; }
2851
+ #run-detail.chat-mode .detail-head .rd-actions { opacity: .84; }
2830
2852
  #rd-chat-nav { display: flex; align-items: center; gap: 8px;
2831
2853
  min-height: 36px; margin: 2px 0 12px; }
2832
2854
  #rd-chat-nav.hidden { display: none; }
@@ -2881,6 +2903,10 @@ main.chat-fill #run-detail.chat-mode {
2881
2903
  .chat-meta { font-size: 11.5px; color: var(--muted); margin-bottom: 6px; }
2882
2904
  .chat-bubble.me .chat-meta { text-align: right; margin-bottom: 4px; }
2883
2905
  .chat-bubble.agent .chat-meta { margin: 8px 0 0; }
2906
+ .chat-actions { display: flex; align-items: center; min-height: 18px; margin-top: 2px; }
2907
+ .chat-log-btn { border: 0; padding: 0; background: transparent; color: var(--muted); cursor: pointer;
2908
+ font-size: 11px; line-height: 1.4; opacity: .72; }
2909
+ .chat-log-btn:hover, .chat-log-btn:focus-visible { color: var(--accent); opacity: 1; outline: none; }
2884
2910
  .chat-body { margin: 0; font: inherit; white-space: pre-wrap; }
2885
2911
  .chat-atts { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
2886
2912
  /* 运行中且还没有正文:三点打字动画(reduced-motion 时退化为静态点) */
@@ -2917,6 +2943,7 @@ main.chat-fill #run-detail.chat-mode {
2917
2943
  #run-detail.chat-mode .rd-pane[data-pane="chat"] { min-height: 280px; }
2918
2944
  .rd-chat-flow { gap: 18px; padding: 12px 6px 8px; }
2919
2945
  .chat-bubble.me { max-width: 86%; }
2946
+ .stask-more { opacity: .8; }
2920
2947
  }
2921
2948
 
2922
2949
  /* ================= 墨金组件精修层(惠及所有皮肤;DOM/几何零改动) =================
@@ -3224,3 +3251,1030 @@ span.imgcap:hover { border-color: var(--accent); color: var(--accent); }
3224
3251
  from { transform: translateY(16px); opacity: .35; }
3225
3252
  to { transform: translateY(0); opacity: 1; }
3226
3253
  }
3254
+ /* ================================================================
3255
+ 2026 refresh · editorial control room
3256
+ The existing UI has a wide feature surface; this layer sharpens the
3257
+ hierarchy without changing any DOM hooks or application behaviour.
3258
+ ================================================================ */
3259
+ :root {
3260
+ --font-ui: "Aptos", "Segoe UI", sans-serif;
3261
+ --font-display: "Aptos Display", "Trebuchet MS", sans-serif;
3262
+ --r-lg: 20px;
3263
+ --r-md: 14px;
3264
+ --r-sm: 10px;
3265
+ --shadow: 0 18px 48px rgba(7, 19, 38, .16);
3266
+ }
3267
+
3268
+ html[data-theme="light"]:not([data-skin]), html[data-theme="light"][data-skin="classic"] {
3269
+ --bg: #f4f7fb;
3270
+ --sidebar: #eef3f8;
3271
+ --panel: rgba(255, 255, 255, .88);
3272
+ --panel2: #eaf0f6;
3273
+ --border: rgba(21, 49, 78, .11);
3274
+ --border-strong: rgba(21, 49, 78, .24);
3275
+ --text: #10253d;
3276
+ --muted: #63758b;
3277
+ --accent: #167dce;
3278
+ --accent2: #7858de;
3279
+ --ok: #139878;
3280
+ --shadow: 0 18px 48px rgba(24, 54, 89, .10);
3281
+ }
3282
+
3283
+ html[data-theme="dark"]:not([data-skin]), html[data-theme="dark"][data-skin="classic"] {
3284
+ --bg: #091522;
3285
+ --sidebar: #0b1c2c;
3286
+ --panel: rgba(15, 34, 53, .88);
3287
+ --panel2: #132c43;
3288
+ --border: rgba(194, 223, 249, .12);
3289
+ --border-strong: rgba(194, 223, 249, .24);
3290
+ --text: #edf6ff;
3291
+ --muted: #92a9bf;
3292
+ --accent: #53b9f5;
3293
+ --accent2: #a28af5;
3294
+ --shadow: 0 22px 60px rgba(0, 0, 0, .30);
3295
+ }
3296
+ /* Keep the refreshed surfaces consistent across the selectable palettes. */
3297
+ html[data-theme="light"][data-skin], html[data-theme="dark"][data-skin] {
3298
+ --font-ui: "Aptos", "Segoe UI", sans-serif;
3299
+ --font-display: "Aptos Display", "Trebuchet MS", sans-serif;
3300
+ --r-lg: 20px; --r-md: 14px; --r-sm: 10px;
3301
+ }
3302
+
3303
+ html, body { font-family: var(--font-ui); }
3304
+ body {
3305
+ background:
3306
+ radial-gradient(circle at 16% 4%, color-mix(in srgb, var(--accent) 11%, transparent), transparent 30rem),
3307
+ radial-gradient(circle at 86% 10%, color-mix(in srgb, var(--accent2) 9%, transparent), transparent 34rem),
3308
+ var(--bg);
3309
+ letter-spacing: .005em;
3310
+ }
3311
+ body::before {
3312
+ content: "";
3313
+ position: fixed; inset: 0; pointer-events: none; z-index: -1;
3314
+ opacity: .32;
3315
+ background-image: linear-gradient(color-mix(in srgb, var(--text) 3%, transparent) 1px, transparent 1px),
3316
+ linear-gradient(90deg, color-mix(in srgb, var(--text) 3%, transparent) 1px, transparent 1px);
3317
+ background-size: 44px 44px;
3318
+ mask-image: linear-gradient(to bottom, #000, transparent 75%);
3319
+ }
3320
+
3321
+ #app { min-height: 100dvh; }
3322
+ #sidebar {
3323
+ background: color-mix(in srgb, var(--sidebar) 90%, transparent);
3324
+ border-right: 1px solid var(--border);
3325
+ box-shadow: 12px 0 42px rgba(8, 30, 52, .08);
3326
+ backdrop-filter: blur(18px);
3327
+ }
3328
+ .brand {
3329
+ min-height: 54px; padding: 8px 12px 14px;
3330
+ border-bottom: 1px solid var(--border);
3331
+ position: relative;
3332
+ }
3333
+ .brand::before {
3334
+ content: ""; width: 26px; height: 26px; border-radius: 9px;
3335
+ display: inline-block; flex: none;
3336
+ background: linear-gradient(135deg, var(--accent), var(--accent2));
3337
+ box-shadow: 0 5px 14px color-mix(in srgb, var(--accent) 34%, transparent);
3338
+ }
3339
+ .brand::after {
3340
+ content: "✦"; position: absolute; left: 19px; top: 11px;
3341
+ color: #fff; font-size: 13px; font-weight: 700;
3342
+ }
3343
+ .brand-name { font-family: var(--font-display); font-size: 17px; letter-spacing: .04em; }
3344
+ /* Keep the product wordmark intact; the refresh must not manufacture a second logo. */
3345
+ .brand::before, .brand::after { content: none; display: none; }
3346
+ .brand { min-height: 0; padding: 6px 8px 12px; }
3347
+ .brand-name { font-family: inherit; font-size: 15px; font-weight: 700; letter-spacing: .01em; color: var(--text); }
3348
+ .new-task {
3349
+ margin: 16px 4px 8px; min-height: 42px; border-radius: 12px;
3350
+ background: linear-gradient(110deg, var(--accent), color-mix(in srgb, var(--accent2) 82%, var(--accent)));
3351
+ color: #fff; border: 0; box-shadow: 0 9px 20px color-mix(in srgb, var(--accent) 24%, transparent);
3352
+ transition: transform .18s ease, box-shadow .18s ease;
3353
+ }
3354
+ .new-task:hover { transform: translateY(-1px); box-shadow: 0 12px 24px color-mix(in srgb, var(--accent) 34%, transparent); }
3355
+ .side-search { min-height: 38px; border-radius: 10px; background: color-mix(in srgb, var(--panel) 68%, transparent); }
3356
+ .side-quick { margin-top: 8px; }
3357
+ .qitem, .set-item { border-radius: 10px; min-height: 36px; transition: background .16s ease, color .16s ease, transform .16s ease; }
3358
+ .qitem:hover, .set-item:hover { transform: translateX(2px); }
3359
+ .qitem.active, .set-item.active { background: color-mix(in srgb, var(--accent) 13%, var(--panel)); color: var(--text); }
3360
+ .side-label { font-size: 10px; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; }
3361
+ .side-tasks { padding-top: 3px; }
3362
+
3363
+ #mainwrap { background: transparent; }
3364
+ .topbar {
3365
+ min-height: 64px; padding: 12px 24px;
3366
+ background: color-mix(in srgb, var(--bg) 72%, transparent);
3367
+ border-bottom: 1px solid var(--border);
3368
+ backdrop-filter: blur(18px);
3369
+ position: sticky; top: 0; z-index: 10;
3370
+ }
3371
+ .page-title { font-family: var(--font-display); font-size: 16px; letter-spacing: .02em; }
3372
+ .top-actions { gap: 8px; }
3373
+ .pill, .icon-btn { border-color: var(--border); background: color-mix(in srgb, var(--panel) 70%, transparent); transition: all .16s ease; }
3374
+ .pill:hover, .icon-btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
3375
+ .conn { border-radius: 999px; padding: 6px 10px; background: color-mix(in srgb, var(--ok) 12%, var(--panel)); font-size: 11px; }
3376
+
3377
+ main { padding: 28px clamp(16px, 4vw, 56px) 70px; }
3378
+ .page { gap: 22px; max-width: 1280px; }
3379
+ .panel {
3380
+ border: 1px solid var(--border); border-radius: var(--r-lg);
3381
+ background: linear-gradient(145deg, color-mix(in srgb, var(--panel) 96%, transparent), color-mix(in srgb, var(--panel2) 30%, transparent));
3382
+ box-shadow: var(--shadow); backdrop-filter: blur(18px);
3383
+ }
3384
+ .panel-head { padding: 20px 24px; border-bottom: 1px solid var(--border); }
3385
+ .panel-head h2, .detail-head h2 { font-family: var(--font-display); letter-spacing: -.01em; }
3386
+ .composer { padding: clamp(24px, 4vw, 42px); position: relative; overflow: hidden; }
3387
+ .composer::after {
3388
+ content: ""; position: absolute; width: 250px; height: 250px; right: -80px; top: -120px;
3389
+ border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
3390
+ box-shadow: 0 0 0 24px color-mix(in srgb, var(--accent) 4%, transparent), 0 0 0 48px color-mix(in srgb, var(--accent) 3%, transparent);
3391
+ pointer-events: none;
3392
+ }
3393
+ .hero { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); line-height: 1.12; letter-spacing: -.035em; }
3394
+ .hero-sub { max-width: 680px; font-size: 14px; line-height: 1.65; color: var(--muted); }
3395
+ .cmp-pills { gap: 10px; }
3396
+ .cmp-pills .type-pick, .cmp-wd { min-height: 42px; border-radius: 12px; background: color-mix(in srgb, var(--panel2) 66%, transparent); border-color: var(--border); }
3397
+ .cmp-box { margin-top: 14px; border-radius: 16px; background: color-mix(in srgb, var(--panel) 72%, transparent); border-color: var(--border-strong); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); transition: border .18s, box-shadow .18s; }
3398
+ .cmp-box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent), inset 0 1px 0 rgba(255,255,255,.08); }
3399
+ .cmp-box textarea { min-height: 92px; font-size: 15px; line-height: 1.6; }
3400
+ .cmp-send .primary { width: 40px; height: 40px; box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 30%, transparent); }
3401
+ .cmp-chip { border-radius: 999px; min-height: 30px; background: color-mix(in srgb, var(--panel2) 52%, transparent); transition: all .16s ease; }
3402
+ .cmp-chip:hover { transform: translateY(-1px); }
3403
+
3404
+ .card { border-radius: 14px; background: color-mix(in srgb, var(--panel) 58%, transparent); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
3405
+ .card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); box-shadow: 0 10px 24px rgba(7, 24, 45, .10); }
3406
+ .seg { padding: 4px; border-radius: 12px; background: color-mix(in srgb, var(--panel2) 70%, transparent); }
3407
+ .seg-btn { border-radius: 8px; }
3408
+ button.primary, button.new-task { font-weight: 700; }
3409
+ button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
3410
+
3411
+ @keyframes cb-rise { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
3412
+ .panel { animation: cb-rise .42s ease both; }
3413
+ .panel:nth-child(2) { animation-delay: .05s; }
3414
+ .panel:nth-child(3) { animation-delay: .1s; }
3415
+
3416
+ @media (max-width: 760px) {
3417
+ .topbar { padding: 10px 14px; }
3418
+ .top-actions .pill:not(.ctrl), .top-actions .conn { display: none; }
3419
+ main { padding: 16px 12px 48px; }
3420
+ .composer { padding: 22px 16px; }
3421
+ .hero-row { align-items: flex-start; flex-direction: column; }
3422
+ .hero { font-size: 25px; }
3423
+ .cmp-wd { flex-basis: 100%; }
3424
+ .panel-head { padding: 16px; }
3425
+ }
3426
+
3427
+ /* The log is a stable bottom utility, so opening a step never reflows the hive. */
3428
+ #run-detail #rd-log.rd-logdrawer {
3429
+ position: fixed;
3430
+ left: calc(264px + clamp(16px, 4vw, 56px));
3431
+ right: clamp(16px, 4vw, 56px);
3432
+ bottom: 16px;
3433
+ z-index: 50;
3434
+ width: auto;
3435
+ max-height: min(46vh, 430px);
3436
+ margin: 0;
3437
+ border: 1px solid var(--border-strong);
3438
+ border-radius: 14px;
3439
+ box-shadow: 0 18px 48px rgba(6, 18, 35, .28), 0 0 0 1px color-mix(in srgb, var(--accent) 8%, transparent);
3440
+ }
3441
+ body.side-collapsed #run-detail #rd-log.rd-logdrawer { left: clamp(16px, 4vw, 56px); }
3442
+ #run-detail #rd-log.rd-logdrawer { right: clamp(16px, 4vw, 56px); }
3443
+ body.inspector-open #run-detail #rd-log.rd-logdrawer {
3444
+ right: calc(340px + clamp(16px, 4vw, 56px));
3445
+ }
3446
+ #run-detail #rd-log.rd-logdrawer pre { max-height: min(40vh, 360px); }
3447
+ @media (max-width: 900px) {
3448
+ #run-detail #rd-log.rd-logdrawer {
3449
+ left: 12px; right: 12px; z-index: 50;
3450
+ }
3451
+ body.inspector-open #run-detail #rd-log.rd-logdrawer { right: 12px; }
3452
+ }
3453
+ @media (max-width: 760px) {
3454
+ #run-detail #rd-log.rd-logdrawer {
3455
+ left: 12px; right: 12px; bottom: 12px; max-height: 52vh;
3456
+ border-radius: 12px;
3457
+ }
3458
+ #run-detail #rd-log.rd-logdrawer pre { max-height: calc(52vh - 42px); }
3459
+ }
3460
+ @media (prefers-reduced-motion: reduce) {
3461
+ *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
3462
+ }
3463
+
3464
+ /* Hive cockpit refinement: summary counters, progress meters, and clearer scan order. */
3465
+ .rd-hive .sec-title { align-items: center; flex-wrap: wrap; gap: 8px; }
3466
+ #rd-hive-sub { display: inline-flex; align-items: center; gap: 5px; flex-wrap: wrap; margin-left: auto; }
3467
+ .hive-count {
3468
+ display: inline-flex; align-items: center; gap: 4px; min-height: 21px;
3469
+ padding: 2px 8px; border: 1px solid var(--border); border-radius: 999px;
3470
+ background: color-mix(in srgb, var(--panel2) 68%, transparent);
3471
+ color: var(--muted); font: 600 10px/1 var(--mono); letter-spacing: .02em;
3472
+ }
3473
+ .hive-count-live { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 32%, var(--border)); background: color-mix(in srgb, var(--accent) 9%, transparent); }
3474
+ .hive-count-done { color: var(--ok); }
3475
+ .hive-count-issue { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 34%, var(--border)); background: color-mix(in srgb, var(--bad) 8%, transparent); }
3476
+ .hive-count-total { color: var(--muted); }
3477
+ .hive-hint { color: var(--muted); font-size: 10.5px; opacity: .82; }
3478
+ .hive-cell:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
3479
+ .lane-head { align-items: center; }
3480
+ .lane-meter {
3481
+ display: inline-flex; width: clamp(48px, 10vw, 88px); height: 5px; overflow: hidden;
3482
+ margin-left: auto; border-radius: 999px; background: color-mix(in srgb, var(--text) 10%, transparent);
3483
+ }
3484
+ .lane-meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--ok), var(--accent)); transition: width .35s ease; }
3485
+ .lane-active .lane-meter i { background: linear-gradient(90deg, var(--accent), var(--accent2)); }
3486
+ .lane-idle .lane-meter { opacity: .55; }
3487
+ .hive-cell .hc-tail { min-height: 1.3em; }
3488
+ @media (max-width: 680px) {
3489
+ .rd-hive .sec-title { align-items: flex-start; }
3490
+ #rd-hive-sub { width: 100%; margin-left: 0; }
3491
+ .hive-count { font-size: 9.5px; }
3492
+ .lane-meter { width: 56px; }
3493
+ }
3494
+
3495
+ /* Detail sections: one navigation language for chat, hive, steps, results, Git and bible. */
3496
+ #run-detail #rd-tabs {
3497
+ display: flex; align-items: center; gap: 4px; flex-wrap: nowrap;
3498
+ padding: 4px; margin: 0 0 18px; border: 1px solid var(--border);
3499
+ border-radius: 14px; background: color-mix(in srgb, var(--panel2) 58%, transparent);
3500
+ box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 8%, transparent);
3501
+ overflow-x: auto; scrollbar-width: none;
3502
+ }
3503
+ #run-detail #rd-tabs::-webkit-scrollbar { display: none; }
3504
+ #run-detail #rd-tabs .rd-tab {
3505
+ position: relative; flex: 0 0 auto; min-height: 35px;
3506
+ display: inline-flex; align-items: center; justify-content: center; gap: 6px;
3507
+ padding: 7px 12px; border: 1px solid transparent; border-radius: 10px;
3508
+ background: transparent; color: var(--muted); font-size: 12.5px; font-weight: 600;
3509
+ transition: color .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
3510
+ }
3511
+ #run-detail #rd-tabs .rd-tab .tab-ico {
3512
+ width: 14px; height: 14px; opacity: .72; transition: opacity .16s ease, color .16s ease;
3513
+ }
3514
+ #run-detail #rd-tabs .rd-tab:hover {
3515
+ color: var(--text); background: color-mix(in srgb, var(--panel) 66%, transparent);
3516
+ }
3517
+ #run-detail #rd-tabs .rd-tab:hover .tab-ico { opacity: 1; }
3518
+ #run-detail #rd-tabs .rd-tab.active {
3519
+ color: var(--accent); background: var(--panel);
3520
+ border-color: color-mix(in srgb, var(--accent) 26%, var(--border));
3521
+ box-shadow: 0 3px 10px color-mix(in srgb, var(--text) 8%, transparent);
3522
+ }
3523
+ #run-detail #rd-tabs .rd-tab.active .tab-ico { opacity: 1; color: var(--accent); }
3524
+ #run-detail #rd-tabs .rd-tab.active::after { display: none; }
3525
+ #run-detail #rd-tabs .rd-badge {
3526
+ min-width: 20px; justify-content: center; padding: 1px 6px; line-height: 16px;
3527
+ background: color-mix(in srgb, var(--text) 6%, transparent);
3528
+ border-color: var(--border); font-size: 10px;
3529
+ }
3530
+ #run-detail #rd-tabs .rd-tab.active .rd-badge {
3531
+ background: color-mix(in srgb, var(--accent) 12%, transparent);
3532
+ border-color: color-mix(in srgb, var(--accent) 34%, transparent);
3533
+ }
3534
+ #run-detail .rd-pane > .sec-title,
3535
+ #run-detail .rd-pane .bible-head,
3536
+ #run-detail .rd-pane .git-head,
3537
+ #run-detail .rd-pane .files-head {
3538
+ min-height: 34px; margin-top: 0; padding: 0 2px 10px;
3539
+ border-bottom: 1px solid var(--border);
3540
+ }
3541
+ #run-detail .rd-pane > .sec-title::after { background: color-mix(in srgb, var(--accent) 28%, var(--border)); }
3542
+ #run-detail .rd-pane[data-pane="steps"] #rd-steps,
3543
+ #run-detail .rd-pane[data-pane="result"] #rd-report,
3544
+ #run-detail .rd-pane[data-pane="git"] #rd-git,
3545
+ #run-detail .rd-pane[data-pane="bible"] #rd-bible,
3546
+ #run-detail .rd-pane[data-pane="bookmeta"] #rd-bookmeta {
3547
+ padding-top: 4px;
3548
+ }
3549
+ #run-detail .rd-pane[data-pane="git"] #rd-git,
3550
+ #run-detail .rd-pane[data-pane="bible"] #rd-bible,
3551
+ #run-detail .rd-pane[data-pane="bookmeta"] #rd-bookmeta {
3552
+ padding: 14px 16px 18px; border: 1px solid var(--border); border-radius: 14px;
3553
+ background: color-mix(in srgb, var(--panel) 66%, transparent);
3554
+ }
3555
+ @media (max-width: 620px) {
3556
+ #run-detail #rd-tabs { margin-bottom: 14px; border-radius: 12px; }
3557
+ #run-detail #rd-tabs .rd-tab { min-height: 33px; padding: 7px 10px; font-size: 12px; }
3558
+ #run-detail #rd-tabs .rd-tab .tab-ico { width: 13px; height: 13px; }
3559
+ #run-detail #rd-tabs { scrollbar-width: thin; }
3560
+ #run-detail #rd-tabs::-webkit-scrollbar { display: block; height: 4px; }
3561
+ #run-detail #rd-tabs::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--accent) 55%, var(--border-strong)); }
3562
+ }
3563
+
3564
+ /* Log output is a docked console, not a floating card over the current section. */
3565
+ #run-detail #rd-log.rd-logdrawer {
3566
+ position: fixed; left: calc(264px + clamp(16px, 4vw, 56px));
3567
+ right: clamp(16px, 4vw, 56px); bottom: 0; z-index: 50;
3568
+ max-height: min(32vh, 320px); margin: 0; padding: 0;
3569
+ border: 0; border-top: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
3570
+ border-radius: 0; background: color-mix(in srgb, var(--panel) 94%, transparent);
3571
+ box-shadow: 0 -12px 30px color-mix(in srgb, var(--text) 10%, transparent);
3572
+ backdrop-filter: blur(18px);
3573
+ }
3574
+ body.side-collapsed #run-detail #rd-log.rd-logdrawer {
3575
+ left: clamp(16px, 4vw, 56px);
3576
+ }
3577
+ body.inspector-open #run-detail #rd-log.rd-logdrawer {
3578
+ right: calc(340px + clamp(16px, 4vw, 56px));
3579
+ }
3580
+ #run-detail #rd-log.rd-logdrawer .log-live-bar {
3581
+ min-height: 36px; padding: 7px clamp(14px, 2vw, 24px);
3582
+ background: color-mix(in srgb, var(--panel2) 72%, transparent);
3583
+ border-bottom: 1px solid var(--border);
3584
+ }
3585
+ #run-detail #rd-log.rd-logdrawer pre {
3586
+ max-height: min(28vh, 280px); margin: 0;
3587
+ padding: 10px clamp(14px, 2vw, 24px) 14px;
3588
+ background: transparent; border: 0; border-radius: 0;
3589
+ font-size: 12px; line-height: 1.6;
3590
+ }
3591
+ @media (max-width: 900px) {
3592
+ #run-detail #rd-log.rd-logdrawer {
3593
+ left: 0; right: 0; bottom: 0; max-height: 34vh;
3594
+ }
3595
+ body.inspector-open #run-detail #rd-log.rd-logdrawer { right: 0; }
3596
+ #run-detail #rd-log.rd-logdrawer pre { max-height: calc(34vh - 38px); }
3597
+ }
3598
+
3599
+ /* Composer 开跑前成本预估行(借鉴 omnigent):弱化小字,挂在快捷类型 chips 下方 */
3600
+ .cmp-estimate { margin: 6px 2px 0; font-size: 12px; opacity: .72; }
3601
+ .field-optional {
3602
+ margin-left: 6px; padding: 2px 7px; border: 1px solid var(--border);
3603
+ border-radius: 999px; color: var(--muted); font-size: 10px; font-weight: 500;
3604
+ }
3605
+ #bible-create-field {
3606
+ margin: 12px 0 14px; padding: 14px 16px 12px;
3607
+ border: 1px solid color-mix(in srgb, var(--accent2) 24%, var(--border));
3608
+ border-radius: 14px; background: color-mix(in srgb, var(--accent2) 5%, var(--panel));
3609
+ }
3610
+ #bible-create-field label { color: var(--text); }
3611
+ #bible-create-field label .ico { color: var(--accent2); }
3612
+ #bible-create-field textarea {
3613
+ min-height: 106px; resize: vertical; line-height: 1.6;
3614
+ background: color-mix(in srgb, var(--panel) 72%, transparent);
3615
+ }
3616
+ #bible-create-field .hint { margin: 7px 0 0; line-height: 1.45; }
3617
+
3618
+ /* ================================================================
3619
+ 2026-09 · quiet control room
3620
+ The product has many capabilities, so the surface should stay quiet:
3621
+ one alignment grid, flat page sections, and borders only where they
3622
+ communicate an interaction or a state.
3623
+ ================================================================ */
3624
+
3625
+ /* A clean canvas makes the hierarchy readable in every skin. */
3626
+ body {
3627
+ background: var(--bg);
3628
+ letter-spacing: 0;
3629
+ }
3630
+ body::before { display: none; }
3631
+ #sidebar {
3632
+ box-shadow: none;
3633
+ backdrop-filter: none;
3634
+ }
3635
+ #mainwrap { background: transparent; }
3636
+ main {
3637
+ padding: 28px clamp(18px, 3.2vw, 44px) 72px;
3638
+ }
3639
+ .page {
3640
+ width: 100%; max-width: 1280px; gap: 18px;
3641
+ }
3642
+ main .panel.wide {
3643
+ background: transparent;
3644
+ border: 0;
3645
+ box-shadow: none;
3646
+ border-radius: 0;
3647
+ }
3648
+
3649
+ /* New task: three controls on one baseline, with management as an inline
3650
+ action instead of a stray button box. */
3651
+ #sub-tasks .composer {
3652
+ padding: clamp(20px, 3vw, 38px) 0 26px;
3653
+ overflow: visible;
3654
+ }
3655
+ #sub-tasks .hero-row { align-items: center; }
3656
+ #sub-tasks .hero {
3657
+ font-size: clamp(24px, 3vw, 34px);
3658
+ font-weight: 400;
3659
+ letter-spacing: -.035em;
3660
+ }
3661
+ #sub-tasks .hero-sub { margin-bottom: 24px; }
3662
+ #sub-tasks .cmp-pills {
3663
+ display: grid;
3664
+ grid-template-columns: max-content max-content minmax(0, 1fr);
3665
+ align-items: center;
3666
+ gap: 10px;
3667
+ margin-bottom: 6px;
3668
+ }
3669
+ #sub-tasks .cmp-pills .type-pick,
3670
+ #sub-tasks .cmp-pills .cmp-wd {
3671
+ min-height: 40px;
3672
+ }
3673
+ #sub-tasks #btn-flows-mgr {
3674
+ align-self: center;
3675
+ min-height: 40px;
3676
+ padding: 0 8px;
3677
+ border: 0;
3678
+ border-radius: 8px;
3679
+ background: transparent;
3680
+ color: var(--muted);
3681
+ }
3682
+ #sub-tasks #btn-flows-mgr:hover {
3683
+ background: color-mix(in srgb, var(--accent) 8%, transparent);
3684
+ color: var(--accent);
3685
+ }
3686
+ #sub-tasks .cmp-wd {
3687
+ border: 0;
3688
+ border-bottom: 1px solid var(--border-strong);
3689
+ border-radius: 0;
3690
+ background: transparent;
3691
+ padding-inline: 2px;
3692
+ }
3693
+ #sub-tasks .cmp-wd:focus-within { border-color: var(--accent); }
3694
+ #sub-tasks .cmp-wd input { background: transparent; }
3695
+ #sub-tasks .cmp-box {
3696
+ margin-top: 18px;
3697
+ padding: 0;
3698
+ border: 0;
3699
+ border-top: 1px solid var(--border-strong);
3700
+ border-bottom: 1px solid var(--border-strong);
3701
+ border-radius: 0;
3702
+ background: transparent;
3703
+ box-shadow: none;
3704
+ }
3705
+ #sub-tasks .cmp-box:focus-within {
3706
+ border-color: var(--accent);
3707
+ box-shadow: none;
3708
+ }
3709
+ #sub-tasks .cmp-box textarea {
3710
+ min-height: 112px;
3711
+ padding: 16px 2px 8px;
3712
+ background: transparent;
3713
+ font-size: 15px;
3714
+ }
3715
+ #sub-tasks .cmp-bar {
3716
+ min-height: 44px;
3717
+ padding: 0;
3718
+ border-top: 1px solid var(--border);
3719
+ }
3720
+ #sub-tasks .cmp-quick {
3721
+ margin: 12px 0 2px;
3722
+ gap: 6px;
3723
+ }
3724
+ #sub-tasks .cmp-chip {
3725
+ min-height: 30px;
3726
+ padding-inline: 11px;
3727
+ background: transparent;
3728
+ }
3729
+ #sub-tasks details#f-advanced {
3730
+ margin-top: 16px;
3731
+ padding-top: 12px;
3732
+ }
3733
+ #sub-tasks details#f-advanced summary {
3734
+ font-size: 12.5px;
3735
+ color: var(--muted);
3736
+ }
3737
+ @media (max-width: 680px) {
3738
+ #sub-tasks .cmp-pills { grid-template-columns: max-content max-content; }
3739
+ #sub-tasks .cmp-pills .cmp-wd { grid-column: 1 / -1; }
3740
+ #sub-tasks .hero-row { align-items: flex-start; }
3741
+ }
3742
+
3743
+ /* Shared detail grid: title, metadata, tabs and every pane use the same edge. */
3744
+ #run-detail {
3745
+ padding: 0 clamp(0px, 1.2vw, 18px) 30px;
3746
+ }
3747
+ #run-detail .detail-head {
3748
+ min-height: 62px;
3749
+ margin: 0;
3750
+ padding: 16px 0 13px;
3751
+ align-items: center;
3752
+ }
3753
+ #run-detail .detail-head h2 {
3754
+ min-width: 0;
3755
+ line-height: 1.35;
3756
+ }
3757
+ #run-detail .rd-actions { align-items: center; }
3758
+ #run-detail .rd-meta-strip {
3759
+ min-height: 30px;
3760
+ margin: 0 0 14px;
3761
+ align-items: center;
3762
+ }
3763
+ #run-detail .rd-meta-strip .stat {
3764
+ display: inline-flex;
3765
+ align-items: center;
3766
+ min-height: 28px;
3767
+ background: transparent;
3768
+ }
3769
+ #run-detail #rd-tabs {
3770
+ gap: 2px;
3771
+ margin: 0 0 20px;
3772
+ padding: 0;
3773
+ border: 0;
3774
+ border-bottom: 1px solid var(--border);
3775
+ border-radius: 0;
3776
+ background: transparent;
3777
+ box-shadow: none;
3778
+ }
3779
+ #run-detail #rd-tabs .rd-tab {
3780
+ min-height: 38px;
3781
+ padding: 8px 12px 10px;
3782
+ border: 0;
3783
+ border-radius: 7px 7px 0 0;
3784
+ background: transparent;
3785
+ }
3786
+ #run-detail #rd-tabs .rd-tab:hover { background: color-mix(in srgb, var(--accent) 6%, transparent); }
3787
+ #run-detail #rd-tabs .rd-tab.active {
3788
+ color: var(--accent);
3789
+ background: transparent;
3790
+ box-shadow: none;
3791
+ }
3792
+ #run-detail #rd-tabs .rd-tab.active::after {
3793
+ display: block;
3794
+ left: 10px; right: 10px; bottom: -1px;
3795
+ height: 2px;
3796
+ background: var(--accent);
3797
+ }
3798
+ #run-detail .rd-main { gap: 0; }
3799
+
3800
+ /* Remove the nested card frame from report, Git, bible and book metadata.
3801
+ Their headings and separators already establish the structure. */
3802
+ #run-detail .rd-pane[data-pane="result"] .report,
3803
+ #run-detail .rd-pane[data-pane="git"] #rd-git,
3804
+ #run-detail .rd-pane[data-pane="bible"] #rd-bible,
3805
+ #run-detail .rd-pane[data-pane="bookmeta"] #rd-bookmeta {
3806
+ padding: 0 0 24px;
3807
+ border: 0;
3808
+ border-radius: 0;
3809
+ background: transparent;
3810
+ box-shadow: none;
3811
+ }
3812
+ #run-detail .rd-pane[data-pane="result"] .report { padding-top: 0; }
3813
+ #run-detail .rd-pane[data-pane="result"] .report h1:first-child { margin-top: 0; }
3814
+ #run-detail .rd-pane[data-pane="git"] #rd-git,
3815
+ #run-detail .rd-pane[data-pane="bible"] #rd-bible,
3816
+ #run-detail .rd-pane[data-pane="bookmeta"] #rd-bookmeta { margin-top: 0; }
3817
+ #run-detail .rd-pane .git-head,
3818
+ #run-detail .rd-pane .bible-head,
3819
+ #run-detail .rd-pane .bm-head,
3820
+ #run-detail .rd-pane .files-head {
3821
+ min-height: 38px;
3822
+ margin: 0 0 14px;
3823
+ padding: 0 0 10px;
3824
+ border-bottom: 1px solid var(--border);
3825
+ }
3826
+ #run-detail .rd-pane .git-head .sec-title,
3827
+ #run-detail .rd-pane .bible-head .sec-title,
3828
+ #run-detail .rd-pane .bm-head .sec-title,
3829
+ #run-detail .rd-pane .files-head .sec-title {
3830
+ margin: 0;
3831
+ padding: 0;
3832
+ border: 0;
3833
+ letter-spacing: .02em;
3834
+ text-transform: none;
3835
+ }
3836
+ #run-detail .rd-pane .git-head .sec-title::after,
3837
+ #run-detail .rd-pane .bible-head .sec-title::after,
3838
+ #run-detail .rd-pane .bm-head .sec-title::after,
3839
+ #run-detail .rd-pane .files-head .sec-title::after { display: none; }
3840
+ #run-detail .rd-bible .bible-head,
3841
+ #run-detail .rd-git .git-head,
3842
+ #run-detail .rd-bookmeta .bm-head {
3843
+ display: flex;
3844
+ align-items: center;
3845
+ gap: 9px;
3846
+ flex-wrap: wrap;
3847
+ }
3848
+ #run-detail .rd-bible .bible-head .hint,
3849
+ #run-detail .rd-git .git-head .hint,
3850
+ #run-detail .rd-bookmeta .bm-head .hint {
3851
+ flex: 1 1 240px;
3852
+ min-width: 0;
3853
+ }
3854
+ #run-detail .rd-bible .bible-view { margin: 0; max-height: 280px; }
3855
+ #run-detail .rd-bible .bible-editor { margin-top: 0; }
3856
+
3857
+ /* Hive: keep the stage relationship, remove the heavy nested panel treatment. */
3858
+ #run-detail .rd-hive { margin-top: 0; }
3859
+ #run-detail .rd-hive .sec-title { margin-bottom: 12px; }
3860
+ #rd-hive-cells { gap: 0; }
3861
+ #rd-hive-cells .hive-lane {
3862
+ border: 0;
3863
+ border-top: 1px solid var(--border);
3864
+ border-radius: 0;
3865
+ padding: 13px 0 14px;
3866
+ background: transparent;
3867
+ box-shadow: none;
3868
+ }
3869
+ #rd-hive-cells .hive-lane:last-child { border-bottom: 1px solid var(--border); }
3870
+ #rd-hive-cells .hive-lane::before {
3871
+ left: 0; right: auto; width: 56px; height: 2px;
3872
+ border-radius: 0;
3873
+ }
3874
+ #rd-hive-cells .hive-lane.lane-active {
3875
+ border-color: var(--accent);
3876
+ box-shadow: none;
3877
+ background: color-mix(in srgb, var(--accent) 2%, transparent);
3878
+ }
3879
+ #rd-hive-cells .lane-head { margin-bottom: 6px; }
3880
+ #rd-hive-cells .lane-idx {
3881
+ width: 28px; height: 24px;
3882
+ clip-path: none;
3883
+ border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
3884
+ border-radius: 6px;
3885
+ background: transparent;
3886
+ }
3887
+ #rd-hive-cells .lane-meter { margin-left: auto; width: 64px; }
3888
+ #rd-hive-cells .lane-live { margin-left: 10px; }
3889
+ #rd-hive-cells .lane-flow {
3890
+ height: 28px;
3891
+ width: 28px;
3892
+ margin: 0 0 0 12px;
3893
+ }
3894
+ #rd-hive-cells .flow-bee { display: none; }
3895
+ #rd-hive-cells .hive-cell {
3896
+ min-height: 76px;
3897
+ padding: 9px 10px;
3898
+ border-radius: 8px;
3899
+ background: color-mix(in srgb, var(--panel) 70%, transparent);
3900
+ box-shadow: none;
3901
+ }
3902
+ #rd-hive-cells .hive-cell:hover {
3903
+ transform: translateY(-1px);
3904
+ box-shadow: 0 3px 10px color-mix(in srgb, var(--accent) 10%, transparent);
3905
+ }
3906
+ #rd-hive-cells .hive-cell::before { height: 2px; }
3907
+ #rd-hive-cells .hc-tail { margin-top: 6px; }
3908
+ #rd-hive-cells .hc-meta { margin-top: auto; }
3909
+
3910
+ /* Results: file names and preview actions share fixed columns, so every row
3911
+ starts and ends on the same vertical guides. */
3912
+ #run-detail .rd-arts .files-head {
3913
+ display: grid;
3914
+ grid-template-columns: max-content minmax(0, 1fr);
3915
+ align-items: center;
3916
+ gap: 14px;
3917
+ }
3918
+ #run-detail .rd-arts .files-head .wd {
3919
+ max-width: none;
3920
+ min-width: 0;
3921
+ }
3922
+ #run-detail .rd-arts .file-chips {
3923
+ width: min(100%, 760px);
3924
+ gap: 4px;
3925
+ margin-top: 0;
3926
+ }
3927
+ #run-detail .rd-arts .fc-row {
3928
+ display: grid;
3929
+ grid-template-columns: minmax(0, 1fr) 76px;
3930
+ align-items: center;
3931
+ gap: 8px;
3932
+ min-width: 0;
3933
+ }
3934
+ #run-detail .rd-arts .fc-row .file-chip:first-child {
3935
+ width: 100%;
3936
+ min-width: 0;
3937
+ }
3938
+ #run-detail .rd-arts .fc-row .file-chip.prev {
3939
+ width: 76px;
3940
+ justify-content: center;
3941
+ padding-inline: 8px;
3942
+ }
3943
+
3944
+ /* Docked log: a utility rail, never a modal card floating over the hive. */
3945
+ #run-detail #rd-log.rd-logdrawer {
3946
+ left: calc(264px + clamp(18px, 3.2vw, 44px));
3947
+ right: clamp(18px, 3.2vw, 44px);
3948
+ bottom: 0;
3949
+ z-index: 40;
3950
+ max-height: min(30vh, 300px);
3951
+ border: 0;
3952
+ border-top: 1px solid var(--border-strong);
3953
+ border-radius: 0;
3954
+ box-shadow: 0 -10px 24px color-mix(in srgb, var(--text) 8%, transparent);
3955
+ }
3956
+ body.side-collapsed #run-detail #rd-log.rd-logdrawer { left: clamp(18px, 3.2vw, 44px); }
3957
+ body.inspector-open #run-detail #rd-log.rd-logdrawer {
3958
+ right: calc(340px + clamp(18px, 3.2vw, 44px));
3959
+ z-index: 40;
3960
+ }
3961
+ #run-detail #rd-log.rd-logdrawer .log-live-bar {
3962
+ min-height: 36px;
3963
+ padding-inline: clamp(12px, 2vw, 22px);
3964
+ background: var(--panel2);
3965
+ }
3966
+ #run-detail #rd-log.rd-logdrawer pre {
3967
+ max-height: min(26vh, 260px);
3968
+ padding-inline: clamp(12px, 2vw, 22px);
3969
+ background: transparent;
3970
+ }
3971
+ @media (max-width: 900px) {
3972
+ #run-detail #rd-log.rd-logdrawer,
3973
+ body.side-collapsed #run-detail #rd-log.rd-logdrawer,
3974
+ body.inspector-open #run-detail #rd-log.rd-logdrawer {
3975
+ left: 0; right: 0; bottom: 0; max-height: 32vh;
3976
+ }
3977
+ #run-detail #rd-log.rd-logdrawer pre { max-height: calc(32vh - 38px); }
3978
+ }
3979
+
3980
+ /* Keep every compact list aligned when the viewport cannot fit the desktop
3981
+ columns. */
3982
+ @media (max-width: 720px) {
3983
+ #run-detail { padding-inline: 0; }
3984
+ #run-detail .detail-head { padding-top: 12px; }
3985
+ #run-detail .rd-pane .files-head { grid-template-columns: 1fr; gap: 4px; }
3986
+ #run-detail .rd-arts .fc-row { grid-template-columns: minmax(0, 1fr) 68px; }
3987
+ #run-detail .rd-arts .fc-row .file-chip.prev { width: 68px; }
3988
+ #rd-hive-cells .lane-meter { width: 52px; }
3989
+ }
3990
+
3991
+ /* ---- 对话页「执行结果」卡:run 终态摘要(状态/执行者/耗时/产出文件),时间线收尾 ---- */
3992
+ .rd-outcome { margin: 0 0 16px; padding: 14px 16px; border: 1px solid var(--border);
3993
+ border-radius: 10px; background: color-mix(in srgb, var(--panel) 82%, transparent); }
3994
+ .rd-outcome .outcome-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
3995
+ .outcome-title { display: inline-flex; align-items: center; gap: 7px; font-weight: 650; font-size: 14px; }
3996
+ .outcome-title .ico { width: 17px; height: 17px; }
3997
+ .outcome-title.ok { color: var(--ok); }
3998
+ .outcome-title.bad { color: var(--bad); }
3999
+ .outcome-title.live { color: var(--accent); }
4000
+ .outcome-status { color: var(--text); font-weight: 500; margin-left: 2px; }
4001
+ .outcome-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-left: auto;
4002
+ color: var(--muted); font-size: 12px; }
4003
+ .outcome-meta b { color: var(--text); font-weight: 600; }
4004
+ .outcome-summary { margin-top: 10px; color: var(--text); font-size: 13px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
4005
+ .outcome-error { margin-top: 9px; color: var(--bad); font-size: 12.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
4006
+ .outcome-actions { display: flex; justify-content: flex-end; margin-top: 10px; }
4007
+ .outcome-actions .ghost { font-size: 12px; padding: 5px 10px; }
4008
+ .chat-result { flex: 1; min-width: 0; border: 1px solid var(--border); border-radius: 12px;
4009
+ padding: 12px 14px; background: var(--panel); }
4010
+ .chat-result .cr-head { display: flex; align-items: center; gap: 8px; font-weight: 600;
4011
+ font-size: 13.5px; color: var(--ok); }
4012
+ .chat-result.bad .cr-head { color: var(--bad); }
4013
+ .chat-result.off .cr-head { color: var(--muted); }
4014
+ .chat-result .cr-head .ico { width: 16px; height: 16px; flex: none; }
4015
+ .chat-result .cr-meta { font-size: 12px; color: var(--muted); margin-top: 5px; }
4016
+ .chat-result .cr-err { font-size: 12.5px; color: var(--bad); margin-top: 8px; line-height: 1.5;
4017
+ white-space: pre-wrap; overflow-wrap: anywhere; }
4018
+ .chat-result .cr-files { margin-top: 10px; }
4019
+ .chat-result .cr-files-title { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
4020
+ .chat-result .cr-steps { margin-top: 10px; font-size: 12.5px; }
4021
+
4022
+ /* ================================================================
4023
+ 2026-09 · 对话式任务入口 + 任务概览
4024
+ 新建任务像一个工作台入口:只突出上下文、目标和发送动作,
4025
+ 详细参数继续留在「更多选项」里,不让配置表单抢走第一视线。
4026
+ ================================================================ */
4027
+ #sub-tasks {
4028
+ min-height: calc(100vh - 64px);
4029
+ display: flex;
4030
+ align-items: center;
4031
+ justify-content: center;
4032
+ }
4033
+ #sub-tasks .composer {
4034
+ width: min(100%, 820px);
4035
+ max-width: 820px;
4036
+ margin: clamp(12px, 7vh, 72px) auto 0;
4037
+ padding: 0 0 36px;
4038
+ overflow: visible;
4039
+ }
4040
+ #sub-tasks .composer::after { display: none; }
4041
+ #sub-tasks .hero-row {
4042
+ justify-content: center;
4043
+ text-align: center;
4044
+ position: relative;
4045
+ }
4046
+ #sub-tasks .hero {
4047
+ font-size: clamp(23px, 2.6vw, 31px);
4048
+ font-weight: 500;
4049
+ letter-spacing: -.04em;
4050
+ }
4051
+ #sub-tasks .hero-sub {
4052
+ max-width: 560px;
4053
+ margin: 8px auto 25px;
4054
+ text-align: center;
4055
+ font-size: 12.5px;
4056
+ color: var(--muted);
4057
+ }
4058
+ #sub-tasks #btn-wizard {
4059
+ position: absolute;
4060
+ right: 0;
4061
+ top: 1px;
4062
+ opacity: .7;
4063
+ }
4064
+ #sub-tasks #btn-wizard:hover { opacity: 1; }
4065
+ #sub-tasks .form { gap: 10px; }
4066
+ #sub-tasks .cmp-pills {
4067
+ display: flex;
4068
+ align-items: center;
4069
+ width: 100%;
4070
+ min-height: 34px;
4071
+ margin: 0;
4072
+ padding: 0 12px 5px;
4073
+ border-bottom: 1px solid var(--border);
4074
+ }
4075
+ #sub-tasks .cmp-wd {
4076
+ width: 100%;
4077
+ min-height: 30px;
4078
+ padding: 0;
4079
+ border: 0;
4080
+ background: transparent;
4081
+ border-radius: 0;
4082
+ }
4083
+ #sub-tasks .cmp-wd > .ico { width: 14px; height: 14px; color: var(--muted); }
4084
+ #sub-tasks .cmp-wd input {
4085
+ min-height: 28px;
4086
+ padding: 3px 6px;
4087
+ background: transparent;
4088
+ color: var(--text);
4089
+ font-size: 12px;
4090
+ }
4091
+ #sub-tasks .cmp-wd input::placeholder { color: var(--muted); }
4092
+ #sub-tasks .cmp-wd .ghost.small {
4093
+ padding: 3px 8px;
4094
+ border: 0;
4095
+ background: transparent;
4096
+ color: var(--muted);
4097
+ }
4098
+ #sub-tasks .cmp-wd .ghost.small:hover { color: var(--accent); background: var(--panel2); }
4099
+ #sub-tasks .cmp-hint { margin: -5px 12px 0; font-size: 11px; }
4100
+ #sub-tasks .cmp-box {
4101
+ width: 100%;
4102
+ margin-top: 0;
4103
+ padding: 0 12px 9px;
4104
+ border: 1px solid color-mix(in srgb, var(--border-strong) 72%, transparent);
4105
+ border-radius: 22px;
4106
+ background: color-mix(in srgb, var(--panel) 94%, transparent);
4107
+ box-shadow: 0 10px 30px color-mix(in srgb, var(--text) 7%, transparent);
4108
+ }
4109
+ #sub-tasks .cmp-box:focus-within {
4110
+ border-color: color-mix(in srgb, var(--accent) 68%, var(--border-strong));
4111
+ box-shadow: 0 12px 34px color-mix(in srgb, var(--accent) 10%, transparent), 0 0 0 3px color-mix(in srgb, var(--accent) 9%, transparent);
4112
+ }
4113
+ #sub-tasks .cmp-context-note {
4114
+ display: flex;
4115
+ align-items: center;
4116
+ gap: 6px;
4117
+ min-height: 32px;
4118
+ padding: 7px 4px 0;
4119
+ color: var(--muted);
4120
+ font-size: 11px;
4121
+ }
4122
+ #sub-tasks .cmp-context-note .ico { width: 13px; height: 13px; color: var(--accent); opacity: .75; }
4123
+ #sub-tasks .cmp-box textarea {
4124
+ min-height: 112px;
4125
+ padding: 10px 4px 12px;
4126
+ font-size: 15px;
4127
+ line-height: 1.65;
4128
+ background: transparent;
4129
+ }
4130
+ #sub-tasks .cmp-bar {
4131
+ display: flex;
4132
+ align-items: center;
4133
+ gap: 8px;
4134
+ min-height: 35px;
4135
+ padding: 5px 0 0;
4136
+ border-top: 1px solid var(--border);
4137
+ }
4138
+ #sub-tasks .cmp-mode { display: inline-flex; align-items: center; gap: 3px; }
4139
+ #sub-tasks .cmp-mode .type-pick {
4140
+ min-height: 29px;
4141
+ min-width: 0;
4142
+ padding: 4px 8px;
4143
+ border: 0;
4144
+ border-radius: 999px;
4145
+ background: var(--panel2);
4146
+ font-size: 11.5px;
4147
+ }
4148
+ #sub-tasks .cmp-mode .type-pick:hover { background: color-mix(in srgb, var(--accent) 10%, var(--panel2)); }
4149
+ #sub-tasks .cmp-mode #btn-flows-mgr {
4150
+ min-height: 29px;
4151
+ padding: 4px 7px;
4152
+ border: 0;
4153
+ color: var(--muted);
4154
+ font-size: 11px;
4155
+ }
4156
+ #sub-tasks .cmp-mode #btn-flows-mgr:hover { color: var(--accent); background: var(--panel2); }
4157
+ #sub-tasks .cmp-bar .att-strip { min-width: 0; flex: 1; margin: 0; }
4158
+ #sub-tasks .cmp-bar .att-strip .att-hint { font-size: 11px; color: var(--muted); }
4159
+ #sub-tasks .cmp-bar .att-strip > .ghost.small {
4160
+ min-height: 28px;
4161
+ padding: 4px 8px;
4162
+ border: 0;
4163
+ background: transparent;
4164
+ color: var(--muted);
4165
+ }
4166
+ #sub-tasks .cmp-bar .att-strip > .ghost.small:hover { color: var(--text); background: var(--panel2); }
4167
+ #sub-tasks .cmp-send { gap: 8px; }
4168
+ #sub-tasks #btn-create.round {
4169
+ width: 31px;
4170
+ height: 31px;
4171
+ box-shadow: none;
4172
+ }
4173
+ #sub-tasks .cmp-quick {
4174
+ justify-content: center;
4175
+ gap: 6px;
4176
+ margin: 13px 0 0;
4177
+ }
4178
+ #sub-tasks .cmp-chip {
4179
+ min-height: 28px;
4180
+ padding: 4px 10px;
4181
+ border-color: transparent;
4182
+ background: transparent;
4183
+ color: var(--muted);
4184
+ font-size: 11.5px;
4185
+ }
4186
+ #sub-tasks .cmp-chip:hover,
4187
+ #sub-tasks .cmp-chip.on { border-color: var(--border); background: var(--panel); color: var(--text); }
4188
+ #sub-tasks .cmp-chip.on { color: var(--accent); }
4189
+ #sub-tasks .cmp-estimate { text-align: center; margin: 6px 0 0; font-size: 11px; }
4190
+ #sub-tasks details#f-advanced {
4191
+ width: min(100%, 760px);
4192
+ margin: 15px auto 0;
4193
+ padding-top: 10px;
4194
+ border-top: 0;
4195
+ }
4196
+ #sub-tasks details#f-advanced summary { justify-content: center; font-size: 11.5px; }
4197
+ #sub-tasks details#f-advanced .adv-body {
4198
+ margin-top: 13px;
4199
+ padding: 15px;
4200
+ border: 1px solid var(--border);
4201
+ border-radius: 14px;
4202
+ background: color-mix(in srgb, var(--panel) 54%, transparent);
4203
+ text-align: left;
4204
+ }
4205
+
4206
+ /* 任务详情概览:默认蜂巢前先交代结果与进度,减少“打开详情却不知道在看什么”。 */
4207
+ #run-detail .rd-overview {
4208
+ display: grid;
4209
+ grid-template-columns: minmax(0, 1fr) auto;
4210
+ gap: 12px 24px;
4211
+ margin: 0 0 18px;
4212
+ padding: 17px 18px 15px;
4213
+ border-bottom: 1px solid var(--border);
4214
+ background: color-mix(in srgb, var(--panel) 45%, transparent);
4215
+ }
4216
+ #run-detail .rd-overview.hidden { display: none !important; }
4217
+ .rd-overview-main { min-width: 0; }
4218
+ .rd-overview-kicker {
4219
+ margin-bottom: 5px;
4220
+ color: var(--accent);
4221
+ font: 600 10px/1.2 var(--mono);
4222
+ letter-spacing: .1em;
4223
+ text-transform: uppercase;
4224
+ }
4225
+ .rd-overview-title {
4226
+ overflow: hidden;
4227
+ color: var(--text);
4228
+ font-size: 15px;
4229
+ font-weight: 650;
4230
+ line-height: 1.4;
4231
+ text-overflow: ellipsis;
4232
+ white-space: nowrap;
4233
+ }
4234
+ .rd-overview-goal {
4235
+ max-width: 760px;
4236
+ margin-top: 4px;
4237
+ overflow: hidden;
4238
+ color: var(--muted);
4239
+ font-size: 12px;
4240
+ line-height: 1.55;
4241
+ text-overflow: ellipsis;
4242
+ white-space: nowrap;
4243
+ }
4244
+ .rd-overview-state { min-width: 114px; text-align: right; }
4245
+ .rd-overview-state .state-label { display: block; color: var(--muted); font-size: 11px; }
4246
+ .rd-overview-state .state-value { display: block; margin-top: 2px; color: var(--text); font: 650 22px/1.1 var(--mono); }
4247
+ .rd-overview-state .state-value.ok { color: var(--ok); }
4248
+ .rd-overview-state .state-value.bad { color: var(--bad); }
4249
+ .rd-overview-progress { grid-column: 1 / -1; height: 5px; overflow: hidden; border-radius: 999px; background: color-mix(in srgb, var(--text) 9%, transparent); }
4250
+ .rd-overview-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent2)); transition: width .35s ease; }
4251
+ .rd-overview-facts { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; grid-column: 1 / -1; color: var(--muted); font-size: 11.5px; }
4252
+ .rd-overview-facts span { display: inline-flex; align-items: center; gap: 5px; }
4253
+ .rd-overview-facts b { color: var(--text); font-weight: 600; }
4254
+ .rd-overview-last { grid-column: 1 / -1; min-width: 0; padding-top: 8px; border-top: 1px solid var(--border); color: var(--muted); font-size: 11.5px; }
4255
+ .rd-overview-last b { margin-right: 6px; color: var(--text); font-weight: 600; }
4256
+ .rd-overview-last span { color: var(--text); }
4257
+ .rd-overview-actions { display: flex; justify-content: flex-end; gap: 6px; grid-column: 1 / -1; }
4258
+ .rd-overview-actions button { padding: 5px 9px; font-size: 11.5px; }
4259
+
4260
+ /* 直连详情只保留对话的呼吸感;代码/编排任务才展示概览。 */
4261
+ #run-detail.chat-mode #rd-overview { display: none !important; }
4262
+
4263
+ /* 日志是底部控制台,但对话输入必须始终可用:日志打开时让聊天区留出安全距离。 */
4264
+ #run-detail.chat-mode #rd-log.rd-logdrawer { bottom: 0; max-height: min(27vh, 260px); }
4265
+ #run-detail.chat-mode #rd-pane-chat .rd-chat { padding-bottom: min(27vh, 260px); }
4266
+ #run-detail.chat-mode #rd-log.rd-logdrawer pre { max-height: min(23vh, 220px); }
4267
+
4268
+ @media (max-width: 760px) {
4269
+ #sub-tasks { min-height: calc(100vh - 56px); align-items: flex-start; }
4270
+ #sub-tasks .composer { margin-top: 10vh; padding-inline: 8px; }
4271
+ #sub-tasks #btn-wizard { position: static; margin-left: auto; }
4272
+ #sub-tasks .hero-row { align-items: center; }
4273
+ #sub-tasks .cmp-context-note { font-size: 10.5px; }
4274
+ #sub-tasks .cmp-bar { flex-wrap: wrap; }
4275
+ #sub-tasks .cmp-mode { order: 2; }
4276
+ #sub-tasks .cmp-bar .att-strip { order: 1; flex-basis: calc(100% - 8px); }
4277
+ #sub-tasks .cmp-send { order: 3; margin-left: auto; }
4278
+ #run-detail .rd-overview { grid-template-columns: minmax(0, 1fr) auto; padding-inline: 12px; }
4279
+ .rd-overview-title, .rd-overview-goal { white-space: normal; }
4280
+ }