:root {
  --desktop-ink: #302b4d;
  --desktop-muted: #8b86a7;
  --desktop-muted-2: #aaa6bd;
  --desktop-accent: #7e75ed;
  --desktop-accent-deep: #6258d7;
  --desktop-accent-soft: #ece9ff;
  --desktop-rail: #f3f1ff;
  --desktop-line: #e9e6f3;
  --desktop-panel: #ffffff;
  --desktop-shadow: 0 18px 46px rgba(64, 54, 124, .09), 0 2px 8px rgba(64, 54, 124, .04);
}

body.desktop-mode {
  min-width: 1024px;
  min-height: 680px;
  overflow: hidden;
  color: var(--desktop-ink);
  background: #f8f8fc;
}

.desktop-app-shell[hidden] {
  display: none !important;
}

.desktop-app-shell {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  grid-template-rows: 58px minmax(0, 1fr);
  overflow: hidden;
  color: var(--desktop-ink);
  background:
    radial-gradient(circle at 54% 0%, rgba(133, 122, 239, .055), transparent 31%),
    #fafafd;
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  letter-spacing: .01em;
}

.desktop-app-shell button,
.desktop-app-shell input {
  font: inherit;
}

.desktop-app-shell button {
  -webkit-tap-highlight-color: transparent;
}

.desktop-app-shell button:focus-visible,
.desktop-app-shell input:focus-visible {
  outline: 3px solid rgba(126, 117, 237, .24);
  outline-offset: 2px;
}

