.workspace-switch { --ink:#17374b; --teal:#007f79; color:var(--ink); background:#fff; border:1px solid #c9dadd; border-top:4px solid var(--teal); border-radius:12px; padding:clamp(20px,4vw,40px); max-width:760px; margin:24px auto; font:16px/1.65 "Microsoft YaHei UI","Microsoft YaHei",sans-serif; box-sizing:border-box; overflow-wrap:anywhere; }
.workspace-switch * { box-sizing:border-box; }
.switch-header { display:flex; justify-content:space-between; gap:20px; align-items:baseline; padding-bottom:20px; border-bottom:1px solid #dbe5e9; }
.switch-label { color:var(--teal); font-weight:700; letter-spacing:.09em; font-size:13px; }
.switch-current { font-size:14px; color:#526b7a; }
.workspace-switch h2 { font-size:28px; line-height:1.3; margin:28px 0 10px; letter-spacing:-.03em; }
.switch-status { color:#597080; margin-bottom:24px; min-height:2em; }
.switch-options { display:grid; gap:12px; }
.switch-active { padding:18px; background:#eef7f5; border-left:3px solid var(--teal); margin:0; font-weight:600; }
.switch-ready-actions { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:12px; }
.workspace-switch button { font:inherit; color:var(--ink); min-height:48px; border-radius:7px; padding:12px 18px; background:#fff; border:1px solid #aabfc9; cursor:pointer; white-space:normal; text-align:left; }
.workspace-switch button:hover:not(:disabled) { border-color:var(--teal); background:#eff8f6; }
.workspace-switch button:focus-visible { outline:3px solid #198a99; outline-offset:3px; }
.workspace-switch button:disabled { opacity:.55; cursor:default; }
.workspace-switch[aria-busy=true] button:disabled { cursor:progress; }
.workspace-switch .switch-primary { background:var(--teal); color:white; text-align:center; border-color:var(--teal); }
.workspace-switch .switch-primary:hover:not(:disabled) { background:#00645f; color:white; }
.switch-option { width:100%; font-weight:600 !important; }
.workspace-switch fieldset { min-width:0; margin:6px 0; padding:16px; border:1px solid #d4e0e5; border-radius:8px; display:grid; gap:10px; }
.workspace-switch legend { padding:0 6px; font-weight:700; }
.switch-destination { color:var(--teal); margin:0; }
.switch-actions { display:flex; gap:12px; flex-wrap:wrap; margin-top:28px; padding-top:20px; border-top:1px solid #dbe5e9; }
.switch-dialog { width:min(520px,calc(100vw - 32px)); color:var(--ink); background:#fff; border:0; border-top:5px solid #b95d3b; border-radius:12px; padding:28px; box-shadow:0 24px 70px rgba(10,38,55,.28); font:16px/1.65 "Microsoft YaHei UI","Microsoft YaHei",sans-serif; }
.switch-dialog::backdrop { background:rgba(11,38,54,.56); backdrop-filter:blur(2px); }
.switch-dialog h3 { margin:0 0 8px; font-size:23px; line-height:1.35; }
.switch-dialog p { color:#536d7b; margin:0; }
.switch-dialog-actions { display:flex; justify-content:flex-end; gap:12px; margin-top:24px; }
.workspace-switch .switch-danger { color:#fff; background:#a84c2d; border-color:#a84c2d; }
.workspace-switch .switch-danger:hover:not(:disabled) { color:#fff; background:#843a22; border-color:#843a22; }
@media(max-width:540px) { .switch-header { flex-direction:column; gap:6px; } .workspace-switch h2 { font-size:24px; } .switch-ready-actions { grid-template-columns:1fr; } .switch-actions button,.switch-dialog-actions button { width:100%; } .switch-dialog-actions { flex-direction:column-reverse; } }
