.guide-shell {
  --guide-accent: var(--theme-color, #246bfd);
  --guide-accent-hover: var(--theme-hover, #1554d1);
  --guide-text: var(--main-color, #1f2329);
  --guide-muted: var(--muted-color, #667085);
  --guide-line: var(--main-border-color, #e7e9ee);
  --guide-surface: var(--main-bg-color, #fff);
  --guide-page: var(--body-bg-color, #f5f7fa);
  --guide-focus: var(--focus-color, #246bfd);
  color: var(--guide-text);
  font-family: inherit;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgb(36 107 253 / 18%);
}

.guide-shell,
.guide-shell *,
.guide-shell *::before,
.guide-shell *::after { box-sizing: border-box; }

.guide-shell [hidden] { display: none !important; }
.guide-shell ::selection { background: rgb(36 107 253 / 18%); color: var(--guide-text); }
body.zmt-guide-dialog-open { overflow: hidden !important; }

.guide-shell__launcher {
  position: fixed;
  z-index: 99980;
  isolation: isolate;
  inset-inline-end: max(88px, calc(env(safe-area-inset-right) + 24px));
  inset-block-end: max(24px, calc(env(safe-area-inset-bottom) + 20px));
  display: block;
  width: 264px;
  min-width: 264px;
  height: 176px;
  min-height: 176px;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: var(--guide-text);
  cursor: grab;
  font: inherit;
  text-align: start;
  box-shadow: none;
  touch-action: none;
  transition: transform 240ms cubic-bezier(.2, .8, .2, 1), filter 240ms ease;
  will-change: transform;
}

.guide-shell__launcher:hover { transform: translateY(-4px); filter: saturate(1.04); }
.guide-shell__launcher:active { transform: translateY(-1px) scale(.975); }
.guide-shell__launcher::before {
  position: absolute;
  z-index: -1;
  inset: auto auto 1px 7px;
  width: 116px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(ellipse, color-mix(in srgb, var(--guide-accent) 22%, rgb(15 23 42 / 20%)), transparent 70%);
  content: "";
  opacity: .55;
  pointer-events: none;
  animation: guide-character-ground 7.2s cubic-bezier(.45, 0, .3, 1) infinite;
}
.guide-shell__launcher.guide-shell__launcher--dragging { cursor: grabbing; transform: scale(1.025); transition-duration: 80ms; }
.guide-shell__launcher-character { position: absolute; z-index: 3; inset: 0 auto 0 0; display: grid; width: 120px; height: 176px; place-items: end center; transform-origin: 48% 92%; animation: guide-character-idle 7.2s cubic-bezier(.4, 0, .2, 1) infinite; }
.guide-shell__launcher-character::before { position: absolute; z-index: -1; inset: 22px 7px 17px 3px; border-radius: 50%; background: radial-gradient(circle at 54% 42%, color-mix(in srgb, #f5c36f 18%, transparent), transparent 68%); content: ""; opacity: .72; animation: guide-character-aura 7.2s ease-in-out infinite; }
.guide-shell__launcher-character .guide-mascot { display: block; width: 116px; height: 174px; object-fit: contain; filter: drop-shadow(0 14px 13px rgb(15 23 42 / 25%)); }
.guide-mascot__layer { position: absolute; inset: 2px 2px 0; overflow: visible; pointer-events: none; transform-origin: 50% 75%; }
.guide-mascot__layer img { display: block; width: 116px; height: 174px; object-fit: contain; }
.guide-mascot__layer--robe { clip-path: polygon(8% 28%, 88% 25%, 96% 82%, 72% 96%, 17% 92%, 5% 60%); animation: guide-character-robe 7.4s cubic-bezier(.45, 0, .3, 1) infinite; }
.guide-mascot__layer--beard { clip-path: polygon(34% 8%, 65% 8%, 68% 49%, 39% 52%, 30% 27%); transform-origin: 50% 20%; animation: guide-character-beard 6.2s cubic-bezier(.45, 0, .28, 1) infinite; }
.guide-mascot__layer--broom { clip-path: polygon(17% 10%, 39% 8%, 48% 55%, 100% 87%, 100% 100%, 48% 100%, 35% 58%); transform-origin: 31% 27%; animation: guide-character-broom 7.8s cubic-bezier(.4, 0, .2, 1) infinite; }
.guide-mascot__sweep-dust { position: absolute; right: -3px; bottom: 5px; width: 42px; height: 24px; border-radius: 50%; background: radial-gradient(circle at 20% 70%, color-mix(in srgb, var(--guide-accent) 72%, #f0b55e) 0 2px, transparent 3px), radial-gradient(circle at 55% 35%, #f2bd6c 0 1.5px, transparent 2.5px), radial-gradient(circle at 82% 62%, color-mix(in srgb, var(--guide-accent) 62%, #f4c177) 0 1px, transparent 2px); opacity: 0; animation: guide-character-dust 7.8s cubic-bezier(.2, .7, .2, 1) infinite; }
.guide-shell__launcher:hover .guide-shell__launcher-character { animation: guide-character-hover 2.4s cubic-bezier(.4, 0, .2, 1) infinite; }
.guide-shell__launcher:hover .guide-mascot__layer--robe { animation-duration: 4.4s; }
.guide-shell__launcher:hover .guide-mascot__layer--beard { animation-duration: 3.6s; }
.guide-shell__launcher:hover .guide-mascot__layer--broom,
.guide-shell__launcher:hover .guide-mascot__sweep-dust { animation-duration: 4.6s; }
.guide-shell__launcher--dragging .guide-shell__launcher-character { animation: none; transform: rotate(-5deg) translate(-3px, 3px); }
.guide-shell__launcher--dragging .guide-mascot__layer { animation-play-state: paused; }
.guide-shell__launcher--dragging .guide-mascot__sweep-dust { animation-play-state: paused; opacity: 0; }
.guide-shell__launcher-copy { position: absolute; z-index: 1; right: 0; bottom: 31px; display: grid; width: 174px; min-height: 76px; align-content: center; gap: 1px; padding: 9px 45px 9px 39px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--guide-accent) 20%, rgb(148 112 61 / 18%)); border-radius: 8px 18px 18px 8px; background: linear-gradient(118deg, color-mix(in srgb, #f5ead6 88%, var(--guide-surface)) 0%, color-mix(in srgb, var(--guide-surface) 96%, transparent) 54%, color-mix(in srgb, var(--guide-accent) 8%, var(--guide-surface)) 100%); box-shadow: 0 14px 30px rgb(15 23 42 / 14%), inset 0 1px rgb(255 255 255 / 88%), inset 3px 0 color-mix(in srgb, #b27a35 42%, transparent); backdrop-filter: blur(16px) saturate(1.18); transform-origin: 0 50%; animation: guide-copy-breathe 7.2s cubic-bezier(.4, 0, .2, 1) infinite; }
.guide-shell__launcher-copy::before { display: none; }
.guide-shell__launcher-copy::after { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 18%, rgb(255 255 255 / 58%) 43%, transparent 68%); content: ""; opacity: 0; pointer-events: none; transform: translateX(-125%); }
.guide-shell__launcher:hover .guide-shell__launcher-copy::after { animation: guide-copy-sheen 850ms cubic-bezier(.2, .7, .2, 1) 1; }
.guide-shell__launcher-kicker { display: flex; align-items: center; gap: 5px; color: color-mix(in srgb, var(--guide-accent) 62%, #8b5e25); font-size: 9px; font-weight: 720; line-height: 1.3; letter-spacing: .12em; white-space: nowrap; }
.guide-shell__launcher-kicker i { width: 13px; height: 1px; border-radius: 1px; background: currentColor; box-shadow: 5px 0 0 -0.25px color-mix(in srgb, currentColor 45%, transparent); }
.guide-shell__launcher-copy strong { font-family: ui-serif, "Songti SC", "STSong", serif; font-size: 16px; font-weight: 760; line-height: 1.18; letter-spacing: .04em; white-space: nowrap; }
.guide-shell__launcher-copy small { color: var(--guide-muted); font-size: 10px; font-weight: 540; line-height: 1.35; white-space: nowrap; }
.guide-shell__launcher-arrow { position: absolute; right: 11px; top: 50%; width: 27px; height: 27px; border: 1px solid color-mix(in srgb, var(--guide-accent) 26%, transparent); border-radius: 9px; background: color-mix(in srgb, var(--guide-accent) 10%, var(--guide-surface)); box-shadow: inset 0 1px rgb(255 255 255 / 72%), 0 5px 12px rgb(15 23 42 / 9%); transform: translateY(-50%); transition: transform 220ms cubic-bezier(.2, .8, .2, 1), background-color 220ms ease, box-shadow 220ms ease; }
.guide-shell__launcher-arrow::before { position: absolute; left: 7px; top: 12px; width: 10px; height: 1.5px; border-radius: 2px; background: var(--guide-accent); content: ""; transform-origin: right center; transition: width 220ms ease; }
.guide-shell__launcher-arrow::after { position: absolute; right: 7px; top: 9px; width: 7px; height: 7px; border-top: 1.5px solid var(--guide-accent); border-right: 1.5px solid var(--guide-accent); content: ""; transform: rotate(45deg); }
.guide-shell__launcher:hover .guide-shell__launcher-arrow { background: var(--guide-accent); box-shadow: 0 8px 18px color-mix(in srgb, var(--guide-accent) 28%, transparent); transform: translate(3px, -50%) rotate(-3deg); }
.guide-shell__launcher:hover .guide-shell__launcher-arrow::before { width: 13px; background: #fff; }
.guide-shell__launcher:hover .guide-shell__launcher-arrow::after { border-color: #fff; }

@keyframes guide-character-ground { 0%, 18%, 100% { opacity: .42; transform: scale(.92); } 52% { opacity: .56; transform: scale(1); } 72% { opacity: .48; transform: scale(.96); } }
@keyframes guide-character-aura { 0%, 22%, 100% { opacity: .46; transform: scale(.96); } 56% { opacity: .76; transform: scale(1.035); } }
@keyframes guide-character-idle { 0%, 18%, 100% { transform: translateY(0) rotate(0); } 38% { transform: translateY(-1.2px) rotate(-.25deg); } 62% { transform: translateY(-.3px) rotate(.4deg); } 78% { transform: translateY(-1px) rotate(-.18deg); } }
@keyframes guide-character-hover { 0%, 100% { transform: rotate(-.4deg) translateY(0); } 50% { transform: rotate(1deg) translateY(-2px); } }
@keyframes guide-character-robe { 0%, 12%, 100% { transform: skewX(0) scaleX(1); } 48% { transform: skewX(-.55deg) scaleX(1.006); } 74% { transform: skewX(.28deg) scaleX(.998); } }
@keyframes guide-character-beard { 0%, 16%, 100% { transform: rotate(-.3deg) translateX(0); } 44% { transform: rotate(.75deg) translateX(.7px); } 72% { transform: rotate(-.5deg) translateX(-.35px); } }
@keyframes guide-character-broom { 0%, 52%, 100% { transform: rotate(0); } 62% { transform: rotate(-2.2deg); } 75% { transform: rotate(2.8deg); } 86% { transform: rotate(-.65deg); } 93% { transform: rotate(.25deg); } }
@keyframes guide-character-dust { 0%, 55%, 100% { opacity: 0; transform: translate(3px, 4px) scale(.72); } 65% { opacity: .82; } 83% { opacity: 0; transform: translate(-9px, -9px) scale(1.12); } }
@keyframes guide-copy-breathe { 0%, 18%, 100% { transform: translateX(0) scaleX(1); } 52% { transform: translateX(.6px) scaleX(1.003); } }
@keyframes guide-copy-sheen { 0% { opacity: 0; transform: translateX(-125%); } 30% { opacity: .8; } 100% { opacity: 0; transform: translateX(125%); } }

.guide-shell__backdrop {
  position: fixed;
  z-index: 99990;
  inset: 0;
  display: grid;
  place-items: center;
  padding: max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  background: rgb(15 23 42 / 48%);
  backdrop-filter: blur(5px);
}

.guide-shell__dialog {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(900px, 100%);
  max-height: calc(100vh - 40px);
  max-height: min(860px, calc(100dvh - 40px));
  overflow: hidden;
  border-radius: 24px;
  background: var(--guide-surface);
  box-shadow: 0 30px 90px rgb(15 23 42 / 32%), 0 3px 12px rgb(15 23 42 / 12%);
}

.guide-shell__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border-block-end: 1px solid var(--guide-line);
  background: rgb(255 255 255 / 92%);
}

.guide-shell__brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.guide-shell__brand-character { display: grid; width: 44px; height: 58px; flex: 0 0 auto; place-items: end center; }
.guide-shell__brand-character .guide-mascot { display: block; width: 42px; height: 63px; object-fit: contain; filter: drop-shadow(0 5px 6px rgb(15 23 42 / 18%)); transform-origin: 50% 92%; }
.guide-shell--opening .guide-shell__brand-character .guide-mascot { animation: guide-character-open 560ms cubic-bezier(.2, 0, 0, 1) 1; }
@keyframes guide-character-open { 0%, 100% { transform: rotate(0) translateY(0); } 42% { transform: rotate(5deg) translateY(2px); } 70% { transform: rotate(-2deg) translateY(-1px); } }
.guide-shell__brand h2 { margin: 0; font-size: 18px; line-height: 1.35; letter-spacing: -.02em; text-wrap: balance; }
.guide-shell__brand p { margin: 2px 0 0; color: var(--guide-muted); font-size: 12px; line-height: 1.45; text-wrap: pretty; }

.guide-shell__close {
  display: grid;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  place-items: center;
  padding: 0 0 2px;
  border: 0;
  border-radius: 50%;
  background: var(--guide-page);
  color: var(--guide-muted);
  cursor: pointer;
  font: inherit;
  font-size: 27px;
  font-weight: 300;
  line-height: 1;
  transition: transform 150ms cubic-bezier(.2, 0, 0, 1), background-color 150ms ease, color 150ms ease;
}

.guide-shell__close:hover { background: rgb(31 35 41 / 9%); color: var(--guide-text); }
.guide-shell__close:active { transform: scale(.96); }

.guide-shell__body {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding: 22px 24px 26px;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.guide-shell__welcome {
  position: relative;
  overflow: hidden;
  padding: 22px 24px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 96% 10%, rgb(36 107 253 / 15%), transparent 34%),
    linear-gradient(145deg, #f8fbff, #eef4ff);
  box-shadow: inset 0 0 0 1px rgb(31 35 41 / 5%);
}

.guide-shell__eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 9px; color: var(--guide-accent-hover); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.guide-shell__eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--guide-accent); box-shadow: 0 0 0 4px rgb(36 107 253 / 10%); }
.guide-shell__welcome h3 { max-width: 640px; margin: 0; font-size: clamp(24px, 4vw, 32px); line-height: 1.2; letter-spacing: -.035em; text-wrap: balance; }
.guide-shell__welcome > p:last-child { max-width: 590px; margin: 11px 0 0; color: var(--guide-muted); font-size: 14px; line-height: 1.7; text-wrap: pretty; }

.guide-shell__discover,
.guide-shell__form {
  display: grid;
  gap: 12px;
  margin-block-start: 16px;
  padding: 18px;
  border-radius: 18px;
  background: var(--guide-surface);
  box-shadow: 0 12px 34px rgb(31 35 41 / 8%), inset 0 0 0 1px rgb(31 35 41 / 6%);
}

.guide-shell__discover-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.guide-shell__discover-heading span { color: var(--guide-accent-hover); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.guide-shell__discover-heading h3 { margin: 3px 0 0; font-size: 18px; line-height: 1.35; letter-spacing: -.02em; }
.guide-shell__discover-heading small { color: var(--guide-muted); font-size: 11px; }
.guide-shell__task-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; }
.guide-shell__task-grid button {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 7px;
  min-width: 0;
  min-height: 128px;
  padding: 14px;
  border: 1px solid var(--guide-line);
  border-radius: 15px;
  background: color-mix(in srgb, var(--guide-surface) 88%, var(--guide-page));
  color: var(--guide-text);
  cursor: pointer;
  font: inherit;
  text-align: start;
  transition: transform 160ms cubic-bezier(.2, 0, 0, 1), border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}
.guide-shell__task-grid button:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--guide-accent) 38%, var(--guide-line)); background: var(--guide-surface); box-shadow: 0 12px 24px rgb(31 35 41 / 9%); }
.guide-shell__task-grid button:active { transform: scale(.98); }
.guide-shell__task-grid strong { font-size: 13px; line-height: 1.35; }
.guide-shell__task-grid small { color: var(--guide-muted); font-size: 11px; line-height: 1.45; }
.guide-shell__task-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: #fff; font-size: 18px; font-weight: 800; }
.guide-shell__task-icon--radar { background: #ec6941; }
.guide-shell__task-icon--knowledge { background: #4d79e6; }
.guide-shell__task-icon--advice { background: #8b5cf6; }
.guide-shell__task-icon--people { background: #0f9f8f; }
.guide-shell__task-icon--workspace { background: #596579; }

.guide-shell__query-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: stretch; }
.guide-shell__query-row .guide-shell__submit { min-width: 128px; }

.guide-shell__form label { font-size: 15px; font-weight: 700; }

.guide-shell__form textarea {
  width: 100%;
  min-height: 78px;
  padding: 14px 15px;
  resize: vertical;
  border: 1px solid var(--guide-line);
  border-radius: 13px;
  background: var(--guide-page);
  color: var(--guide-text);
  font: inherit;
  font-size: 15px;
  line-height: 1.65;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.guide-shell__form textarea::placeholder { color: color-mix(in srgb, var(--guide-muted) 78%, transparent); }
.guide-shell__form textarea:focus { border-color: var(--guide-focus); background: var(--guide-surface); box-shadow: 0 0 0 4px rgb(36 107 253 / 10%); }

.guide-shell__suggestions { display: flex; flex-wrap: wrap; gap: 7px; }
.guide-shell__suggestions button {
  min-height: 38px;
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  background: var(--guide-page);
  color: var(--guide-text);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  transition: transform 150ms cubic-bezier(.2, 0, 0, 1), background-color 150ms ease, color 150ms ease;
}
.guide-shell__suggestions button:hover { background: rgb(36 107 253 / 9%); color: var(--guide-accent-hover); }
.guide-shell__suggestions button:active { transform: scale(.96); }

.guide-shell__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: 13px;
  background: var(--guide-accent);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  box-shadow: 0 9px 22px rgb(36 107 253 / 22%);
  transition: transform 150ms cubic-bezier(.2, 0, 0, 1), background-color 150ms ease, box-shadow 150ms ease;
}
.guide-shell__submit:hover { background: var(--guide-accent-hover); box-shadow: 0 11px 26px rgb(36 107 253 / 28%); }
.guide-shell__submit:active { transform: scale(.96); }
.guide-shell__submit:disabled { cursor: wait; opacity: .68; box-shadow: none; }

.guide-shell__status { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 7px 16px; min-height: 46px; padding: 12px 2px 4px; color: var(--guide-muted); font-size: 12px; line-height: 1.5; }
.guide-shell__status [data-guide-status]::before { display: inline-block; width: 6px; height: 6px; margin-inline-end: 8px; border-radius: 50%; background: var(--guide-accent); content: ""; vertical-align: 1px; }
.guide-shell__status a { min-height: 40px; padding: 10px 0; color: var(--guide-accent-hover); font-weight: 600; text-decoration: none; }
.guide-shell__status a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

.guide-shell__results { display: grid; gap: 14px; margin-block-start: 16px; }
.guide-shell__results > section { padding: 18px; border-radius: 18px; background: var(--guide-surface); box-shadow: 0 10px 30px rgb(31 35 41 / 7%), inset 0 0 0 1px rgb(31 35 41 / 5%); }
.guide-shell__section-heading { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-block-end: 13px; }
.guide-shell__section-heading span { display: block; margin-block-end: 3px; color: var(--guide-accent-hover); font-size: 10px; font-weight: 800; }
.guide-shell__section-heading h3 { margin: 0; font-size: 20px; letter-spacing: -.02em; text-wrap: balance; }
.guide-shell__section-heading strong { color: var(--guide-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.guide-shell__results ol,
.guide-shell__results ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }

.guide-shell__result { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 15px; border-radius: 14px; background: var(--guide-page); box-shadow: inset 0 0 0 1px rgb(31 35 41 / 4%); }
.guide-shell__result { cursor: pointer; }
.guide-shell__result:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--guide-accent) 35%, var(--guide-line)); }
.guide-shell__result [role="link"]:focus-visible { outline: 3px solid var(--guide-focus); outline-offset: 3px; border-radius: 5px; }
.guide-shell__result--primary { padding: 19px; border: 1px solid color-mix(in srgb, var(--guide-accent) 28%, var(--guide-line)); background: linear-gradient(145deg, color-mix(in srgb, var(--guide-accent) 6%, var(--guide-surface)), var(--guide-surface)); box-shadow: 0 12px 28px rgb(36 107 253 / 10%); }
.guide-shell__result--primary h4 { font-size: 20px; }
.guide-shell__feature-section { border: 1px solid color-mix(in srgb, var(--guide-accent) 13%, transparent); }
.guide-shell__alternatives { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-block-start: 10px !important; }
.guide-shell__alternatives .guide-shell__result { grid-template-columns: 1fr; align-content: space-between; }
.guide-shell__alternatives .guide-shell__action { width: 100%; }
.guide-shell__feature-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.guide-shell__feature-meta span { padding: 5px 8px; border-radius: 7px; background: rgb(36 107 253 / 7%); color: color-mix(in srgb, var(--guide-text) 80%, var(--guide-accent)); font-size: 10px; line-height: 1.4; }
.guide-shell__result > div { min-width: 0; }
.guide-shell__result-kind { display: inline-flex; margin-block-end: 5px; color: var(--guide-accent-hover); font-size: 10px; font-weight: 800; }
.guide-shell__result h4 { margin: 0; font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; text-wrap: pretty; }
.guide-shell__result p { margin: 6px 0 0; color: var(--guide-muted); font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; text-wrap: pretty; }
.guide-shell__result .guide-shell__reason { color: var(--guide-text); }

.guide-shell__action {
  min-width: 82px;
  min-height: 42px;
  padding: 9px 12px;
  border: 0;
  border-radius: 11px;
  background: var(--guide-surface);
  color: var(--guide-accent-hover);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 3px 12px rgb(31 35 41 / 7%), inset 0 0 0 1px rgb(36 107 253 / 14%);
  transition: transform 150ms cubic-bezier(.2, 0, 0, 1), background-color 150ms ease;
}
.guide-shell__action:hover { background: rgb(36 107 253 / 8%); }
.guide-shell__action:active { transform: scale(.96); }
.guide-shell__action:disabled { cursor: wait; opacity: .68; }

.guide-shell__footer { padding: 12px 20px; border-block-start: 1px solid var(--guide-line); background: color-mix(in srgb, var(--guide-page) 72%, var(--guide-surface)); color: var(--guide-muted); font-size: 11px; line-height: 1.5; text-align: center; text-wrap: pretty; }

.guide-shell__launcher:focus-visible,
.guide-shell__close:focus-visible,
.guide-shell__form textarea:focus-visible,
.guide-shell__suggestions button:focus-visible,
.guide-shell__task-grid button:focus-visible,
.guide-shell__submit:focus-visible,
.guide-shell__status a:focus-visible,
.guide-shell__action:focus-visible { outline: 3px solid var(--guide-focus); outline-offset: 3px; }

@media (max-width: 640px) {
  .guide-shell__launcher { inset-inline-end: max(72px, calc(env(safe-area-inset-right) + 68px)); inset-block-end: max(82px, calc(env(safe-area-inset-bottom) + 16px)); min-width: 108px; width: 108px; min-height: 100px; height: 100px; padding: 0; border-radius: 14px; }
  .guide-shell__launcher-copy { right: 0; bottom: 17px; width: 48px; min-height: 34px; height: 34px; gap: 0; padding: 0; border-radius: 6px 12px 12px 6px; box-shadow: 0 9px 20px rgb(15 23 42 / 12%), inset 0 1px rgb(255 255 255 / 82%); }
  .guide-shell__launcher-copy::before { display: none; }
  .guide-shell__launcher-copy::after { display: none; }
  .guide-shell__launcher-kicker,
  .guide-shell__launcher-copy strong,
  .guide-shell__launcher-copy small { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .guide-shell__launcher-arrow { right: 8px; width: 24px; height: 24px; border: 0; border-radius: 8px; box-shadow: none; }
  .guide-shell__launcher-arrow::before { left: 6px; top: 11px; width: 9px; }
  .guide-shell__launcher-arrow::after { right: 6px; top: 8px; width: 6px; height: 6px; }
  .guide-shell__launcher-character { width: 66px; height: 99px; }
  .guide-shell__launcher-character::before { inset: 14px 4px 10px 2px; }
  .guide-shell__launcher-character .guide-mascot { width: 64px; height: 96px; filter: drop-shadow(0 9px 8px rgb(15 23 42 / 22%)); }
  .guide-mascot__layer { inset: 3px 1px 0; }
  .guide-mascot__layer img { width: 64px; height: 96px; }
  .guide-mascot__sweep-dust { right: -1px; bottom: 3px; width: 26px; height: 15px; }
  .guide-shell__launcher::before { left: 2px; bottom: 1px; width: 62px; height: 13px; }
  .guide-shell__backdrop {
    top: var(--guide-visual-top, 0px);
    bottom: auto;
    height: var(--guide-visual-height, 100vh);
    align-items: end;
    padding: 0;
  }
  .guide-shell__dialog {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: calc(var(--guide-visual-height, 100vh) * .92);
    max-height: 860px;
    border-radius: 20px 20px 0 0;
  }
  .guide-shell__header,
  .guide-shell__footer { flex: 0 0 auto; }
  .guide-shell__header { padding: 14px 16px; }
  .guide-shell__brand-character { width: 38px; height: 50px; }
  .guide-shell__brand-character .guide-mascot { width: 36px; height: 54px; }
  .guide-shell__brand p { display: none; }
  .guide-shell__body { flex: 1 1 auto; padding: 16px; }
  .guide-shell__welcome { padding: 20px 18px; }
  .guide-shell__welcome h3 { font-size: 26px; }
  .guide-shell__discover { padding: 15px; }
  .guide-shell__discover-heading small { display: none; }
  .guide-shell__task-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-shell__task-grid button { min-height: 112px; }
  .guide-shell__form { padding: 15px; }
  .guide-shell__form textarea { min-height: 96px; }
  .guide-shell__query-row { grid-template-columns: 1fr; }
  .guide-shell__query-row .guide-shell__submit { width: 100%; }
  .guide-shell__alternatives { grid-template-columns: 1fr; }
  .guide-shell__result { grid-template-columns: 1fr; }
  .guide-shell__action { width: 100%; min-height: 44px; }
  .guide-shell__footer { padding-block-end: max(12px, env(safe-area-inset-bottom)); }
  .guide-shell--mobile-working .guide-shell__welcome,
  .guide-shell--mobile-working .guide-shell__discover,
  .guide-shell--mobile-answer .guide-shell__welcome,
  .guide-shell--mobile-answer .guide-shell__discover { display: none; }
  .guide-shell--mobile-working .guide-shell__body,
  .guide-shell--mobile-answer .guide-shell__body { scroll-behavior: auto; }
  .guide-shell--mobile-answer .guide-shell__form { padding-block: 12px; }
  .guide-shell--mobile-answer .guide-shell__form textarea { min-height: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .guide-shell *,
  .guide-shell *::before,
  .guide-shell *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Preserve the launcher contract when a host page ships broad or legacy Guide overrides. */
.guide-shell[data-guide-shadow-mount] > .guide-shell__launcher {
  width: 264px !important;
  min-width: 264px !important;
  height: 176px !important;
  min-height: 176px !important;
}
.guide-shell[data-guide-shadow-mount] .guide-shell__launcher-character { display: grid !important; }
.guide-shell[data-guide-shadow-mount] .guide-shell__launcher-copy {
  right: 0 !important;
  bottom: 31px !important;
  width: 174px !important;
  min-height: 76px !important;
  height: auto !important;
  padding: 9px 45px 9px 39px !important;
  border-radius: 8px 18px 18px 8px !important;
}
.guide-shell[data-guide-shadow-mount] .guide-shell__launcher-kicker,
.guide-shell[data-guide-shadow-mount] .guide-shell__launcher-copy > strong,
.guide-shell[data-guide-shadow-mount] .guide-shell__launcher-copy > small {
  position: static !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  clip: auto !important;
}
.guide-shell[data-guide-shadow-mount] .guide-shell__launcher-arrow {
  right: 11px !important;
  width: 27px !important;
  height: 27px !important;
}
@media (max-width: 640px) {
  .guide-shell[data-guide-shadow-mount] > .guide-shell__launcher {
    width: 108px !important;
    min-width: 108px !important;
    height: 100px !important;
    min-height: 100px !important;
  }
  .guide-shell[data-guide-shadow-mount] .guide-shell__launcher-copy {
    right: 0 !important;
    bottom: 17px !important;
    width: 48px !important;
    min-height: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    border-radius: 6px 12px 12px 6px !important;
  }
  .guide-shell[data-guide-shadow-mount] .guide-shell__launcher-kicker,
  .guide-shell[data-guide-shadow-mount] .guide-shell__launcher-copy > strong,
  .guide-shell[data-guide-shadow-mount] .guide-shell__launcher-copy > small {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
  }
  .guide-shell[data-guide-shadow-mount] .guide-shell__launcher-arrow {
    right: 8px !important;
    width: 24px !important;
    height: 24px !important;
  }
}
