.workbench-root {
  display: grid; grid-template-columns: 248px 1fr 320px; height: 100vh;
  background: var(--wb-bg);
  color: var(--wb-text);
}
.workbench-root.no-right { grid-template-columns: 248px 1fr; }
.wb-left {
  border-right: 1px solid var(--wb-border);
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  display: flex; flex-direction: column; min-height: 0;
}
.wb-brand { display: flex; align-items: center; gap: 12px; padding: 20px 16px 16px; border-bottom: 1px solid var(--wb-border); }
.wb-logo {
  width: 36px; height: 36px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0;
  display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(255, 138, 61, 0.28);
}
.wb-logo img { width: 36px; height: 36px; display: block; border-radius: 50%; }
.wb-brand h1 {
  margin: 0; font-size: 17px; font-weight: 700;
  font-family: var(--wb-display); letter-spacing: 0.04em;
}
.wb-brand p { margin: 3px 0 0; font-size: 11px; color: var(--wb-muted); }
.wb-adv-banner {
  margin: 0 0 14px; padding: 10px 12px; border-radius: 10px; font-size: 12px; color: var(--wb-muted);
  border: 1px solid var(--wb-border); background: var(--wb-panel-2);
}
.wb-status-card.tone-crit h2,
.wb-status-card.tone-off h2 { color: var(--danger); }
.wb-notes-fold > summary::-webkit-details-marker { display: none; }
.wb-nav {
  display: grid; gap: 6px; padding: 16px 12px 8px;
}
.wb-nav-item {
  height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid transparent; color: var(--wb-muted); font-weight: 650; font-size: 14px; text-decoration: none;
  background: transparent;
  transition: border-color .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}
