/* Transparent frame preserves the parent's background and keyboard focus clearance. */
html, body { min-width: 0; background: transparent; }
body { padding: 8px; }

/* Match the outer page's breakpoints, not the slightly narrower frame viewport. */
html[data-home-viewport="desktop"] .nalsseoyo_system-categoryGrid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
html[data-home-viewport="tablet"] .nalsseoyo_system-categoryGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
html[data-home-viewport="desktop"] .nalsseoyo_system-categoryCard,
html[data-home-viewport="tablet"] .nalsseoyo_system-categoryCard { min-height: 360px; padding: 42px 22px 32px; }
html[data-home-viewport="desktop"] .nalsseoyo_system-categoryIconWrap,
html[data-home-viewport="tablet"] .nalsseoyo_system-categoryIconWrap { width: 118px; height: 118px; }
html[data-home-viewport="desktop"] .nalsseoyo_system-categoryIcon,
html[data-home-viewport="tablet"] .nalsseoyo_system-categoryIcon { width: 104px; height: 104px; }
html[data-home-viewport="desktop"] .nalsseoyo_system-categoryName,
html[data-home-viewport="tablet"] .nalsseoyo_system-categoryName { font-size: 25px; }
html[data-home-viewport="desktop"] .nalsseoyo_system-categoryDescription,
html[data-home-viewport="tablet"] .nalsseoyo_system-categoryDescription { font-size: 13px; margin-top: 15px; }
html[data-home-viewport="mobile"] .nalsseoyo_system-categoryGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
html[data-home-viewport="mobile"] .nalsseoyo_system-categoryCard { min-height: 270px; padding: 28px 14px 23px; }
html[data-home-viewport="mobile"] .nalsseoyo_system-categoryIconWrap { width: 92px; height: 92px; }
html[data-home-viewport="mobile"] .nalsseoyo_system-categoryIcon { width: 84px; height: 84px; }
html[data-home-viewport="mobile"] .nalsseoyo_system-categoryName { font-size: 20px; }
html[data-home-viewport="mobile"] .nalsseoyo_system-categoryDescription { font-size: 12px; margin-top: 12px; }
html[data-home-compact="true"] .nalsseoyo_system-categoryGrid { padding-bottom: 24px; }
html[data-home-compact="true"] .nalsseoyo_system-categoryCard { min-height: 300px; padding: 20px 18px; }
html[data-home-compact="true"] .nalsseoyo_system-categoryIconWrap { width: 88px; height: 88px; }
html[data-home-compact="true"] .nalsseoyo_system-categoryIcon { width: 78px; height: 78px; }
html[data-home-compact="true"] .nalsseoyo_system-categoryDash { margin-top: 8px; }
html[data-home-compact="true"] .nalsseoyo_system-categoryName { margin-top: 14px; }
html[data-home-compact="true"] .nalsseoyo_system-categoryDescription { margin-top: 10px; }
