.workspace-scheme-dialog[data-scheme-redesign] { padding: 12px; }
.workspace-scheme-dialog[data-scheme-redesign] .workspace-scheme-panel { width: min(820px, calc(100vw - 24px)); height: min(780px, calc(100dvh - 24px)); max-height: calc(100dvh - 24px); display: flex; flex-direction: column; font-family: var(--font-ui); font-size: 16px; font-weight: 400; border-radius: 14px; }
.workspace-scheme-dialog[data-scheme-redesign] .workspace-scheme-panel[data-sr-view="overview"] { width: min(640px, calc(100vw - 24px)); height: auto; }
.workspace-scheme-dialog[data-scheme-redesign] .workspace-scheme-panel[data-sr-view="compact"] { height: auto; }
.workspace-scheme-dialog[data-scheme-redesign] .workspace-scheme-panel:focus-visible { outline: none; }
[data-scheme-redesign] svg { width: 18px; height: 18px; flex: none; }
[data-scheme-redesign] button, [data-scheme-redesign] input, [data-scheme-redesign] select, [data-scheme-redesign] textarea { font: inherit; }
[data-scheme-redesign] button { cursor: pointer; }
[data-scheme-redesign] button:disabled { cursor: not-allowed; opacity: .45; }
[data-scheme-redesign] [hidden] { display: none !important; }
[data-scheme-redesign] input, [data-scheme-redesign] textarea, [data-scheme-redesign] code, [data-scheme-redesign] p { user-select: text; -webkit-user-select: text; }
[data-scheme-redesign] .sr-header { display: flex; justify-content: space-between; gap: 20px; padding: 24px 20px 10px; flex: none; }
[data-scheme-redesign] .sr-title-line { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
[data-scheme-redesign] .sr-header h2 { margin: 0; font-size: 30px; font-weight: 600; line-height: 1.2; letter-spacing: -.025em; }
[data-scheme-redesign] .sr-header p { margin: 8px 0 0; font-size: 15px; color: #858585; line-height: 1.6; }
[data-scheme-redesign] .sr-close { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #dedede; border-radius: 8px; background: #fff; color: #525252; flex: none; }
[data-scheme-redesign] .sr-tabs { display: flex; padding: 0 20px; gap: 26px; border-bottom: 1px solid #e5e5e5; flex: none; }
[data-scheme-redesign] .sr-tabs .sr-button { position: relative; border: 0; border-radius: 0; padding: 0 2px 10px; min-height: 44px; font-size: 17px; font-weight: 500; color: #737373; background: none; }
[data-scheme-redesign] .sr-tabs .sr-button svg { width: 20px; height: 20px; }
[data-scheme-redesign] .sr-tabs.sr-tabs-flat { gap: 16px; overflow-x: auto; overflow-y: hidden; }
[data-scheme-redesign] .workspace-scheme-panel:not([data-sr-view="overview"]) .sr-tabs-flat { gap: 24px; }
[data-scheme-redesign] .sr-tabs-flat .sr-button { padding-left: 0; padding-right: 0; flex-shrink: 0; }
[data-scheme-redesign] .sr-tabs .is-active { color: #2563eb; }
[data-scheme-redesign] .sr-tabs .is-active:after { content: ''; position: absolute; height: 2px; left: 0; right: 0; bottom: -1px; background: #2563eb; }
[data-scheme-redesign] .sr-tabs-flat .is-active:after { left: -8px; right: -8px; bottom: 0; }
[data-scheme-redesign] .sr-body { min-height: 0; flex: 1; overflow-y: auto; padding: 20px; scrollbar-width: thin; scrollbar-color: #d4d4d4 transparent; }
[data-scheme-redesign] h3, [data-scheme-redesign] h4, [data-scheme-redesign] p { margin: 0; }
[data-scheme-redesign] h3 { font-size: 18px; line-height: 1.5; font-weight: 600; }
[data-scheme-redesign] h4 { font-size: 17px; line-height: 1.6; font-weight: 600; }
[data-scheme-redesign] .sr-section-head, [data-scheme-redesign] .sr-detail-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
[data-scheme-redesign] .sr-home-head { margin-bottom: 0; }
[data-sr-follower] .workspace-toolbar-primary > :not([data-sr-follower-group]),
[data-sr-follower] [data-workspace-save],
[data-sr-follower] [data-new-workspace],
[data-sr-follower] [data-workspace-folder-list],
[data-sr-follower] [data-workspace-new-folder] { display: none; }
[data-sr-follower] :is([data-sr-follower-group], [data-sr-follower-status]) { cursor: default; }
[data-sr-follower] :is([data-sr-follower-group], [data-sr-follower-status]) svg { width: 16px; height: 16px; }
[data-scheme-redesign] .sr-home-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-left: auto; }
[data-scheme-redesign] .sr-home-actions :is([data-sr-action="available-toggle"], .sr-follower-exit) { min-width: 152px; }
[data-scheme-redesign] .sr-follower-exit:disabled { opacity: 1; }
[data-scheme-redesign] .sr-usage-popover { position: fixed; z-index: 3; width: min(280px, calc(100vw - 24px)); min-height: 112px; padding: 16px; border: 1px solid #dedede; border-radius: 8px; background: #fff; color: #404040; box-shadow: 0 8px 24px #00000012; font-size: 15px; line-height: 1.7; white-space: pre-wrap; pointer-events: none; }
[data-scheme-redesign] .sr-home-head ~ .sr-context, [data-scheme-redesign] .sr-home-head ~ .sr-plan-list { margin-top: 18px; }
[data-scheme-redesign] .sr-available-groups { margin-top: 20px; }
[data-scheme-redesign] .sr-available-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
[data-scheme-redesign] .sr-available-head > span { color: #737373; font-size: 14px; }
[data-scheme-redesign] .sr-available-hint { font: inherit; color: inherit; }
[data-scheme-redesign] .sr-available-head:has(.sr-available-hint) > h4 { flex: 1; min-width: 0; }
[data-scheme-redesign] .sr-available-head:has(.sr-available-hint) > span { flex: none; white-space: nowrap; }
[data-scheme-redesign] .sr-available-list { border: 1px solid #dedede; border-radius: 8px; overflow: hidden; }
[data-scheme-redesign] .sr-linked-list { list-style: none; margin: 16px 0 0; padding: 0; }
[data-scheme-redesign] .sr-linked-list > li { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; padding: 4px 12px; color: #262626; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
[data-scheme-redesign] .sr-linked-list > li + li { border-top: 1px solid #ededed; }
[data-scheme-redesign] .sr-button.sr-linked-remove { flex: none; min-height: 34px; padding: 4px 8px; font-size: 14px; }
[data-scheme-redesign] .sr-available-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; min-height: 56px; border-bottom: 1px solid #ededed; cursor: pointer; }
[data-scheme-redesign] .sr-available-row:last-child { border-bottom: 0; }
[data-scheme-redesign] .sr-available-row > svg { width: 20px; height: 20px; color: #737373; }
[data-scheme-redesign] .sr-available-row > strong { flex: 1; min-width: 0; font-size: 16px; font-weight: 500; line-height: 1.6; overflow-wrap: anywhere; }
[data-scheme-redesign] .sr-available-row:has(input:checked) { background: #f8faff; }
[data-scheme-redesign] .sr-section-head p, [data-scheme-redesign] .sr-detail-head p { margin-top: 5px; font-size: 15px; color: #737373; line-height: 1.6; }
[data-scheme-redesign] .sr-compact { margin-top: 24px; margin-bottom: 12px; }
[data-scheme-redesign] .sr-button { min-height: 44px; padding: 9px 14px; display: inline-flex; justify-content: center; align-items: center; gap: 8px; border: 1px solid #d4d4d4; border-radius: 7px; background: #fff; color: #404040; font-size: 16px; white-space: nowrap; line-height: 1.5; }
[data-scheme-redesign] .sr-button:hover:not(:disabled), [data-scheme-redesign] .sr-close:hover { border-color: #a3a3a3; background: #fafafa; }
[data-scheme-redesign] .sr-button.sr-linked-remove:hover:not(:disabled) { border-color: transparent; background: transparent; }
[data-scheme-redesign] .sr-tabs .sr-button:hover:not(:disabled) { background: transparent; }
[data-scheme-redesign] .sr-button.is-primary { color: #fff; border-color: #2563eb; background: #2563eb; }
[data-scheme-redesign] .sr-button.is-primary:hover:not(:disabled) { background: #1d4ed8; border-color: #1d4ed8; }
[data-scheme-redesign] .sr-button.is-usage { color: #fff; border-color: #d1362b; background: #d1362b; }
[data-scheme-redesign] .sr-button.is-usage:hover:not(:disabled) { border-color: #b92d24; background: #b92d24; }
[data-scheme-redesign] .sr-button.is-text { border-color: transparent; padding-left: 4px; padding-right: 4px; color: #525252; background: transparent; }
[data-scheme-redesign] .sr-button.is-danger { color: #d1362b; }
[data-scheme-redesign] .sr-button.is-destructive { color: #fff; border-color: #d1362b; background: #d1362b; }
[data-scheme-redesign] :is(button,input,textarea,select):focus-visible { outline: 2px solid #93b4ff; outline-offset: 2px; }
[data-scheme-redesign] .sr-plan-list { display: grid; gap: 12px; }
[data-scheme-redesign] .sr-plan-card { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 14px; padding: 18px; border: 1px solid #dedede; border-radius: 10px; }
[data-scheme-redesign] .sr-plan-mark, [data-scheme-redesign] .sr-row-icon { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #e5e5e5; border-radius: 9px; color: #737373; background: #fafafa; flex: none; }
[data-scheme-redesign] .sr-plan-mark { width: 42px; height: 42px; }
[data-scheme-redesign] .sr-plan-main { flex: 1 1 180px; min-width: 0; }
[data-scheme-redesign] .sr-plan-main h4 { overflow-wrap: anywhere; }
[data-scheme-redesign] .sr-plan-main p { font-size: 14px; color: #737373; margin-top: 5px; }
[data-scheme-redesign] .sr-plan-main p > span { padding: 0 5px; }
[data-scheme-redesign] .sr-version { margin-left: 8px; font-size: 14px; color: #737373; font-weight: 400; }
[data-scheme-redesign] .sr-plan-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
[data-scheme-redesign] .sr-plan-chips > span { padding: 3px 8px; border: 1px solid #ededed; border-radius: 4px; color: #737373; background: #fafafa; font-size: 13px; }
[data-scheme-redesign] .sr-plan-actions { display: flex; align-items: center; gap: 10px; }
[data-scheme-redesign] .sr-note { display: flex; gap: 10px; align-items: flex-start; background: #fafafa; border: 1px solid #ededed; border-radius: 8px; padding: 13px 14px; margin-top: 20px; color: #737373; }
[data-scheme-redesign] .sr-note svg { width: 16px; height: 16px; margin-top: 3px; }
[data-scheme-redesign] .sr-note p, [data-scheme-redesign] .sr-helper { font-size: 14px; line-height: 1.75; color: #737373; }
[data-scheme-redesign] .sr-helper { margin-top: 15px; }
[data-scheme-redesign] .sr-context { display: flex; align-items: center; gap: 9px; padding: 12px 14px; margin-bottom: 15px; border: 1px solid #dbe6ff; border-radius: 8px; background: #f8faff; font-size: 15px; color: #525252; }
[data-scheme-redesign] .sr-context > span { flex: 1; }
[data-scheme-redesign] .sr-context svg { color: #2563eb; }
[data-scheme-redesign] .sr-subtabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: #f7f7f7; border: 1px solid #ededed; border-radius: 8px; margin-bottom: 20px; }
[data-scheme-redesign] .sr-subtabs .sr-button { flex: 1; min-width: 90px; background: none; border-color: transparent; color: #737373; }
[data-scheme-redesign] .sr-subtabs .sr-button.is-active { background: #fff; color: #262626; border-color: #dedede; box-shadow: 0 1px 2px #00000005; }
[data-scheme-redesign] .sr-field { display: grid; gap: 9px; font-size: 15px; color: #525252; }
[data-scheme-redesign] .sr-field > span { font-weight: 500; }
[data-scheme-redesign] .sr-field :is(input,select,textarea) { width: 100%; min-width: 0; padding: 10px 12px; min-height: 44px; border: 1px solid #d4d4d4; border-radius: 7px; color: #262626; background: #fff; font-size: 16px; line-height: 1.5; outline: none; }
[data-scheme-redesign] .sr-field textarea { resize: vertical; min-height: 96px; }
[data-scheme-redesign] .sr-field :is(input,select,textarea):focus { border-color: #2563eb; box-shadow: 0 0 0 2px #2563eb0d; }
[data-scheme-redesign] input[type=checkbox], [data-scheme-redesign] input[type=radio] { accent-color: #2563eb; width: 16px; height: 16px; min-width: 16px; margin: 0; flex: none; cursor: pointer; }
[data-scheme-redesign] .sr-config-list { display: grid; gap: 12px; }
[data-scheme-redesign] .sr-config-card { border: 1px solid #dedede; border-radius: 8px; overflow: hidden; }
[data-scheme-redesign] .sr-config-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 14px; }
[data-scheme-redesign] .sr-config-head > label { display: flex; align-items: center; gap: 9px; font-size: 16px; }
[data-scheme-redesign] .sr-config-head strong { font-weight: 500; }
[data-scheme-redesign] .sr-config-head .sr-enabled { font-size: 14px; color: #737373; }
[data-scheme-redesign] .sr-config-fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 2px 14px 16px; }
[data-scheme-redesign] .sr-muted { color: #a3a3a3; font-size: 14px; }
[data-scheme-redesign] .sr-danger-row { margin-top: 20px; padding-top: 12px; border-top: 1px solid #ededed; }
[data-scheme-redesign] .sr-tag { display: inline-flex; align-items: center; font-size: 13px; line-height: 1.7; padding: 2px 7px; border-radius: 4px; color: #737373; background: #f5f5f5; white-space: nowrap; font-weight: 400; }
[data-scheme-redesign] .sr-tag-good { color: #428160; background: #f0f8f3; }
[data-scheme-redesign] .sr-tag-error { color: #c1372c; background: #fff2f0; }
[data-scheme-redesign] .sr-tag-wait { color: #916b2c; background: #fff8eb; }
[data-scheme-redesign] .sr-sample { color: #858585; font-weight: 400; font-size: 12px; border: 1px solid #e5e5e5; border-radius: 3px; padding: 0 4px; margin-left: 8px; }
[data-scheme-redesign] .sr-target-list, [data-scheme-redesign] .sr-group-list { display: grid; gap: 9px; }
[data-scheme-redesign] .sr-target { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid #dedede; border-radius: 8px; cursor: pointer; }
[data-scheme-redesign] .sr-target:has(input:checked) { border-color: #93b4ff; background: #f8faff; }
[data-scheme-redesign] .sr-target.is-disabled { color: #737373; cursor: default; background: #fafafa; }
[data-scheme-redesign] .sr-target > span:not(.sr-tag) { flex: 1; min-width: 0; }
[data-scheme-redesign] .sr-target strong, [data-scheme-redesign] .sr-group-row strong { display: block; font-size: 16px; font-weight: 500; overflow-wrap: anywhere; }
[data-scheme-redesign] .sr-target small, [data-scheme-redesign] .sr-grow > small, [data-scheme-redesign] .sr-shared-source small { display: block; margin-top: 5px; color: #737373; font-size: 14px; line-height: 1.6; }
[data-scheme-redesign] .sr-target .sr-sample, [data-scheme-redesign] .sr-group-row .sr-sample { display: inline; margin-top: 0; font-size: 12px; }
[data-scheme-redesign] .sr-group-row, [data-scheme-redesign] .sr-history-row, [data-scheme-redesign] .sr-share-row { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; padding: 14px 0; border-bottom: 1px solid #ededed; }
[data-scheme-redesign] .sr-group-row { padding: 14px; border: 1px solid #e5e5e5; border-radius: 8px; }
[data-scheme-redesign] .sr-grow { flex: 1; min-width: 120px; }
[data-scheme-redesign] .sr-history-row strong { font-size: 16px; font-weight: 500; }
[data-scheme-redesign] .sr-features { display: grid; border: 1px solid #e5e5e5; border-radius: 8px; overflow: hidden; }
[data-scheme-redesign] .sr-feature-item { display: flex; gap: 11px; align-items: center; padding: 13px 14px; border-bottom: 1px solid #ededed; font-size: 16px; }
[data-scheme-redesign] .sr-feature-item:last-child { border: 0; }
[data-scheme-redesign] .sr-feature-item svg { color: #737373; width: 15px; height: 15px; }
[data-scheme-redesign] .sr-feature-item small { margin-left: auto; color: #858585; font-size: 14px; }
[data-scheme-redesign] .sr-mode { display: grid; gap: 9px; }
[data-scheme-redesign] .sr-mode > label { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid #dedede; border-radius: 8px; font-size: 16px; cursor: pointer; }
[data-scheme-redesign] .sr-mode > label:has(input:checked) { border-color: #93b4ff; background: #f8faff; }
[data-scheme-redesign] .sr-mode small { display: block; color: #737373; font-size: 14px; margin-top: 4px; }
[data-scheme-redesign] .sr-quick-presets > label > span { font-size: 18px; }
[data-scheme-redesign] [data-sr-action="quick-confirm"] { min-inline-size: 76px; font-variant-numeric: tabular-nums; }
[data-scheme-redesign] .sr-copy-intro { text-align: center; padding: 12px 0 25px; }
[data-scheme-redesign] .sr-copy-intro > svg { width: 30px; height: 30px; color: #737373; margin-bottom: 12px; }
[data-scheme-redesign] .sr-copy-intro p { margin-top: 8px; color: #737373; font-size: 15px; line-height: 1.7; }
[data-scheme-redesign] .sr-code-input { display: flex; gap: 8px; flex-wrap: wrap; }
[data-scheme-redesign] .sr-code-input input { flex: 1 1 180px; width: 0; }
[data-scheme-redesign] .sr-code-input:has([data-sr-action="receive-preview"]) [data-sr-action="parse-code"] {
  min-inline-size: 94px;
  font-variant-numeric: tabular-nums;
}
[data-scheme-redesign] .sr-example { color: #737373; font-size: 14px; margin-top: 13px; }
[data-scheme-redesign] .sr-example .sr-button { font-size: 14px; min-height: 40px; }
[data-scheme-redesign] .sr-shared-source { display: flex; align-items: center; gap: 12px; border: 1px solid #dedede; border-radius: 8px; padding: 14px; }
[data-scheme-redesign] .sr-shared-source > div { flex: 1; }
[data-scheme-redesign] .sr-shared-source strong { font-size: 16px; font-weight: 500; }
[data-scheme-redesign] .sr-code-result { border: 1px solid #c7d7ff; border-radius: 8px; padding: 15px; margin-top: 18px; background: #f8faff; }
[data-scheme-redesign] .sr-code-result small { color: #737373; font-size: 14px; }
[data-scheme-redesign] .sr-code-result > div { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 9px; }
[data-scheme-redesign] code { font-family: var(--font-ui); font-variant-numeric: tabular-nums; font-size: 15px; overflow-wrap: anywhere; }
[data-scheme-redesign] .sr-code-result code { flex: 1; font-size: 19px; font-weight: 500; letter-spacing: .03em; }
[data-scheme-redesign] .sr-code-result p { color: #737373; margin-top: 10px; font-size: 14px; }
[data-scheme-redesign] .sr-share-code-row { display: flex; align-items: center; gap: 8px; }
[data-scheme-redesign] .sr-share-code-field { position: relative; flex: 1; min-width: 0; }
[data-scheme-redesign] .sr-share-code-field .sr-share-code { padding-right: 118px; }
[data-scheme-redesign] .sr-code-expiry { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: #737373; font-size: 16px; line-height: 1.5; white-space: nowrap; font-variant-numeric: tabular-nums; pointer-events: none; }
[data-scheme-redesign] .sr-code-expiry.is-expired { color: #d1362b; }
[data-scheme-redesign] .sr-share-code { display: block; flex: 1; width: 100%; min-width: 0; min-height: 46px; padding: 11px 14px; border: 1px solid #d4d4d4; border-radius: 7px; background: #fff; color: #404040; font-size: 16px; line-height: 1.5; font-variant-numeric: tabular-nums; }
[data-scheme-redesign] .sr-share-hint { max-width: 100%; margin-top: 8px; color: #737373; font-size: 16px; line-height: 1.75; white-space: nowrap; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; }
[data-scheme-redesign] .sr-share-hint:focus-visible { outline: 2px solid #93b4ff; outline-offset: 2px; }
[data-scheme-redesign] .sr-list-title { margin-top: 24px; }
[data-scheme-redesign] .sr-share-row strong { font-weight: 500; }
[data-scheme-redesign] .sr-review-summary { display: grid; gap: 6px; padding: 15px; border: 1px solid #dedede; border-radius: 8px; margin-bottom: 15px; }
[data-scheme-redesign] .sr-review-summary strong { font-size: 17px; font-weight: 500; }
[data-scheme-redesign] .sr-review-summary span { font-size: 14px; color: #737373; }
[data-scheme-redesign] .sr-differences { display: grid; gap: 12px; margin-top: 16px; }
[data-scheme-redesign] .sr-differences section { border: 1px solid #e5e5e5; border-radius: 8px; padding: 13px 15px; }
[data-scheme-redesign] .sr-differences h4 { margin-bottom: 8px; }
[data-scheme-redesign] .sr-differences section > div { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; gap: 12px; font-size: 15px; color: #525252; }
[data-scheme-redesign] .sr-differences b { font-size: 13px; font-weight: 400; padding: 1px 6px; border-radius: 3px; }
[data-scheme-redesign] .sr-differences .is-add { color: #428160; background: #f0f8f3; }
[data-scheme-redesign] .sr-differences .is-replace { color: #916b2c; background: #fff8eb; }
[data-scheme-redesign] .sr-differences .is-keep { color: #737373; background: #f5f5f5; }
[data-scheme-redesign] .sr-confirm-copy { padding: 18px; border: 1px solid #e5e5e5; border-radius: 8px; }
[data-scheme-redesign] .sr-confirm-copy strong { font-size: 17px; font-weight: 500; }
[data-scheme-redesign] .sr-confirm-copy p { margin-top: 10px; color: #737373; font-size: 16px; line-height: 1.75; }
[data-scheme-redesign] .sr-empty { color: #858585; text-align: center; padding: 35px 20px; font-size: 16px; }
[data-scheme-redesign] .sr-feedback { padding: 11px 14px; border: 1px solid #cce6d6; border-radius: 7px; background: #f5fbf7; color: #427b59; font-size: 15px; line-height: 1.6; margin: 0 0 16px; }
[data-scheme-redesign] .sr-feedback.is-error { background: #fff6f5; border-color: #f0c5bf; color: #bd392f; }
[data-scheme-redesign] .sr-footer { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 15px 20px; border-top: 1px solid #e5e5e5; flex: none; }
[data-scheme-redesign] .sr-footer > div:last-child { display: flex; justify-content: flex-end; gap: 9px; margin-left: auto; }
[data-scheme-redesign] .sr-save-note { font-size: 13px; color: #737373; }
[data-scheme-redesign] .sr-leave { position: absolute; inset: 0; z-index: 2; background: #ffffffdc; display: grid; align-items: center; justify-items: center; padding: 20px; }
[data-scheme-redesign] .sr-leave section { width: min(390px, 100%); padding: 24px; background: #fff; border: 1px solid #d4d4d4; border-radius: 12px; box-shadow: 0 12px 32px #00000012; }
[data-scheme-redesign] .sr-leave p { margin: 10px 0 20px; color: #737373; font-size: 16px; line-height: 1.75; }
[data-scheme-redesign] .sr-leave section > div { display: flex; gap: 10px; justify-content: flex-end; }
@media (min-width: 720px) {
  .workspace-scheme-dialog[data-scheme-redesign] { padding: 24px; }
  .workspace-scheme-dialog[data-scheme-redesign] .workspace-scheme-panel { width: min(820px, calc(100vw - 48px)); height: min(780px, calc(100dvh - 48px)); max-height: calc(100dvh - 48px); }
  .workspace-scheme-dialog[data-scheme-redesign] .workspace-scheme-panel[data-sr-view="overview"] { width: min(640px, calc(100vw - 48px)); }
  [data-scheme-redesign] .sr-header { padding: 28px 28px 10px; }
  [data-scheme-redesign] .sr-tabs { padding-left: 28px; padding-right: 28px; }
  [data-scheme-redesign] .workspace-scheme-panel[data-sr-view="overview"] .sr-tabs-flat { padding-left: 20px; padding-right: 20px; }
  [data-scheme-redesign] .sr-body { padding: 24px 28px; }
  [data-scheme-redesign] .sr-footer { padding-left: 28px; padding-right: 28px; }
  [data-scheme-redesign] .sr-config-fields, [data-scheme-redesign] .sr-mode { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [data-scheme-redesign] .sr-mode.sr-mode-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  [data-scheme-redesign] .sr-mode.sr-quick-presets { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  [data-scheme-redesign] .sr-config-card:last-child .sr-config-fields { grid-template-columns: 180px minmax(0, 1fr); }
}
@media (max-width: 480px) {
  [data-scheme-redesign] .sr-tabs { gap: 8px; padding-left: 16px; padding-right: 16px; overflow-x: auto; }
  [data-scheme-redesign] .sr-tabs .sr-button { padding-left: 0; padding-right: 0; flex-shrink: 0; }
  [data-scheme-redesign] .sr-field :is(input,select,textarea) { font-size: 16px; }
  [data-scheme-redesign] .sr-button { min-height: 44px; }
  [data-scheme-redesign] .sr-plan-actions { width: 100%; justify-content: flex-end; }
  [data-scheme-redesign] .sr-footer { gap: 8px; }
  [data-scheme-redesign] .sr-save-note { width: 100%; }
}

.workspace-toolbar-primary > .sr-preview-capsule {
  display: flex;
  flex: none;
  overflow: visible;
}
.sr-preview-capsule .workspace-group-capsule-set:has(.workspace-group-capsule.is-current) {
  border-color: #93b4ff;
  background: #eaf2ff;
}
.sr-preview-capsule .workspace-group-capsule.is-current {
  gap: 10px;
  color: #1d4ed8;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.sr-preview-capsule .workspace-group-capsule.is-current svg { color: inherit; }
.sr-workspace-preview {
  position: absolute;
  inset: 0;
  z-index: 12;
  background: inherit;
}
.sr-workspace-preview-viewport {
  position: absolute;
  inset: 0;
  overflow: clip;
  touch-action: none;
  user-select: none;
}
.sr-workspace-preview-graph {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.sr-workspace-preview .canvas-node.sr-preview-node {
  position: absolute;
  pointer-events: auto;
  transform: none;
}
.workspace-app .sr-workspace-preview [data-sr-preview-origin="existing"] > [data-feature-node-status] { color: #525252; }
.workspace-app .sr-workspace-preview [data-sr-preview-origin="added"] > [data-feature-node-status] { color: #1d4ed8; }
.workspace-app .workspace-canvas :is(.sr-preview-node, .sr-preview-node *) {
  cursor: grab !important;
}
.workspace-app .workspace-canvas :is(.sr-preview-node.is-dragging, .sr-preview-node.is-dragging *, .sr-workspace-preview-viewport.is-panning) {
  cursor: grabbing !important;
}
.sr-preview-node:focus-visible .node-drag-handle { opacity: 1; transform: scale(1); pointer-events: auto; }
.workspace-app .workspace-sidebar[data-sr-preview-original-sidebar] { display: none !important; }
.workspace-app .workspace-canvas [data-sr-preview-edit] { cursor: pointer !important; }
.workspace-canvas > .sr-preview-editor {
  left: 0;
  width: min(var(--workspace-inspector-width), 100%);
}
.workspace-app .workspace-canvas .sr-preview-editor button:not(:disabled) { cursor: pointer !important; }
.workspace-app .workspace-canvas .sr-preview-editor :is(textarea, input:not([type=checkbox])) { cursor: text !important; }
.sr-preview-editor .sr-preview-editor-status {
  margin: 0;
  color: #525252;
  font-size: 14px;
}
.sr-workspace-preview .sr-preview-lines .workspace-created-line {
  stroke: rgb(var(--line-accent-rgb, 37 99 235) / .72);
  stroke-width: 2.25;
}
.sr-preview-exit {
  position: absolute;
  right: 24px;
  bottom: 24px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #c52b22;
  border-radius: 8px;
  background: #c52b22;
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
}
.workspace-app .workspace-canvas .sr-preview-exit { cursor: pointer !important; }
.sr-preview-exit:hover { background: #ab241d; border-color: #ab241d; }
.sr-preview-exit:focus-visible { outline: 2px solid #2563eb; outline-offset: 3px; }
.sr-workspace-preview-viewport:focus-visible { outline: 2px solid #2563eb; outline-offset: -2px; }
.sr-preview-exit::after {
  content: "";
  position: absolute;
  inset: -2px;
  border: 2px solid #d1362b;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  animation: sr-preview-exit-glow 2s ease-out 2;
}
@keyframes sr-preview-exit-glow {
  0% { opacity: 0; }
  18% { opacity: .6; }
  70%, 100% { opacity: 0; transform: scale(1.12, 1.24); }
}
@media (prefers-reduced-motion: reduce) {
  .sr-preview-exit::after { animation: none; }
}