.desktop-topbar {
  position: relative;
  z-index: 5;
  min-width: 0;
  min-height: 58px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 18px;
  color: var(--desktop-ink);
  border: 0;
  border-bottom: 1px solid var(--desktop-line);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.desktop-brand {
  min-width: 244px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.desktop-brand-mark {
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(145deg, #9b93ff, #6d64df);
  box-shadow: 0 7px 16px rgba(109, 100, 223, .25), inset 0 1px 0 rgba(255, 255, 255, .22);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.desktop-brand-copy {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 7px;
  white-space: nowrap;
}

.desktop-brand-copy strong {
  color: #443c75;
  font-size: 14px;
  font-weight: 800;
}

.desktop-brand-copy span {
  color: #aaa5c1;
  font-size: 11px;
}

.desktop-home-return {
  min-height: 34px;
  padding: 0 12px;
  display: none;
  align-items: center;
  gap: 7px;
  border: 1px solid #e5e1f3;
  border-radius: 10px;
  color: #665f91;
  background: #faf9ff;
  cursor: pointer;
}

.desktop-home-return:hover {
  color: var(--desktop-accent-deep);
  border-color: #d8d2fa;
  background: var(--desktop-accent-soft);
}

.desktop-search-wrap {
  position: relative;
  flex: 1 1 470px;
  max-width: 500px;
  min-width: 240px;
}

.desktop-search {
  width: 100%;
  height: 35px;
  padding: 0 40px 0 37px;
  border: 1px solid #e5e2ef;
  border-radius: 11px;
  color: #514b75;
  background: #fbfaff;
  font-size: 12px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.desktop-search::placeholder {
  color: #9d98b5;
}

.desktop-search:focus {
  border-color: #c9c2f4;
  background: #fff;
  box-shadow: 0 7px 22px rgba(91, 80, 160, .08);
}

.desktop-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 12px;
  height: 12px;
  border: 1.6px solid #aaa4c5;
  border-radius: 50%;
  transform: translateY(-55%);
  pointer-events: none;
}

.desktop-search-icon::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -3px;
  width: 5px;
  height: 1.6px;
  border-radius: 2px;
  background: #aaa4c5;
  transform: rotate(45deg);
}

.desktop-search-shortcut {
  position: absolute;
  right: 10px;
  top: 50%;
  padding: 1px 6px;
  border: 1px solid #e4e0ee;
  border-radius: 6px;
  color: #aaa5b9;
  background: #fff;
  font-size: 9px;
  transform: translateY(-50%);
  pointer-events: none;
}

.desktop-search-results {
  position: absolute;
  top: 43px;
  left: 0;
  right: 0;
  z-index: 30;
  padding: 7px;
  border: 1px solid rgba(117, 105, 184, .15);
  border-radius: 13px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 20px 48px rgba(55, 45, 105, .16);
}

.desktop-search-results[hidden] {
  display: none !important;
}

.desktop-search-result {
  width: 100%;
  min-height: 43px;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 9px;
  color: #5e587d;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.desktop-search-result:hover,
.desktop-search-result[aria-selected="true"] {
  color: #4f46a6;
  background: #f0edff;
}

.desktop-search-result i {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #756ce0;
  background: #f2f0ff;
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
}

.desktop-search-result span {
  display: block;
  font-size: 12px;
  font-weight: 700;
}

.desktop-search-result small {
  display: block;
  margin-top: 1px;
  color: #a19cb5;
  font-size: 10px;
  font-weight: 400;
}

.desktop-top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
}

.desktop-icon-button {
  position: relative;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  color: #7e789c;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
}

.desktop-icon-button:hover {
  color: var(--desktop-accent-deep);
  background: var(--desktop-accent-soft);
}

.desktop-icon-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.desktop-user-chip {
  min-height: 40px;
  margin-left: 5px;
  padding: 3px 7px 3px 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  border-left: 1px solid var(--desktop-line);
  color: inherit;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.desktop-user-avatar {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #ddd8f7;
  border-radius: 50%;
  color: var(--desktop-accent-deep);
  background: linear-gradient(145deg, #f3f1ff, #d9d3ff);
  font-size: 10px;
  font-weight: 800;
}

.desktop-user-copy {
  min-width: 72px;
  line-height: 1.18;
}

.desktop-user-copy strong,
.desktop-user-copy small {
  display: block;
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.desktop-user-copy strong {
  color: #4d4677;
  font-size: 12px;
}

.desktop-user-copy small {
  margin-top: 3px;
  color: #aaa5ba;
  font-size: 9px;
}

.desktop-user-menu {
  position: absolute;
  top: 52px;
  right: 18px;
  z-index: 40;
  width: 210px;
  padding: 8px;
  border: 1px solid rgba(113, 101, 181, .14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 20px 48px rgba(55, 45, 105, .16);
}

.desktop-user-menu[hidden] {
  display: none !important;
}

.desktop-user-menu-head {
  padding: 9px 10px 11px;
  border-bottom: 1px solid #efedf5;
}

.desktop-user-menu-head strong,
.desktop-user-menu-head small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.desktop-user-menu-head strong {
  color: #4e4775;
  font-size: 12px;
}

.desktop-user-menu-head small {
  margin-top: 4px;
  color: #9c97ae;
  font-size: 10px;
}

.desktop-user-menu button {
  width: 100%;
  min-height: 36px;
  margin-top: 3px;
  padding: 0 10px;
  border: 0;
  border-radius: 9px;
  color: #625c7e;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-size: 11px;
}

.desktop-user-menu button:hover {
  color: #4e45a5;
  background: #f1efff;
}

.desktop-shell-body {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 274px;
}

.desktop-sidebar {
  min-width: 0;
  min-height: 0;
  padding: 22px 13px 16px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #e7e3f2;
  background: var(--desktop-rail);
}

.desktop-nav-label {
  padding: 0 13px 9px;
  color: #aaa4bc;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.desktop-nav-button {
  width: 100%;
  height: 40px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 12px;
  color: #767097;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-size: 12px;
  transition: color .17s ease, background .17s ease, transform .17s ease;
}

.desktop-nav-button:hover {
  color: #554da4;
  background: rgba(255, 255, 255, .72);
}

.desktop-nav-button.active {
  color: #5047ac;
  background: #e3dfff;
  box-shadow: inset 0 0 0 1px rgba(125, 112, 230, .07);
  font-weight: 800;
}

.desktop-nav-icon {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #746be0;
  background: rgba(255, 255, 255, .76);
  font-size: 10px;
  font-weight: 800;
}

.desktop-nav-button.active .desktop-nav-icon {
  color: #fff;
  background: var(--desktop-accent);
  box-shadow: 0 5px 10px rgba(111, 99, 218, .22);
}

.desktop-sidebar-spacer {
  flex: 1;
  min-height: 22px;
}

.desktop-sidebar-note {
  margin: 0 5px 15px;
  padding: 12px 11px;
  border: 1px dashed #d8d2ef;
  border-radius: 12px;
  color: #8f89a8;
  background: rgba(255, 255, 255, .52);
  font-size: 10px;
  line-height: 1.6;
}

.desktop-sidebar-note strong {
  display: block;
  margin-bottom: 3px;
  color: #665fa0;
  font-size: 10px;
}

.desktop-side-help {
  padding: 12px 9px 0;
  border-top: 1px solid #e3dff0;
}

.desktop-side-help button {
  width: 100%;
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  color: #87819f;
  background: transparent;
  cursor: pointer;
  font-size: 10px;
  text-align: left;
}

.desktop-home-canvas {
  min-width: 0;
  min-height: 0;
  padding: 23px 25px 20px;
  display: grid;
  grid-template-rows: auto 184px minmax(0, 1fr);
  gap: 14px;
  overflow: hidden;
  background: transparent;
}

.desktop-breadcrumb {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #a49fba;
  font-size: 10px;
}

.desktop-breadcrumb strong {
  color: #69629a;
  font-weight: 800;
}

.desktop-window-tip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.desktop-window-tip i,
.desktop-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9b91ff;
  box-shadow: 0 0 0 4px rgba(155, 145, 255, .13);
}

.desktop-upper-grid {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: 1.18fr .88fr;
  gap: 14px;
}

.desktop-card {
  min-width: 0;
  border: 1px solid var(--desktop-line);
  border-radius: 17px;
  background: var(--desktop-panel);
  box-shadow: var(--desktop-shadow);
}

.desktop-photo-card {
  position: relative;
  padding: 23px 25px;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 118%, rgba(132, 120, 237, .11) 0 25%, transparent 25.5%),
    linear-gradient(136deg, #f5f3ff 0%, #f9f8ff 43%, #fff 43%);
}

.desktop-photo-card::after {
  content: "";
  position: absolute;
  right: 7%;
  bottom: -52px;
  width: 210px;
  height: 150px;
  border: 1px solid rgba(130, 118, 232, .17);
  border-radius: 50% 50% 0 0;
  transform: rotate(-8deg);
  pointer-events: none;
}

.desktop-eyebrow,
.desktop-card-kicker,
.desktop-aside-label {
  color: #7f75e8;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.desktop-photo-card h1,
.desktop-reserved-card h2,
.desktop-dynamic-title h2,
.desktop-aside-card h3 {
  margin: 0;
  color: #39325f;
  letter-spacing: -.02em;
}

.desktop-photo-card h1 {
  margin-top: 7px;
  font-size: 26px;
  line-height: 1.12;
}

.desktop-photo-card p {
  max-width: 530px;
  margin: 9px 0 14px;
  color: #85809e;
  font-size: 11px;
  line-height: 1.65;
}

.desktop-card-actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
}

.desktop-primary-button,
.desktop-secondary-button {
  min-height: 35px;
  padding: 0 14px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.desktop-primary-button {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #8a80f4, #6b61dd);
  box-shadow: 0 7px 15px rgba(105, 94, 218, .2);
}

.desktop-primary-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(105, 94, 218, .26);
}

.desktop-secondary-button {
  border: 1px solid #dfdcf0;
  color: #746d98;
  background: #fff;
}

.desktop-secondary-button:hover {
  color: #5e55b2;
  border-color: #cbc4f1;
  background: #f7f5ff;
}

.desktop-upload-status {
  max-width: 260px;
  overflow: hidden;
  color: #928cad;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.desktop-photo-preview {
  position: absolute;
  right: 25px;
  bottom: 17px;
  z-index: 1;
  width: 78px;
  height: 58px;
  border: 3px solid rgba(255, 255, 255, .92);
  border-radius: 11px;
  background: center / cover no-repeat #efedfa;
  box-shadow: 0 8px 22px rgba(67, 57, 132, .16);
  transform: rotate(2.5deg);
}

.desktop-photo-preview[hidden] {
  display: none !important;
}

.desktop-reserved-card {
  position: relative;
  padding: 23px 23px 19px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: linear-gradient(135deg, #fff 0%, #fbfaff 100%);
}

.desktop-reserved-card::after {
  content: "";
  position: absolute;
  top: -62px;
  right: -42px;
  width: 150px;
  height: 150px;
  border: 1px solid #ebe8f7;
  border-radius: 50%;
  box-shadow: 0 0 0 17px rgba(244, 241, 255, .68);
}

.desktop-reserved-card h2 {
  margin-top: 8px;
  font-size: 18px;
}

.desktop-reserved-card p {
  position: relative;
  z-index: 1;
  max-width: 310px;
  margin: 7px 0 0;
  color: #8a85a0;
  font-size: 10px;
  line-height: 1.6;
}

.desktop-reserved-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.desktop-reserve-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #827bad;
  font-size: 9px;
}

.desktop-reserve-badge i {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #776ee0;
  background: #f1efff;
  font-style: normal;
}

.desktop-reserved-arrow {
  color: #766de3;
  font-size: 17px;
}

.desktop-dynamic-card {
  min-height: 0;
  padding: 0;
  display: grid;
  grid-template-rows: 70px minmax(0, 1fr) 42px;
  overflow: hidden;
}

.desktop-dynamic-head {
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.desktop-dynamic-title {
  display: flex;
  align-items: center;
  gap: 11px;
}

.desktop-dynamic-title h2 {
  font-size: 17px;
}

.desktop-dynamic-title small {
  display: block;
  margin-top: 3px;
  color: #a09ab1;
  font-size: 9px;
}

.desktop-section-icon {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #746ae0;
  background: #f4f2ff;
  font-size: 12px;
}

.desktop-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #73708f;
  font-size: 9px;
}

.desktop-live i {
  background: #6dccad;
  box-shadow: 0 0 0 4px rgba(109, 204, 173, .14);
}

.desktop-question-stage {
  min-width: 0;
  min-height: 0;
  margin: 0 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(260px, .82fr);
  overflow: hidden;
  border: 1px solid #e7e3f5;
  border-radius: 14px;
  background:
    linear-gradient(rgba(133, 121, 222, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(133, 121, 222, .025) 1px, transparent 1px),
    #f9f8ff;
  background-size: 28px 28px;
  transition: opacity .2s ease, transform .2s ease;
}

.desktop-question-stage.is-changing {
  opacity: .25;
  transform: translateX(-12px);
}

.desktop-question-copy {
  min-width: 0;
  min-height: 0;
  padding: 18px 20px;
  overflow: auto;
  border-right: 1px solid #e7e3f3;
}

.desktop-question-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.desktop-question-pill,
.desktop-question-fact {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 9px;
  border: 1px solid #dedaf0;
  border-radius: 8px;
  color: #756f99;
  background: rgba(255, 255, 255, .82);
  font-size: 9px;
}

.desktop-question-copy h3 {
  margin: 13px 0 7px;
  color: #342d60;
  font-size: 20px;
  line-height: 1.28;
  letter-spacing: -.025em;
}

.desktop-question-copy p {
  max-width: 690px;
  margin: 0;
  color: #87819d;
  font-size: 10px;
  line-height: 1.75;
  white-space: pre-line;
}

.desktop-question-facts {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.desktop-question-actions {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.desktop-question-visual {
  min-width: 0;
  min-height: 0;
  padding: 17px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 11px;
}

.desktop-route-preview {
  min-height: 154px;
  display: grid;
  place-items: center;
  border: 1px solid #e0ddef;
  border-radius: 13px;
  background: rgba(255, 255, 255, .74);
}

.desktop-route-preview svg {
  width: min(100%, 310px);
  height: 155px;
  overflow: visible;
}

.desktop-route-line {
  fill: rgba(131, 119, 237, .07);
  stroke: #948af5;
  stroke-width: 3;
  stroke-linejoin: round;
}

.desktop-route-home-line {
  fill: none;
  stroke: #bbb4f5;
  stroke-width: 2;
  stroke-dasharray: 5 5;
}

.desktop-route-point {
  fill: #8178ed;
}

.desktop-route-home {
  fill: #fff;
  stroke: #8178ed;
  stroke-width: 3;
}

.desktop-route-label {
  fill: #5d5595;
  font-size: 11px;
  font-weight: 800;
}

.desktop-question-visual-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #9994ad;
  font-size: 9px;
}

.desktop-question-visual-row strong {
  color: #5e569c;
  font-size: 9px;
  letter-spacing: .08em;
}

.desktop-dynamic-foot {
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.desktop-carousel-track {
  height: 3px;
  flex: 1;
  overflow: hidden;
  border-radius: 3px;
  background: #e9e5f7;
}

.desktop-carousel-progress {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #9a90fb, #766de5);
}

.desktop-carousel-progress.running {
  animation: desktop-carousel-progress 8s linear forwards;
}

@keyframes desktop-carousel-progress {
  from { width: 0; }
  to { width: 100%; }
}

.desktop-carousel-controls {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #8f89a9;
  font-size: 9px;
  white-space: nowrap;
}

.desktop-carousel-controls button {
  min-width: 31px;
  height: 28px;
  padding: 0 8px;
  border: 0;
  border-radius: 8px;
  color: #7f789d;
  background: transparent;
  cursor: pointer;
}

.desktop-carousel-controls button:hover {
  color: #554ca7;
  background: #efecff;
}

.desktop-home-aside {
  min-width: 0;
  min-height: 0;
  padding: 22px 18px 20px 0;
  display: grid;
  grid-template-rows: 1.18fr .95fr .78fr;
  gap: 14px;
  overflow: hidden;
  background: transparent;
}

.desktop-aside-card {
  min-height: 0;
  padding: 13px 15px;
  overflow: hidden;
}

.desktop-aside-label {
  color: #a099bc;
  font-size: 8px;
}

.desktop-aside-card h3 {
  margin-top: 6px;
  padding-bottom: 9px;
  border-bottom: 1px solid #ece9f3;
  font-size: 15px;
  line-height: 1.35;
}

.desktop-status-button {
  width: 100%;
  min-height: 45px;
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-bottom: 1px solid #efedf5;
  color: inherit;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.desktop-status-button:last-of-type {
  border-bottom: 0;
}

.desktop-status-button:hover .desktop-status-copy strong {
  color: var(--desktop-accent-deep);
}

.desktop-status-index {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #756ce0;
  background: #f1efff;
  font-size: 8px;
  font-weight: 800;
}

.desktop-status-copy {
  min-width: 0;
}

.desktop-status-copy strong,
.desktop-status-copy span {
  display: block;
}

.desktop-status-copy strong {
  color: #5b547e;
  font-size: 10px;
}

.desktop-status-copy span {
  margin-top: 3px;
  overflow: hidden;
  color: #a19bb1;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.desktop-aside-progress {
  height: 5px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 5px;
  background: #eeeaf7;
}

.desktop-aside-progress i {
  display: block;
  width: 64%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8d83f4, #b2a9ff);
}

.desktop-app-shell .desktop-review-button {
  width: 100%;
  padding: 6px 0;
  border: 0;
  border-bottom: 1px solid #efedf5;
  color: #8e88a2;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-size: 9px;
  line-height: 1.55;
}

.desktop-review-button:last-child {
  border-bottom: 0;
}

.desktop-review-button strong {
  display: block;
  margin-bottom: 2px;
  color: #5e577f;
  font-size: 10px;
}

.desktop-review-button:hover strong {
  color: var(--desktop-accent-deep);
}

.desktop-window-card-copy {
  padding-top: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #938da7;
  font-size: 9px;
  line-height: 1.7;
}

.desktop-window-orbit {
  position: relative;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border: 1px solid #dad5f4;
  border-radius: 50%;
}

.desktop-window-orbit::before,
.desktop-window-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.desktop-window-orbit::before {
  inset: 7px;
  border: 1px solid #bdb5f7;
}

.desktop-window-orbit::after {
  inset: 13px;
  background: #8b81f2;
}

.desktop-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 120;
  max-width: min(480px, calc(100vw - 40px));
  padding: 11px 15px;
  border: 1px solid rgba(117, 105, 184, .18);
  border-radius: 12px;
  color: #5d567d;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 16px 42px rgba(52, 44, 97, .18);
  font-size: 11px;
  transform: translate(-50%, 14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.desktop-toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

body.desktop-home-active > header,
body.desktop-home-active > main,
body.desktop-home-active > .site-footer,
body.desktop-workspace-active > header,
body.desktop-workspace-active > .site-footer {
  display: none !important;
}

body.desktop-workspace-active .desktop-app-shell {
  pointer-events: none;
  background: transparent;
}

body.desktop-workspace-active .desktop-topbar,
body.desktop-workspace-active .desktop-sidebar,
body.desktop-workspace-active .desktop-user-menu,
body.desktop-workspace-active .desktop-search-results,
body.desktop-workspace-active .desktop-toast {
  pointer-events: auto;
}

body.desktop-workspace-active .desktop-shell-body {
  grid-template-columns: 84px minmax(0, 1fr);
}

body.desktop-workspace-active .desktop-home-canvas,
body.desktop-workspace-active .desktop-home-aside,
body.desktop-workspace-active .desktop-search-wrap,
body.desktop-workspace-active .desktop-brand-copy span,
body.desktop-workspace-active .desktop-nav-label,
body.desktop-workspace-active .desktop-nav-button > span:last-child,
body.desktop-workspace-active .desktop-sidebar-note,
body.desktop-workspace-active .desktop-side-help span:last-child {
  display: none !important;
}

body.desktop-workspace-active .desktop-brand {
  min-width: 154px;
}

body.desktop-workspace-active .desktop-home-return {
  display: inline-flex;
}

body.desktop-workspace-active .desktop-sidebar {
  padding-inline: 13px;
  align-items: center;
  box-shadow: 8px 0 24px rgba(63, 53, 116, .035);
}

body.desktop-workspace-active .desktop-nav {
  width: 100%;
  align-items: center;
}

body.desktop-workspace-active .desktop-nav-button {
  width: 48px;
  height: 44px;
  justify-content: center;
  padding: 0;
}

body.desktop-workspace-active .desktop-nav-icon {
  width: 27px;
  height: 27px;
  flex-basis: 27px;
}

body.desktop-workspace-active .desktop-side-help {
  width: 100%;
  padding-inline: 0;
}

body.desktop-workspace-active .desktop-side-help button {
  justify-content: center;
}

body.desktop-workspace-active > main {
  position: fixed !important;
  inset: 58px 0 0 84px !important;
  z-index: 55;
  display: block !important;
  min-height: 0 !important;
  overflow: auto;
  background: #f8f8fc;
}

body.desktop-workspace-active > main iframe {
  width: 100%;
  border: 0;
  background: #f8f8fc;
}

body.desktop-workspace-active > main[aria-busy="true"] > iframe {
  visibility: hidden;
}

.desktop-workspace-loading {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 104px 24px 24px;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 12%, rgba(139, 126, 239, .12), transparent 30%),
    rgba(248, 248, 252, .96);
}

.desktop-workspace-loading[hidden] {
  display: none !important;
}

.desktop-workspace-loading-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 248px;
  padding: 16px 20px;
  border: 1px solid rgba(129, 117, 226, .16);
  border-radius: 16px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 18px 48px rgba(70, 57, 145, .08);
  color: #4d4774;
}

.desktop-workspace-loading-spinner {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border: 2px solid #e6e1fb;
  border-top-color: #8274e8;
  border-radius: 50%;
  animation: desktop-workspace-spin .8s linear infinite;
}

.desktop-workspace-loading-copy {
  display: grid;
  gap: 4px;
  font-size: 12px;
  line-height: 1.45;
}

.desktop-workspace-loading-copy strong {
  color: #413a6b;
  font-size: 14px;
  font-weight: 700;
}

.desktop-workspace-loading-copy span {
  color: #918ba8;
}

@keyframes desktop-workspace-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .desktop-workspace-loading-spinner {
    animation: none;
  }
}

body.desktop-mode.simulation-frame-active .desktop-app-shell {
  display: none !important;
}

body.desktop-mode.simulation-frame-active > main {
  position: fixed !important;
  inset: 0 !important;
  z-index: 90;
  overflow: hidden;
}

@media (max-width: 1260px) {
  .desktop-shell-body {
    grid-template-columns: 190px minmax(0, 1fr) 244px;
  }
  .desktop-home-canvas {
    padding-inline: 18px;
  }
  .desktop-home-aside {
    padding-right: 13px;
  }
  .desktop-brand {
    min-width: 210px;
  }
  .desktop-question-stage {
    grid-template-columns: minmax(0, 1fr) minmax(230px, .72fr);
  }
  .desktop-user-copy {
    display: none;
  }
}

@media (max-width: 1100px) {
  .desktop-shell-body {
    grid-template-columns: 174px minmax(0, 1fr);
  }
  .desktop-home-aside {
    display: none;
  }
  .desktop-brand {
    min-width: 185px;
  }
  .desktop-search-wrap {
    min-width: 190px;
  }
  .desktop-home-canvas {
    grid-template-rows: auto 176px minmax(0, 1fr);
  }
}

@media (max-height: 760px) {
  .desktop-home-canvas {
    padding-top: 17px;
    padding-bottom: 15px;
    grid-template-rows: auto 166px minmax(0, 1fr);
    gap: 11px;
  }
  .desktop-sidebar {
    padding-top: 17px;
  }
  .desktop-photo-card,
  .desktop-reserved-card {
    padding-top: 18px;
    padding-bottom: 16px;
  }
  .desktop-photo-card h1 {
    font-size: 23px;
  }
  .desktop-dynamic-card {
    grid-template-rows: 60px minmax(0, 1fr) 36px;
  }
  .desktop-route-preview {
    min-height: 126px;
  }
  .desktop-route-preview svg {
    height: 128px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .desktop-question-stage,
  .desktop-toast,
  .desktop-primary-button {
    transition: none;
  }
  .desktop-carousel-progress.running {
    animation: none;
    width: 100%;
  }
}