.wb-nav-item:hover { background: #fff; border-color: var(--wb-border); color: #111; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.wb-nav-item.is-on {
  background: #111;
  border-color: #111; color: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,.14);
}
.wb-nav-item em {
  display: inline-block; min-width: 16px; padding: 0 5px; border-radius: 999px;
  background: #000; color: #fff; font-size: 10px; font-style: normal; font-weight: 700;
}
.wb-nav-item.is-on em { background: #fff; color: #000; }
.wb-section em {
  display: inline-block; min-width: 16px; padding: 0 5px; margin-left: 4px; border-radius: 999px;
  background: #000; color: #fff; font-size: 10px; font-style: normal; font-weight: 700;
}
.wb-more { margin-top: 4px; border-top: 1px solid var(--wb-border); padding-top: 4px; }
.wb-more summary::-webkit-details-marker { display: none; }
.wb-side-link {
  display: block; padding: 8px 10px; font-size: 12px; color: var(--wb-accent); text-decoration: none;
}
.wb-simple { max-width: 920px; margin: 24px auto; text-align: left; }
.wb-today { animation: wbTodayIn .45s ease both; }
@keyframes wbTodayIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.wb-demo-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 0 0 14px; padding: 12px 14px; border-radius: 14px;
  background: linear-gradient(135deg, #fff8f0 0%, #fff 70%);
  border: 1px solid rgba(255, 138, 61, 0.22);
  color: #7a4a18; font-size: 13px;
}
.wb-demo-bar .btn { flex-shrink: 0; }
.wb-status-card {
  border-radius: 20px; padding: 26px 28px; border: 1px solid var(--wb-border);
  background: #fff;
  box-shadow: 0 10px 32px rgba(17, 17, 17, 0.05);
  text-align: left;
}
.wb-status-card.tone-crit {
  border-color: rgba(220, 38, 38, 0.45);
  background: #fff8f8;
  box-shadow: 0 8px 28px rgba(220, 38, 38, 0.08);
}
.wb-status-card.tone-warn {
  border-color: rgba(194, 120, 3, 0.35);
  background: #fffdf8;
}
.wb-status-card.tone-run {
  border-color: rgba(61, 155, 110, 0.35);
  background: #f3faf6;
}
.wb-status-card.tone-off, .wb-status-card.tone-idle {
  border-color: var(--wb-border);
  background: #fafafa;
}
.wb-status-actions .btn-primary {
  min-height: 44px;
  padding-left: 18px;
  padding-right: 18px;
}
.wb-setup-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 16px;
}
@media (min-width: 720px) {
  .wb-setup-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.wb-setup-step {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid var(--wb-border);
  background: #fff;
  text-decoration: none;
  color: inherit;
  min-height: 52px;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.wb-setup-step:hover {
  border-color: rgba(0,0,0,.16);
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
  transform: translateY(-1px);
}
.wb-setup-step.is-todo {
  border-color: rgba(255, 138, 61, 0.35);
  background: linear-gradient(135deg, #fffaf5 0%, #fff 80%);
}
.wb-setup-step.is-ok { opacity: 0.78; }
.wb-setup-n {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
  background: #000; color: #fff;
}
.wb-setup-step.is-ok .wb-setup-n { background: var(--success); }
.wb-setup-l { font-size: 13px; font-weight: 650; }
.wb-setup-a { font-size: 12px; color: var(--wb-muted); }
.wb-settings-head .btn-primary.is-pulse {
  animation: wbGoTodayPulse 1.4s ease-in-out 2;
}
@keyframes wbGoTodayPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,0,0,0.2); }
  50% { box-shadow: 0 0 0 6px rgba(0,0,0,0.06); }
}
@media (max-width: 719px) {
  .wb-setup-steps { grid-template-columns: 1fr; }
}
#wb-pending-block.is-enter {
  animation: wbPendingEnter .55s ease both;
}
@keyframes wbPendingEnter {
  from { opacity: 0.35; transform: translateY(6px); box-shadow: 0 0 0 0 rgba(194, 120, 3, 0.35); }
  40% { box-shadow: 0 0 0 4px rgba(194, 120, 3, 0.18); }
  to { opacity: 1; transform: none; box-shadow: none; }
}
.wb-status-kicker {
  font-size: 12px; color: var(--wb-muted); margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.wb-status-card h2 {
  margin: 0; font-size: clamp(22px, 3vw, 30px); color: #000; font-weight: 700;
  font-family: var(--wb-display); letter-spacing: 0.02em; line-height: 1.3;
}
.wb-status-card .sub { color: var(--wb-muted); margin-top: 8px; }
.wb-status-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; align-items: center; }
.wb-simple-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 12px; margin-top: 14px;
}
.wb-simple-block { text-align: left; padding: 16px; }
.wb-simple-h {
  display: flex; justify-content: space-between; gap: 8px; align-items: baseline; margin-bottom: 10px;
}
.wb-simple-h strong { color: #000; font-family: var(--wb-display); font-size: 15px; }
.wb-simple-h a, .wb-simple-h span { font-size: 12px; color: var(--wb-accent); }
.wb-pending-row {
  width: 100%; display: flex; justify-content: space-between; gap: 10px; align-items: center;
  text-align: left; border: 1px solid var(--wb-border); background: transparent; color: #e5e7eb;
  border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; cursor: pointer; font: inherit;
}
.wb-pending-row:hover { border-color: #3b4558; }
.wb-pending-row em { font-style: normal; font-size: 11px; color: #fbbf24; white-space: nowrap; }
.wb-muted { margin: 0; font-size: 13px; color: #9aa3b2; line-height: 1.5; }
.wb-simple-foot {
  margin-top: 14px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center;
  padding: 12px 14px; border: 1px solid var(--wb-border); border-radius: 12px;
}
.wb-toggle { display: flex; gap: 8px; align-items: center; font-size: 13px; color: #cbd5e1; cursor: pointer; }
.wb-fix-list { margin-top: 14px; display: grid; gap: 6px; }
.wb-fix-item {
  display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 10px;
  font: inherit; font-size: 13px; font-weight: 650; text-decoration: none; cursor: pointer;
  /* 浅底深字：浅黄字在奶油底上看不清 */
  background: #fff4d6;
  border: 1px solid rgba(120, 72, 0, 0.35);
  color: #5c3b00;
}
.wb-fix-item:hover {
  border-color: #000;
  color: #000;
  background: #ffe8a8;
}
.wb-ch-results {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px;
}
.wb-ch-result {
  display: block; text-decoration: none; border: 1px solid var(--wb-border); border-radius: 10px;
  padding: 10px; background: rgba(255,255,255,.02); color: inherit;
}
.wb-ch-result .n { font-size: 13px; font-weight: 650; color: #000; }
.wb-ch-result .l { font-size: 11px; margin-top: 4px; color: var(--wb-muted); }
.wb-ch-result .t { font-size: 11px; margin-top: 6px; color: var(--wb-muted); line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wb-ch-result.state-ok .l { color: #6ee7b7; }
.wb-ch-result.state-wait .l { color: var(--wb-accent); }
.wb-ch-result.state-run .l { color: #86efac; }
.wb-ch-result.state-off { opacity: .55; }
.wb-sheet-grid {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px;
}
.wb-sheet-grid-3 { grid-template-columns: repeat(3, minmax(88px, 1fr)); }
.wb-ask-row { display: flex; gap: 8px; align-items: center; }
.wb-ask-row .wb-input { flex: 1; }
.wb-settings-sec {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: #94a3b8;
  margin: 16px 0 8px;
  text-transform: none;
}
.wb-settings-sec:first-child { margin-top: 4px; }
.wb-settings-head {
  display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 16px;
}
.wb-settings-head h2 {
  margin: 4px 0 0; font-size: 26px; color: #fff;
  font-family: var(--wb-display); font-weight: 700;
}
.wb-check-list { display: grid; gap: 10px; }
.wb-check-row {
  display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center;
  padding: 14px; border-radius: 14px; border: 1px solid var(--wb-border);
  background: rgba(255,255,255,.02);
  transition: border-color .15s ease, background .15s ease;
}
.wb-check-row.ok { border-color: rgba(61,155,110,.35); background: rgba(61,155,110,.05); }
.wb-check-row.warn { border-color: rgba(0,0,0,0.12); background: var(--wb-accent-soft); }
.wb-check-mark {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  font-weight: 700; color: #fff; background: rgba(100,116,139,.35);
}
.wb-check-row.ok .wb-check-mark { background: rgba(61,155,110,.3); color: #b7d6c4; }
.wb-check-row.warn .wb-check-mark { background: rgba(0,0,0,0.12); color: #111111; }
.wb-check-body .t { font-size: 14px; font-weight: 650; color: #000; }
.wb-check-body .d { font-size: 12px; color: var(--wb-muted); margin-top: 4px; line-height: 1.45; }
.wb-check-act { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
.wb-adv > summary {
  cursor: pointer; font-size: 13px; color: #94a3b8; list-style: none; padding: 8px 0;
}
.wb-adv > summary::-webkit-details-marker { display: none; }
.wb-adv-links { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 4px; }
.wb-onboard-steps {
  margin: 18px 0; padding-left: 18px; color: #cbd5e1; line-height: 1.8; font-size: 14px;
}
.wb-onboard-steps strong { color: #000; }
.wb-chat-onboard h2 { margin: 6px 0 0; font-size: 28px; color: #000; }
.wb-note-list { display: grid; gap: 6px; }
.wb-note {
  font-size: 12px; color: #cbd5e1; padding: 8px 10px; border-radius: 8px;
  border: 1px solid var(--wb-border); line-height: 1.45;
}
.wb-note span { display: block; color: #64748b; margin-bottom: 2px; font-size: 11px; }
.wb-note.unread { border-color: rgba(0,0,0,0.12); }
.wb-note.warn { border-color: rgba(251,191,36,.4); }
.wb-note.crit { border-color: rgba(248,113,113,.5); }
.wb-select {
  background: #f5f5f5; color: #111; border: 1px solid var(--wb-border);
  border-radius: 8px; padding: 6px 8px; font-size: 12px;
}
.wb-freeze-list { display: grid; gap: 8px; padding-top: 8px; }
.wb-freeze-row {
  display: flex; gap: 8px; align-items: center; font-size: 13px; color: #cbd5e1; cursor: pointer;
}
.wb-sheet-grid div {
  border: 1px solid var(--wb-border); border-radius: 12px; padding: 12px 8px; text-align: center;
  background: rgba(255,255,255,.02);
}
.wb-sheet-grid b {
  display: block; font-size: 22px; color: #fff; font-weight: 700;
  font-family: var(--wb-display);
}
.wb-sheet-grid span {
  display: block; margin-top: 4px; font-size: 11px; color: var(--wb-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wb-sheet-advice {
  margin-top: 10px; font-size: 12px; color: #cbd5e1; line-height: 1.55;
}
.wb-pending-row-wrap {
  display: flex; gap: 6px; align-items: center; margin-bottom: 8px;
}
.wb-pending-row-wrap .wb-pending-row { flex: 1; margin-bottom: 0; }
.wb-ch-fold {
  margin-top: 12px; border-top: 1px solid var(--wb-border); padding-top: 10px;
}
.wb-ch-fold > summary {
  cursor: pointer; font-size: 12px; color: #94a3b8; list-style: none;
}
.wb-ch-fold > summary::-webkit-details-marker { display: none; }
@media (max-width: 900px) {
  .wb-simple-grid { grid-template-columns: 1fr; }
  .wb-sheet-grid, .wb-sheet-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .wb-sheet-grid-3 { grid-template-columns: 1fr; }
  .wb-sheet-grid span { white-space: normal; }
}
.wb-section { padding: 8px 12px; font-size: 11px; color: #6b7280; text-transform: uppercase; letter-spacing: .04em; }
.wb-list { list-style: none; margin: 0; padding: 0 8px; overflow: auto; flex: 1; }
.wb-list li button {
  width: 100%; text-align: left; border: 0; background: transparent; color: var(--wb-muted);
  padding: 10px 10px; border-radius: 8px; cursor: pointer; font-size: 13px;
}
.wb-list li button:hover, .wb-list li button.active {
  background: var(--wb-accent-soft); color: #fff; border-color: rgba(0,0,0,0.12);
}
.wb-list .meta { display: block; font-size: 11px; color: #6b7280; margin-top: 2px; }
.wb-foot { margin-top: auto; border-top: 1px solid var(--wb-border); padding: 12px; display: grid; gap: 6px; }
@media (max-width: 720px) {
  .wb-check-row { grid-template-columns: 36px 1fr; }
  .wb-check-act { grid-column: 1 / -1; justify-content: flex-start; }
}
.wb-foot button {
  height: 36px; border-radius: 10px; border: 1px solid transparent;
  background: transparent; color: var(--wb-muted); cursor: pointer; font-size: 13px;
}
.wb-foot button:hover { color: #111; background: #fff; border-color: var(--wb-border); }

.wb-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: var(--wb-bg); }
.wb-top {
  height: 52px; display: flex; align-items: center; gap: 12px; padding: 0 16px;
  border-bottom: 1px solid var(--wb-border); font-size: 13px; color: var(--wb-muted);
}
.wb-top .spacer { flex: 1; }
.wb-content { flex: 1; min-height: 0; overflow: auto; padding: 28px 32px 40px; }
.wb-home { max-width: 760px; margin: 12px auto 32px; text-align: left; }
.wb-home.wb-today { animation: wbTodayIn .45s ease both; }
.wb-home h2 { font-size: 34px; margin: 0 0 8px; font-weight: 650; letter-spacing: -.02em; }
.wb-home .sub { color: var(--wb-muted); font-size: 14px; margin-bottom: 8px; }
.wb-composer {
  margin-top: 22px; background: var(--wb-panel); border: 1px solid var(--wb-border);
  border-radius: 18px; padding: 12px; text-align: left;
}
.wb-composer-bar { display: flex; gap: 8px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.wb-composer-bar select {
  height: 32px; border-radius: 8px; border: 1px solid var(--wb-border);
  background: var(--wb-panel-2); color: var(--wb-muted); padding: 0 8px;
}
.wb-suggest { margin-top: 18px; display: grid; gap: 8px; text-align: left; }
.wb-suggest button {
  border: 1px solid var(--wb-border); background: transparent; color: var(--wb-muted);
  border-radius: 10px; padding: 12px 14px; text-align: left; cursor: pointer; font-size: 13px;
}
.wb-suggest button:hover { color: #fff; border-color: #3b4558; }

.wb-chat { display: flex; flex-direction: column; gap: 12px; padding-bottom: 24px; }
.msg {
  max-width: 85%; padding: 12px 14px; border-radius: 12px; font-size: 13.5px; line-height: 1.6;
}
.msg.user { align-self: flex-end; background: rgba(0,0,0,0.12); color: #fff; border: 1px solid rgba(0,0,0,0.12); }
.msg.ai { align-self: flex-start; background: var(--wb-panel); border: 1px solid var(--wb-border); color: var(--wb-text); }
.msg .step { color: var(--wb-accent); font-size: 12px; margin-bottom: 4px; }

.wb-right {
  border-left: 1px solid var(--wb-border); background: #fafafa; padding: 14px;
  overflow: auto; min-height: 0;
}
.wb-right h3 { margin: 0 0 10px; font-size: 13px; color: var(--wb-muted); font-weight: 600; }
.artifact {
  border: 1px solid var(--wb-border); border-radius: 10px; padding: 12px; margin-bottom: 10px;
  background: var(--wb-panel);
}
.artifact .t { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.artifact .d { font-size: 12px; color: var(--wb-muted); margin-bottom: 10px; }

.dayops-home { max-width: 880px; }
.wb-auto { max-width: 1080px; text-align: left; margin-top: 24px; }
.wb-auto h2 { text-align: left; }
.wb-auto .sub { text-align: left; }
.wb-auto-kicker { font-size: 12px; color: var(--wb-accent); margin-bottom: 6px; letter-spacing: .04em; }
.wb-auto-head {
  display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap;
}
.wb-auto-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.wb-auto-grid {
  display: grid; grid-template-columns: 1.15fr .95fr; gap: 14px; margin-top: 16px; text-align: left;
}
.wb-auto-col {
  background: var(--wb-panel); border: 1px solid var(--wb-border); border-radius: 14px; padding: 12px;
  min-height: 0;
}
.wb-auto-col-h {
  display: flex; justify-content: space-between; gap: 8px; align-items: baseline; margin-bottom: 10px;
}
.wb-auto-col-h strong { color: #000; font-size: 14px; }
.wb-auto-col-h span { font-size: 11px; color: #9aa3b2; }
.wb-auto-cards, .wb-auto-agents { display: grid; gap: 10px; }
.wb-auto-card, .wb-agent-row {
  border: 1px solid var(--wb-border); border-radius: 12px; padding: 12px;
  background: rgba(255,255,255,.02);
}
.wb-auto-card-top, .wb-agent-row {
  display: flex; justify-content: space-between; gap: 10px; align-items: flex-start;
}
.wb-agent-row { align-items: stretch; }
.wb-agent-main { flex: 1; min-width: 0; }
.wb-agent-side { text-align: right; flex-shrink: 0; }
.wb-auto-title { font-size: 14px; font-weight: 650; color: #000; }
.wb-auto-sub { font-size: 12px; color: #9aa3b2; margin-top: 3px; line-height: 1.45; }
.wb-auto-meta {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; font-size: 11px; color: #94a3b8;
}
.wb-auto-meta span {
  border: 1px solid #2a3140; border-radius: 999px; padding: 2px 8px;
}
.wb-auto-agent { margin-top: 10px; font-size: 12px; color: #cbd5e1; }
.wb-auto-q { margin-top: 6px; font-size: 12px; color: #9aa3b2; }
.wb-auto-card-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.wb-auto-bind {
  display: flex; gap: 8px; align-items: center; margin-top: 10px; flex-wrap: wrap;
}
.wb-auto-bind select {
  flex: 1; min-width: 140px; height: 32px; border-radius: 8px;
  border: 1px solid var(--wb-border); background: var(--wb-panel-2, #151922);
  color: #e5e7eb; padding: 0 8px; font-size: 12px;
}

.wb-content:has(.wb-chat-page) {
  display: flex; flex-direction: column; overflow: hidden;
  padding-top: 18px; padding-bottom: 16px;
}
.wb-chat-page {
  width: 100%; max-width: 880px; margin: 0 auto; flex: 1; min-height: 0;
  display: flex; flex-direction: column; text-align: left;
  animation: wbTodayIn .4s ease both;
}
.wb-chat-page h2 {
  margin: 0; font-size: 22px; color: #fff; font-weight: 700;
  font-family: var(--wb-display); letter-spacing: .02em;
}
.wb-chat-page .sub { color: var(--wb-muted); font-size: 13px; margin: 4px 0 0; }
.wb-chat-head {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: flex-start;
  margin-bottom: 10px; flex-shrink: 0;
}
.wb-chat-toolbar {
  display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center;
  padding: 10px 12px; border: 1px solid var(--wb-border); border-radius: 14px;
  background: rgba(18, 28, 24, 0.9); margin-bottom: 10px; flex-shrink: 0;
}
.wb-chat-toolbar label {
  display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--wb-muted);
}
.wb-chat-toolbar select {
  height: 32px; border-radius: 8px; border: 1px solid var(--wb-border);
  background: var(--wb-panel-2, #17241f); color: var(--wb-text); padding: 0 8px; max-width: 220px;
}
.wb-chat-emp-hint { font-size: 12px; color: var(--wb-muted); }
.wb-chat-llm {
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center;
  padding: 8px 12px; border-radius: 10px; font-size: 12px; margin-bottom: 10px; flex-shrink: 0;
}
.wb-chat-llm.ok { background: rgba(61,155,110,.12); border: 1px solid rgba(61,155,110,.35); color: #b7d6c4; }
.wb-chat-llm.warn { background: var(--wb-accent-soft); border: 1px solid rgba(0,0,0,0.12); color: #111111; }
.wb-chat-llm a { color: var(--wb-accent); }
.wb-chat-stream {
  flex: 1 1 auto; overflow: auto; display: flex; flex-direction: column; gap: 12px;
  padding: 14px 12px 18px; min-height: 0;
  border: 1px solid rgba(0,0,0,0.12); border-radius: 16px;
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(0,0,0,0.12), transparent 55%),
    rgba(0,0,0,.22);
}
.wb-chat-stream .msg { max-width: 92%; }
.wb-chat-stream .msg.ai.err { border-color: rgba(248,113,113,.45); }
.wb-chat-stream .msg.ai.welcome { opacity: .92; border-style: dashed; border-color: rgba(0,0,0,0.12); }
.wb-chat-empty {
  margin: auto; padding: 28px 16px; text-align: center;
  font-size: 13px; color: var(--wb-muted);
}
.wb-chat-composer {
  margin-top: 12px; flex-shrink: 0;
  background: var(--wb-panel); border: 1px solid rgba(0,0,0,0.12);
  box-shadow: 0 -10px 28px rgba(0,0,0,.28);
  border-radius: 16px;
}
.wb-settings {
  animation: wbTodayIn .4s ease both;
}
.wb-settings-llm {
  margin-top: 14px; padding: 16px; border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.12);
  background:
    radial-gradient(ellipse 80% 50% at 0% 0%, rgba(0,0,0,0.12), transparent 55%),
    var(--wb-panel);
  text-align: left;
}
.wb-settings-llm strong {
  font-family: var(--wb-display); letter-spacing: .02em;
}
.wb-settings-llm .grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px;
}
.wb-settings-llm .field { margin: 0; }
.wb-settings-llm .field label {
  display: block; font-size: 11px; color: var(--wb-muted); margin-bottom: 4px;
}
.wb-settings-llm .field input {
  width: 100%; height: 34px; border-radius: 8px; border: 1px solid var(--wb-border);
  background: var(--wb-panel-2); color: var(--wb-text); padding: 0 10px;
}
.wb-settings-llm .field input:focus {
  outline: none; border-color: rgba(0,0,0,0.12);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.12);
}
.wb-settings-llm .actions {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px;
}
.wb-settings-llm .hint { font-size: 12px; color: var(--wb-muted); margin-top: 8px; }
@media (max-width: 720px) {
  .wb-settings-llm .grid { grid-template-columns: 1fr; }
}
.wb-pill {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px;
  border: 1px solid #3b4558; font-size: 11px; color: #cbd5e1; white-space: nowrap;
}
.wb-pill.ok { border-color: #34d399; color: #34d399; }
.wb-pill.mid { border-color: #fbbf24; color: #fbbf24; }
.wb-pill.off { border-color: #64748b; color: #94a3b8; }
.day-stat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; text-align: left;
}
.day-stat {
  background: var(--wb-panel); border: 1px solid var(--wb-border); border-radius: 12px; padding: 12px 14px;
}
.day-stat .k { font-size: 11px; color: var(--wb-muted); }
.day-stat .v { font-size: 26px; font-weight: 700; color: #000; margin-top: 4px; line-height: 1.2; }
.day-stat .v.ok { color: #34d399; }
.day-stat .v.warn { color: #fbbf24; }
.job-board button.job-card { appearance: none; }

/* —— 问一下 · 扣子式浅色「正在工作」壳 —— */
.workbench-root.is-ask {
  grid-template-columns: 300px 1fr;
  background: #f3f4f6;
  color: #111;
}
.workbench-root.is-ask.no-right { grid-template-columns: 300px 1fr; }

.ask-rail {
  background: #eceef2 !important;
  border-right: 1px solid rgba(0, 0, 0, 0.06) !important;
  color: #111;
}
.ask-rail-brand {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 16px 12px;
}
.ask-rail-brand img { border-radius: 50%; box-shadow: 0 4px 12px rgba(255, 138, 61, 0.28); }
.ask-rail-brand strong { display: block; font-size: 15px; font-weight: 700; color: #111; }
.ask-rail-brand span { font-size: 11px; color: #888; }

.ask-rail-nav {
  display: flex; gap: 4px; padding: 0 12px 12px;
}
.ask-rail-nav a {
  flex: 1; text-align: center; text-decoration: none;
  padding: 8px 6px; border-radius: 10px; font-size: 12px; font-weight: 600;
  color: #666; background: transparent;
}
.ask-rail-nav a.is-on { background: #fff; color: #111; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.ask-rail-nav a em {
  display: inline-grid; place-items: center; min-width: 16px; height: 16px; margin-left: 4px;
  padding: 0 4px; border-radius: 999px; background: #111; color: #fff; font-size: 10px; font-style: normal;
}

.ask-rail-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 16px 10px;
}
.ask-rail-head h2 { margin: 0; font-size: 13px; font-weight: 700; color: #555; letter-spacing: .04em; }
.ask-new {
  width: 28px; height: 28px; border: 0; border-radius: 8px;
  background: #fff; color: #111; font-size: 16px; cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.ask-new:hover { background: #111; color: #fff; }

.ask-session-list {
  list-style: none; margin: 0; padding: 0 10px 12px;
  flex: 1; overflow: auto; display: grid; gap: 6px; align-content: start;
}
.ask-session {
  width: 100%; display: flex; align-items: flex-start; gap: 10px;
  text-align: left; border: 1px solid transparent; background: transparent;
  border-radius: 16px; padding: 10px; cursor: pointer; color: inherit;
}
.ask-session:hover { background: rgba(255,255,255,.55); }
.ask-session.is-on {
  background: #fff; border-color: rgba(0,0,0,.06);
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}
.ask-session-body { min-width: 0; flex: 1; display: grid; gap: 4px; }
.ask-session-body strong {
  font-size: 13px; font-weight: 650; color: #111;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ask-session-body em {
  font-style: normal; font-size: 11px; color: #999; font-weight: 500;
}
.ask-session-body em.is-done { color: #16a34a; }
.ask-session-body em.is-run { color: #d97706; }

.ask-av {
  display: inline-grid; place-items: center; border-radius: 50%; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.08); overflow: hidden;
}
.ask-av svg { width: 70%; height: 70%; display: block; }

.ask-rail-foot {
  display: flex; gap: 8px; padding: 12px 14px 16px;
  border-top: 1px solid rgba(0,0,0,.06);
}
.ask-rail-foot button {
  flex: 1; height: 36px; border-radius: 10px; border: 1px solid rgba(0,0,0,.08);
  background: #fff; color: #555; font-size: 12px; cursor: pointer;
}
.ask-rail-foot button:hover { color: #111; border-color: rgba(0,0,0,.18); }

.workbench-root.is-ask .wb-main { background: #f7f8fa; }
.workbench-root.is-ask .wb-content:has(.ask-stage) {
  padding: 0; background: #f7f8fa;
}

.ask-stage {
  max-width: none !important; width: 100%; height: 100%;
  margin: 0 !important; padding: 0 0 0;
  background: #fff;
  border-radius: 0;
  box-shadow: none;
}
.ask-stage-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 22px; border-bottom: 1px solid rgba(0,0,0,.06); flex-shrink: 0;
  background: #fff;
}
.ask-stage-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ask-stage-title h2 {
  margin: 0 !important; font-size: 16px !important; color: #111 !important;
  font-family: inherit !important; font-weight: 700; letter-spacing: 0 !important;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 42vw;
}
.ask-stage-title p { margin: 2px 0 0; font-size: 12px; color: #999; }
.ask-stage-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.ask-done-pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
  color: #16a34a; background: #e8f8ef;
}
.ask-icon-btn {
  width: 32px; height: 32px; border-radius: 10px; border: 1px solid rgba(0,0,0,.08);
  background: #fff; color: #555; cursor: pointer; font-size: 14px;
}
.ask-icon-btn:hover { background: #f3f4f6; color: #111; }

.ask-toolbar {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  padding: 10px 22px; border-bottom: 1px solid rgba(0,0,0,.04); flex-shrink: 0;
  background: #fafafa;
}
.ask-toolbar label {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: #777;
}
.ask-toolbar select {
  height: 32px; border-radius: 999px; border: 1px solid rgba(0,0,0,.1);
  background: #fff; color: #111; padding: 0 12px; max-width: 220px; font-size: 12px;
}
.ask-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ask-chips button {
  height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(0,0,0,.08);
  background: #fff; color: #444; font-size: 12px; cursor: pointer;
}
.ask-chips button:hover { border-color: rgba(0,0,0,.2); color: #111; }
.ask-chips button:disabled { opacity: .5; cursor: default; }
.ask-llm-hint { margin-left: auto; font-size: 12px; color: #d97706; text-decoration: none; }
.ask-llm-hint:hover { text-decoration: underline; }

.ask-row.tool .ask-agent-name { color: #0f766e; }
.ask-tool-card {
  margin-top: 10px; padding: 12px 14px; border-radius: 14px;
  background: #f0fdfa; border: 1px solid rgba(15, 118, 110, 0.18);
  display: grid; gap: 10px;
}
.ask-tool-stats {
  display: flex; flex-wrap: wrap; gap: 8px;
  font-size: 12px; color: #0f766e; font-weight: 600;
}
.ask-tool-stats span {
  padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.75);
  border: 1px solid rgba(15, 118, 110, 0.12);
}
.ask-tool-list {
  margin: 0; padding: 0; list-style: none; display: grid; gap: 6px;
}
.ask-tool-list li {
  display: flex; justify-content: space-between; gap: 10px; align-items: baseline;
  padding: 8px 10px; border-radius: 10px; background: #fff;
  border: 1px solid rgba(0,0,0,.05); font-size: 13px; color: #111;
}
.ask-tool-list li b { font-weight: 600; min-width: 0; }
.ask-tool-list li em { font-style: normal; font-size: 11px; color: #0f766e; flex-shrink: 0; }
.ask-tool-actions {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.ask-tool-actions .btn { min-height: 34px; font-size: 13px; }

.ask-stream {
  flex: 1 1 auto; overflow: auto; display: flex; flex-direction: column; gap: 16px;
  padding: 22px 28px 28px !important; min-height: 0;
  border: 0 !important; border-radius: 0 !important;
  background: #fff !important;
}
.ask-empty { color: #999 !important; }

.ask-row {
  display: flex; gap: 10px; align-items: flex-start; max-width: 820px; width: 100%;
}
.ask-row.user { align-self: flex-end; justify-content: flex-end; }
.ask-row.ai { align-self: flex-start; }
.ask-ai-col { min-width: 0; flex: 1; display: grid; gap: 6px; }
.ask-agent-name { font-size: 12px; font-weight: 650; color: #666; padding-left: 2px; }

.ask-bubble {
  padding: 12px 16px; border-radius: 18px; font-size: 14px; line-height: 1.65; color: #111;
}
.ask-bubble.user {
  background: #f0f1f4; border-radius: 18px 18px 6px 18px; max-width: 560px;
}
.ask-bubble.ai {
  background: transparent; padding: 0; border-radius: 0;
}
.ask-row.welcome .ask-bubble.ai {
  padding: 12px 16px; background: #fafafa; border: 1px dashed rgba(0,0,0,.1); border-radius: 16px;
}
.ask-row.err .ask-bubble.ai { color: #b91c1c; }
.ask-md { font-size: 14px; line-height: 1.7; color: #1a1a1a; }
.ask-md-p { margin: 0 0 10px; }
.ask-md-p:last-child { margin-bottom: 0; }
.ask-md-list {
  margin: 0 0 12px; padding-left: 1.15em;
  display: grid; gap: 6px;
}
.ask-md-list:last-child { margin-bottom: 0; }
.ask-md strong { font-weight: 650; color: #111; }
.ask-md em { font-style: normal; color: #555; }
.ask-link { color: #2563eb; text-decoration: none; font-weight: 550; }
.ask-link:hover { text-decoration: underline; }
.ask-link-chip {
  display: inline-flex; align-items: center; gap: 2px;
  margin: 0 2px; padding: 1px 8px; border-radius: 999px;
  background: rgba(37, 99, 235, 0.08); border: 1px solid rgba(37, 99, 235, 0.16);
  font-size: 13px; line-height: 1.5; white-space: nowrap;
}
.ask-link-chip:hover { background: rgba(37, 99, 235, 0.14); text-decoration: none; }

.ask-tool-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  flex-wrap: wrap;
}
.ask-tool-row-main { display: grid; gap: 2px; min-width: 0; }
.ask-tool-row-main em { font-style: normal; color: #888; font-size: 12px; margin-left: 0; }
.ask-tool-row-acts { display: inline-flex; gap: 6px; flex-shrink: 0; }
.ask-tool-row-acts .btn-sm { padding: 4px 10px; font-size: 12px; border-radius: 999px; }

.ask-result {
  margin-top: 12px; padding: 14px; border-radius: 16px;
  background: #eef8f1; border: 1px solid rgba(22, 163, 74, 0.18);
}
.ask-result-top { margin-bottom: 10px; }
.ask-result-badge {
  display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 650; color: #15803d; background: rgba(255,255,255,.7);
}
.ask-file {
  display: flex; align-items: center; gap: 12px; padding: 12px;
  background: #fff; border-radius: 12px; border: 1px solid rgba(0,0,0,.06);
}
.ask-file-tag {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: #111; color: #fff; font-size: 9px; font-weight: 700; letter-spacing: .04em;
}
.ask-file strong { display: block; font-size: 13px; color: #111; }
.ask-file em { font-style: normal; font-size: 11px; color: #999; }

.ask-chart {
  display: flex; align-items: flex-end; gap: 6px; height: 56px;
  margin: 12px 2px 8px; padding: 0 4px;
}
.ask-chart i {
  flex: 1; display: block; border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #86efac, #22c55e); opacity: .85;
}
.ask-result-links {
  display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px;
  font-size: 12px; color: #15803d; font-weight: 500;
}

.ask-composer {
  margin: 0 18px 18px !important; flex-shrink: 0;
  background: #fff !important; border: 1px solid rgba(0,0,0,.08) !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.06) !important; border-radius: 18px !important;
}
.workbench-root.is-ask .ask-composer .wb-input {
  background: transparent; border: 0; color: #111; resize: none;
  width: 100%; min-height: 48px; padding: 4px 4px 0; outline: none; font: inherit;
}
.workbench-root.is-ask .ask-composer .wb-input::placeholder { color: #bbb; }
.ask-composer-hint { font-size: 12px; color: #999; }
.ask-send {
  border-radius: 999px !important; background: #111 !important; color: #fff !important;
  border: 0 !important; min-width: 72px;
}

.wb-demo-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 0 0 14px; padding: 10px 14px; border-radius: 12px;
  border: 1px dashed rgba(0, 0, 0, 0.18); background: rgba(0, 0, 0, 0.10);
  font-size: 13px; color: var(--wb-muted);
}
.wb-onboard {
  min-height: 100vh; display: grid; place-items: center; padding: 24px 16px 48px;
  background: #f5f5f5;
  color: var(--wb-text);
}
.wb-onboard-top {
  position: fixed; top: 0; left: 0; right: 0; height: 56px;
  display: flex; align-items: center; gap: 10px; padding: 0 20px;
  border-bottom: 1px solid var(--wb-border); background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
}
.wb-onboard-top strong { font-family: var(--wb-display); letter-spacing: 0.04em; }
.wb-onboard-skip {
  margin-left: auto; border: 0; background: transparent; color: var(--wb-muted);
  cursor: pointer; font-size: 13px;
}
.wb-onboard-skip:hover { color: #000; }
.wb-onboard-card {
  width: min(520px, 100%); margin-top: 40px; padding: 28px 28px 22px;
  border-radius: 20px; border: 1px solid var(--wb-border);
  background: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}
.wb-onboard-kicker {
  margin: 0 0 10px; font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: #666;
}
.wb-onboard-steps {
  display: flex; gap: 8px; margin-bottom: 22px;
}
.wb-onboard-steps span {
  flex: 1; height: 4px; border-radius: 999px; background: rgba(0, 0, 0, 0.08);
}
.wb-onboard-steps span.is-on,
.wb-onboard-steps span.is-done { background: #000; }
.wb-onboard-card h2 {
  margin: 0 0 8px; font-size: 26px; font-family: var(--wb-display); letter-spacing: -.02em;
  color: #000;
}
.wb-onboard-card .sub { margin: 0 0 20px; color: var(--wb-muted); font-size: 14px; line-height: 1.5; }
.wb-onboard-field {
  display: grid; gap: 8px; margin-bottom: 14px; font-size: 13px; color: var(--wb-muted);
}
.wb-onboard-field em {
  font-style: normal; color: #000; margin-left: 2px;
}
.wb-onboard-field .opt {
  margin-left: 6px; font-size: 12px; color: #999;
}
.wb-onboard-field input,
.wb-onboard-field select {
  height: 44px; border-radius: 12px; border: 1px solid var(--wb-border);
  background: #fff; color: #000; padding: 0 14px; font: inherit;
}
.wb-onboard-field input:focus,
.wb-onboard-field select:focus {
  outline: none; border-color: #000; box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}
.wb-onboard-err {
  margin: 0 0 8px; padding: 10px 12px; border-radius: 10px;
  background: rgba(220, 38, 38, 0.08); color: #b91c1c; font-size: 13px;
}
.wb-onboard-foot {
  margin: 14px 0 0; text-align: center; font-size: 12px; color: #999;
}
.wb-ind-search {
  height: 40px; border-radius: 12px; border: 1px solid var(--wb-border);
  background: #fff; color: #000; padding: 0 14px; font: inherit; margin-bottom: 10px;
}
.wb-ind-search:focus {
  outline: none; border-color: #000; box-shadow: 0 0 0 3px rgba(0,0,0,.06);
}
.wb-ind-tabs {
  display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px;
  margin-bottom: 8px; scrollbar-width: thin;
}
.wb-ind-tab {
  flex: 0 0 auto; height: 34px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--wb-border); background: #fff; color: #111;
  font-size: 13px; cursor: pointer; white-space: nowrap;
}
.wb-ind-tab:hover { border-color: #111; }
.wb-ind-tab.is-on { background: #000; border-color: #000; color: #fff; }
.wb-ind-panel {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 8px; max-height: 168px; overflow: auto; padding: 2px;
  border: 1px solid var(--wb-border); border-radius: 14px; background: #fafafa;
}
.wb-ind-item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  text-align: left; min-height: 40px; padding: 8px 10px; border-radius: 10px;
  border: 1px solid transparent; background: #fff; color: #111;
  font-size: 13px; cursor: pointer;
}
.wb-ind-item:hover { border-color: rgba(0,0,0,.16); }
.wb-ind-item.is-on { background: #000; border-color: #000; color: #fff; }
.wb-ind-item-cat { font-size: 11px; opacity: .55; }
.wb-ind-item.is-on .wb-ind-item-cat { opacity: .75; }
.wb-ind-empty { margin: 16px; font-size: 13px; color: #999; grid-column: 1 / -1; }
.wb-ind-custom { margin-top: 10px; }
.wb-ind-custom input {
  width: 100%; height: 40px; border-radius: 12px; border: 1px solid var(--wb-border);
  background: #fff; color: #000; padding: 0 14px; font: inherit;
}
.wb-ind-picked {
  margin: 8px 0 0; font-size: 12px; color: #666;
}
.wb-onboard-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.wb-onboard-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px;
  border-radius: 999px; border: 1px solid var(--wb-border); cursor: pointer;
  background: #fff; font-size: 14px; color: #111;
}
.wb-onboard-chip:has(input:checked) {
  border-color: #000; background: #000; color: #fff;
}
.wb-onboard-chip input { accent-color: #000; }
.wb-onboard-radios { display: grid; gap: 10px; }
.wb-onboard-radio {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  border-radius: 12px; border: 1px solid var(--wb-border); cursor: pointer;
}
.wb-onboard-radio:has(input:checked) {
  border-color: rgba(0, 0, 0, 0.18); background: var(--wb-accent-soft);
}
.wb-onboard-toggle {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 16px;
  border-radius: 12px; border: 1px solid var(--wb-border); cursor: pointer; font-size: 15px;
}
.wb-onboard-actions {
  display: flex; justify-content: space-between; gap: 10px; margin-top: 24px;
}
.wb-onboard-actions .btn-primary { margin-left: auto; min-width: 120px; }


/* —— 今天页 · 更多视觉元素 —— */
.wb-metric-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 14px;
}
.wb-metric {
  padding: 12px 10px;
  border-radius: 14px;
  border: 1px solid var(--wb-border);
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
  text-align: left;
  min-width: 0;
}
.wb-metric .l {
  display: block;
  font-size: 11px;
  color: var(--wb-muted);
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.wb-metric strong {
  display: block;
  font-size: 18px;
  font-weight: 750;
  color: #111;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wb-metric strong.is-verified { color: var(--success, #2f9b64); }
.wb-metric strong.is-pending { color: #b7791f; }
.wb-metric strong.is-rejected { color: var(--danger, #c53030); }
.wb-metric strong.is-draft { color: #666; }
.wb-metric strong.is-on { color: #2f9b64; }
.wb-metric strong.is-off { color: #999; }

.wb-today-hero {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 14px;
  padding: 18px 20px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 176, 32, 0.28);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(255, 213, 106, 0.35), transparent 55%),
    linear-gradient(135deg, #fff9ef 0%, #fff 62%);
}
.wb-today-hero-glow {
  position: absolute; inset: -20% -10% auto auto; width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(255, 138, 61, 0.22), transparent 70%);
  pointer-events: none;
}
.wb-today-hero-mark { flex: 0 0 auto; filter: drop-shadow(0 8px 18px rgba(255, 138, 61, 0.28)); }
.wb-today-hero-copy { position: relative; z-index: 1; min-width: 0; }
.wb-today-hero-copy em {
  display: block;
  font-style: normal;
  font-family: var(--wb-display);
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 700;
  color: #1a1408;
  letter-spacing: 0.01em;
}
.wb-today-hero-copy span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: #7a5a2e;
}

.wb-setup-wrap {
  margin-top: 16px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--wb-border);
  background: #fff;
  box-shadow: 0 8px 24px rgba(17,17,17,0.04);
}
.wb-setup-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  margin-bottom: 10px;
}
.wb-setup-head strong {
  font-family: var(--wb-display);
  font-size: 15px; color: #000;
}
.wb-setup-head span { font-size: 12px; color: var(--wb-muted); }
.wb-setup-progress {
  height: 6px; border-radius: 999px; background: #f0f0f0; overflow: hidden; margin-bottom: 12px;
}
.wb-setup-progress i {
  display: block; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, #ffb020, #ff8a3d);
  transition: width .35s ease;
}
.wb-setup-wrap .wb-setup-steps { margin-top: 0; }

.wb-preview-block {
  margin-top: 14px;
  padding: 14px !important;
  background: linear-gradient(180deg, #fbfbfb 0%, #fff 100%);
}
.wb-preview-list {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 8px;
}
.wb-preview-list li {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px dashed rgba(0,0,0,0.1);
  background: #fff;
}
.wb-preview-list time {
  font-size: 12px; font-variant-numeric: tabular-nums; color: #888; font-weight: 650;
}
.wb-preview-list b { display: block; font-size: 13px; color: #111; }
.wb-preview-list em { display: block; font-style: normal; font-size: 11px; color: var(--wb-muted); margin-top: 2px; }
.wb-preview-st {
  font-size: 11px; color: #b7791f; background: #fff8e8; border: 1px solid rgba(183,121,31,0.2);
  padding: 2px 8px; border-radius: 999px; white-space: nowrap;
}
.wb-preview-note {
  margin: 10px 0 0; font-size: 12px; color: var(--wb-muted); line-height: 1.5;
}

.wb-jobs-empty {
  display: grid; place-items: center; text-align: center;
  padding: 28px 16px 18px; border-radius: 16px;
  border: 1px dashed rgba(0,0,0,0.12);
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(255,213,106,0.18), transparent 60%),
    #fafafa;
}
.wb-jobs-empty-art {
  width: 56px; height: 56px; border-radius: 16px; margin-bottom: 10px;
  background:
    linear-gradient(135deg, #ffd56a, #ff8a3d);
  position: relative;
  box-shadow: 0 10px 22px rgba(255,138,61,0.25);
}
.wb-jobs-empty-art::after {
  content: "";
  position: absolute; inset: 14px 12px 18px;
  border: 2.5px solid #1a1408; border-radius: 8px; border-top-width: 6px;
  opacity: 0.85;
}
.wb-jobs-empty p { margin: 0; font-weight: 700; color: #111; font-size: 14px; }
.wb-jobs-empty span { display: block; margin-top: 6px; max-width: 320px; font-size: 12px; color: var(--wb-muted); line-height: 1.5; }
.wb-jobs-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

.wb-quiet-tips { margin-top: 14px; }
.wb-quiet-list {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 8px;
}
.wb-quiet-list li {
  padding: 10px 12px; border-radius: 12px; background: #f7f7f7; font-size: 13px; color: #333;
}
.wb-quiet-list b { color: #000; margin-right: 4px; }

.wb-rail-chip {
  margin: 0 16px 10px;
  display: inline-flex; align-items: center;
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 650; letter-spacing: 0.04em;
  color: #7a5a2e; background: #fff4e5; border: 1px solid rgba(255,176,32,0.35);
}
.wb-rail-hints {
  display: grid; gap: 4px; padding: 4px 16px 12px;
}
.wb-rail-hints a {
  font-size: 11px; color: var(--wb-muted); text-decoration: none;
  padding: 4px 0;
}
.wb-rail-hints a:hover { color: #111; }

@media (max-width: 900px) {
  .wb-metric-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .wb-metric-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wb-today-hero { padding: 14px 14px; }
  .wb-preview-list li { grid-template-columns: 48px 1fr; }
  .wb-preview-st { grid-column: 2; justify-self: start; }
}

@media (max-width: 1100px) {
  .workbench-root, .workbench-root.no-right { grid-template-columns: 72px 1fr; }
  .workbench-root.is-ask, .workbench-root.is-ask.no-right { grid-template-columns: 1fr; }
  .workbench-root.is-ask .ask-rail {
    position: sticky; top: 0; z-index: 5; max-height: 42vh;
    border-right: 0 !important; border-bottom: 1px solid rgba(0,0,0,.06);
  }
  .wb-right { display: none; }
  .wb-brand p, .wb-section, .wb-list .meta, .wb-brand h1, .wb-rail-chip, .wb-rail-hints { display: none; }
  .day-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .wb-auto-grid { grid-template-columns: 1fr; }
  .wb-auto-actions { width: 100%; }
  .wb-left {
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .wb-nav {
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0));
  }
  .wb-nav-item { min-height: 44px; }
  .wb-status-actions .btn { min-height: 44px; }
  .wb-simple { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
}
