/* Extracted from index.html. Workbench scene, tool cards, and workbench-specific modals. */

#ai-workbench.panel {
  --workbench-min-width: 1700px;
  --workbench-min-height: 910px;
  --workbench-aspect-height: 53.529vw;
  --workbench-room-width: 1580px;
  padding: 0;
  overflow: auto;
}

.workbench-shell {
  position: relative;
  width: max(100vw, var(--workbench-min-width));
  min-width: var(--workbench-min-width);
  min-height: var(--workbench-min-height);
  height: max(var(--workbench-min-height), 100vh, var(--workbench-aspect-height));
  margin-top: -50px;
  isolation: isolate;
  overflow: hidden;
  color: #1f2633;
  background:
    radial-gradient(circle at 50% calc(42% + 29px), rgba(255,255,255,.72), transparent 34%),
    linear-gradient(180deg, #eef3f8 0 calc(48% + 26px), transparent calc(48% + 26px)),
    linear-gradient(150deg, transparent 0 calc(49% + 26px), rgba(161, 125, 88, .14) calc(49.1% + 25px) 100%),
    linear-gradient(210deg, transparent 0 calc(49% + 26px), rgba(76, 102, 130, .08) calc(49.1% + 25px) 100%),
    linear-gradient(180deg, transparent 0 calc(48% + 26px), #e8ded2 calc(48.1% + 26px) 100%);
}

.workbench-shell::before,
.workbench-shell::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.workbench-shell::before {
  left: 0;
  right: 0;
  top: calc(48% + 26px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(60, 72, 88, .12), transparent);
}

.workbench-shell::after {
  left: 9%;
  right: 9%;
  bottom: calc(13% - 7px);
  height: calc(22% - 11px);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(74, 55, 38, .18), transparent 66%);
  filter: blur(12px);
}

.workbench-room {
  --workbench-desk-shift: 58px;
  position: absolute;
  left: 50%;
  top: 96px;
  bottom: 18px;
  width: var(--workbench-room-width);
  transform: translateX(-50%);
  z-index: 1;
  filter: drop-shadow(0 26px 46px rgba(68, 76, 86, .14));
}

.workbench-title {
  position: absolute;
  left: calc(50% - 544px);
  top: 88px;
  z-index: 4;
  color: #1f2633;
}

.workbench-title h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0;
}

.workbench-title p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: #657083;
}

.workbench-board {
  display: none;
}

.workbench-sticky {
  position: absolute;
  width: 84px;
  height: 62px;
  border-radius: 4px;
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
  animation: workbench-paper-breathe 13s ease-in-out infinite;
}

