/* 브라우저 OS의 전용 앱 설치 안내. 설치 앱에는 진입점을 만들지 않는다. */
#nativeInstallDesktop { flex: 0 0 36px; width: 36px; }
#nativeInstallMobile { min-height: 48px; }
.native-install-dialog {
    max-width: calc(100vw - 24px) !important;
    max-height: calc(100dvh - 24px); min-height: 0;
}
.native-install-dialog .os-modal-body { min-height: 0; padding: 20px; }
.native-install-dialog .os-modal-close { min-width: 44px; min-height: 44px; }
.native-install-intro { margin: 0 0 18px; color: var(--text-sub); font-size: var(--fs-body); line-height: 1.6; }
.native-install-card { padding: 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--card-bg); margin-bottom: 12px; }
.native-install-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.native-install-heading h4 { margin: 0; font-size: var(--fs-title); font-weight: 800; color: var(--text-main); }
.native-install-current { padding: 3px 8px; border-radius: 20px; color: var(--color-blue-dark); background: var(--color-blue-light); font-size: var(--fs-meta); font-weight: 700; }
.native-install-card p { margin: 8px 0; font-size: var(--fs-body); line-height: 1.6; }
.native-install-download {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px;
    min-height: 48px; padding: 12px 14px; margin-top: 12px; border-radius: 10px;
    background: var(--color-blue-dark); color: white; text-decoration: none; line-height: 1.5; touch-action: manipulation;
}
.native-install-download strong { font-size: var(--fs-body); }
.native-install-download span { font-size: var(--fs-meta); }
.native-install-download:hover { filter: brightness(.95); }
.native-install-note { margin: 12px 0 0; font-size: var(--fs-meta); color: var(--text-sub); line-height: 1.6; }
.native-install-note a, .native-install-help { color: var(--color-blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.native-install-help { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--fs-body); }
.native-install-steps { list-style: decimal; padding-left: 20px; font-size: var(--fs-body); line-height: 1.6; }
.native-install-steps li + li { margin-top: 6px; }
.native-install-other { margin: 16px 0; }
/* 닫힌 details 내부 링크를 공용 모달의 포커스 순환 대상에서도 제외한다. */
.native-install-other:not([open]) > .native-install-card { display: none; }
.native-install-other > summary { min-height: 48px; padding: 12px 0; cursor: pointer; font-size: var(--fs-body); font-weight: 700; }
.native-install-dialog :is(a, summary):focus-visible { outline: 2px solid var(--color-blue-dark); outline-offset: 3px; }
/* 중간 폭의 기존 웹 상단바는 추가 아이콘 대신 사내 앱 화면의 설치 항목을 사용한다. */
@media (min-width: 769px) and (max-width: 1199px) { #nativeInstallDesktop { display: none; } }
@media (max-width: 600px) {
    .native-install-dialog .os-modal-body { padding: 12px; }
    .native-install-card { padding: 14px; }
}
