/* FrameCore protected adapter for the native OneUI shell. Vendor files remain untouched. */
#main-container{min-height:calc(100vh - 7.5rem)}
#main-container > .content{padding-bottom:1rem}
#page-footer .content{padding-bottom:.75rem}
.fc-debugbar{position:fixed;left:0;right:0;bottom:0;z-index:9999;background:#111827;color:#e5e7eb;padding:.35rem .65rem;border-top:1px solid #374151;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.72rem}
.fc-debugbar strong{color:#fff}
body:has(.fc-debugbar) #page-footer{padding-bottom:1.7rem}
textarea.form-control.codebox{tab-size:4}
.block-content:not(.block-content-full){padding-bottom:1rem}
.block-content.block-content-sm:not(.block-content-full){padding-bottom:.625rem}
.block-content>:last-child{margin-bottom:0}

.fc-package-manifest{max-height:260px;overflow:auto;background:#111827;color:#e5e7eb;border-radius:.4rem;padding:1rem;font-size:.82rem}
.fc-copybox{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;white-space:pre-wrap;word-break:break-word}
.fc-auth-body{min-height:100vh}
.fc-auth-main{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:2rem}
.fc-auth-wrap{width:100%;max-width:440px;margin:auto}
.fc-auth-card{background:var(--bs-body-bg);border:1px solid var(--bs-border-color);border-radius:.5rem;padding:2rem;box-shadow:0 .5rem 2rem rgba(0,0,0,.12)}
.fc-auth-logo{width:64px;height:64px;border-radius:.5rem;display:inline-flex;align-items:center;justify-content:center;background:var(--bs-primary);color:#fff;font-size:1.6rem}
.nav-main-link-icon.fa,.nav-main-link-icon.far,.nav-main-link-icon.fas{font-size:1rem}
#side-overlay .block-transparent{margin-bottom:1rem}
.fc-theme-swatch{width:.85rem;height:.85rem;border-radius:50%;display:inline-block}
.uis-preview{width:100%;height:680px;border:1px solid var(--bs-border-color);border-radius:.375rem;background:#fff}
.uis-code{max-height:620px;overflow:auto;white-space:pre-wrap}
.uis-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem}
.uis-doc-content{white-space:pre-wrap;line-height:1.65}
.uis-doc-toc{position:sticky;top:5.5rem;max-height:calc(100vh - 7rem);overflow:auto}
@media(max-width:991.98px){.uis-doc-toc{position:static;max-height:none}}