.workbench-sticky.a { left: 30px; top: 62px; background: #ffe17a; transform: rotate(-4deg); animation-delay: -.4s; }
.workbench-sticky.b { right: 34px; top: 54px; background: #c9f2e7; transform: rotate(5deg); animation-delay: -1.2s; }
.workbench-sticky.c { left: 124px; bottom: 20px; background: #ffc4d1; transform: rotate(2deg); animation-delay: -2s; }

.workbench-stats-board-wrap {
  position: absolute;
  left: 50%;
  top: 7%;
  width: 260px;
  height: 318px;
  transform: translateX(-50%) rotate(.4deg);
  filter: drop-shadow(0 26px 42px rgba(53, 74, 83, .16));
  z-index: 1;
  cursor: pointer;
  pointer-events: auto;
  transform-origin: 50% 35%;
  animation: workbench-board-breathe 8s ease-in-out infinite;
  transition: filter .28s ease;
}

.workbench-stats-board-link {
  position: absolute;
  inset: 0;
  color: inherit;
  text-decoration: none;
}

.workbench-stats-board-link:focus-visible {
  outline: none;
}

.workbench-stats-board-wrap:hover {
  filter: drop-shadow(0 31px 50px rgba(53, 74, 83, .22));
}

.workbench-stats-board-wrap:focus-visible {
  outline: 3px solid rgba(58, 132, 216, .42);
  outline-offset: 8px;
  border-radius: 22px;
}

.workbench-stats-board-wrap:focus-within {
  outline: 3px solid rgba(58, 132, 216, .42);
  outline-offset: 8px;
  border-radius: 22px;
}

.workbench-stats-name-bubble {
  position: absolute;
  left: 50%;
  top: -46px;
  transform: translateX(-50%);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: max-content;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: #263044;
  border: 1px solid rgba(40, 50, 64, .12);
  box-shadow: 0 10px 24px rgba(42, 52, 64, .14);
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
  opacity: 0;
  animation: workbench-label-peek 13s ease-in-out .85s infinite;
  transition:
    width .28s cubic-bezier(.2, .8, .2, 1),
    min-width .28s cubic-bezier(.2, .8, .2, 1),
    max-width .28s cubic-bezier(.2, .8, .2, 1),
    min-height .28s cubic-bezier(.2, .8, .2, 1),
    padding .28s cubic-bezier(.2, .8, .2, 1),
    transform .24s cubic-bezier(.2, .8, .2, 1),
    opacity .2s ease;
}

.workbench-stats-name-bubble::after {
  content: attr(data-desc);
  position: absolute;
  left: 50%;
  top: 50%;
  width: 154px;
  max-width: 154px;
  transform: translate(-50%, -48%) scale(.98);
  opacity: 0;
  line-height: 1.32;
  text-align: center;
  white-space: normal;
  color: inherit;
  transition: opacity .24s ease .06s, transform .28s cubic-bezier(.2, .8, .2, 1);
}

.workbench-stats-name-bubble .label-text {
  display: block;
  transition: opacity .16s ease, transform .2s cubic-bezier(.2, .8, .2, 1);
}

.workbench-stats-board-wrap:hover .workbench-stats-name-bubble,
.workbench-stats-board-wrap:focus-visible .workbench-stats-name-bubble {
  width: 220px;
  min-width: 220px;
  max-width: 220px;
  min-height: 52px;
  padding: 10px 13px;
  opacity: 1 !important;
  animation: none !important;
  transform: translateX(-50%) translateY(-4px) scale(1) !important;
}

.workbench-stats-board-wrap:hover .workbench-stats-name-bubble .label-text,
.workbench-stats-board-wrap:focus-visible .workbench-stats-name-bubble .label-text {
  opacity: 0;
  transform: translateY(-2px) scale(.98);
}

.workbench-stats-board-wrap:hover .workbench-stats-name-bubble::after,
.workbench-stats-board-wrap:focus-visible .workbench-stats-name-bubble::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.workbench-stats-board {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  transform-origin: 50% 55%;
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), box-shadow .28s ease;
  background:
    linear-gradient(145deg, rgba(255,255,255,.14), transparent 34%),
    linear-gradient(180deg, #87b7b1, #5f928d 58%, #4b7775);
  border: 9px solid #bf8e56;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.18),
    inset 0 14px 20px rgba(255,255,255,.14),
    inset 0 -18px 26px rgba(28, 60, 58, .18);
}

.workbench-stats-board-wrap:hover .workbench-stats-board,
.workbench-stats-board-wrap:focus-visible .workbench-stats-board {
  transform: translateY(-2px) scale(1.035);
}

.workbench-stats-board::before {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: -17px;
  height: 16px;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, #d8a66e, #9c6738);
  box-shadow: inset 0 3px 5px rgba(255,255,255,.25);
}

.workbench-stats-board::after {
  content: "";
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: -16px;
  height: 16px;
  border-radius: 6px 6px 999px 999px;
  background: linear-gradient(180deg, #b77b45, #8d5a34);
  box-shadow: 0 12px 18px rgba(82, 49, 24, .16);
}

.workbench-stats-pin {
  position: absolute;
  top: 19px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 35%, #fff9df 0 20%, #f6d574 22% 58%, #b9832d 60% 100%);
  box-shadow: 0 3px 6px rgba(38,48,68,.22);
  z-index: 3;
  overflow: hidden;
}

.workbench-stats-pin::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  opacity: .5;
  animation: workbench-pin-glint 8s ease-in-out infinite;
}

.workbench-stats-pin.left { left: 24px; }
.workbench-stats-pin.right { right: 24px; }
.workbench-stats-pin.right::after { animation-delay: .18s; }

.workbench-stats-content {
  position: absolute;
  inset: 26px 20px 24px;
  display: grid;
  grid-template-rows: 78px repeat(3, 1fr);
  gap: 10px;
  z-index: 2;
}

.workbench-stats-samples {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 9px;
  border-radius: 14px;
  background: rgba(255,255,255,.16);
  box-shadow: inset 0 1px rgba(255,255,255,.16);
}

.workbench-stats-sample {
  display: grid;
  align-content: center;
  justify-items: center;
  min-width: 0;
  border-radius: 12px;
  background: rgba(255,255,255,.74);
  color: #31504f;
  box-shadow: 0 7px 13px rgba(35, 58, 56, .11);
}

.workbench-stats-sample-num {
  font-size: 26px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  transition: transform .18s ease, opacity .18s ease;
}

.workbench-stats-sample-label {
  margin-top: 5px;
  color: #6b7b7b;
  font-size: 11px;
  line-height: 1;
  font-weight: 850;
}

.workbench-stats-metric {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  border-radius: 15px;
  background: rgba(250, 255, 249, .82);
  color: #284947;
  box-shadow: 0 8px 16px rgba(31, 55, 53, .12), inset 0 1px rgba(255,255,255,.72);
  overflow: hidden;
}

.workbench-stats-metric::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 7px;
  background: var(--stripe);
}

.workbench-stats-value {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  font-size: 26px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
  font-family: inherit;
  font-variant-numeric: tabular-nums;
  transition: transform .18s ease, opacity .18s ease;
}

.workbench-stat-loading {
  opacity: .48;
}

.workbench-stats-unit {
  font-size: .5em;
  line-height: 1;
  font-weight: 950;
}

.workbench-stats-label {
  margin-top: 6px;
  color: #71807f;
  font-size: 10px;
  line-height: 1;
  font-weight: 850;
}

.workbench-stats-metric.score-a { --stripe: #f6d574; }
.workbench-stats-metric.score-b { --stripe: #b9d4ff; }
.workbench-stats-metric.days { --stripe: #f5a6bd; }

.workbench-stats-dust {
  display: none;
}

.workbench-shelf {
  position: absolute;
  right: 13%;
  top: 5%;
  width: 390px;
  height: 250px;
}

.workbench-plank {
  position: absolute;
  left: 0;
  right: 0;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #a96f45, #d2a06f);
  box-shadow:
    0 8px 18px rgba(76, 46, 26, .22),
    inset 0 5px 8px rgba(255,255,255,.24),
    inset 0 -5px 8px rgba(71,43,24,.18);
}

.workbench-plank.one { top: 82px; }
.workbench-plank.two { top: 276px; }

.workbench-box {
  position: absolute;
  width: 78px;
  height: 58px;
  border-radius: 8px;
  background: linear-gradient(145deg, #fff, #dbe6f1);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow:
    0 12px 22px rgba(37, 48, 62, .14),
    inset 0 1px 0 rgba(255,255,255,.8),
    inset -10px -12px 18px rgba(46,64,82,.08);
}

.workbench-box.three {
  left: 96px;
  top: 218px;
  background: linear-gradient(145deg, #e7ddff, #9c7aff);
}

.workbench-box.three {
  display: none;
}

.workbench-tool-card.jixian-pro {
  right: calc(13% + 260px);
  top: calc(5% + 173px);
  width: 96px;
  height: 108px;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.workbench-tool-card.jixian-pro::before {
  content: none;
}

.workbench-tool-card.jixian-pro::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: -2px;
  height: 8px;
  border-radius: 999px;
  background: rgba(70, 52, 104, .2);
  filter: blur(4px);
  z-index: -1;
}

.jixian-person {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 78px;
  height: 114px;
  transform: translateX(-50%);
  background: url("/assets/images/jixian-pro-character.png") center bottom / contain no-repeat;
  filter: drop-shadow(0 14px 18px rgba(73, 56, 98, .22));
  pointer-events: none;
}

.workbench-tool-card.jixian-pro .workbench-tool-title {
  bottom: calc(100% + 6px);
}

.jixian-person span {
  display: none;
}

.workbench-desk {
  position: absolute;
  left: 24%;
  right: 23%;
  bottom: calc(138px + var(--workbench-desk-shift));
  height: 130px;
  transform: skewX(-2deg);
  border-radius: 18px 18px 12px 12px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.18), transparent 22%),
    repeating-linear-gradient(90deg, rgba(87,51,28,.08) 0 2px, transparent 2px 74px),
    linear-gradient(170deg, #d7a46d, #b77d48);
  box-shadow:
    0 11px 0 #8f5b35,
    0 32px 58px rgba(86, 50, 25, .25),
    inset 0 9px 18px rgba(255,255,255,.2),
    inset 0 -20px 30px rgba(77,42,21,.15);
}

.workbench-desk::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255,255,255,.2), transparent 55%);
}

.workbench-leg {
  position: absolute;
  bottom: calc(34px + var(--workbench-desk-shift));
  width: 42px;
  height: 220px;
  background: #7f5736;
  border-radius: 10px;
  box-shadow: inset -8px 0 rgba(0,0,0,.12);
}

.workbench-leg.l { left: 29%; }
.workbench-leg.r { right: 29%; }

.workbench-gamepad {
  position: absolute;
  left: calc(50% - 362px);
  bottom: calc(160px + var(--workbench-desk-shift));
  z-index: 2;
  width: 98px;
  height: 128px;
  transform: none;
  transform-origin: 50% 100%;
  background: url("/assets/images/workbench-retro-handheld.svg?v=20260731-6") center / contain no-repeat;
  filter: drop-shadow(0 11px 8px rgba(58, 34, 20, .3));
  appearance: none;
  -webkit-appearance: none;
  animation-name: workbench-gamepad-rest;
}

.workbench-gamepad::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 1px;
  height: 8px;
  border-radius: 50%;
  background: rgba(58, 33, 18, .22);
  filter: blur(5px);
  transform: none;
  z-index: -1;
}

.workbench-tool-card.workbench-gamepad {
  background: url("/assets/images/workbench-retro-handheld.svg?v=20260731-6") center / contain no-repeat;
  filter: drop-shadow(0 10px 8px rgba(58, 34, 20, .28));
}

.workbench-tool-card.workbench-gamepad:hover,
.workbench-tool-card.workbench-gamepad:focus-visible {
  transform: translateY(-2px) scale(1.032) !important;
}

.workbench-tool-card.workbench-gamepad .workbench-tool-title {
  bottom: calc(100% + 9px);
}

.workbench-tool-card {
  position: absolute;
  border: 0;
  background: transparent;
  padding: 0;
  overflow: visible;
  transform-origin: 50% 100%;
  filter: drop-shadow(0 16px 18px rgba(41, 50, 63, .16));
  animation-duration: 12s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  color: inherit;
  cursor: pointer;
  transition: transform .36s cubic-bezier(.2, .8, .2, 1), filter .36s ease;
}

.workbench-tool-card:hover,
.workbench-tool-card:focus-visible {
  transform: scale(1.032) !important;
  filter: drop-shadow(0 18px 24px rgba(64, 91, 130, .18));
  outline: none;
}

.workbench-tool-card .workbench-tool-text {
  display: block;
}

.workbench-tool-card .workbench-tool-title {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 14px);
  transform: translateX(-50%);
  z-index: 8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: max-content;
  max-width: 190px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: #263044;
  border: 1px solid rgba(40, 50, 64, .12);
  box-shadow: 0 10px 24px rgba(42, 52, 64, .14);
  font-size: 12px;
  line-height: 1;
  font-weight: 760;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  animation: workbench-label-peek 13s ease-in-out infinite;
  transition:
    width .28s cubic-bezier(.2, .8, .2, 1),
    min-width .28s cubic-bezier(.2, .8, .2, 1),
    max-width .28s cubic-bezier(.2, .8, .2, 1),
    min-height .28s cubic-bezier(.2, .8, .2, 1),
    padding .28s cubic-bezier(.2, .8, .2, 1),
    border-radius .28s ease,
    transform .24s cubic-bezier(.2, .8, .2, 1),
    opacity .2s ease;
}

.workbench-tool-card .workbench-tool-title::after {
  content: attr(data-desc);
  position: absolute;
  left: 50%;
  top: 50%;
  width: 154px;
  max-width: 154px;
  transform: translate(-50%, -48%) scale(.98);
  opacity: 0;
  line-height: 1.32;
  text-align: center;
  white-space: normal;
  color: inherit;
  transition: opacity .24s ease .06s, transform .28s cubic-bezier(.2, .8, .2, 1);
}

.workbench-tool-card .workbench-tool-title .label-text {
  display: block;
  transition: opacity .16s ease, transform .2s cubic-bezier(.2, .8, .2, 1);
}

.workbench-tool-card:hover .workbench-tool-title,
.workbench-tool-card:focus-visible .workbench-tool-title {
  width: 178px;
  min-width: 178px;
  max-width: 178px;
  min-height: 52px;
  padding: 10px 13px;
  border-radius: 999px;
  opacity: 1 !important;
  animation: none !important;
  transform: translateX(-50%) translateY(-4px) scale(1) !important;
}

.workbench-tool-card:hover .workbench-tool-title .label-text,
.workbench-tool-card:focus-visible .workbench-tool-title .label-text {
  opacity: 0;
  transform: translateY(-2px) scale(.98);
}

.workbench-tool-card:hover .workbench-tool-title::after,
.workbench-tool-card:focus-visible .workbench-tool-title::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.workbench-tool-card.folder .workbench-tool-title {
  bottom: calc(100% + 8px);
}

.workbench-tool-card.delay-1 .workbench-tool-title { animation-delay: .2s; }
.workbench-tool-card.delay-2 .workbench-tool-title { animation-delay: .55s; }
.workbench-tool-card.delay-3 .workbench-tool-title { animation-delay: .9s; }
.workbench-tool-card.delay-4 .workbench-tool-title { animation-delay: 1.25s; }
.workbench-tool-card.delay-5 .workbench-tool-title { animation-delay: 1.6s; }
.workbench-tool-card.delay-6 .workbench-tool-title { animation-delay: 1.95s; }

.workbench-tool-desc,
.workbench-tool-logo {
  display: none;
}

.workbench-tool-card .base-shadow {
  position: absolute;
  left: 50%;
  bottom: -20px;
  width: 80%;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(31, 38, 51, .16);
  filter: blur(8px);
  z-index: -1;
}

.workbench-shortcut-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(31, 38, 51, .28);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}

