.workbench-ui {
  --bg: #f6f7f8;
  --sidebar: #232a27;
  --card: #ffffff;
  --text: #202a25;
  --heading: #17211c;
  --muted: #526158;
  --muted-2: #647067;
  --line: #e5e9e6;
  --primary: #28795c;
  --primary-dark: #206449;
  --primary-soft: #eaf3ee;
  --rose: #d05c64;
  --radius: 8px;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  font: 14px/1.5 "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  letter-spacing: 0;
}
.workbench-ui * { letter-spacing: 0; }
.workbench-ui input::placeholder, .workbench-ui textarea::placeholder { color: var(--muted-2); opacity: 1; }
.workbench-ui button { box-shadow: none; font-weight: 500; border-radius: 6px; transition: background .15s, border-color .15s, color .15s; }
.workbench-ui button:focus-visible, .workbench-ui a:focus-visible, .workbench-ui input:focus-visible, .workbench-ui select:focus-visible { outline: 2px solid #58a488; outline-offset: 3px; }
.workbench-ui button svg, .workbench-ui i[data-lucide] { width: 18px; height: 18px; flex-shrink: 0; }
.workbench-ui svg { width: 18px; height: 18px; flex-shrink: 0; vertical-align: middle; }
.workbench-ui button.primary, .workbench-ui button.start-action { background: var(--primary); border-color: var(--primary); color: #fff; }
.workbench-ui button.primary:hover, .workbench-ui button.start-action:hover:not(:disabled) { background: var(--primary-dark); border-color: var(--primary-dark); }
.workbench-ui button:disabled { background: #f1f3f2; color: var(--muted-2); border-color: #e5e9e6; cursor: not-allowed; }
.workbench-ui button.stop-action { background: #fff; color: #9c3444; border-color: #ecd4d7; }
.workbench-ui button.stop-action:hover:not(:disabled) { background: #fcf0f1; }
.workbench-ui button.primary:disabled, .workbench-ui button.start-action:disabled, .workbench-ui button.stop-action:disabled { background: #f1f3f2; color: var(--muted-2); border-color: #e0e5e1; opacity: 1; }
.workbench-ui input:not([type="checkbox"]), .workbench-ui select, .workbench-ui textarea { border-radius: 6px; min-height: 38px; border-color: var(--line); color: var(--text); background: #fff; min-width: 0; }
.workbench-ui #appView { display: block; min-height: 100dvh; }
.workbench-ui .hidden, .workbench-ui [hidden] { display: none !important; }
.wb-shell { display: grid; grid-template-columns: 224px minmax(0, 1fr); min-height: 100dvh; }
.wb-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 30; width: 224px; background: var(--sidebar); color: #d8dfda; padding: 29px 18px 18px; display: flex; flex-direction: column; }
.wb-brand { display: flex; align-items: center; min-height: 40px; color: #fff; text-decoration: none; padding: 0 13px; }
.wb-brand b { display: block; font-size: 22px; font-weight: 650; }
.wb-nav-caption { margin: 41px 12px 15px; font-size: 11px; color: #91a097; }
.wb-nav { display: flex; flex-direction: column; gap: 7px; }
.wb-nav button { color: #b9c5bd; background: transparent; border: 0; justify-content: flex-start; min-height: 46px; padding: 0 13px; gap: 12px; width: 100%; font-size: 14px; }
.wb-nav button:hover { background: #303b34; color: #fff; }
.wb-nav button.active { background: #3a5948; color: #eef8f1; }
.wb-nav button.active svg { color: #a9d5b8; }
.wb-nav-count:not(:empty) { margin-left: auto; background: #d97973; color: white; font-size: 11px; padding: 0 5px; border-radius: 4px; }
.wb-sidebar-bottom { margin-top: auto; padding-top: 30px; }
.wb-environment { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #a9baae; margin: 0 9px 24px; }
.wb-environment svg { width: 15px; height: 15px; color: #7bae90; }
.wb-user { display: flex; align-items: center; gap: 9px; padding: 17px 4px 0; border-top: 1px solid #3b453e; }
.wb-user-avatar { width: 31px; height: 31px; border-radius: 6px; background: #3b4940; display: flex; align-items: center; justify-content: center; color: #cee0d2; }
#wbUserName { flex: 1; min-width: 0; }
#wbUserName b { display: block; font-size: 12px; font-weight: 500; overflow-wrap: anywhere; }
#wbUserName small { display: block; color: #93a398; font-size: 10px; margin-top: 3px; }
#wbLogoutIcon { background: none; color: #a5b2a9; border: none; padding: 0; min-width: 28px; }
.wb-main { grid-column: 2; min-width: 0; }
.wb-topbar { height: 72px; display: flex; align-items: center; padding: 0 34px; gap: 28px; background: #fff; border-bottom: 1px solid var(--line); }
.wb-breadcrumb { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.wb-breadcrumb b { color: #4c5850; font-weight: 500; }
.wb-breadcrumb svg { width: 13px; height: 13px; }
.wb-global-search { position: relative; display: flex; align-items: center; gap: 9px; flex: 1; max-width: 350px; margin-left: auto; color: #969f99; }
.wb-global-search input { width: 100%; border: none !important; background: transparent !important; padding: 4px; font-size: 12px; outline: none; box-shadow: none !important; }
.wb-search-results { position: absolute; top: 45px; left: -14px; right: -14px; z-index: 60; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 12px 32px #263d2920; padding: 8px; max-height: 390px; overflow-y: auto; }
.wb-search-results button { display: flex; width: 100%; min-height: 43px; padding: 6px 9px; border: 0; justify-content: flex-start; text-align: left; white-space: normal; }
.wb-search-results button span { flex: 1; }
.wb-search-results button small { font-size: 11px; color: var(--muted); }
.wb-search-results button:hover { background: #eef5f0; color: var(--primary); }
#wbTopActions .top-actions { display: flex; flex-wrap: nowrap; gap: 9px; }
#wbTopActions button { font-size: 12px; min-height: 34px; padding: 0 11px; }
#wbTopActions #refreshBtn { padding: 0; width: 34px; }
#wbTopActions #wbResetPreview { padding: 0; width: 34px; }
.wb-account-context { min-height: 64px; padding: 12px 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #e7ebe8; background: #fafcfb; }
.wb-account-picker { display: flex; align-items: center; gap: 13px; min-width: 0; }
.wb-account-picker label { color: var(--muted); font-size: 12px; white-space: nowrap; }
#wbAccountSelect { font-size: 13px; width: 190px; max-width: 100%; font-weight: 600; border: 0; background: transparent; box-shadow: none; padding-left: 0; }
.wb-context-right { display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: 11px; white-space: nowrap; }
.wb-preview-badge { color: #795816; border: 1px solid #e7ddc5; background: #faf6ed; font-size: 10px; padding: 2px 6px; border-radius: 4px; }
#wbManageAccount { padding: 0; width: 30px; min-height: 30px; border: 0; background: transparent; color: #98a89c; }
.wb-management-actions { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 11px; }
.wb-management-actions button { font-size: 11px; min-height: 32px; padding: 0 8px; }
#wbSyncState { display: inline-flex; align-items: center; gap: 5px; }
#wbSyncState svg { width: 13px; height: 13px; }
.dirty { color: #805b0a !important; }
.wb-content { padding: 31px 34px 34px; max-width: 1680px; margin: auto; }
.wb-page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.wb-eyebrow { font-size: 10px; color: var(--muted-2); font-weight: 600; }
#wbPageTitle { font-size: 26px; line-height: 1.35; font-weight: 650; margin: 7px 0 0; }
.wb-heading-meta { color: var(--muted); font-size: 12px; padding-bottom: 4px; }
.wb-page { min-width: 0; }
.workbench-ui .wb-page > .panel, .workbench-ui .wb-page .accounts-panel { border: none; background: transparent; box-shadow: none; padding: 0; width: 100%; }
.wb-legacy-heading { display: none !important; }
.workbench-ui .account-cards { display: block; margin: 0; }
.wb-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0 0 27px; border-bottom: 1px solid var(--line); margin-bottom: 27px; }
.wb-metric { padding: 0 24px; border-right: 1px solid #e0e6e1; min-width: 0; }
.wb-metric:first-child { padding-left: 0; }
.wb-metric:last-child { border: 0; padding-right: 0; }
.wb-metric-label { font-size: 12px; color: var(--muted); }
.wb-metric > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 10px 0 8px; }
.wb-metric strong { font-size: 32px; line-height: 1.15; font-weight: 600; color: #2c3830; font-variant-numeric: tabular-nums; }
.wb-metric-icon { width: 37px; height: 37px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.wb-metric small { display: block; font-size: 11px; color: var(--muted-2); overflow-wrap: anywhere; }
.wb-metric-icon.green { background: #e6f0e9; color: #45856b; }
.wb-metric-icon.blue { background: #e7eef8; color: #678ab5; }
.wb-metric-icon.amber { background: #f5eedf; color: #b89a54; }
.wb-metric-icon.rose { background: #f7e9eb; color: #bd6b78; }
.wb-current-run { display: flex; align-items: center; gap: 18px; padding: 24px 0; border-top: 1px solid #e6ebe7; border-bottom: 1px solid #e1e7e2; margin-bottom: 30px; }
.wb-run-symbol { width: 53px; height: 53px; border-radius: 8px; background: #e7f0e9; color: #4a8567; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wb-run-symbol svg { width: 25px; height: 25px; }
.wb-current-run > div { flex: 1; min-width: 0; }
.wb-overline { color: var(--muted); font-size: 12px; }
.wb-current-run h2 { font-size: 18px; line-height: 1.5; font-weight: 600; margin: 5px 0 11px; overflow-wrap: anywhere; }
.wb-current-run > button { font-size: 12px; background: #fff; }
.wb-run-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 17px; font-size: 11px; color: var(--muted); }
.wb-run-meta > span { display: inline-flex; align-items: center; gap: 5px; }
.wb-run-meta svg { width: 13px; height: 13px; }
.wb-pill { display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-height: 23px; padding: 2px 8px; font-size: 11px; font-weight: 500; border-radius: 4px; background: #edf0ed; color: var(--muted); white-space: nowrap; }
.wb-pill.active { background: #e5f0e9; color: #266343; }
.wb-pill.wait { background: #edf0f6; color: #375a8d; }
.wb-pill.error { background: #f8e9ec; color: #9c3444; }
.wb-overview-columns { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(245px, 1fr); gap: 36px; }
.wb-recent-section { border-left: 1px solid var(--line); padding-left: 28px; min-width: 0; }
.wb-section-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 36px; margin: 0 0 17px; }
.wb-section-head h2 { font-size: 15px; font-weight: 600; margin: 0; }
.wb-section-head > span { font-size: 12px; color: var(--muted); }
.workbench-ui .wb-text-command { padding: 0; min-height: 25px; border: none; background: transparent; font-size: 12px; color: #276647; }
.wb-text-command svg { width: 13px; height: 13px; }
.wb-task-table { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wb-task-header, .wb-task-row { display: grid; grid-template-columns: minmax(120px, 1fr) 85px minmax(0, 1.35fr); gap: 16px; align-items: center; padding: 16px 12px; }
.wb-task-header { font-size: 12px; color: var(--muted); background: #f5f7f5; padding-top: 11px; padding-bottom: 11px; }
.wb-task-row { border-top: 1px solid #edf0ed; font-size: 12px; min-height: 62px; }
.wb-task-row > span:first-child { display: flex; align-items: center; gap: 11px; color: #516558; }
.wb-task-row svg { width: 17px; height: 17px; color: #90a798; }
.wb-task-row b { font-weight: 500; color: #4c5850; }
.wb-task-row > span:last-child { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.wb-timeline { padding: 5px 0; }
.wb-timeline-row { display: flex; gap: 11px; padding-bottom: 21px; }
.wb-timeline-mark { flex-shrink: 0; width: 22px; height: 22px; border-radius: 4px; background: #e6eee7; color: #82a088; display: flex; align-items: center; justify-content: center; }
.wb-timeline-mark svg { width: 13px; height: 13px; }
.wb-timeline-mark.error { background: #f5e6e8; color: #b36a76; }
.wb-timeline-row > div { min-width: 0; }
.wb-timeline-row span { font-size: 11px; color: var(--muted-2); }
.wb-timeline-row p { color: var(--text); font-size: 12px; margin: 4px 0 0; line-height: 1.8; overflow-wrap: anywhere; }
.wb-role-details { border-top: 1px solid var(--line); margin-top: 27px; }
.wb-role-details summary { display: flex; align-items: center; gap: 12px; cursor: pointer; padding: 18px 0; list-style: none; font-size: 13px; color: #617367; }
.wb-role-details summary::-webkit-details-marker { display: none; }
.wb-role-summary { margin-left: auto; font-size: 11px; color: var(--muted); }
.wb-role-content { padding: 7px 0 15px; }
.wb-role-info { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; }
.wb-role-info small, .wb-role-info b { display: block; }
.wb-role-info small { color: var(--muted); font-size: 12px; }
.wb-role-info b { font-weight: 500; font-size: 13px; margin-top: 6px; overflow-wrap: anywhere; }
.workbench-ui .editor-form { padding: 0; display: block; }
.workbench-ui .config-controlbar { display: flex; padding: 0 0 15px; margin: 0; border: 0; background: transparent; }
.workbench-ui .config-master-switch { display: flex; flex: 1; max-width: 100%; justify-content: space-between; background: transparent; border: 0; padding: 5px 0; }
.workbench-ui .config-master-switch b { font-size: 13px; font-weight: 500; color: var(--muted); }
.workbench-ui .feature-list { border: 0; padding: 0; }
.workbench-ui .settings-tabs { display: flex; border: 0; border-bottom: 1px solid #dfe6e0; border-radius: 0; background: transparent; padding: 0; gap: 29px; margin-bottom: 22px; }
.workbench-ui .settings-tabs .settings-tab { border: 0; background: transparent; padding: 12px 0; border-radius: 0; color: var(--muted); font-size: 13px; min-width: 85px; }
.workbench-ui .settings-tabs .settings-tab.active { color: #357255; border-bottom: 2px solid #357255; box-shadow: none; }
.workbench-ui .settings-page { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0; }
.workbench-ui .setting-group-head { grid-column: 1 / -1; background: transparent; border: 0; padding: 11px 0 4px; margin: 7px 0 0; }
.workbench-ui .setting-group-head b { font-size: 13px; color: var(--muted); font-weight: 600; }
.workbench-ui .wb-feature { display: flex; align-items: center; gap: 12px; padding: 18px 16px; background: #fff; border: 1px solid #e2e8e3; border-radius: 8px; min-height: 94px; margin: 0; min-width: 0; box-shadow: none; }
.workbench-ui .wb-feature:hover { border-color: #c4d7c9; }
.wb-route-group { display: grid; grid-column: 1 / -1; gap: 0; min-width: 0; }
.workbench-ui .wb-route-group > .wb-feature { min-height: 88px; }
.workbench-ui .wb-route-group > .wb-subfeature { margin: 0 0 0 17px; padding: 16px 0 16px 17px; background: transparent; border: 0; border-left: 2px solid #d7e2db; border-radius: 0; min-height: 80px; flex-wrap: wrap; }
.workbench-ui .wb-subfeature > span:not(.wb-feature-icon) { flex: 1 1 150px; }
.workbench-ui .wb-subfeature > button { min-height: 34px; }
.workbench-ui .wb-feature > span:not(.wb-feature-icon) { flex: 1; min-width: 0; }
.workbench-ui .wb-feature b { font-size: 14px; font-weight: 600; color: var(--text); display: block; }
.workbench-ui .wb-feature b::before { display: none; }
.workbench-ui .wb-feature-title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.workbench-ui .wb-feature-title b { min-width: 0; overflow-wrap: anywhere; }
.workbench-ui .wb-access-badge { display: inline-flex; align-items: center; gap: 4px; min-height: 22px; flex: 0 0 auto; padding: 2px 6px; border: 1px solid #e2c7ca; border-radius: 4px; background: #fbeef0; color: #882b3c; font-size: 11px; line-height: 1.4; white-space: nowrap; }
.workbench-ui .wb-access-badge svg { width: 12px; height: 12px; }
.workbench-ui .wb-access-badge[hidden], .workbench-ui .wb-access-note[hidden] { display: none; }
.workbench-ui .wb-feature.wb-feature-unavailable input[type="checkbox"]:checked { background: #697779; }
.workbench-ui .wb-feature-unavailable button:not(.stop-action), .workbench-ui .wb-feature-unavailable input { cursor: not-allowed; }
.workbench-ui .wb-feature small { color: var(--muted); font-size: 12px; line-height: 1.65; margin-top: 6px; display: block; overflow-wrap: anywhere; }
.workbench-ui .wb-feature > .wb-feature-icon { flex: 0 0 34px; width: 34px; height: 36px; display: flex; align-items: center; justify-content: center; color: #789986; background: #f0f5f1; border-radius: 6px; }
.workbench-ui .wb-feature .wb-feature-field { color: #7499ad; background: #edf3f8; }
.workbench-ui .wb-feature .wb-feature-activity { color: #af9362; background: #f7f2e9; }
.workbench-ui .wb-feature .wb-feature-tools { color: #8a87a2; background: #f1f0f5; }
.workbench-ui .wb-feature > button { flex-shrink: 0; font-size: 11px; min-height: 32px; padding: 0 9px; }
.workbench-ui .wb-feature > button[id^="open"] { width: 32px; padding: 0; }
.workbench-ui .editor-panel .activity-control-row button { width: auto; min-width: 0; padding: 0 9px; }
.workbench-ui .editor-panel .activity-control-row button[id^="open"] { width: 32px; padding: 0; }
.workbench-ui .wb-feature input[type="checkbox"], .workbench-ui .config-master-switch input[type="checkbox"] { appearance: none; width: 31px; height: 18px; min-height: 18px; background: #d7e0da; border: 0; border-radius: 20px; position: relative; cursor: pointer; flex-shrink: 0; margin: 0; }
.workbench-ui .wb-feature input[type="checkbox"]::after, .workbench-ui .config-master-switch input[type="checkbox"]::after { content: ""; position: absolute; width: 12px; height: 12px; top: 3px; left: 3px; background: #fff; border-radius: 50%; transition: transform .15s; }
.workbench-ui .wb-feature input[type="checkbox"]:checked, .workbench-ui .config-master-switch input[type="checkbox"]:checked { background: #4d916e; }
.workbench-ui .wb-feature input[type="checkbox"]:checked::after, .workbench-ui .config-master-switch input[type="checkbox"]:checked::after { transform: translateX(13px); }
.workbench-ui .wb-feature.wb-highlight { border-color: #448b67; outline: 3px solid #cfe4d6; outline-offset: 2px; }
.wb-commandbar { position: sticky; top: 0; z-index: 20; background: var(--bg); display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 0 23px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.wb-command-account { display: flex; align-items: center; gap: 13px; font-size: 12px; min-width: 0; }
#wbCommandLabel { font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
#wbCommandStatus { font-size: 11px; color: var(--muted); white-space: nowrap; }
.wb-command-actions { display: flex; gap: 10px; }
.wb-command-actions button { min-height: 36px; font-size: 12px; padding: 0 14px; }
.wb-empty { text-align: center; padding: 35px 15px; color: var(--muted); font-size: 12px; }
.wb-empty > span { display: block; margin-bottom: 15px; }
.wb-empty h2 { font-size: 16px; font-weight: 500; color: var(--text); }
.wb-empty button { margin-top: 12px; }
.wb-account-table { border-top: 1px solid var(--line); background: #fff; }
.wb-account-table-head, .wb-account-row { display: grid; grid-template-columns: minmax(150px, 1.4fr) minmax(140px, 1.2fr) minmax(90px, .8fr) minmax(110px, .9fr) 85px; gap: 15px; align-items: center; padding: 17px 18px; }
.wb-account-table-head { padding-top: 11px; padding-bottom: 11px; background: #f0f4f1; font-size: 12px; color: var(--muted); }
.wb-account-row { border-bottom: 1px solid var(--line); font-size: 12px; min-height: 85px; }
.wb-account-row.selected { background: #f9fcfa; }
.wb-account-row > span:not(.wb-account-name):not(.wb-pill) { font-size: 12px; color: var(--muted); }
.wb-account-character { min-width: 0; overflow-wrap: anywhere; }
.wb-account-character b { display: block; font-weight: 600; color: var(--text); }
.wb-account-character small { display: block; margin-top: 4px; font-size: 11px; }
#wbLogAccount { width: auto; min-width: 150px; max-width: 260px; }
.wb-account-name { display: flex; align-items: center; gap: 12px; min-width: 0; }
.wb-account-name b { font-weight: 600; display: block; color: var(--text); overflow-wrap: anywhere; }
.wb-account-name small { display: block; margin-top: 4px; color: var(--muted-2); font-size: 11px; }
.wb-account-avatar { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex-shrink: 0; background: #e3eee5; color: #266343; border-radius: 6px; font-size: 16px; }
.wb-account-avatar.tone-1 { background: #e5edf5; color: #375a8d; }
.wb-account-avatar.tone-2 { background: #f1ece0; color: #805b0a; }
.wb-account-row button { font-size: 12px; border: 0; color: #276647; background: transparent; padding: 0; }
.wb-account-edit { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
#wbAccountEditFields { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; }
#wbAccountEditFields label { max-width: 380px; width: 100%; color: var(--muted); font-size: 12px; }
#wbAccountEditFields input { width: 100%; margin-top: 8px; }
#wbAccountEditFields button { margin-bottom: 0; background: #fff; color: #9c3444; border: 1px solid #e9d6db; font-size: 12px; }
.wb-log-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 20px; }
.wb-log-toolbar > div:empty { display: none; }
.wb-log-filters { display: flex; align-items: center; gap: 17px; min-width: 0; }
.wb-field { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.wb-field select { font-size: 11px; min-height: 32px; padding: 0 7px; width: 110px; }
.wb-log-search { display: flex; align-items: center; gap: 7px; color: #9baa9e; }
.wb-log-search input { min-height: 32px !important; font-size: 11px; max-width: 220px; width: 100%; }
.wb-log-search svg { width: 15px; height: 15px; }
.wb-log-actions { display: flex; gap: 8px; }
.wb-log-actions button { width: 32px; min-height: 32px; padding: 0; }
.wb-log-columns, .wb-log-row { display: grid; grid-template-columns: 70px 130px 58px 50px minmax(0, 1fr); gap: 15px; align-items: start; padding: 13px 15px; }
.wb-log-columns { background: #eaf0eb; color: var(--muted); font-size: 12px; border-bottom: 1px solid #dce5de; }
.workbench-ui #logBox { height: calc(100dvh - 338px); min-height: 320px; border: 0; border-bottom: 1px solid #dfe7e1; background: #fff; border-radius: 0; overflow-y: auto; padding: 0; color: var(--text); font: 12px/1.75 "Segoe UI", "Microsoft YaHei", sans-serif; overscroll-behavior: contain; scrollbar-color: #c5d2c9 transparent; scrollbar-width: thin; }
.wb-log-row { min-height: 48px; border-bottom: 1px solid #edf1ed; }
.wb-log-row:hover { background: #fafcfb; }
.wb-log-row time { color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.wb-log-row time small { display: block; font-size: 10px; color: var(--muted-2); }
.wb-log-account { color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.wb-log-feature { color: var(--muted); font-size: 11px; }
.wb-log-level { font-size: 10px; width: fit-content; padding: 0 6px; min-height: 20px; display: inline-flex; align-items: center; border-radius: 4px; background: #edf4ee; color: #266343; }
.wb-log-level.wait { background: #edf1f8; color: #375a8d; }
.wb-log-level.warn { background: #f9f2e6; color: #805b0a; }
.wb-log-level.error { background: #f9ebee; color: #9c3444; }
.wb-log-message { white-space: pre-wrap; overflow-wrap: anywhere; min-width: 0; }
.wb-log-row.error .wb-log-message { color: #9c3444; }
.wb-logs-mode .wb-main { height: 100dvh; display: flex; flex-direction: column; }
.wb-logs-mode .wb-topbar, .wb-logs-mode .wb-account-context { flex-shrink: 0; }
.wb-logs-mode .wb-content { width: 100%; flex: 1; min-height: 0; display: flex; flex-direction: column; }
.wb-logs-mode .wb-page-heading { flex-shrink: 0; }
.wb-logs-mode #wbLogsPage, .wb-logs-mode .logs-panel { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.wb-logs-mode .wb-log-toolbar, .wb-logs-mode .wb-log-columns, .wb-logs-mode .wb-log-footer { flex-shrink: 0; }
.workbench-ui.wb-logs-mode #logBox { flex: 1; height: auto; min-height: 0; font-size: 13px; }
.wb-log-footer { display: flex; align-items: center; gap: 18px; padding-top: 13px; font-size: 11px; color: var(--muted); }
.wb-log-footer button { min-height: 30px; padding: 0 10px; font-size: 11px; color: var(--muted); }
.wb-log-footer button svg { width: 14px; height: 14px; }
.wb-latest { margin-left: auto; border-color: transparent; background: transparent; }
.wb-latest.has-new { background: #e3f0e8; border-color: #bdd8c5; color: #266343; }
.wb-log-expanded #wbLogsPage { position: fixed; z-index: 70; inset: 14px; background: #f6f9f7; padding: 22px; box-shadow: 0 0 0 100vmax #192c2280; }
.wb-log-expanded #logBox { height: calc(100dvh - 173px); }
.wb-mobile-nav { display: none; }
.wb-toasts { position: fixed; z-index: 150; right: 25px; bottom: 25px; display: grid; gap: 8px; max-width: min(400px, calc(100vw - 40px)); }
.wb-toast { background: #fff; border: 1px solid #cee1d4; color: #47765a; box-shadow: 0 8px 24px #344e3615; border-radius: 8px; padding: 14px 18px; display: flex; gap: 10px; align-items: center; font-size: 12px; overflow-wrap: anywhere; }
.wb-toast.bad { border-color: #ecd0d5; color: #9c3444; }
.workbench-ui .modal { background: #202e2980; padding: 20px; z-index: 100; }
.workbench-ui .modal-card { border-radius: 8px; background: #fff; max-height: calc(100dvh - 40px); overflow-y: auto; box-shadow: 0 20px 70px #18332530; border: 1px solid #dde8e0; padding: 25px; }
.workbench-ui .modal-head { padding-bottom: 17px; border-bottom: 1px solid #edf2ee; margin-bottom: 20px; }
.workbench-ui .modal-head h2 { font-size: 18px; font-weight: 600; color: var(--heading); }
.workbench-ui .modal-head .icon-btn { width: 30px; height: 30px; min-height: 30px; padding: 0; border: 0; background: #f3f7f4; }
.workbench-ui .modal-card .form-grid { gap: 15px; }
.workbench-ui .modal-card label { font-size: 12px; color: var(--muted); }
.workbench-ui .modal-card h3 { font-size: 13px; }
.workbench-ui .modal-card input, .workbench-ui .modal-card select { font-size: 12px; }
.workbench-ui .modal-card .button-row { flex-wrap: wrap; gap: 10px; padding-top: 12px; }
.workbench-ui .modal-card .button-row button { font-size: 12px; white-space: normal; }
.workbench-ui #gatherSettingsModal .resource-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 18px 0 10px; }
.workbench-ui #gatherSettingsModal .resource-grid label { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 9px; padding: 12px 6px; border: 1px solid var(--line); border-radius: 6px; color: var(--text); cursor: pointer; }
.workbench-ui #gatherSettingsModal .resource-grid label:has(:checked) { background: #edf5ef; border-color: #a8c9b6; }
.workbench-ui #gatherSettingsModal .resource-grid input { width: 18px; height: 18px; min-height: 18px; flex: 0 0 18px; margin: 0; }
.wb-activity-input { display: grid; gap: 8px; max-width: 240px; }
.wb-activity-state { border-top: 1px solid var(--line); margin: 22px 0 8px; padding: 18px 0 8px; font-size: 12px; color: var(--muted); }
.wb-activity-state dl { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin: 0; }
.wb-activity-state dt { font-size: 11px; color: var(--muted); margin-bottom: 5px; }
.wb-activity-state dd { margin: 0; font-size: 14px; color: var(--heading); overflow-wrap: anywhere; }
.wb-activity-state p { margin: 14px 0 0; line-height: 1.8; overflow-wrap: anywhere; }
.workbench-ui .tool-section, .workbench-ui .tool-result-box { border-radius: 0; box-shadow: none; border-color: #e7eee9; }
.workbench-ui .login-view { min-height: 100dvh; background: #f3f7f4; padding: 25px; grid-template-columns: minmax(0, 1fr); }
.workbench-ui .login-box { width: 390px; max-width: 100%; border: 1px solid #dfe9e2; border-radius: 8px; background: white; padding: 32px; box-shadow: 0 12px 50px #2f4b3410; }
.wb-login-brand { color: var(--heading); font-size: 22px; font-weight: 600; margin-bottom: 27px; }
.workbench-ui .login-title { font-size: 17px; color: var(--muted); font-weight: 500; }
.workbench-ui #loginModeText { display: none; }
.workbench-ui .login-pane input { width: 100%; margin-bottom: 11px; }
.workbench-ui .login-tabs { gap: 10px; margin: 20px 0; }
.workbench-ui .login-tabs .chip { border-radius: 6px; background: #f8faf8; }
.workbench-ui .login-tabs .chip.active { background: #eaf4ed; color: #266343; border-color: #c5dfcd; }
.wb-preview-link { display: block; text-align: center; margin-top: 23px; color: #276647; font-size: 12px; text-decoration: none; }
@media (min-width: 1600px) {
  .wb-content { padding-left: 48px; padding-right: 48px; }
  .wb-overview-columns { gap: 48px; }
}
@media (max-width: 1200px) {
  .wb-shell { grid-template-columns: 194px minmax(0, 1fr); }
  .wb-sidebar { width: 194px; padding-left: 13px; padding-right: 13px; }
  .wb-topbar { gap: 18px; padding: 0 25px; }
  .wb-content { padding-left: 25px; padding-right: 25px; }
  .wb-account-context { padding-left: 25px; padding-right: 25px; }
  .wb-metric { padding-left: 15px; padding-right: 15px; }
  .wb-overview-columns { grid-template-columns: minmax(0, 1.4fr) minmax(225px, 1fr); gap: 22px; }
  .wb-recent-section { padding-left: 20px; }
  .wb-task-header, .wb-task-row { grid-template-columns: minmax(95px, 1fr) 65px minmax(0, 1fr); gap: 10px; }
  .workbench-ui .wb-feature { gap: 9px; padding: 15px 12px; }
  .workbench-ui .activity-control-row { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .wb-shell { display: block; }
  .wb-sidebar { display: none; }
  .wb-topbar { padding: 0 22px; height: 62px; }
  .wb-breadcrumb > span, .wb-breadcrumb > svg { display: none; }
  .wb-global-search { max-width: 300px; }
  .wb-account-context { padding: 10px 22px; }
  .wb-content { padding: 27px 22px 100px; }
  .wb-mobile-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: fixed; inset: auto 0 0; z-index: 50; min-height: 66px; padding: 7px 10px calc(7px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #e1ebe4; }
  .wb-mobile-nav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 48px; border: 0; background: transparent; color: var(--muted); font-size: 10px; }
  .wb-mobile-nav button svg { width: 20px; height: 20px; }
  .wb-mobile-nav button.active { color: #266343; background: #edf5ef; border-radius: 6px; }
  .wb-toasts { bottom: 90px; }
  .wb-commandbar { padding-bottom: 18px; }
  .wb-overview-columns { grid-template-columns: minmax(0, 1fr) minmax(225px, .85fr); }
  .workbench-ui #logBox { height: calc(100dvh - 408px); }
  .wb-logs-mode .wb-main { height: calc(100dvh - 66px - env(safe-area-inset-bottom)); }
  .wb-logs-mode .wb-content { padding-bottom: 18px; }
  .wb-log-columns, .wb-log-row { grid-template-columns: 65px 105px 50px 45px minmax(0, 1fr); gap: 10px; }
  .wb-log-expanded { overflow: hidden; }
  .wb-log-expanded #logBox { height: calc(100dvh - 180px); }
}
@media (max-width: 650px) {
  .wb-topbar { gap: 12px; padding: 0 17px; }
  .wb-breadcrumb { display: none; }
  .wb-global-search { margin-left: 0; flex: 1; min-width: 0; max-width: none; }
  .wb-global-search input { font-size: 12px; }
  #wbTopActions #openRenewBtn { display: none; }
  #wbTopActions #openAddAccountBtn { width: 33px; padding: 0; }
  #wbTopActions #openAddAccountBtn span { display: none; }
  #wbTopActions .top-actions { gap: 7px; }
  .wb-account-context { padding: 9px 17px; gap: 7px; min-height: 61px; }
  .wb-account-picker { gap: 9px; flex-wrap: wrap; }
  .wb-account-picker { gap: 6px; flex-wrap: nowrap; }
  .wb-account-picker label { display: none; }
  #wbAccountSelect { width: 139px; font-size: 12px; }
  .wb-context-right { font-size: 10px; gap: 8px; }
  #wbSyncState { display: none; }
  .wb-context-right:has(.wb-preview-badge) #wbSavedState:not(.dirty) { display: none; }
  .wb-context-right:has(#wbSavedState.dirty) .wb-preview-badge { display: none; }
  .wb-account-picker::after { content: ""; }
  .wb-content { padding: 23px 17px 95px; }
  .wb-page-heading { margin-bottom: 24px; align-items: center; }
  #wbPageTitle { font-size: 23px; }
  .wb-eyebrow { font-size: 9px; }
  .wb-heading-meta { font-size: 10px; max-width: 115px; text-align: right; }
  .wb-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 0; padding-bottom: 25px; }
  .wb-metric { padding: 0 17px; }
  .wb-metric:nth-child(odd) { padding-left: 0; }
  .wb-metric:nth-child(even) { border-right: 0; padding-right: 0; }
  .wb-metric-label { font-size: 11px; }
  .wb-metric strong { font-size: 29px; }
  .wb-metric-icon { width: 32px; height: 32px; }
  .wb-metric small { font-size: 10px; }
  .wb-current-run { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; padding: 20px 0; }
  .wb-run-symbol { width: 42px; height: 45px; align-self: start; }
  .wb-current-run h2 { font-size: 15px; margin-bottom: 12px; }
  .wb-run-meta { gap: 10px 15px; font-size: 10px; }
  .wb-current-run > button { grid-column: 2; width: fit-content; font-size: 10px; min-height: 30px; }
  .wb-overview-columns { display: block; }
  .wb-recent-section { border-left: 0; padding-left: 0; margin-top: 28px; border-top: 1px solid var(--line); padding-top: 22px; }
  .wb-task-header, .wb-task-row { grid-template-columns: minmax(90px, .9fr) 62px minmax(0, 1fr); gap: 10px; padding-left: 9px; padding-right: 9px; }
  .wb-task-row { font-size: 11px; }
  .wb-task-row > span:first-child { gap: 7px; }
  .wb-task-row > span:last-child { font-size: 10px; }
  .wb-task-row svg { width: 14px; height: 14px; }
  .wb-pill { font-size: 10px; padding-left: 6px; padding-right: 6px; }
  .wb-timeline-row { padding-bottom: 16px; }
  .wb-timeline-row p { font-size: 11px; }
  .wb-role-info { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; }
  .wb-role-summary { font-size: 9px; }
  .wb-commandbar { flex-direction: column; align-items: stretch; gap: 13px; }
  .wb-command-account { justify-content: space-between; }
  .wb-command-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .wb-command-actions button { padding: 0 6px; font-size: 11px; min-height: 36px; gap: 5px; }
  .wb-command-actions button svg { width: 15px; height: 15px; }
  .workbench-ui .settings-page { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .workbench-ui .wb-feature { min-height: 88px; gap: 11px; padding: 15px 12px; }
  .workbench-ui .wb-feature b { font-size: 13px; }
  .workbench-ui .wb-feature small { font-size: 11px; }
  .workbench-ui .wb-feature > button { font-size: 10px; padding: 0 7px; }
  .workbench-ui .wb-feature > .wb-feature-icon { flex-basis: 30px; width: 30px; height: 32px; }
  .workbench-ui .wb-feature > button[id^="open"], .workbench-ui .editor-panel .activity-control-row button[id^="open"] { width: 36px; min-height: 38px; }
  .workbench-ui .wb-route-group > .wb-subfeature { display: grid; grid-template-columns: 30px minmax(0, 1fr) 36px; gap: 10px; }
  .workbench-ui .wb-subfeature > .wb-feature-icon { grid-column: 1; grid-row: 1; }
  .workbench-ui .wb-subfeature > span:not(.wb-feature-icon) { grid-column: 2; grid-row: 1; }
  .workbench-ui .wb-subfeature > button[id^="open"] { grid-column: 3; grid-row: 1; }
  .workbench-ui .editor-panel .wb-subfeature > .start-action, .workbench-ui .editor-panel .wb-subfeature > .stop-action { grid-column: 2 / 4; grid-row: 2; justify-self: end; width: fit-content; }
  .workbench-ui .settings-tabs { margin-bottom: 15px; }
  .workbench-ui .settings-tabs .settings-tab { font-size: 12px; }
  .wb-log-toolbar { flex-wrap: wrap; gap: 12px; padding-bottom: 15px; }
  .wb-log-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; width: 100%; }
  .wb-field { font-size: 10px; }
  #wbLogAccount { width: 100%; min-width: 0; max-width: none; }
  .wb-field select { flex: 1; min-width: 0; width: 100%; font-size: 10px; }
  .wb-log-search { grid-column: 1 / -1; }
  .wb-log-search input { flex: 1; max-width: none; min-height: 34px !important; }
  .wb-log-actions { margin-left: auto; }
  .wb-log-columns { display: none; }
  .workbench-ui #logBox { height: calc(100dvh - 423px); min-height: 275px; border-top: 1px solid var(--line); }
  .wb-log-row { display: grid; grid-template-columns: 60px minmax(0, 1fr) 47px 38px; gap: 8px; padding: 12px; min-height: 68px; }
  .wb-log-message { grid-column: 1 / -1; font-size: 13px; line-height: 1.85; padding: 3px 0 0; }
  .wb-log-account { font-size: 10px; }
  .wb-log-feature { font-size: 10px; }
  .wb-log-level { font-size: 9px; }
  .wb-log-footer { gap: 9px; }
  .wb-log-footer button { padding: 0 6px; font-size: 10px; gap: 5px; }
  .wb-logs-mode .wb-page-heading { margin-bottom: 18px; }
  .wb-log-expanded #wbLogsPage { inset: 6px; padding: 16px 10px; }
  .wb-log-expanded #logBox { height: calc(100dvh - 224px); min-height: 200px; }
  .wb-account-table-head { display: none; }
  .wb-account-row { grid-template-columns: minmax(0, 1fr) 84px; gap: 13px; padding: 18px 12px; }
  .wb-account-name { grid-column: 1; grid-row: 1; }
  .wb-account-character { grid-column: 1; grid-row: 2; }
  .wb-account-row > .wb-pill { grid-column: 2; grid-row: 1; }
  .wb-account-row > span:nth-child(4) { grid-column: 1; grid-row: 3; font-size: 10px; }
  .wb-account-row button { grid-column: 2; grid-row: 3; }
  .wb-account-name b { font-size: 11px; }
  #wbAccountEditFields { flex-direction: column; align-items: stretch; gap: 20px; }
  #wbAccountEditFields button { width: fit-content; }
  .workbench-ui .modal { padding: 10px; }
  .workbench-ui .modal-card { padding: 19px; max-height: calc(100dvh - 20px); width: 100%; }
  .workbench-ui .form-grid, .workbench-ui .form-grid.two, .workbench-ui .form-grid.three { grid-template-columns: minmax(0, 1fr); }
  .workbench-ui .modal-head h2 { font-size: 16px; }
  .workbench-ui .resource-options { flex-wrap: wrap; }
  .workbench-ui .pet-wash-attr-row { grid-template-columns: auto minmax(0, 1fr); }
  .workbench-ui .login-box { padding: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  .workbench-ui *, .workbench-ui *::before, .workbench-ui *::after { transition: none !important; scroll-behavior: auto !important; }
}
.workbench-ui .wb-access-note{color:#9c3143;display:block;margin-top:5px;font-size:12px}.workbench-ui .wb-feature-unavailable{background:#f4f5f6}.workbench-ui .wb-registration-gift{font-size:13px;color:#155c45;line-height:1.7}.workbench-ui .wb-registration-gift:empty{display:none}.workbench-ui .wb-benefit-history{border-top:1px solid #dce3e7;margin-top:26px;padding-top:20px}.workbench-ui .wb-benefit-list{display:grid;gap:0}.workbench-ui .wb-benefit-list>div{display:flex;flex-wrap:wrap;align-items:center;gap:15px;padding:12px 0;border-bottom:1px solid #e6ecef;font-size:12px}.workbench-ui .wb-benefit-list span,.workbench-ui .wb-benefit-list small{color:#54636d}.workbench-ui .wb-method-tabs{display:flex;gap:0;border-bottom:1px solid #dce3e7;margin-bottom:22px}.workbench-ui .wb-method-tabs button{border:0;border-radius:0;background:transparent;flex:1;color:#54636d;padding:12px 4px;font-size:13px;border-bottom:2px solid transparent}.workbench-ui .wb-method-tabs button.active{border-bottom-color:#12644c;color:#12644c}.workbench-ui #addAccountModal .wb-add-methods{display:block}.workbench-ui #addAccountModal .add-card{border:0;padding:0;background:transparent}.workbench-ui #addAccountModal .add-card h3{display:none}.workbench-ui .wb-qr-stage{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:285px;padding:18px 0;color:#354950}.workbench-ui .wb-qr-stage>svg{width:80px;height:80px;color:#62757e}.workbench-ui .wb-qr-stage img{width:210px;height:210px;object-fit:contain}.workbench-ui .wb-qr-stage [hidden]{display:none}.workbench-ui .wb-qr-stage small{color:#54636d}
.wb-bear-plan-status { margin: 18px 0; padding: 16px 0; border-top: 1px solid #cbd5dc; border-bottom: 1px solid #cbd5dc; }
.wb-bear-plan-status > div:first-child { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: #173c33; }
.wb-bear-plan-status > div:first-child span { color: #425462; font-size: 13px; }
.wb-bear-plan-status p { margin: 10px 0; color: #354754; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.queue-bear-leader { color: #173c33; }

.wb-operation-reason{display:block;color:var(--muted,#4c5e55);font-size:12px;flex-basis:100%;text-align:right}.wb-action-reason{display:block;margin-top:4px;color:var(--muted,#4c5e55);font-size:12px;line-height:1.5}
