.install-guide { margin-top: 18px; border-top: 1px solid #485341; }
.install-guide summary { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 12px 0; color: var(--gold); cursor: pointer; font-size: 13px; list-style: none; touch-action: manipulation; }
.install-guide summary::-webkit-details-marker { display: none; }
.install-guide summary::after { content: ''; width: 8px; height: 8px; border-bottom: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); margin-left: auto; margin-right: 4px; }
.install-guide[open] summary::after { transform: rotate(225deg); }
.install-guide summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.install-guide summary img { border-radius: 6px; flex-shrink: 0; }
.install-guide summary small { display: block; margin-top: 4px; color: #bfc5af; font-size: 11px; }
.install-content ol { margin: 4px 0 12px; padding-left: 22px; }
.install-content li { padding: 5px 0 5px 3px; font-size: 13px; line-height: 1.7; color: #c5cab5; }
.install-content strong { color: #ecdfbe; }
.install-content p { margin: 10px 0 0; }
.install-content [data-install-app] { margin: 4px 0 12px; }
.standalone-app { --app-safe-top: env(safe-area-inset-top, 0px); --app-safe-right: env(safe-area-inset-right, 0px); --app-safe-bottom: env(safe-area-inset-bottom, 0px); --app-safe-left: env(safe-area-inset-left, 0px); overscroll-behavior: none; }
.standalone-app body { padding: var(--app-safe-top) var(--app-safe-right) var(--app-safe-bottom) var(--app-safe-left); overscroll-behavior: none; }
.standalone-app #app { height: calc(100dvh - var(--app-safe-top) - var(--app-safe-bottom)); }
.standalone-app .overlay { top: var(--app-safe-top); right: var(--app-safe-right); bottom: var(--app-safe-bottom); left: var(--app-safe-left); }
.standalone-app .dialog { max-height: 100%; }
@media (pointer: coarse) {
  html { -webkit-text-size-adjust: 100%; }
  input, select, textarea, .chat-form input, .question-row select { font-size: 16px; }
  .dialog .entry-tabs button { min-height: 44px; }
  .touch-pad { grid-template-columns: repeat(3, 44px); grid-template-rows: repeat(2, 44px); }
  .touch-pad button { min-width: 44px; min-height: 44px; }
  .action-button kbd { display: none; }
}
@media (max-width: 600px) {
  .install-content li, .install-content p { font-size: 14px; }
}