.workbench-shortcut-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.workbench-shortcut-dialog {
  width: min(420px, calc(100vw - 44px));
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.95), rgba(252,249,243,.95)),
    #fff;
  border: 1px solid rgba(84, 68, 49, .14);
  box-shadow:
    0 28px 70px rgba(42, 35, 30, .22),
    inset 0 1px 0 rgba(255,255,255,.82);
  padding: 22px;
  transform: translateY(12px) scale(.98);
  transition: transform .24s cubic-bezier(.2, .8, .2, 1);
}

.workbench-shortcut-modal.is-open .workbench-shortcut-dialog {
  transform: translateY(0) scale(1);
}

.workbench-shortcut-dialog h3 {
  margin: 0;
  color: #263044;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: 0;
}

.workbench-shortcut-dialog p {
  margin: 8px 0 16px;
  color: #697386;
  font-size: 13px;
  line-height: 1.45;
}

.workbench-shortcut-field {
  display: block;
}

.workbench-shortcut-field + .workbench-shortcut-field {
  margin-top: 12px;
}

.workbench-shortcut-field span {
  display: block;
  margin-bottom: 7px;
  color: #4d586c;
  font-size: 12px;
  font-weight: 700;
}

.workbench-shortcut-input {
  box-sizing: border-box;
  width: 100%;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(39, 49, 66, .16);
  background: rgba(255,255,255,.86);
  color: #263044;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 700;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.workbench-shortcut-input:focus {
  background: #fff;
  border-color: rgba(79, 140, 255, .68);
  box-shadow: 0 0 0 4px rgba(79, 140, 255, .14);
}

.workbench-shortcut-order-field {
  width: 150px;
}

.workbench-shortcut-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.workbench-shortcut-actions button {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.workbench-shortcut-actions button:hover {
  transform: translateY(-1px);
}

.workbench-shortcut-cancel {
  background: rgba(38, 48, 68, .08);
  color: #3f4b5f;
}

.workbench-shortcut-confirm {
  background: #263044;
  color: #fff;
  box-shadow: 0 12px 22px rgba(38, 48, 68, .18);
}

.jixian-pro-modal {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: grid;
  place-items: center;
  padding: 26px;
  background: rgba(31, 38, 51, .3);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}

.jixian-pro-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.jixian-pro-dialog {
  position: relative;
  width: min(920px, calc(100vw - 44px));
  height: min(560px, calc(100vh - 44px));
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% -5%, rgba(135, 201, 255, .42) 0 15%, transparent 16%),
    radial-gradient(circle at -4% 100%, rgba(177, 222, 242, .42) 0 18%, transparent 19%),
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(246, 251, 255,.96));
  border: 1px solid rgba(96, 148, 190, .16);
  box-shadow:
    0 32px 86px rgba(31, 45, 64, .26),
    inset 0 1px 0 rgba(255,255,255,.9);
  padding: 34px 44px;
  transform: translateY(14px) scale(.985);
  transition: transform .24s cubic-bezier(.2, .8, .2, 1);
}

.jixian-pro-modal.is-open .jixian-pro-dialog {
  transform: translateY(0) scale(1);
}

.jixian-pro-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(27, 40, 58, .09);
  color: #263044;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}

.jixian-pro-close:hover {
  transform: scale(1.06);
  background: rgba(27, 40, 58, .14);
}

.jixian-pro-modal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 52px;
  align-items: stretch;
}

.jixian-pro-hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
  padding-top: 18px;
}

.jixian-pro-badge-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.jixian-pro-app-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.8), rgba(255,255,255,.18)),
    url("/assets/images/jixian-pro-character.png") center 56% / 92% auto no-repeat,
    #eaf7ff;
  box-shadow: 0 14px 28px rgba(68, 112, 146, .16);
}

.jixian-pro-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  background: #dff1fb;
  color: #075b91;
  font-size: 16px;
  font-weight: 900;
  white-space: nowrap;
}

.jixian-pro-title {
  margin: 0;
  color: #141d2a;
  font-size: clamp(42px, 4.4vw, 58px);
  line-height: .92;
  letter-spacing: 0;
  font-weight: 950;
  white-space: nowrap;
}

.jixian-pro-title span {
  display: inline;
  font-size: 1em;
}

.jixian-pro-subtitle {
  margin: 12px 0 0;
  color: #4f6175;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 850;
}

.jixian-pro-search-demo {
  display: none;
  margin-top: 34px;
  border-radius: 18px;
  background: #121b2d;
  padding: 16px 38px 16px 16px;
  box-shadow: 0 18px 38px rgba(23, 35, 55, .18);
}

.jixian-pro-search-input {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  border-radius: 12px;
  background: #fff;
  color: #222c3a;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 900;
}

.jixian-pro-search-icon {
  width: 16px;
  height: 16px;
  border: 3px solid #179fe4;
  border-radius: 50%;
  position: relative;
  flex: 0 0 auto;
}

.jixian-pro-search-icon::after {
  content: "";
  position: absolute;
  right: -8px;
  bottom: -6px;
  width: 8px;
  height: 3px;
  border-radius: 999px;
  background: #179fe4;
  transform: rotate(-45deg);
}

.jixian-pro-result-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.jixian-pro-result-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  border-radius: 10px;
  background: #263044;
  color: #eef6ff;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 780;
}

.jixian-pro-result-list b {
  color: #66d2ff;
}

.jixian-pro-result-list em {
  color: rgba(255,255,255,.86);
  font-style: normal;
}

.jixian-pro-tagline {
  margin-top: 12px;
  color: #1f2b3a;
  font-size: 13px;
  font-weight: 900;
}

.jixian-pro-video-card {
  position: relative;
  margin-top: 16px;
  width: 92%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(226, 244, 255, .86), rgba(255,255,255,.72));
  border: 1px solid rgba(83, 151, 205, .16);
  box-shadow: 0 16px 32px rgba(38, 64, 92, .12);
}

.jixian-pro-dialog.is-video-expanded .jixian-pro-video-card {
  position: absolute;
  inset: 74px 44px 34px;
  z-index: 12;
  width: auto;
  margin: 0;
  aspect-ratio: auto;
  border-radius: 22px;
  background: #0b111c;
  box-shadow: 0 24px 60px rgba(15, 24, 38, .26);
}

.jixian-pro-video-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #eff7fc;
}

.jixian-pro-dialog.is-video-expanded .jixian-pro-video-card video {
  object-fit: contain;
  background: #05070b;
}

.jixian-pro-video-card video::-webkit-media-controls-fullscreen-button {
  display: none;
}

.jixian-pro-video-card video::-webkit-media-controls,
.jixian-pro-video-card video::-webkit-media-controls-panel,
.jixian-pro-video-card video::-webkit-media-controls-overlay-play-button {
  display: none !important;
}

.jixian-pro-video-expand {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 0;
  box-shadow: none;
  transition: transform .18s ease, background .18s ease;
}

.jixian-pro-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 72px;
  height: 72px;
  border: 0;
  border-radius: 999px;
  background: rgba(10, 17, 29, .68);
  color: #fff;
  transform: translate(-50%, -50%);
  cursor: pointer;
  box-shadow:
    0 16px 30px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.16);
  transition: opacity .18s ease, transform .18s ease, background .18s ease;
}

