.listing-guide {
  position: fixed; inset: 0; margin: auto; padding: 0; width: min(760px, calc(100% - 40px));
  max-width: none; height: min(900px, calc(100dvh - 40px)); max-height: none;
  border: 1px solid #e2e8f0; border-radius: 24px; background: #fff; color: #0f172a; overflow: hidden;
  box-shadow: 0 24px 80px rgb(15 23 42 / .22); font-family: 'Plus Jakarta Sans', sans-serif;
}
.listing-guide[open] { display: flex; flex-direction: column; animation: guide-enter .2s ease-out; }
.listing-guide:not([open]) { display: none; }
.listing-guide::backdrop { background: rgb(15 23 42 / .55); backdrop-filter: blur(5px); }
.guide-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; border-bottom: 1px solid #e2e8f0; flex-shrink: 0; }
.guide-wordmark { font-size: 11px; letter-spacing: 1.4px; font-weight: 800; color: #047857; }
.guide-close { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; background: #f1f5f9; color: #475569; }
.guide-close svg { width: 18px; height: 18px; }
.guide-content { overflow-y: auto; overscroll-behavior: contain; min-height: 0; padding: 24px; }
.listing-guide p { font-size: 13px; line-height: 1.7; color: #475569; }
.listing-guide strong { color: #1e293b; font-weight: 750; }
.guide-section { margin-top: 24px; }
.guide-section:first-child { margin-top: 0; }
.guide-section-title { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.guide-number { flex-shrink: 0; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #0f172a; color: white; font-size: 11px; font-weight: 800; }
.guide-section h3 { font-size: 17px; font-weight: 800; letter-spacing: -.3px; margin: 2px 0 4px; }
.guide-section-title p { margin: 0; }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.guide-item { padding: 18px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 16px; }
.guide-example { display: inline-flex; gap: 7px; align-items: center; min-height: 32px; padding: 6px 10px; background: #fff; border: 1px solid #cbd5e1; border-radius: 9px; font-size: 11px; font-weight: 750; color: #334155; margin: 0 0 10px; }
.guide-example svg { width: 14px; height: 14px; flex-shrink: 0; }
.guide-example-agent { border-color: #a7f3d0; background: #ecfdf5; color: #047857; }
.guide-example-primary { border-color: #047857; background: #047857; color: white; }
.guide-item p { margin: 0; }
.guide-item p.guide-small { font-size: 11px; margin-top: 10px; color: #64748b; }
.guide-tip { margin-top: 12px; padding: 12px 16px; border-left: 3px solid #10b981; background: #ecfdf5; border-radius: 0 10px 10px 0; }
.guide-extras { margin-top: 24px; border-top: 1px solid #e2e8f0; padding-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.guide-extras h3 { font-size: 13px; font-weight: 800; margin-bottom: 4px; }
.guide-footer { flex-shrink: 0; padding: 16px 24px; border-top: 1px solid #e2e8f0; background: #fff; }
.guide-footer button { width: 100%; min-height: 48px; padding: 12px; border-radius: 13px; background: #047857; color: #fff; font-weight: 750; font-size: 14px; }
.listing-guide button:hover { filter: brightness(.96); }
.listing-guide button:focus-visible, .guide-content:focus-visible, #btn-listing-guide:focus-visible { outline: 3px solid #10b981; outline-offset: 3px; }
@keyframes guide-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 540px) {
  .listing-guide { width: 100%; height: 100dvh; border: none; border-radius: 0; }
  .guide-header { padding: calc(10px + env(safe-area-inset-top, 0px)) 18px 10px; }
  .guide-content { padding: 18px; }
  .guide-grid, .guide-extras { grid-template-columns: 1fr; }
  .guide-footer { padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .listing-guide[open] { animation: none; } }
