codebee 0.1.105 → 0.1.106

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
@@ -721,6 +721,18 @@ body.settings-mode .side-settings { display: flex; }
721
721
  .set-back:hover { color: var(--text); background: var(--panel2); }
722
722
  .side-settings .set-group { color: var(--muted); font-size: 11px; padding: 12px 10px 4px; letter-spacing: .05em; }
723
723
  .side-settings .set-group:first-of-type { padding-top: 2px; }
724
+ .settings-search-wrap {
725
+ display: flex; align-items: center; gap: 8px; min-height: 36px; margin: 0 2px 5px; padding: 0 9px;
726
+ border: 1px solid var(--border); border-radius: 9px; background: var(--panel); color: var(--muted);
727
+ }
728
+ .settings-search-wrap:focus-within { border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 14%, transparent); }
729
+ .settings-search-wrap > .ico { width: 15px; height: 15px; flex: 0 0 auto; }
730
+ .settings-search-wrap input { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: 12px; }
731
+ .settings-search-wrap input::placeholder { color: var(--muted); }
732
+ .settings-search-wrap kbd { flex: 0 0 auto; padding: 1px 4px; border: 1px solid var(--border); border-radius: 4px; color: var(--muted); font: 10px var(--mono, monospace); }
733
+ .settings-search-hidden { display: none !important; }
734
+ .settings-search-empty { padding: 12px 10px; color: var(--muted); font-size: 12px; line-height: 1.5; }
735
+ .settings-subhead { margin: 16px 0 8px; padding-top: 12px; border-top: 1px solid var(--border); color: var(--text); font-size: 13px; font-weight: 650; line-height: 1.4; }
724
736
  .side-settings .set-item {
725
737
  display: flex; align-items: center; gap: 9px; text-align: left;
726
738
  background: none; border: none; color: var(--muted); padding: 8px 10px;
@@ -3102,6 +3114,29 @@ main.chat-fill #run-detail.chat-mode {
3102
3114
  font-size: 11px; line-height: 1.4; opacity: .72; }
3103
3115
  .chat-log-btn:hover, .chat-log-btn:focus-visible { color: var(--accent); opacity: 1; outline: none; }
3104
3116
  .chat-body { margin: 0; font: inherit; white-space: pre-wrap; }
3117
+ .chat-body.chat-markdown { white-space: normal; overflow-wrap: anywhere; }
3118
+ .chat-markdown > :first-child { margin-top: 0; }
3119
+ .chat-markdown > :last-child { margin-bottom: 0; }
3120
+ .chat-markdown p { margin: 0 0 .8em; }
3121
+ .chat-markdown h1, .chat-markdown h2, .chat-markdown h3,
3122
+ .chat-markdown h4, .chat-markdown h5, .chat-markdown h6 {
3123
+ margin: 1.2em 0 .5em; color: var(--text); line-height: 1.35; font-weight: 650;
3124
+ }
3125
+ .chat-markdown h1 { font-size: 1.45em; }
3126
+ .chat-markdown h2 { font-size: 1.3em; }
3127
+ .chat-markdown h3 { font-size: 1.16em; }
3128
+ .chat-markdown h4, .chat-markdown h5, .chat-markdown h6 { font-size: 1.04em; }
3129
+ .chat-markdown ul, .chat-markdown ol { margin: .35em 0 .9em; padding-left: 1.7em; }
3130
+ .chat-markdown li { padding-left: .15em; }
3131
+ .chat-markdown li + li { margin-top: .35em; }
3132
+ .chat-markdown li > p { margin: 0; }
3133
+ .chat-markdown blockquote { margin: .65em 0; padding: .15em 0 .15em .9em;
3134
+ border-left: 3px solid var(--border-strong); color: var(--muted); }
3135
+ .chat-markdown hr { height: 1px; margin: 1em 0; border: 0; background: var(--border); }
3136
+ .chat-markdown a { color: var(--accent); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); text-underline-offset: 2px; }
3137
+ .chat-markdown a:hover { text-decoration-color: currentColor; }
3138
+ .chat-markdown code { padding: .08em .3em; border: 1px solid var(--border); border-radius: 4px;
3139
+ background: var(--panel2); font-family: var(--mono, monospace); font-size: .88em; }
3105
3140
  .chat-atts { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
3106
3141
  /* 运行中且还没有正文:三点打字动画(reduced-motion 时退化为静态点) */
3107
3142
  .chat-typing { display: inline-flex; gap: 5px; align-items: center; padding: 8px 0 4px; }
@@ -3169,6 +3204,20 @@ details.chat-think[open] > summary { border-bottom: 1px dashed var(--border-stro
3169
3204
  .rd-chat-flow { gap: 18px; padding: 12px 6px 8px; }
3170
3205
  .chat-bubble.me { max-width: 86%; }
3171
3206
  .stask-more { opacity: .8; }
3207
+ /* 软键盘/安全区适配:输入条在消息流下方保持可见,发送按钮不会被底部手势区吞掉。 */
3208
+ #run-detail.chat-mode .rd-chat-bar {
3209
+ position: sticky; bottom: max(8px, env(safe-area-inset-bottom)); z-index: 8;
3210
+ margin-bottom: max(8px, env(safe-area-inset-bottom));
3211
+ background: color-mix(in srgb, var(--panel) 94%, transparent);
3212
+ -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
3213
+ }
3214
+ #run-detail.chat-mode .rd-chat-flow { scroll-padding-bottom: 132px; }
3215
+ #run-detail.chat-mode .rd-chat-tools { gap: 6px; }
3216
+ #run-detail.chat-mode .rd-chat-tools .cmp-sel { padding: 4px 8px; font-size: 11.5px; }
3217
+ #run-detail.chat-mode .rd-chat-tools .cmp-sel-face { max-width: 64px; }
3218
+ #run-detail.chat-mode .rd-chat-tools .rd-hint {
3219
+ order: 20; flex-basis: calc(100% - 44px); min-width: 0;
3220
+ }
3172
3221
  }
3173
3222
 