.jixian-pro-video-play:hover {
  background: rgba(10, 17, 29, .8);
  transform: translate(-50%, -50%) scale(1.04);
}

.jixian-pro-video-play::before {
  content: "";
  position: absolute;
  left: 29px;
  top: 22px;
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 20px solid currentColor;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.32));
}

.jixian-pro-video-card.is-playing .jixian-pro-video-play {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(.96);
}

.jixian-pro-video-expand:hover {
  transform: scale(1.06);
  background: transparent;
}

.jixian-pro-dialog.is-video-expanded .jixian-pro-video-expand {
  display: none;
}

.jixian-pro-video-exit {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 4;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(8, 12, 20, .68);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 10px 22px rgba(0,0,0,.32);
  transition: opacity .18s ease, transform .18s ease, background .18s ease;
}

.jixian-pro-video-exit:hover {
  transform: scale(1.04);
  background: rgba(8, 12, 20, .82);
}

.jixian-pro-video-controls {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 4;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  box-sizing: border-box;
  border-radius: 14px;
  background: rgba(7, 11, 18, .68);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease;
}

.jixian-pro-dialog.is-video-expanded .jixian-pro-video-exit,
.jixian-pro-dialog.is-video-expanded .jixian-pro-video-controls {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.jixian-pro-video-toggle {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: #111827;
  cursor: pointer;
  position: relative;
  flex: 0 0 auto;
  font-size: 0;
}

.jixian-pro-video-toggle::before,
.jixian-pro-video-toggle::after {
  content: "";
  position: absolute;
  top: 9px;
  bottom: 9px;
  width: 4px;
  border-radius: 2px;
  background: currentColor;
}

.jixian-pro-video-toggle::before { left: 11px; }
.jixian-pro-video-toggle::after { right: 11px; }

.jixian-pro-video-toggle.is-paused::before {
  left: 12px;
  top: 8px;
  bottom: auto;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid currentColor;
  border-radius: 0;
  background: transparent;
}

.jixian-pro-video-toggle.is-paused::after {
  display: none;
}

.jixian-pro-video-progress {
  flex: 1 1 auto;
  min-width: 0;
  accent-color: #35bdf4;
  cursor: pointer;
}

.jixian-pro-video-time {
  min-width: 92px;
  color: rgba(255,255,255,.92);
  font-size: 12px;
  font-weight: 800;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.jixian-pro-video-expand::before,
.jixian-pro-video-expand::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
  border-color: currentColor;
  filter:
    drop-shadow(0 1px 1px rgba(0,0,0,.72))
    drop-shadow(0 0 2px rgba(0,0,0,.42));
}

.jixian-pro-video-expand::before {
  left: 6px;
  top: 6px;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
}

.jixian-pro-video-expand::after {
  right: 6px;
  bottom: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.jixian-pro-dialog.is-video-expanded .jixian-pro-video-expand::before {
  left: 11px;
  top: 11px;
  border-left: 0;
  border-top: 0;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.jixian-pro-dialog.is-video-expanded .jixian-pro-video-expand::after {
  right: 11px;
  bottom: 11px;
  border-right: 0;
  border-bottom: 0;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
}

.jixian-pro-dialog.is-video-expanded .jixian-pro-modal-grid > section:not(.jixian-pro-hero),
.jixian-pro-dialog.is-video-expanded .jixian-pro-badge-row,
.jixian-pro-dialog.is-video-expanded .jixian-pro-title,
.jixian-pro-dialog.is-video-expanded .jixian-pro-subtitle,
.jixian-pro-dialog.is-video-expanded .jixian-pro-tagline {
  opacity: 0;
  pointer-events: none;
}

.jixian-pro-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 14px;
  color: #151f2e;
  font-size: 22px;
  font-weight: 950;
}

.jixian-pro-section-title::before {
  content: "";
  width: 34px;
  height: 6px;
  border-radius: 999px;
  background: #1aa7e6;
}

.jixian-pro-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.jixian-pro-feature-card {
  display: grid;
  grid-template-columns: 32px 1fr;
  column-gap: 12px;
  align-items: start;
  min-height: 0;
  border-radius: 15px;
  border: 1px solid rgba(79, 142, 196, .2);
  background: rgba(248, 252, 255, .72);
  padding: 14px 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.jixian-pro-feature-num {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #1976d2;
  color: #fff;
  font-size: 14px;
  font-weight: 950;
  margin: 0;
  grid-row: span 2;
}

.jixian-pro-feature-card h4,
.jixian-pro-scene-card h4 {
  margin: 0 0 8px;
  color: #152033;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 950;
}

.jixian-pro-feature-card p,
.jixian-pro-scene-card p {
  margin: 0;
  color: #53677d;
  font-size: 13px;
  line-height: 1.48;
  font-weight: 700;
}

.jixian-pro-scene-title {
  margin-top: 18px;
}

.jixian-pro-scene-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.jixian-pro-scene-card {
  display: grid;
  place-items: center;
  min-height: 0;
  border-radius: 999px;
  border: 1px solid rgba(66, 173, 225, .22);
  background: rgba(232, 247, 255, .78);
  padding: 10px 8px;
  text-align: center;
}

.jixian-pro-scene-card h4 {
  margin: 0;
  white-space: nowrap;
}

.jixian-pro-scene-card p {
  display: none;
}

.jixian-pro-note {
  display: none;
  margin-top: 20px;
  border-radius: 14px;
  border: 1px solid rgba(227, 147, 72, .26);
  background: rgba(255, 248, 238, .86);
  color: #8d4a13;
  padding: 14px 16px;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 780;
}

.jixian-pro-actions {
  display: grid;
  place-items: center;
  text-align: center;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
  padding: 26px 28px 20px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0, rgba(52, 153, 230, .12), transparent 58%),
    rgba(255,255,255,.72);
  border: 1px solid rgba(74, 137, 192, .13);
}

.jixian-pro-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  height: 58px;
  border-radius: 999px;
  background: #141d2a;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 950;
  box-shadow: 0 18px 34px rgba(20, 29, 42, .24);
  transition: transform .18s ease, box-shadow .18s ease;
}

.jixian-pro-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(20, 29, 42, .3);
}

.jixian-pro-system {
  color: #748297;
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 920px) {
  .jixian-pro-dialog {
    padding: 28px;
  }
  .jixian-pro-modal-grid {
    grid-template-columns: 1fr;
  }
  .jixian-pro-hero {
    min-height: auto;
  }
  .jixian-pro-feature-grid,
  .jixian-pro-scene-grid {
    grid-template-columns: 1fr;
  }
  .jixian-pro-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

.workbench-tool-card.bob { animation-name: workbench-idle-bob; }
.workbench-tool-card.wiggle { animation-name: workbench-idle-wiggle; }
.workbench-tool-card.float { animation-name: workbench-idle-float; }
.workbench-tool-card.pulse { animation-name: workbench-idle-pulse; }
.workbench-tool-card.swing { animation-name: workbench-idle-swing; }
.workbench-tool-card.step { animation-name: workbench-idle-step; }
.workbench-tool-card.delay-1 { animation-delay: -.2s; }
.workbench-tool-card.delay-2 { animation-delay: .55s; }
.workbench-tool-card.delay-3 { animation-delay: 1.1s; }
.workbench-tool-card.delay-4 { animation-delay: 1.85s; }
.workbench-tool-card.delay-5 { animation-delay: 2.4s; }
.workbench-tool-card.delay-6 { animation-delay: 3s; }

.workbench-tool-card.poster {
  left: 23%;
  top: 17%;
  width: 184px;
  height: 148px;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  filter:
    drop-shadow(0 0 14px rgba(75, 105, 145, .14))
    drop-shadow(2px 3px 6px rgba(61, 77, 102, .08));
}

.workbench-tool-card.poster::before,
.workbench-tool-card.poster::after,
.workbench-tool-card.poster .workbench-tool-text::before,
.workbench-tool-card.poster .workbench-tool-text::after {
  content: none;
}

.monthly-vote-icon {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.monthly-vote-calendar {
  position: absolute;
  left: 55px;
  top: 12px;
  width: 94px;
  height: 86px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 22px 10px, #f8fcff 0 4px, transparent 5px),
    radial-gradient(circle at 72px 10px, #f8fcff 0 4px, transparent 5px),
    linear-gradient(#2f6eb5 0 25%, transparent 25%),
    repeating-linear-gradient(90deg, transparent 0 16px, rgba(44, 103, 173, .13) 16px 20px),
    repeating-linear-gradient(0deg, transparent 0 15px, rgba(44, 103, 173, .11) 15px 19px),
    #f7fbff;
  border: 2px solid rgba(54, 100, 160, .15);
  box-shadow:
    2px 3px 8px rgba(42, 74, 115, .1),
    inset 0 1px rgba(255,255,255,.9);
  z-index: 3;
}

.monthly-vote-calendar::before,
.monthly-vote-calendar::after {
  content: "";
  position: absolute;
  top: -8px;
  width: 8px;
  height: 18px;
  border-radius: 999px;
  background: #2b5f9c;
  box-shadow: inset 0 2px rgba(255,255,255,.42);
}

.monthly-vote-calendar::before { left: 22px; }
.monthly-vote-calendar::after { right: 22px; }

.monthly-vote-chart {
  position: absolute;
  left: 8px;
  top: 50px;
  width: 68px;
  height: 48px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.18) 0 50%, rgba(0,0,0,.06) 50% 100%),
    radial-gradient(circle at 23px 17px, #f3be4e 0 6px, transparent 7px),
    #e7e6d8;
  border: 3px solid rgba(255,255,255,.92);
  box-shadow:
    0 0 0 1px rgba(66, 112, 164, .16),
    2px 3px 8px rgba(43, 84, 135, .13),
    inset 0 1px rgba(255,255,255,.9);
  transform: rotate(-6deg);
  z-index: 2;
}

.monthly-vote-chart::before {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 3px;
  width: 36px;
  height: 26px;
  background: #58aaa7;
  clip-path: polygon(0 100%, 45% 22%, 100% 100%);
}

.monthly-vote-chart::after {
  content: "";
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 42px;
  height: 34px;
  background: #3e8d89;
  clip-path: polygon(0 100%, 57% 12%, 100% 100%);
}

.monthly-vote-camera {
  position: absolute;
  left: 78px;
  top: 76px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #14324f 0 17%, #245487 18% 34%, transparent 35%),
    radial-gradient(circle at 35% 31%, rgba(255,255,255,.94) 0 6%, transparent 7%),
    radial-gradient(circle at 63% 58%, rgba(119, 183, 229, .92) 0 10%, transparent 11%),
    linear-gradient(145deg, #e2f5ff, #3c8bd0);
  border: 5px solid #f7fbff;
  box-shadow:
    2px 3px 8px rgba(39, 64, 92, .16),
    inset 0 0 0 2px rgba(33, 77, 125, .22);
  z-index: 5;
}

.monthly-vote-medal {
  position: absolute;
  right: 24px;
  top: 67px;
  width: 46px;
  height: 60px;
  z-index: 7;
}

.monthly-vote-medal::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 30px;
  width: 14px;
  height: 27px;
  background:
    linear-gradient(110deg, #bcd0ff 0 34%, #5d86cf 35% 50%, #e56952 51% 100%);
  clip-path: polygon(0 0, 100% 0, 83% 100%, 50% 76%, 14% 100%);
  transform: rotate(9deg);
  filter: drop-shadow(0 2px 4px rgba(40, 56, 96, .12));
}

.monthly-vote-medal-ribbon {
  position: absolute;
  right: 6px;
  top: 30px;
  width: 14px;
  height: 27px;
  background:
    linear-gradient(250deg, #bcd0ff 0 34%, #5d86cf 35% 50%, #e56952 51% 100%);
  clip-path: polygon(0 0, 100% 0, 86% 100%, 50% 76%, 17% 100%);
  transform: rotate(-9deg);
  filter: drop-shadow(0 2px 4px rgba(40, 56, 96, .12));
}

.monthly-vote-medal::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 20px;
  width: 38px;
  height: 38px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #ffe78e 0 14%, transparent 15%),
    radial-gradient(circle at 50% 50%, transparent 0 27%, #16245f 28% 33%, #f3a15a 34% 48%, #16245f 49% 55%, transparent 56%),
    radial-gradient(circle at 35% 30%, rgba(255,255,255,.62) 0 17%, transparent 18%),
    linear-gradient(145deg, #ffd86a, #f0b739 58%, #d89724);
  box-shadow:
    1px 2px 5px rgba(40, 56, 96, .16),
    0 0 0 3px #16245f,
    inset 0 0 0 3px rgba(255,255,255,.45);
}

.monthly-vote-medal-star {
  position: absolute;
  left: 50%;
  top: 20px;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
  background: #fff1b8;
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 56%, 79% 92%, 50% 70%, 21% 92%, 32% 56%, 2% 35%, 39% 35%);
  filter: drop-shadow(0 0 0 #16245f);
  z-index: 2;
}

.workbench-tool-card.calendar {
  right: calc(13% - 34px);
  top: calc(5% + 82px);
  width: 250px;
  height: 250px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter:
    drop-shadow(0 0 14px rgba(75, 105, 145, .12))
    drop-shadow(0 8px 12px rgba(42, 52, 64, .11));
}

.workbench-tool-card.calendar::before {
  content: none;
}

.workbench-tool-card.calendar::after {
  content: none;
}

.studio-booking-icon {
  --studio-ink: #202a37;
  --studio-cream: #fff0c7;
  --studio-accent: #ef5f7d;
  position: absolute;
  left: 50%;
  top: 58%;
  width: 250px;
  height: 250px;
  transform: translate(-50%, -50%) scale(.58);
  transform-origin: center;
  pointer-events: none;
}

.workbench-tool-card.calendar .workbench-tool-title {
  bottom: calc(100% - 70px);
}

.workbench-tool-card.calendar .base-shadow {
  bottom: 20px;
  width: 58%;
  height: 14px;
  background: rgba(31, 38, 51, .11);
  filter: blur(7px);
}

.studio-booking-icon *,
.studio-booking-icon *::before,
.studio-booking-icon *::after {
  position: absolute;
  box-sizing: border-box;
}

.studio-softbox {
  left: 23px;
  right: 23px;
  top: 12px;
  height: 38px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.16)),
    #ffe5a8;
  border: 8px solid var(--studio-ink);
  box-shadow:
    inset 0 1px rgba(255,255,255,.7),
    0 8px 15px rgba(0,0,0,.12);
  z-index: 2;
}

.studio-stand {
  top: 32px;
  width: 10px;
  height: 143px;
  border-radius: 999px;
  background: var(--studio-ink);
  z-index: 0;
}

.studio-stand.left { left: 24px; }
.studio-stand.right { right: 24px; }

.studio-stand::before {
  content: none;
  left: -7px;
  top: 86px;
  width: 24px;
  height: 30px;
  border-radius: 8px;
  background: var(--studio-ink);
}

.studio-stand::after {
  content: none;
}

.studio-camera {
  left: 103px;
  top: 128px;
  width: 108px;
  height: 82px;
  border-radius: 19px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.16), transparent 38%),
    #f8fbff;
  border: 8px solid var(--studio-ink);
  box-shadow: inset 0 -10px 16px rgba(51, 74, 96, .08);
  z-index: 4;
}

.studio-camera::before {
  content: none;
  left: 24px;
  top: -29px;
  width: 50px;
  height: 31px;
  border-radius: 16px 16px 7px 7px;
  background: #f8fbff;
  border: 8px solid var(--studio-ink);
}

.studio-camera::after {
  content: "";
  right: 13px;
  top: 16px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--studio-ink);
}

.studio-lens {
  left: 130px;
  top: 142px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 36%, rgba(255,255,255,.75) 0 13%, transparent 14%),
    radial-gradient(circle at 50% 50%, #e8f7ff 0 30%, #73b5df 31% 46%, #162b42 47% 100%);
  border: 7px solid var(--studio-ink);
  box-shadow: inset 0 0 0 7px rgba(255,255,255,.82);
  z-index: 5;
}

.studio-calendar {
  left: 22px;
  bottom: 40px;
  width: 126px;
  height: 108px;
  border-radius: 17px;
  background: #fff;
  border: 8px solid var(--studio-ink);
  overflow: hidden;
  box-shadow: 0 12px 20px rgba(0,0,0,.16);
  z-index: 2;
}

.studio-calendar::before {
  content: "";
  left: 0;
  right: 0;
  top: 0;
  height: 27px;
  background: var(--studio-accent);
  border-bottom: 6px solid var(--studio-ink);
  box-shadow:
    inset 0 -1px rgba(0,0,0,.12),
    30px -10px 0 -5px var(--studio-cream),
    82px -10px 0 -5px var(--studio-cream),
    30px -10px 0 0 var(--studio-ink),
    82px -10px 0 0 var(--studio-ink);
}

.studio-calendar::after {
  content: "";
  left: 24px;
  top: 43px;
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: var(--studio-ink);
  box-shadow:
    26px 0 var(--studio-ink),
    52px 0 var(--studio-ink),
    0 25px var(--studio-ink),
    26px 25px var(--studio-ink),
    52px 25px var(--studio-ink);
}

.workbench-tool-card.battle {
  right: auto;
  left: calc(87% - 390px + 26px);
  top: calc(5% + 6px);
  width: 148px;
  height: 112px;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.workbench-tool-card.battle::before {
  content: "";
  position: absolute;
  left: 19px;
  right: 19px;
  bottom: 15px;
  height: 13px;
  border-radius: 999px;
  background: rgba(37, 48, 84, .18);
  filter: blur(4px);
}

.workbench-tool-card.battle::after {
  content: none;
  display: none;
}

.ai-battle-duel-icon {
  position: absolute;
  left: 10px;
  top: 4px;
  width: 128px;
  height: 82px;
  pointer-events: none;
}

.ai-battle-person {
  position: absolute;
  bottom: 10px;
  width: 42px;
  height: 54px;
  border-radius: 20px 20px 16px 16px;
  background:
    radial-gradient(circle at 15px 12px, #253054 0 2px, transparent 2.8px),
    radial-gradient(circle at 27px 12px, #253054 0 2px, transparent 2.8px),
    linear-gradient(#ffe3ad 0 22px, transparent 22px),
    linear-gradient(145deg, #ffeaa6 37%, #f6b84f 38% 100%);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.42),
    0 9px 16px rgba(35, 44, 73, .18);
}

.ai-battle-person.left {
  left: 4px;
  transform: rotate(-4deg);
}

.ai-battle-person.right {
  right: 4px;
  transform: scaleX(-1) rotate(-4deg);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.42),
    0 9px 16px rgba(35, 44, 73, .18);
  background:
    radial-gradient(circle at 15px 12px, #253054 0 2px, transparent 2.8px),
    radial-gradient(circle at 27px 12px, #253054 0 2px, transparent 2.8px),
    linear-gradient(#ffe3ad 0 22px, transparent 22px),
    linear-gradient(145deg, #bdefff 37%, #55a8ff 38% 100%);
}

.ai-battle-person::before {
  content: "";
  position: absolute;
  left: 29px;
  top: 26px;
  width: 23px;
  height: 14px;
  border-radius: 999px;
  background: #ff6a78;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.26),
    -10px 3px 0 -6px #ffe3ad;
}

.ai-battle-person.right::before {
  background: #55d7b7;
}

.ai-battle-burst {
  position: absolute;
  left: 53px;
  top: 36px;
  width: 22px;
  height: 18px;
  border-radius: 999px;
  background: #fff06d;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.55),
    0 5px 10px rgba(35, 44, 73, .16);
}

.ai-battle-burst::after {
  content: "PK";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #253054;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0;
}

/* 图片处理中心：独立占位入口，后续功能可在自身模块内扩展。 */
.workbench-tool-card.image-processing-center {
  left: calc(87% - 390px + 201px);
  top: calc(5% - 14px);
  width: 158px;
  height: 92px;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.image-processing-center-icon {
  position: absolute;
  inset: 0;
  transform: translateX(17px);
  pointer-events: none;
}

.image-processing-layer {
  position: absolute;
  width: 76px;
  height: 60px;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, .95);
  border-radius: 13px;
  box-shadow: 0 10px 15px rgba(55, 82, 105, .17);
}

.image-processing-layer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 73% 26%, #ffda67 0 5px, transparent 5.5px),
    linear-gradient(180deg, #c6eafa 0 58%, #edf8fc 59%);
}

.image-processing-layer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48%;
  background: linear-gradient(135deg, #64b99e 0 40%, #438f78 41% 61%, #79c7aa 62%);
  clip-path: polygon(0 100%, 0 72%, 27% 20%, 47% 56%, 68% 4%, 100% 70%, 100% 100%);
}

.image-processing-layer.back-left {
  left: 9px;
  top: 10px;
  transform: rotate(-9deg);
  opacity: .88;
}

.image-processing-layer.back-right {
  left: 39px;
  top: 8px;
  transform: rotate(8deg);
  opacity: .9;
}

.image-processing-layer.back-left::before {
  background:
    radial-gradient(circle at 73% 26%, #ffcb7a 0 5px, transparent 5.5px),
    linear-gradient(180deg, #dccff1 0 58%, #f3edf8 59%);
}

.image-processing-layer.back-right::before {
  background:
    radial-gradient(circle at 73% 26%, #ffda67 0 5px, transparent 5.5px),
    linear-gradient(180deg, #c9ece1 0 58%, #edf8f4 59%);
}

.image-processing-layer.front {
  left: 28px;
  top: 22px;
  z-index: 4;
  width: 82px;
  height: 65px;
  box-shadow: 6px 7px 0 #8faabd, 0 13px 18px rgba(55, 82, 105, .19);
}

.workbench-tool-card.image-processing-center .workbench-tool-title {
  bottom: calc(100% + 9px);
}

.workbench-tool-card.image-processing-center .base-shadow {
  left: 47%;
  bottom: -4px;
  width: 76%;
}

.workbench-tool-card.monitor {
  left: calc(50% - 90px);
  bottom: calc(250px + var(--workbench-desk-shift));
  width: 180px;
  height: 130px;
  border-radius: 16px;
  background: #1c2635;
  box-shadow:
    inset 0 0 0 8px #34465f,
    inset 0 12px 18px rgba(255,255,255,.06),
    0 24px 38px rgba(0,0,0,.22);
}

.workbench-tool-card.monitor::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.35), transparent 30%),
    url("/assets/images/image-sync-preview.jpg") center / cover no-repeat;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.35),
    inset 0 0 24px rgba(255,255,255,.14);
}

html.theme-dark .workbench-tool-card.monitor::before {
  background:
    linear-gradient(135deg, rgba(255,255,255,.12), transparent 30%),
    radial-gradient(ellipse at center, transparent 62%, rgba(11, 14, 21, .52) 100%),
    #151922 url("/assets/images/image-sync-preview-dark.jpg") center / contain no-repeat;
  box-shadow:
    inset 0 0 0 1px rgba(18, 22, 31, .78),
    inset 0 0 0 5px #151922,
    inset 0 0 24px rgba(0, 0, 0, .28);
}

.workbench-tool-card.monitor::after {
  content: "";
  position: absolute;
  left: 66px;
  bottom: -42px;
  width: 48px;
  height: 46px;
  background: linear-gradient(180deg, #314158, #1f2633);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 20px 20px rgba(0,0,0,.16);
}

.workbench-tool-card.folder {
  left: calc(50% + 260px);
  right: auto;
  bottom: calc(163px + var(--workbench-desk-shift));
  width: 122px;
  height: 134px;
  background: url("/assets/images/file-namer-workbench-icon.png") center bottom / contain no-repeat;
  filter: drop-shadow(0 18px 18px rgba(35, 79, 129, .16));
}

.workbench-tool-card.folder::before {
  content: none;
}

.workbench-tool-card.folder::after {
  content: none;
}

.workbench-tool-card.black-cat-review {
  position: absolute;
  right: 7%;
  bottom: 124px;
  width: 142px;
  height: 116px;
  z-index: 3;
}

.workbench-tool-card.black-cat-review::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -11px;
  width: 153px;
  height: 58px;
  border-radius: 50%;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse at 50% 44%, rgba(255,255,255,.42) 0 18%, transparent 19%),
    repeating-radial-gradient(ellipse at 50% 50%, transparent 0 11px, rgba(92, 83, 116, .12) 12px 14px),
    radial-gradient(ellipse at 50% 50%, #ddd9ee 0 48%, #b8b2cf 68%, #9289aa 100%);
  box-shadow:
    0 24px 28px rgba(52, 46, 62, .18),
    inset 0 2px 0 rgba(255,255,255,.68),
    inset 0 -10px 18px rgba(75, 68, 97, .18);
  z-index: -1;
}

.workbench-tool-card.black-cat-review::after {
  content: "";
  position: absolute;
  left: -2px;
  bottom: 7px;
  width: 16px;
  height: 4px;
  border-radius: 999px;
  background: rgba(150, 141, 174, .36);
  box-shadow:
    0 8px rgba(150, 141, 174, .28),
    0 -8px rgba(150, 141, 174, .28),
    131px 0 rgba(150, 141, 174, .36),
    131px 8px rgba(150, 141, 174, .28),
    131px -8px rgba(150, 141, 174, .28);
  z-index: -1;
}

.workbench-inspector-cat {
  width: 101%;
  height: 101%;
  display: block;
  pointer-events: none;
  filter: drop-shadow(0 18px 22px rgba(38, 30, 24, .16));
  transform: translate(-2%, -1%);
  position: relative;
  z-index: 1;
}

.workbench-tool-card.black-cat-review .workbench-tool-title {
  bottom: calc(100% + 10px);
}

.workbench-tool-card.black-cat-review:hover .workbench-tool-title,
.workbench-tool-card.black-cat-review:focus-visible .workbench-tool-title {
  width: 188px;
  min-width: 188px;
  max-width: 188px;
}

.workbench-tool-card.black-cat-review .workbench-tool-title::after {
  width: 162px;
  max-width: 162px;
}

.workbench-inspector-cat .cat-ref-black {
  fill: #000;
  stroke: #000;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.workbench-inspector-cat .cat-ref-line {
  fill: none;
  stroke: #000;
  stroke-width: 22;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.workbench-inspector-cat .cat-ref-paper {
  fill: #fff;
  stroke: #000;
  stroke-width: 22;
  stroke-linejoin: round;
}

.workbench-inspector-cat .cat-ref-eye {
  fill: #ffd22e;
}

.workbench-inspector-cat .cat-ref-pupil {
  fill: #000;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform .28s ease;
}

.workbench-inspector-cat .cat-ref-glass {
  fill: #fff;
  stroke: #000;
  stroke-width: 20;
}

.workbench-inspector-cat .cat-ref-cut {
  fill: none;
  stroke: #fff;
  stroke-width: 17;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.workbench-inspector-cat .cat-ref-cut-thin {
  fill: none;
  stroke: #fff;
  stroke-width: 12;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.workbench-tool-card.poster .workbench-shortcut-toggle {
  top: 52px;
  right: -62px;
}

.workbench-stats-board-wrap .workbench-shortcut-toggle {
  top: 10px;
  right: -78px;
  width: 64px;
  min-width: 64px;
  white-space: nowrap;
  text-align: center;
}

.workbench-tool-card.black-cat-review .workbench-shortcut-toggle {
  top: -10px;
  right: -32px;
}

html.theme-dark #ai-workbench.panel {
  background: transparent;
}

html.theme-dark .workbench-shell {
  color: #edf3ff;
  background:
    radial-gradient(ellipse at 55% calc(62% + 19px), rgba(255, 191, 122, .34) 0 12%, rgba(255, 191, 122, .16) 24%, transparent 45%),
    radial-gradient(ellipse at 50% calc(39% + 31px), rgba(92, 132, 158, .24), transparent 35%),
    linear-gradient(180deg, #17202b 0 calc(48% + 26px), transparent calc(48% + 26px)),
    linear-gradient(150deg, transparent 0 calc(49% + 26px), rgba(18, 23, 31, .36) calc(49.1% + 25px) 100%),
    linear-gradient(210deg, transparent 0 calc(49% + 26px), rgba(80, 59, 42, .24) calc(49.1% + 25px) 100%),
    linear-gradient(180deg, transparent 0 calc(48% + 26px), #1f1e22 calc(48.1% + 26px) 100%);
}

html.theme-dark .workbench-shell::before {
  background: linear-gradient(90deg, transparent, rgba(197, 213, 232, .12), transparent);
}

html.theme-dark .workbench-shell::after {
  left: 16%;
  right: 13%;
  bottom: calc(11% - 6px);
  height: calc(28% - 14px);
  background:
    radial-gradient(ellipse at 56% 34%, rgba(255, 190, 118, .28), transparent 48%),
    radial-gradient(ellipse at center, rgba(0, 0, 0, .34), transparent 68%);
  filter: blur(18px);
}

html.theme-dark .workbench-room {
  filter: drop-shadow(0 30px 52px rgba(0, 0, 0, .28));
}

html.theme-dark .workbench-title {
  color: #edf3ff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .28);
}

html.theme-dark .workbench-title p {
  color: rgba(219, 228, 240, .68);
}

html.theme-dark .workbench-stats-name-bubble,
html.theme-dark .workbench-tool-card .workbench-tool-title {
  background: rgba(26, 34, 46, .86);
  color: #eef5ff;
  border-color: rgba(209, 225, 244, .16);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, .28),
    inset 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(8px);
}

html.theme-dark .workbench-stats-board-wrap {
  filter:
    drop-shadow(0 0 22px rgba(119, 231, 202, .16))
    drop-shadow(0 30px 48px rgba(0, 0, 0, .34));
}

html.theme-dark .workbench-stats-board-wrap:hover {
  filter:
    drop-shadow(0 0 32px rgba(127, 244, 214, .23))
    drop-shadow(0 34px 56px rgba(0, 0, 0, .42));
}

html.theme-dark .workbench-stats-board {
  background:
    radial-gradient(circle at 50% 26%, rgba(162, 255, 225, .22), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, .08), transparent 34%),
    linear-gradient(180deg, #315b59, #234a49 58%, #173837);
  border-color: #8e6139;
  box-shadow:
    0 0 34px rgba(110, 232, 205, .17),
    inset 0 0 0 1px rgba(167, 255, 231, .16),
    inset 0 14px 20px rgba(255, 255, 255, .06),
    inset 0 -20px 30px rgba(0, 0, 0, .28);
}

html.theme-dark .workbench-stats-board::before {
  background: linear-gradient(180deg, #a56f3f, #6d4326);
  box-shadow: inset 0 3px 5px rgba(255, 213, 160, .2);
}

html.theme-dark .workbench-stats-board::after {
  background: linear-gradient(180deg, #86532f, #56331f);
  box-shadow: 0 14px 22px rgba(0, 0, 0, .28);
}

html.theme-dark .workbench-stats-pin {
  background: radial-gradient(circle at 36% 35%, #fff5c8 0 20%, #f3c95a 22% 58%, #9a6320 60% 100%);
  box-shadow:
    0 0 10px rgba(255, 211, 105, .24),
    0 3px 7px rgba(0, 0, 0, .32);
}

html.theme-dark .workbench-stats-samples {
  background: rgba(164, 246, 224, .13);
  box-shadow: inset 0 1px rgba(198, 255, 241, .14);
}

html.theme-dark .workbench-stats-sample,
html.theme-dark .workbench-stats-metric {
  background: rgba(226, 247, 241, .9);
  color: #1c4441;
  box-shadow:
    0 0 15px rgba(151, 255, 223, .12),
    0 8px 16px rgba(0, 0, 0, .2),
    inset 0 1px rgba(255, 255, 255, .62);
}

html.theme-dark .workbench-stats-sample-label,
html.theme-dark .workbench-stats-label {
  color: rgba(34, 73, 70, .66);
}

html.theme-dark .workbench-plank {
  background: linear-gradient(90deg, #6b4128, #9a6a43);
  box-shadow:
    0 10px 20px rgba(0, 0, 0, .28),
    inset 0 5px 8px rgba(255, 196, 128, .12),
    inset 0 -5px 8px rgba(0, 0, 0, .22);
}

html.theme-dark .workbench-box {
  background: linear-gradient(145deg, #3c4654, #242d39);
  border-color: rgba(215, 228, 246, .12);
  box-shadow:
    0 14px 24px rgba(0, 0, 0, .32),
    inset 0 1px 0 rgba(255,255,255,.12),
    inset -10px -12px 18px rgba(0,0,0,.12);
}

html.theme-dark .workbench-box.three {
  background: linear-gradient(145deg, #7b65c8, #4e3a90);
}

html.theme-dark .workbench-tool-card.jixian-pro {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

html.theme-dark .jixian-person {
  filter:
    drop-shadow(0 14px 18px rgba(0, 0, 0, .34))
    drop-shadow(0 0 10px rgba(182, 152, 255, .12));
}

html.theme-dark .workbench-desk {
  background:
    radial-gradient(ellipse at 55% 34%, rgba(255, 191, 122, .28), transparent 48%),
    linear-gradient(180deg, rgba(255, 220, 170, .1), transparent 22%),
    repeating-linear-gradient(90deg, rgba(255, 214, 162, .06) 0 2px, transparent 2px 74px),
    linear-gradient(170deg, #9a6336, #6f4326 70%, #56331f);
  box-shadow:
    0 11px 0 #4c2d1b,
    0 34px 62px rgba(0, 0, 0, .38),
    0 0 42px rgba(255, 187, 112, .11),
    inset 0 9px 18px rgba(255, 210, 151, .12),
    inset 0 -22px 34px rgba(0, 0, 0, .24);
}

html.theme-dark .workbench-desk::before {
  background:
    radial-gradient(ellipse at 52% 28%, rgba(255, 197, 126, .24), transparent 46%),
    linear-gradient(90deg, rgba(255,255,255,.08), transparent 55%);
}

html.theme-dark .workbench-leg {
  background: #4f331f;
  box-shadow: inset -8px 0 rgba(0,0,0,.2), 0 18px 24px rgba(0,0,0,.22);
}

html.theme-dark .workbench-tool-card {
  filter:
    drop-shadow(0 18px 22px rgba(0, 0, 0, .28))
    drop-shadow(0 0 18px rgba(255, 190, 120, .06));
}

html.theme-dark .workbench-tool-card:hover,
html.theme-dark .workbench-tool-card:focus-visible {
  filter:
    drop-shadow(0 22px 28px rgba(0, 0, 0, .36))
    drop-shadow(0 0 22px rgba(255, 190, 120, .12));
}

html.theme-dark .workbench-tool-card .base-shadow {
  background: rgba(0, 0, 0, .38);
  filter: blur(10px);
}

html.theme-dark .workbench-tool-card.monitor {
  background: #111722;
  box-shadow:
    inset 0 0 0 8px #243244,
    inset 0 12px 18px rgba(255,255,255,.04),
    0 24px 38px rgba(0,0,0,.34);
}

html.theme-dark .workbench-tool-card.monitor::after {
  background: linear-gradient(180deg, #263448, #151c28);
  box-shadow: 0 20px 22px rgba(0,0,0,.3);
}

html.theme-dark .image-processing-layer {
  border-color: rgba(236, 244, 252, .9);
  box-shadow: 0 11px 17px rgba(0, 0, 0, .28);
}

html.theme-dark .image-processing-layer.front {
  box-shadow: 6px 7px 0 #41566b, 0 14px 20px rgba(0, 0, 0, .32);
}

html.theme-dark .workbench-tool-card.calendar {
  filter:
    drop-shadow(0 18px 26px rgba(0, 0, 0, .3))
    drop-shadow(0 0 14px rgba(255, 188, 128, .1));
}

html.theme-dark .studio-booking-icon {
  --studio-ink: #151c28;
  --studio-cream: #f3e3bd;
  --studio-accent: #e95878;
}

html.theme-dark .studio-camera,
html.theme-dark .studio-camera::before,
html.theme-dark .studio-calendar {
  background-color: #eff4f8;
}

html.theme-dark .workbench-tool-card.black-cat-review::before {
  background:
    radial-gradient(ellipse at 50% 44%, rgba(255,255,255,.18) 0 18%, transparent 19%),
    repeating-radial-gradient(ellipse at 50% 50%, transparent 0 11px, rgba(145, 135, 186, .16) 12px 14px),
    radial-gradient(ellipse at 50% 50%, #777091 0 48%, #5b5575 68%, #3e3a52 100%);
  box-shadow:
    0 24px 30px rgba(0, 0, 0, .34),
    inset 0 2px 0 rgba(255,255,255,.24),
    inset 0 -10px 18px rgba(18, 15, 32, .22);
}

html.theme-dark .workbench-inspector-cat {
  filter:
    drop-shadow(0 18px 22px rgba(0, 0, 0, .34))
    drop-shadow(0 0 9px rgba(255, 211, 110, .16));
}

html.theme-dark .workbench-inspector-cat .cat-ref-black {
  fill: #050506;
  stroke: #050506;
}

html.theme-dark .workbench-inspector-cat .cat-ref-eye {
  fill: #ffd93a;
  filter: drop-shadow(0 0 5px rgba(255, 222, 76, .38));
}

html.theme-dark .workbench-inspector-cat .cat-ref-pupil {
  transform: scale(2.05, .8);
}

html.theme-dark .workbench-inspector-cat .cat-ref-cut,
html.theme-dark .workbench-inspector-cat .cat-ref-cut-thin {
  stroke: rgba(255, 255, 255, .9);
}

html.theme-dark .workbench-shortcut-modal {
  background: rgba(8, 11, 16, .48);
}

html.theme-dark .workbench-shortcut-dialog {
  background:
    linear-gradient(180deg, rgba(31, 39, 52, .96), rgba(22, 28, 38, .96)),
    #1b2330;
  border-color: rgba(216, 228, 246, .14);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, .38),
    inset 0 1px 0 rgba(255,255,255,.08);
}

html.theme-dark .workbench-shortcut-dialog h3 {
  color: #edf3ff;
}

html.theme-dark .workbench-shortcut-dialog p,
html.theme-dark .workbench-shortcut-field span {
  color: rgba(221, 230, 243, .72);
}

html.theme-dark .workbench-shortcut-input {
  background: rgba(13, 18, 26, .74);
  color: #edf3ff;
  border-color: rgba(216, 228, 246, .16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

html.theme-dark .workbench-shortcut-input:focus {
  background: rgba(14, 20, 29, .92);
  border-color: rgba(255, 194, 116, .68);
  box-shadow: 0 0 0 4px rgba(255, 194, 116, .14);
}

html.theme-dark .workbench-shortcut-cancel {
  background: rgba(229, 237, 249, .1);
  color: #dce7f7;
}

html.theme-dark .workbench-shortcut-confirm {
  background: #f4bd6b;
  color: #261a0e;
  box-shadow: 0 12px 22px rgba(244, 189, 107, .18);
}

@keyframes workbench-idle-bob {
  0%, 58%, 100% { transform: translateY(0); }
  63% { transform: translateY(-7px); }
  68% { transform: translateY(0); }
}

@keyframes workbench-idle-float {
  0%, 50%, 100% { transform: translateY(0) rotate(0deg); }
  55% { transform: translateY(-9px) rotate(1deg); }
  61% { transform: translateY(0) rotate(0deg); }
}

@keyframes workbench-idle-wiggle {
  0%, 62%, 100% { transform: rotate(0deg); }
  65% { transform: rotate(-2deg); }
  68% { transform: rotate(2deg); }
  71% { transform: rotate(0deg); }
}

@keyframes workbench-idle-pulse {
  0%, 56%, 100% { transform: scale(1); filter: drop-shadow(0 16px 18px rgba(41, 50, 63, .16)); }
  61% { transform: scale(1.035); filter: drop-shadow(0 18px 24px rgba(245,200,76,.24)); }
  66% { transform: scale(1); filter: drop-shadow(0 16px 18px rgba(41, 50, 63, .16)); }
}

@keyframes workbench-idle-swing {
  0%, 60%, 100% { transform: rotate(-1deg); }
  64% { transform: rotate(2deg) translateY(-4px); }
  70% { transform: rotate(-1deg); }
}

@keyframes workbench-idle-step {
  0%, 64%, 100% { transform: translateX(0); }
  68% { transform: translateX(9px); }
  72% { transform: translateX(0); }
}

@keyframes workbench-gamepad-rest {
  0%, 72%, 100% { translate: 0 0; }
  76% { translate: 0 -2px; }
  80% { translate: 0 0; }
}

@keyframes workbench-label-peek {
  0% { opacity: 0; transform: translateX(-50%) translateY(8px) scale(.92); }
  7%, 48% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
  54%, 62% { opacity: .28; transform: translateX(-50%) translateY(5px) scale(.72); }
  70%, 100% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}

@keyframes workbench-paper-breathe {
  0%, 70%, 100% { translate: 0 0; }
  74% { translate: 0 -3px; }
  78% { translate: 0 0; }
}

@keyframes workbench-board-breathe {
  0%, 68%, 100% {
    transform: translateX(-50%) translateY(0) rotate(.4deg);
    filter: drop-shadow(0 26px 42px rgba(53, 74, 83, .16));
  }
  72% {
    transform: translateX(-50%) translateY(-3px) rotate(.15deg);
    filter: drop-shadow(0 29px 46px rgba(53, 74, 83, .18));
  }
  76% {
    transform: translateX(-50%) translateY(0) rotate(.4deg);
    filter: drop-shadow(0 26px 42px rgba(53, 74, 83, .16));
  }
}

@keyframes workbench-pin-glint {
  0%, 58%, 100% { opacity: .42; transform: scale(1); box-shadow: none; }
  63% { opacity: 1; transform: scale(1.9); box-shadow: 0 0 8px rgba(255,255,255,.72); }
  68% { opacity: .42; transform: scale(1); box-shadow: none; }
}

.workbench-shortcut-toggle {
  position: absolute;
  top: -14px;
  right: -18px;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  border: 0;
  border-radius: 7px;
  padding: 5px 9px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.18s ease, transform 0.18s ease;
  transform: translateY(-2px);
}

.workbench-tool-card.is-admin-tool:hover .workbench-shortcut-toggle,
.workbench-tool-card.is-admin-tool:focus-within .workbench-shortcut-toggle,
.workbench-stats-board-wrap.is-admin-tool:hover .workbench-shortcut-toggle,
.workbench-stats-board-wrap.is-admin-tool:focus-within .workbench-shortcut-toggle {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.workbench-tool-card.is-in-shortcut .workbench-tool-title {
  border-color: rgba(79, 140, 255, .46);
  box-shadow: 0 10px 24px rgba(79, 140, 255, .18);
}