3174
3223
  /* ================= 墨金组件精修层(惠及所有皮肤;DOM/几何零改动) =================
@@ -6858,6 +6907,34 @@ body.side-collapsed.inspector-open #app {
6858
6907
  #page-settings > #sub-overview .ov-title { font-size: 25px; }
6859
6908
  #page-settings > #sub-overview .ov-row { gap: 12px; }
6860
6909
  #page-settings > #sub-overview .panel { border-radius: 12px; }
6910
+ .ov-goal-card { padding: 18px 20px; border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--border));
6911
+ background: linear-gradient(112deg, color-mix(in srgb, var(--accent) 7%, var(--panel)), var(--panel) 56%); }
6912
+ .ov-goal-card .panel-head { align-items: flex-start; }
6913
+ .ov-goal-card .panel-head h2 { margin: 0; font-size: 15px; }
6914
+ .ov-goal-caption { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
6915
+ .ov-goal-empty { display: grid; grid-template-columns: minmax(180px, .85fr) minmax(240px, 1.5fr) auto; gap: 9px; align-items: stretch; }
6916
+ .ov-goal-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; align-self: stretch; }
6917
+ .ov-goal-field label { flex: 0 0 14px; margin: 0; color: var(--muted); font-size: 11px; line-height: 14px; }
6918
+ .ov-goal-empty input, .ov-goal-empty textarea { min-width: 0; width: 100%; border: 1px solid var(--border); border-radius: 8px;
6919
+ padding: 9px 11px; background: var(--bg); color: var(--text); font: inherit; font-size: 12px; resize: vertical; }
6920
+ .ov-goal-empty input { height: 44px; align-self: start; }
6921
+ .ov-goal-empty textarea { height: 56px; min-height: 56px; }
6922
+ .ov-goal-empty input:focus, .ov-goal-empty textarea:focus { outline: 2px solid color-mix(in srgb, var(--accent) 28%, transparent); border-color: var(--accent); }
6923
+ .ov-goal-empty button { align-self: end; white-space: nowrap; }
6924
+ .ov-goal-active h3 { margin: 0 0 5px; font-size: 17px; font-weight: 650; }
6925
+ .ov-goal-description { margin: 0 0 13px; color: var(--muted); font-size: 12px; white-space: pre-wrap; }
6926
+ .ov-goal-progress-row { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 11px; }
6927
+ .ov-goal-progress-track { height: 5px; margin-top: 6px; overflow: hidden; border-radius: 5px; background: var(--panel2); }
6928
+ .ov-goal-progress-track i { display: block; height: 100%; border-radius: inherit; background: var(--accent); transition: width .25s ease; }
6929
+ .ov-goal-actions { display: flex; gap: 7px; margin-top: 13px; }
6930
+ .ov-goal-error { min-height: 0; margin: 4px 0 0; color: var(--bad); font-size: 11px; }
6931
+ .ov-goal-error:empty { display: none; }
6932
+ @media (max-width: 680px) {
6933
+ .ov-goal-empty { grid-template-columns: 1fr; }
6934
+ .ov-goal-empty input { align-self: stretch; }
6935
+ .ov-goal-empty textarea { height: auto; min-height: 56px; }
6936
+ .ov-goal-empty button { justify-self: start; }
6937
+ }
6861
6938
 
6862
6939
  /* Keep the current skin in charge of focus and action colors. */
6863
6940
  #sub-tasks .cmp-box:focus-within {
@@ -7106,30 +7183,194 @@ main.browser-page-active #page-settings > #sub-browser .browser-shell {
7106
7183
  .browser-home-capabilities b { color: var(--text); font-size: 11px; }
7107
7184
  .browser-home-capabilities small { overflow: hidden; font-size: 9.5px; text-overflow: ellipsis; white-space: nowrap; }
7108
7185
 
7186
+ /* Browser-first new tab: keep the workspace available, but let the page own
7187
+ the canvas. Task context is an opt-in inspector instead of permanent chrome. */
7188
+ body.browser-context-collapsed .browser-context { display: none; }
7189
+ .browser-context-toggle { flex: none; }
7190
+ .browser-context-toggle[aria-expanded="true"] { color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--panel)); }
7191
+ .browser-shortcuts { min-height: 43px; padding: 6px 14px; }
7192
+ .browser-home-workbench {
7193
+ display: flex;
7194
+ flex-direction: column;
7195
+ justify-content: center;
7196
+ align-items: center;
7197
+ gap: 16px;
7198
+ width: min(680px, 100%);
7199
+ min-height: 100%;
7200
+ margin-inline: auto;
7201
+ padding: 42px 28px 70px;
7202
+ background: none;
7203
+ }
7204
+ .browser-home-hero {
7205
+ grid-template-columns: auto minmax(0, 1fr);
7206
+ width: min(520px, 100%);
7207
+ padding: 0;
7208
+ border: 0;
7209
+ background: none;
7210
+ box-shadow: none;
7211
+ }
7212
+ .browser-home-hero .browser-empty-mark { width: 48px; height: 48px; border-radius: 14px; }
7213
+ .browser-home-hero .browser-empty-mark .ico { width: 23px; height: 23px; }
7214
+ .browser-home-eyebrow { margin-bottom: 5px; font-size: 9px; letter-spacing: .16em; }
7215
+ .browser-home-hero h2 { font-size: 23px; }
7216
+ .browser-home-search {
7217
+ display: flex;
7218
+ align-items: center;
7219
+ gap: 10px;
7220
+ width: min(520px, 100%);
7221
+ height: 48px;
7222
+ padding: 0 8px 0 15px;
7223
+ border: 1px solid var(--border-strong);
7224
+ border-radius: 14px;
7225
+ background: var(--panel);
7226
+ box-shadow: 0 8px 26px color-mix(in srgb, var(--text) 7%, transparent);
7227
+ }
7228
+ .browser-home-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent); }
7229
+ .browser-home-search > .ico { width: 17px; height: 17px; flex: none; color: var(--muted); }
7230
+ .browser-home-search input {
7231
+ min-width: 0;
7232
+ height: 100%;
7233
+ padding: 0;
7234
+ border: 0;
7235
+ outline: 0;
7236
+ background: transparent;
7237
+ box-shadow: none;
7238
+ font-size: 13px;
7239
+ }
7240
+ .browser-home-search input:focus { border: 0; }
7241
+ .browser-home-search-go { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border: 0; border-radius: 9px; color: var(--muted); background: transparent; cursor: pointer; }
7242
+ .browser-home-search-go:hover { color: var(--accent); background: var(--panel2); }
7243
+ .browser-home-search-go .ico { width: 16px; height: 16px; }
7244
+ .browser-home-note { width: min(520px, 100%); color: var(--muted); font-size: 10px; letter-spacing: .04em; }
7245
+
7246
+ .browser-dialog {
7247
+ width: min(620px, calc(100vw - 30px)); max-width: none; max-height: min(78vh, 740px); padding: 0;
7248
+ overflow: hidden; border: 1px solid var(--border); border-radius: 16px; color: var(--text); background: var(--panel);
7249
+ box-shadow: 0 24px 80px rgba(0, 0, 0, .24);
7250
+ }
7251
+ .browser-dialog::backdrop { background: rgba(14, 18, 25, .42); backdrop-filter: blur(3px); }
7252
+ .browser-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 13px; border-bottom: 1px solid var(--border); }
7253
+ .browser-dialog-head h2 { margin: 3px 0 0; font-size: 18px; font-weight: 650; }
7254
+ .browser-dialog-kicker { color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
7255
+ .browser-dialog-search { display: flex; align-items: center; gap: 9px; height: 38px; margin: 14px 18px 10px; padding: 0 11px; border: 1px solid var(--border); border-radius: 9px; background: var(--bg); }
7256
+ .browser-dialog-search .ico { width: 15px; height: 15px; color: var(--muted); }
7257
+ .browser-dialog-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; box-shadow: none; }
7258
+ .browser-dialog-search input:focus { border: 0; }
7259
+ .browser-history-list { max-height: min(52vh, 500px); padding: 0 10px; overflow: auto; }
7260
+ .browser-dialog-empty { padding: 36px 12px; color: var(--muted); font-size: 12px; text-align: center; }
7261
+ .browser-history-entry { display: flex; align-items: center; gap: 11px; width: 100%; min-width: 0; padding: 10px; border: 0; border-radius: 9px; color: var(--text); background: transparent; cursor: pointer; text-align: left; }
7262
+ .browser-history-entry:hover { background: var(--panel2); }
7263
+ .browser-history-entry-mark { display: grid; width: 30px; height: 30px; flex: none; place-items: center; border-radius: 9px; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--panel)); }
7264
+ .browser-history-entry-mark .ico { width: 15px; height: 15px; }
7265
+ .browser-history-entry-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 3px; }
7266
+ .browser-history-entry-copy b,.browser-history-entry-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
7267
+ .browser-history-entry-copy b { font-size: 12px; font-weight: 600; }
7268
+ .browser-history-entry-copy small { color: var(--muted); font-size: 10px; }
7269
+ .browser-history-entry time { flex: none; color: var(--muted); font-size: 10px; }
7270
+ .browser-dialog-foot,.browser-dialog-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 18px 16px; border-top: 1px solid var(--border); }
7271
+ .browser-dialog-foot { color: var(--muted); font-size: 10px; }
7272
+ .browser-dialog-explainer,.browser-dialog-note { margin: 16px 20px; color: var(--muted); font-size: 12px; line-height: 1.65; }
7273
+ .browser-dialog-note { padding: 10px 12px; border-radius: 9px; background: var(--panel2); }
7274
+ .browser-confirm-dialog { width: min(480px, calc(100vw - 30px)); }
7275
+ .browser-confirm-dialog .browser-dialog-actions,.browser-permissions-dialog .browser-dialog-actions { justify-content: flex-end; }
7276
+ .browser-site-origin { margin: 14px 20px 8px; padding: 8px 10px; overflow-wrap: anywhere; border-radius: 8px; color: var(--accent); background: var(--panel2); font: 11px var(--mono, monospace); }
7277
+ .browser-permission-list { display: grid; gap: 2px; padding: 0 14px; }
7278
+ .browser-permission-list label { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 8px; border-bottom: 1px solid var(--border); cursor: pointer; }
7279
+ .browser-permission-list label > span { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
7280
+ .browser-permission-list b { font-size: 12px; font-weight: 600; }
7281
+ .browser-permission-list small { color: var(--muted); font-size: 10px; }
7282
+ .browser-permission-list input { width: 16px; height: 16px; flex: none; accent-color: var(--accent); }
7283
+ .browser-permission-list input:disabled { cursor: not-allowed; }
7284
+
7109
7285
  @media (max-width: 900px) {
7110
7286
  main.browser-page-active { overflow-y: auto; }
7111
7287
  .browser-stage { flex-direction: column; overflow: visible; }
7112
7288
  .browser-context { flex: 0 0 auto; max-height: 310px; border-right: 0; border-bottom: 1px solid var(--border); }
7113
7289
  .browser-viewport { min-height: 430px; }
7114
- .browser-home-workbench { grid-template-rows: auto auto auto auto; padding: 14px; }
7115
- .browser-home-hero { grid-template-columns: auto minmax(0, 1fr); padding: 15px; }
7116
- .browser-home-mode { display: none; }
7117
- .browser-home-capabilities { grid-template-columns: 1fr; }
7290
+ .browser-home-workbench { padding: 28px 18px 50px; gap: 16px; }
7291
+ .browser-home-hero { grid-template-columns: auto minmax(0, 1fr); padding: 0; }
7118
7292
  }
7119
7293
 
7120
7294
  @media (max-width: 560px) {
7121
7295
  .browser-context { padding: 12px 10px; }
7122
7296
  .browser-viewport { min-height: 380px; }
7123
- .browser-home-workbench { padding: 10px; }
7124
- .browser-home-hero { grid-template-columns: 1fr; gap: 10px; }
7297
+ .browser-home-workbench { padding: 24px 14px 46px; gap: 14px; }
7298
+ .browser-home-hero { grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
7125
7299
  .browser-home-hero .browser-empty-mark { width: 46px; height: 46px; border-radius: 12px; }
7126
7300
  .browser-home-hero .browser-empty-mark .ico { width: 22px; height: 22px; }
7127
7301
  .browser-home-hero h2 { font-size: 19px; }
7128
7302
  .browser-home-hero p { font-size: 11.5px; }
7129
7303
  .browser-home-task-row { align-items: flex-start; flex-direction: column; gap: 6px; }
7130
7304
  .browser-home-run { max-width: 100%; }
7131
- .browser-home-workflows { grid-template-columns: 1fr; }
7132
- .browser-home-action { min-height: 72px; }
7305
+ .browser-home-search { height: 44px; }
7306
+ .browser-dialog { width: calc(100vw - 20px); border-radius: 13px; }
7307
+ .browser-dialog-head { padding: 15px 15px 11px; }
7308
+ .browser-history-entry time { display: none; }
7309
+ .browser-dialog-foot { align-items: flex-start; flex-direction: column; padding: 12px 15px 14px; }
7310
+ }
7311
+
7312
+ /* Codex-inspired workspace polish: quiet chrome, crisp separators, and a
7313
+ neutral reading canvas. Keep the existing palette system in control. */
7314
+ html[data-skin="ocean"][data-theme="light"] {
7315
+ --bg: #ffffff;
7316
+ --sidebar: #f7f7f8;
7317
+ --panel: #ffffff;
7318
+ --panel2: #f2f2f3;
7319
+ --border: #e7e7e9;
7320
+ --border-strong: #d7d7da;
7321
+ --text: #242426;
7322
+ --muted: #77777d;
7323
+ --accent: #376fbd;
7324
+ --accent2: #2e62aa;
7325
+ --shadow: 0 2px 10px rgba(24, 24, 27, .045);
7326
+ }
7327
+ html[data-skin="ocean"][data-theme="light"] #app,
7328
+ html[data-skin="ocean"][data-theme="light"] #mainwrap,
7329
+ html[data-skin="ocean"][data-theme="light"] main,
7330
+ html[data-skin="ocean"][data-theme="light"] .topbar { background: var(--bg); }
7331
+ html[data-skin="ocean"][data-theme="light"] .side-rail,
7332
+ html[data-skin="ocean"][data-theme="light"] #sidebar { background: var(--sidebar); border-color: var(--border); }
7333
+ html[data-skin="ocean"][data-theme="light"] .side-rail { gap: 6px; }
7334
+ html[data-skin="ocean"][data-theme="light"] .rail-btn { border-radius: 10px; color: #85858b; }
7335
+ html[data-skin="ocean"][data-theme="light"] .rail-btn:hover { color: var(--text); background: #ececee; }
7336
+ html[data-skin="ocean"][data-theme="light"] .rail-btn.active { color: var(--text); background: #e9e9eb; box-shadow: none; }
7337
+ html[data-skin="ocean"][data-theme="light"] .brand-row { min-height: 44px; }
7338
+ html[data-skin="ocean"][data-theme="light"] .brand-name { font-size: 15px; font-weight: 650; }
7339
+ html[data-skin="ocean"][data-theme="light"] .side-main > .new-task { margin-top: 9px; margin-bottom: 8px; }
7340
+ html[data-skin="ocean"][data-theme="light"] .side-label-row { padding-top: 5px; }
7341
+ html[data-skin="ocean"][data-theme="light"] .qitem,
7342
+ html[data-skin="ocean"][data-theme="light"] .stask,
7343
+ html[data-skin="ocean"][data-theme="light"] .sdir summary { transition: background-color .14s ease, color .14s ease; }
7344
+ html[data-skin="ocean"][data-theme="light"] .qitem:hover,
7345
+ html[data-skin="ocean"][data-theme="light"] .stask:hover,
7346
+ html[data-skin="ocean"][data-theme="light"] .sdir summary:hover { transform: none; background: #ededee; }
7347
+ html[data-skin="ocean"][data-theme="light"] .qitem.active,
7348
+ html[data-skin="ocean"][data-theme="light"] .stask.active { color: var(--text); background: #e9e9eb; }
7349
+ html[data-skin="ocean"][data-theme="light"] .stask.active { box-shadow: inset 2px 0 var(--accent); }
7350
+ html[data-skin="ocean"][data-theme="light"] .topbar {
7351
+ min-height: 54px;
7352
+ padding-inline: 22px;
7353
+ border-bottom-color: var(--border);
7354
+ backdrop-filter: none;
7355
+ }
7356
+ html[data-skin="ocean"][data-theme="light"] .topbar .page-title { font-size: 14px; font-weight: 600; letter-spacing: 0; }
7357
+ html[data-skin="ocean"][data-theme="light"] .top-actions .pill:hover,
7358
+ html[data-skin="ocean"][data-theme="light"] .brand-tool:hover { color: var(--text); background: #ededee; }
7359
+ html[data-skin="ocean"][data-theme="light"] main { padding-top: 26px; }
7360
+ html[data-skin="ocean"][data-theme="light"] .page { gap: 16px; }
7361
+ html[data-skin="ocean"][data-theme="light"] .panel,
7362
+ html[data-skin="ocean"][data-theme="light"] .item,
7363
+ html[data-skin="ocean"][data-theme="light"] .card { border-color: var(--border); box-shadow: none; }
7364
+ html[data-skin="ocean"][data-theme="light"] .panel { border-radius: 12px; }
7365
+ html[data-skin="ocean"][data-theme="light"] .panel-head { border-bottom-color: var(--border); }
7366
+ html[data-skin="ocean"][data-theme="light"] button.ghost { border-color: var(--border-strong); }
7367
+ html[data-skin="ocean"][data-theme="light"] button.ghost:hover { background: #f1f1f2; }
7368
+ html[data-skin="ocean"][data-theme="light"] #inspector { border-left-color: var(--border); box-shadow: -8px 0 28px rgba(20, 20, 22, .035); }
7369
+ html[data-skin="ocean"][data-theme="light"] .cmp-box { border-radius: 16px; box-shadow: 0 5px 18px rgba(24, 24, 27, .055); }
7370
+
7371
+ @media (max-width: 900px) {
7372
+ html[data-skin="ocean"][data-theme="light"] .topbar { padding-inline: 14px; }
7373
+ html[data-skin="ocean"][data-theme="light"] main { padding-top: 18px; }
7133
7374
  }
7134
7375
 
7135
7376
  /* 步骤行 flex 化后的防压缩补充(追加于文件尾防并行重排):徽章/按钮不许被
@@ -7188,6 +7429,8 @@ main.browser-page-active #page-settings > #sub-browser .browser-shell {
7188
7429
  }
7189
7430
  .hive-view-btn:hover, .hive-scene-btn:hover { color: var(--text); background: color-mix(in srgb, var(--accent) 8%, transparent); }
7190
7431
  .hive-view-btn.active { border-color: color-mix(in srgb, var(--accent) 32%, var(--border)); background: color-mix(in srgb, var(--accent) 12%, var(--panel)); color: var(--accent); }
7432
+ /* 自由 3D 暂不发布:即使浏览器恢复旧 DOM/状态,也不显示用户入口。 */
7433
+ .hive-view-btn[data-hive-view="live3d"] { display: none !important; }
7191
7434
  .hive-scene-hint { margin-left: 8px; }
7192
7435
  .hive-scene-spacer { flex: 1; }
7193
7436
  .hive-scene-btn { min-width: 31px; border-color: var(--border); background: var(--panel); font-size: 13px; }
@@ -7293,24 +7536,81 @@ main.browser-page-active #page-settings > #sub-browser .browser-shell {
7293
7536
  .hive-detail-head, .hive-detail-meta, .hive-detail-log { padding-inline: 14px; }
7294
7537
  }
7295
7538
 
7296
- /* ---- 发布台·批量选择(pb-pend):待发章号 chips + 全选/清空 + 发布所选/直发所选 ---- */
7297
- .pb-pend { width: 100%; margin-top: 6px; padding: 6px 8px; border: 1px solid var(--line);
7298
- border-radius: 8px; font-size: 12px; }
7299
- .pb-pend-head { display: flex; gap: 10px; align-items: center; color: var(--muted); }
7300
- .pb-pend-head a { color: var(--accent, #4a7dbe); text-decoration: none; }
7301
- .pb-pend-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px;
7302
- max-height: 96px; overflow: auto; }
7303
- .pb-chip { display: inline-flex; align-items: center; gap: 3px; padding: 1px 6px;
7304
- border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
7305
- color: var(--muted); user-select: none; }
7306
- .pb-chip.on { border-color: var(--accent, #4a7dbe); color: var(--text); }
7307
- .pb-chip input { margin: 0; }
7308
- .pb-pend-btns { display: flex; gap: 8px; margin-top: 6px; }
7309
- .pb-vol { font-size: 11px; color: var(--accent, #4a7dbe); margin-top: 5px; font-weight: 600; }
7310
- .pb-vol-sel { display: inline-flex; align-items: center; gap: 4px; cursor: pointer;
7311
- color: inherit; user-select: none; }
7312
- .pb-vol-sel:hover, .pb-vol-sel.on { color: var(--text); }
7313
- .pb-vol-sel input { margin: 0; accent-color: var(--accent, #4a7dbe); }
7539
+ /* 发布台待发选择:卷区独立,只有章节列表滚动,摘要和操作始终可见。 */
7540
+ .pb-pend-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; width: 100%;
7541
+ padding: 12px; margin-top: 8px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--panel2); }
7542
+ .pb-pend-summary span { flex: 1; font-size: 12px; color: var(--text); white-space: nowrap; }
7543
+ .pb-selection-modal .modal { width: 720px; max-width: 100%; max-height: min(84vh, calc(100vh - 48px)); overflow: hidden; }
7544
+ .pb-selection-modal .modal-body { min-height: 0; padding: 0; }
7545
+ .pb-selection-modal .pb-pend { margin: 0; border: 0; border-radius: 0; }
7546
+ .pb-selection-modal .pb-pend-chips { max-height: none; overflow: visible; scrollbar-gutter: auto; padding: 16px 20px; }
7547
+ .pb-selection-modal .pb-pend-head { padding: 12px 20px; }
7548
+ .pb-selection-modal .modal-foot { padding: 0; }
7549
+ .pb-selection-modal .pb-pend-foot { width: 100%; padding: 12px 20px; border: 0; }
7550
+ .pb-selection-modal .pb-pend-btns button { min-height: 32px; padding: 4px 8px; line-height: 1.4; overflow-wrap: anywhere; }
7551
+ .pb-selection-modal .pb-pend-count { font-size: 12px; }
7552
+ .pb-pend { width: 100%; min-width: 0; margin-top: 8px; overflow: hidden;
7553
+ border: 1px solid var(--border); border-radius: var(--r-md); background: var(--panel); font-size: 12px; }
7554
+ .pb-pend-head { display: flex; gap: 12px; align-items: center; padding: 12px;
7555
+ border-bottom: 1px solid var(--border); background: var(--panel2); }
7556
+ .pb-pend-heading { display: grid; gap: 4px; flex: 1; min-width: 0; }
7557
+ .pb-pend-heading strong { color: var(--text); font-size: 13px; font-weight: 600; }
7558
+ .pb-pend-heading span { color: var(--muted); font-size: 11.5px; }
7559
+ .pb-pend-head a { flex-shrink: 0; display: inline-flex; align-items: center; min-height: 28px;
7560
+ color: var(--accent); text-decoration: none; padding: 0 4px; border-radius: 4px; }
7561
+ .pb-pend-head a:hover { background: color-mix(in srgb, var(--accent) 8%, transparent); }
7562
+ .pb-pend-chips { display: grid; gap: 16px; padding: 12px; max-height: 256px;
7563
+ overflow: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
7564
+ .pb-pend-volume { min-width: 0; }
7565
+ .pb-pend-volume + .pb-pend-volume { border-top: 1px solid var(--border); padding-top: 12px; }
7566
+ .pb-pend .pb-vol { margin: 0 0 8px; font-size: 12px; color: var(--text); font-weight: 600; }
7567
+ .pb-pend .pb-vol-sel { display: flex; align-items: center; gap: 8px; min-height: 28px;
7568
+ cursor: pointer; user-select: none; }
7569
+ .pb-vol-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
7570
+ .pb-vol-count { margin-left: auto; flex-shrink: 0; color: var(--muted); font-size: 11.5px; font-weight: 400; }
7571
+ .pb-chapter-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); gap: 8px; }
7572
+ .pb-chip { display: grid; grid-template-columns: 16px 1fr; align-items: center; gap: 4px 8px; min-height: 52px;
7573
+ min-width: 0; padding: 4px; border: 1px solid var(--border); border-radius: var(--r-sm);
7574
+ cursor: pointer; color: var(--muted); background: var(--panel); font-variant-numeric: tabular-nums; user-select: none; }
7575
+ .pb-chip.on { border-color: color-mix(in srgb, var(--accent) 32%, var(--border));
7576
+ color: var(--text); background: color-mix(in srgb, var(--accent) 8%, var(--panel)); }
7577
+ .pb-chip:hover { border-color: var(--accent); }
7578
+ .pb-chip input { grid-row: span 2; }
7579
+ .pb-chip-number { color: var(--text); font-weight: 600; }
7580
+ .pb-chip-review { font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
7581
+ .pb-chip.review-ready .pb-chip-review { color: var(--ok); }
7582
+ .pb-chip.review-passed_blocked .pb-chip-review, .pb-chip.review-stale .pb-chip-review { color: var(--warn); }
7583
+ .pb-chip.review-failed .pb-chip-review { color: var(--bad); }
7584
+ .pb-pend-progress { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 12px 20px 0;
7585
+ color: var(--muted); font-size: 12px; }
7586
+ .pb-pend-progress strong { color: var(--text); font-weight: 600; }
7587
+ .pb-review-legend { display: flex; flex-wrap: wrap; gap: 5px 12px; padding: 9px 20px 0;
7588
+ color: var(--muted); font-size: 11px; line-height: 1.5; }
7589
+ .pb-review-legend span { display: inline-flex; align-items: center; gap: 5px; }
7590
+ .pb-review-legend i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
7591
+ .pb-review-legend .review-ready i { background: var(--ok); }
7592
+ .pb-review-legend .review-passed_blocked i { background: var(--warn); }
7593
+ .pb-review-legend .review-failed i { background: var(--bad); }
7594
+ .pb-review-legend .review-pending i { background: var(--muted); }
7595
+ .pb-drafted-list { margin: 0 20px 16px; font-size: 12px; color: var(--muted); }
7596
+ .pb-drafted-list summary { cursor: pointer; }
7597
+ .pb-drafted-list p { line-height: 1.6; overflow-wrap: anywhere; }
7598
+ .pb-selection-modal .pb-ready-select { min-height: 28px; padding: 4px 8px; font-size: 12px; white-space: nowrap; }
7599
+ .pb-pend input[type="checkbox"] { width: 14px; height: 14px; flex-shrink: 0; margin: 0; accent-color: var(--accent); }
7600
+ .pb-chip:focus-within, .pb-vol-sel:focus-within, .pb-pend-head a:focus-visible {
7601
+ outline: 2px solid var(--accent); outline-offset: 2px; }
7602
+ .pb-pend-foot { display: grid; gap: 8px; padding: 12px; border-top: 1px solid var(--border); background: var(--panel2); }
7603
+ .pb-pend-count { color: var(--text); font-variant-numeric: tabular-nums; }
7604
+ .pb-pend-mode-hint { color: var(--muted); font-size: 11.5px; line-height: 1.5; }
7605
+ .pb-pend-btns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
7606
+ .bm-pub .pb-pend-btns button { min-height: 32px; padding: 4px 8px; line-height: 1.4; overflow-wrap: anywhere; }
7607
+ .bm-pub .pb-pend-btns button.primary { background: color-mix(in srgb, var(--accent) 12%, var(--panel)); }
7608
+ @media (max-width: 480px) {
7609
+ .pb-pend-btns { grid-template-columns: 1fr; }
7610
+ .pb-pend-head { gap: 8px; }
7611
+ .pb-selection-modal .pb-pend-head { flex-wrap: wrap; }
7612
+ .pb-selection-modal .pb-pend-heading { flex-basis: 100%; }
7613
+ }
7314
7614
 
7315
7615
 
7316
7616
  /* Procedural WebGL hive renderer: canvas is the live 3D layer, DOM controls stay accessible above it. */
@@ -7792,6 +8092,26 @@ main.browser-page-active #page-settings > #sub-browser .browser-shell {
7792
8092
  .hive-scene-stage.is-fullscreen .hive-scene-hint { display: none; }
7793
8093
  }
7794
8094
 
8095
+ /* ---- 人工评审队列 ---- */
8096
+ .review-queue { margin-top: 20px; }
8097
+ .review-queue-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
8098
+ .review-queue-toolbar select { width: auto; min-width: 130px; }
8099
+ .review-queue-list { display: grid; gap: 12px; }
8100
+ .review-request { min-width: 0; border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--r-md); padding: 14px; }
8101
+ .review-request-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
8102
+ .review-request-head strong { min-width: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
8103
+ .review-request-head .tag { flex-shrink: 0; }
8104
+ .review-request-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 8px 0; font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
8105
+ .review-request-paths { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
8106
+ .review-request-paths code { max-width: 100%; overflow-wrap: anywhere; }
8107
+ .review-request-reason { white-space: pre-wrap; overflow-wrap: anywhere; padding: 10px; background: var(--panel); border-radius: var(--r-md); }
8108
+ .review-request .actions { flex-wrap: wrap; }
8109
+ @media (max-width: 640px) {
8110
+ .review-queue .panel-head { flex-wrap: wrap; }
8111
+ .review-queue .panel-head .actions { flex-wrap: wrap; }
8112
+ .review-request { padding: 10px; }
8113
+ }
8114
+
7795
8115
  /* ---- 步骤行窄主列折行(追加于文件尾防并行重排) ----
7796
8116
  * 步骤行定宽列总和 ≈783px(序号26+角色92+执行者118+st-model 77+st-prov 200+耗时42
7797
8117
  * +状态chip 44+日志按钮60+8间隙96+内边距28),浏览器缩放/窄窗/检查器打开都会把
@@ -7806,3 +8126,240 @@ main.browser-page-active #page-settings > #sub-browser .browser-shell {
7806
8126
  .step .role { flex: 0 1 92px; }
7807
8127
  .step .who { flex: 0 1 118px; }
7808
8128
  }
8129
+
8130
+ /* Type and spacing pass: tune hierarchy and reading rhythm across the app. */
8131
+ body {
8132
+ font-family: var(--font-ui), "Microsoft YaHei UI", "PingFang SC", sans-serif;
8133
+ font-size: 14px;
8134
+ line-height: 1.55;
8135
+ -webkit-font-smoothing: antialiased;
8136
+ text-rendering: optimizeLegibility;
8137
+ }
8138
+ main { padding: 28px clamp(20px, 2.6vw, 44px) 76px; }
8139
+ .page { gap: 18px; }
8140
+ .page-title { font-size: 15px; font-weight: 600; line-height: 1.35; letter-spacing: 0; }
8141
+ h1, h2, h3 { text-wrap: pretty; }
8142
+ h2 { font-size: 16px; line-height: 1.4; letter-spacing: -.01em; }
8143
+ h3 { font-size: 13.5px; line-height: 1.45; }
8144
+ .panel-head { gap: 10px; margin-bottom: 14px; padding-bottom: 11px; }
8145
+ .panel-head h2 { margin: 0; font-size: 16px; font-weight: 650; }
8146
+ .hint, .msg { font-size: 12.5px; line-height: 1.65; }
8147
+ .field > label { font-size: 12.5px; line-height: 1.45; }
8148
+ input, select, textarea { line-height: 1.5; }
8149
+ button { font-family: inherit; }
8150
+ button.ghost, button.primary, button.danger { font-size: 13px; font-weight: 550; }
8151
+ .item .name { font-size: 13.5px; line-height: 1.45; }
8152
+ .item .desc, .item .hint { line-height: 1.55; }
8153
+ #run-list .item .rt .name { font-size: 13.5px; font-weight: 600; }
8154
+ #run-list .item .rt .desc { font-size: 12px; line-height: 1.5; }
8155
+ #run-list .item .time { font-size: 11.5px; font-variant-numeric: tabular-nums; }
8156
+ #sub-tasks .hero {
8157
+ max-width: 760px;
8158
+ font-size: clamp(25px, 2.6vw, 31px);
8159
+ line-height: 1.3;
8160
+ letter-spacing: -.035em;
8161
+ text-wrap: balance;
8162
+ }
8163
+ #sub-tasks .hero-sub { max-width: 620px; margin: 0 auto 20px; line-height: 1.6; }
8164
+ #sub-tasks .cmp-box textarea { font-size: 14px; line-height: 1.7; }
8165
+ #sub-tasks .cmp-box textarea::placeholder { line-height: 1.6; }
8166
+ #sub-tasks .cmp-hint, #sub-tasks .cmp-estimate { font-size: 11.5px; line-height: 1.55; }
8167
+ .side-label { font-size: 11px; font-weight: 600; letter-spacing: .035em; }
8168
+ .sdir summary, .stask { font-size: 12.5px; line-height: 1.5; }
8169
+ .side-usage { font-size: 11.5px; line-height: 1.5; }
8170
+ #run-detail .detail-head h2, #rd-rail > .detail-head > #rd-title { font-size: 15px; line-height: 1.4; letter-spacing: -.01em; }
8171
+
8172
+ @media (max-width: 900px) {
8173
+ main { padding: 20px 16px 62px; }
8174
+ .page { gap: 15px; }
8175
+ }
8176
+ @media (max-width: 640px) {
8177
+ body { font-size: 13.5px; }
8178
+ main { padding: 16px 12px 58px; }
8179
+ .panel-head { margin-bottom: 11px; }
8180
+ .panel-head h2 { font-size: 15px; }
8181
+ #sub-tasks .hero { font-size: 23px; }
8182
+ }
8183
+
8184
+ /* Mobile remote workbench: one content column, navigation in a drawer. Keep
8185
+ these rules after the desktop skin/density layers so they cannot leak back. */
8186
+ .mobile-workspaces, #sub-tasks .mobile-workspaces-back { display: none; }
8187
+ @media (max-width: 900px) {
8188
+ #app, body.side-collapsed #app,
8189
+ body.inspector-open #app, body.side-collapsed.inspector-open #app {
8190
+ grid-template-columns: minmax(0, 1fr);
8191
+ height: 100dvh;
8192
+ min-height: 0;
8193
+ }
8194
+ #mainwrap { height: 100dvh; min-height: 0; }
8195
+ .side-rail {
8196
+ position: fixed; inset: 0 auto 0 0; z-index: 61; width: 56px;
8197
+ padding: max(12px, env(safe-area-inset-top)) 6px max(12px, env(safe-area-inset-bottom));
8198
+ visibility: visible;
8199
+ }
8200
+ .rail-btn { width: 44px; height: 44px; }
8201
+ #sidebar {
8202
+ left: 56px; width: min(320px, calc(100vw - 80px));
8203
+ padding-top: max(14px, env(safe-area-inset-top)) !important;
8204
+ padding-bottom: max(12px, env(safe-area-inset-bottom)) !important;
8205
+ visibility: visible;
8206
+ }
8207
+ body.side-collapsed .side-rail, body.side-collapsed #sidebar {
8208
+ visibility: hidden; pointer-events: none !important;
8209
+ }
8210
+ #sidebar .new-task, #sidebar .set-item, #sidebar .stask, #sidebar .sdir summary { min-height: 44px; }
8211
+ #sidebar .stask-more { opacity: 1; min-width: 36px; min-height: 36px; }
8212
+ .topbar, html[data-skin="ocean"][data-theme="light"] .topbar {
8213
+ min-height: 64px; padding: max(8px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 8px max(12px, env(safe-area-inset-left));
8214
+ gap: 8px; flex-wrap: nowrap;
8215
+ }
8216
+ #btn-menu, .top-actions .pill.ctrl { min-width: 44px; min-height: 44px; }
8217
+ .page-title-wrap { display: flex; flex: 1; overflow: hidden; }
8218
+ .page-title-wrap::before { content: "CodeBee"; color: var(--text); font-size: 15px; font-weight: 650; }
8219
+ .topbar .page-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 12px; }
8220
+ .crumb-root { display: none; }
8221
+ .top-actions { flex: none; margin-left: auto; gap: 4px; }
8222
+ .top-actions .conn { display: flex; padding: 0; background: transparent; font-size: 11px; }
8223
+ .top-actions .pill:not(.ctrl) { display: none; }
8224
+ #upd-pill, #health-banner { max-width: 90px; overflow: hidden; }
8225
+ main, html[data-skin="ocean"][data-theme="light"] main {
8226
+ min-height: 0; padding: 20px max(12px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
8227
+ }
8228
+ main:has(> #page-settings > #sub-tasks:not(.hidden)) { display: block; padding-bottom: max(24px, env(safe-area-inset-bottom)); }
8229
+ #sub-tasks { min-height: 0; display: block; }
8230
+ #sub-tasks .composer { margin: 0 auto; padding: 0; max-width: 680px; }
8231
+ #sub-tasks .hero-row { margin-bottom: 16px; text-align: left; justify-content: flex-start; align-items: flex-start; }
8232
+ #sub-tasks .hero { font-size: 20px; line-height: 1.5; text-align: left; text-wrap: balance; }
8233
+ #sub-tasks .cmp-box { padding: 0 12px 12px; border-radius: 16px; }
8234
+ #sub-tasks .cmp-pills { padding: 8px 0; gap: 8px; }
8235
+ #sub-tasks .cmp-pills .cmp-wd { flex-basis: 100%; }
8236
+ #sub-tasks .cmp-wd input { min-height: 44px; font-size: 16px; }
8237
+ #sub-tasks .cmp-wd .ghost.small { min-height: 44px; padding-inline: 8px; font-size: 13px; }
8238
+ #sub-tasks #row-git { max-width: 100%; }
8239
+ #sub-tasks #f-git-rev { font-size: 16px; min-height: 44px; max-width: 100%; }
8240
+ #sub-tasks .cmp-box textarea { min-height: 132px; font-size: 16px; line-height: 1.65; padding: 12px 0; }
8241
+ #sub-tasks .cmp-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto 44px; gap: 8px; padding-top: 8px; }
8242
+ #sub-tasks .cmp-mode, #sub-tasks .type-wrap { min-width: 0; max-width: 100%; }
8243
+ #sub-tasks .cmp-mode { grid-column: 1; grid-row: 1; }
8244
+ #sub-tasks .cmp-mode .type-pick { min-height: 44px; max-width: 100%; padding-inline: 10px; font-size: 13px; }
8245
+ #sub-tasks .tp-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
8246
+ #sub-tasks .cmp-bar .att-strip { grid-column: 2; grid-row: 1; margin: 0; }
8247
+ #sub-tasks .cmp-bar .att-strip > .ghost.small { min-width: 44px; min-height: 44px; padding: 8px; }
8248
+ #sub-tasks .att-strip .ghost span { display: none; }
8249
+ #sub-tasks .cmp-send { display: contents; }
8250
+ #sub-tasks .cmp-send .cmp-sel { display: none; }
8251
+ #sub-tasks #btn-create.round { grid-column: 3; grid-row: 1; width: 44px; height: 44px; }
8252
+ #create-msg { grid-column: 1 / -1; grid-row: 2; overflow-wrap: anywhere; }
8253
+ #create-msg:empty { display: none; }
8254
+ #sub-tasks .cmp-quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 16px 0 0; }
8255
+ #sub-tasks .cmp-quick > button { min-height: 44px; padding: 8px; justify-content: flex-start; border: 1px solid var(--border); border-radius: 12px; font-size: 13px; background: var(--panel); }
8256
+ #sub-tasks #f-advanced { margin-top: 16px; }
8257
+ #sub-tasks #f-advanced > summary { min-height: 44px; display: flex; align-items: center; justify-content: center; }
8258
+ #sub-tasks .adv-body input, #sub-tasks .adv-body select, #sub-tasks .adv-body textarea { font-size: 16px; }
8259
+ #sub-tasks.mobile-has-workspaces:not(.mobile-composing) > .composer { display: none; }
8260
+ #sub-tasks.mobile-has-workspaces:not(.mobile-composing) > .mobile-workspaces { display: block; }
8261
+ #sub-tasks.mobile-has-workspaces.mobile-composing .mobile-workspaces-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 0 0 12px; padding: 8px 0; border: 0; }
8262
+ .mobile-workspaces-back .ico { transform: rotate(180deg); }
8263
+ .mobile-workspaces-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
8264
+ .mobile-workspaces-head h2 { margin: 0; font-size: 18px; line-height: 1.5; }
8265
+ .mobile-workspaces-head p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
8266
+ .mobile-workspaces-head button { min-height: 44px; flex: none; padding: 8px 12px; }
8267
+ #mobile-workspace-list { display: grid; gap: 12px; }
8268
+ .mobile-workspace-card { position: relative; min-width: 0; }
8269
+ .mobile-workspace { position: relative; min-width: 0; border: 1px solid var(--border); border-radius: 14px; background: var(--panel); }
8270
+ .mobile-workspace > summary { display: flex; align-items: center; gap: 12px; min-height: 92px; padding: 16px 68px 16px 12px; list-style: none; cursor: pointer; }
8271
+ .mobile-workspace > summary::-webkit-details-marker { display: none; }
8272
+ .mobile-folder { flex: none; width: 24px; height: 24px; color: var(--muted); }
8273
+ .mobile-workspace-copy, .mobile-task-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
8274
+ .mobile-workspace-copy b, .mobile-task-copy b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 600; color: var(--text); }
8275
+ .mobile-workspace-copy > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font: 12px/1.5 var(--mono); }
8276
+ .mobile-workspace-copy small, .mobile-task-copy small { color: var(--muted); font-size: 12px; }
8277
+ .mobile-workspace-total { color: var(--muted); font-size: 13px; }
8278
+ .mobile-workspace-chevron { flex: none; width: 16px; height: 16px; color: var(--muted); }
8279
+ .mobile-workspace[open] > summary .mobile-workspace-chevron { transform: rotate(90deg); }
8280
+ .mobile-workspace-new { position: absolute; top: 24px; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--border); border-radius: 10px; }
8281
+ .mobile-workspace-tasks { border-top: 1px solid var(--border); padding: 4px 12px; }
8282
+ .mobile-task { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 72px; padding: 12px 4px; text-align: left; border: 0; border-radius: 8px; background: transparent; }
8283
+ .mobile-task + .mobile-task { border-top: 1px solid var(--border); }
8284
+ .mobile-task .chip, .mobile-task .sbadge { flex: none; max-width: 40%; font-size: 11px; white-space: nowrap; }
8285
+ .mobile-task:hover { background: var(--panel2); }
8286
+ .mobile-workspace > summary:focus-visible, .mobile-task:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
8287
+ }
8288
+ @media (max-width: 380px) {
8289
+ .topbar .page-title { display: none; }
8290
+ .mobile-workspace > summary { gap: 8px; padding-left: 12px; }
8291
+ .mobile-folder { width: 20px; height: 20px; }
8292
+ .mobile-workspace-copy b { font-size: 14px; }
8293
+ }
8294
+
8295
+ /* Long-goal card: keep the form readable at desktop widths and stack it cleanly on narrow panes. */
8296
+ #page-settings > #sub-overview .ov-goal-card {
8297
+ padding: 20px 22px 22px;
8298
+ border-color: color-mix(in srgb, var(--accent) 18%, var(--border));
8299
+ background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 6%, var(--panel)), var(--panel) 62%);
8300
+ }
8301
+ #page-settings > #sub-overview .ov-goal-card .panel-head {
8302
+ min-height: 0;
8303
+ margin-bottom: 18px;
8304
+ padding-bottom: 14px;
8305
+ align-items: flex-start;
8306
+ }
8307
+ #page-settings > #sub-overview .ov-goal-card .panel-head h2 {
8308
+ font-size: 16px;
8309
+ line-height: 1.35;
8310
+ letter-spacing: -.01em;
8311
+ }
8312
+ #page-settings > #sub-overview .ov-goal-caption {
8313
+ max-width: 42em;
8314
+ margin-top: 6px;
8315
+ line-height: 1.55;
8316
+ }
8317
+ #page-settings > #sub-overview .ov-goal-empty {
8318
+ grid-template-columns: minmax(190px, .9fr) minmax(300px, 1.55fr) auto;
8319
+ gap: 12px;
8320
+ align-items: end;
8321
+ }
8322
+ #page-settings > #sub-overview .ov-goal-field { gap: 7px; }
8323
+ #page-settings > #sub-overview .ov-goal-field label {
8324
+ font-size: 12px;
8325
+ font-weight: 550;
8326
+ line-height: 1.35;
8327
+ }
8328
+ #page-settings > #sub-overview .ov-goal-empty input,
8329
+ #page-settings > #sub-overview .ov-goal-empty textarea {
8330
+ box-sizing: border-box;
8331
+ min-height: 44px;
8332
+ border-radius: 10px;
8333
+ background: color-mix(in srgb, var(--bg) 82%, var(--panel));
8334
+ transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
8335
+ }
8336
+ #page-settings > #sub-overview .ov-goal-empty textarea {
8337
+ height: 58px;
8338
+ min-height: 58px;
8339
+ line-height: 1.5;
8340
+ }
8341
+ #page-settings > #sub-overview .ov-goal-empty input:focus,
8342
+ #page-settings > #sub-overview .ov-goal-empty textarea:focus {
8343
+ background: var(--panel);
8344
+ box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent);
8345
+ }
8346
+ #page-settings > #sub-overview .ov-goal-empty button {
8347
+ min-height: 42px;
8348
+ padding-inline: 18px;
8349
+ border-radius: 10px;
8350
+ box-shadow: 0 5px 12px color-mix(in srgb, var(--accent) 20%, transparent);
8351
+ }
8352
+ @media (max-width: 760px) {
8353
+ #page-settings > #sub-overview .ov-goal-empty {
8354
+ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
8355
+ }
8356
+ #page-settings > #sub-overview .ov-goal-empty .ov-goal-field:nth-child(2) { grid-column: 1 / -1; }
8357
+ #page-settings > #sub-overview .ov-goal-empty button { grid-column: 1 / -1; justify-self: start; }
8358
+ }
8359
+ @media (max-width: 520px) {
8360
+ #page-settings > #sub-overview .ov-goal-card { padding: 16px; }
8361
+ #page-settings > #sub-overview .ov-goal-empty { grid-template-columns: 1fr; gap: 10px; }
8362
+ #page-settings > #sub-overview .ov-goal-empty .ov-goal-field:nth-child(2),
8363
+ #page-settings > #sub-overview .ov-goal-empty button { grid-column: auto; }
8364
+ #page-settings > #sub-overview .ov-goal-empty button { width: 100%; }
8365
+ }