/* The hub alone owns this presentation; module and shared auth styles stay intact. */
body:has(.hub-shell) { background: #fafaf7; color: #171917; }
.hub-shell { --hub-ink: #171917; --hub-muted: #747870; max-width: 1920px; margin: auto; padding: 0 30px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif; }
.hub-shell *, .hub-shell *::before, .hub-shell *::after { box-sizing: border-box; }
.hub-shell [hidden] { display: none !important; }
.hub-shell a { color: inherit; text-decoration: none; }
.hub-shell button { font: inherit; color: inherit; cursor: pointer; }
.hub-shell button:disabled { opacity: .3; cursor: default; }
.hub-shell :is(a, button, [tabindex]):focus-visible { outline: 2px solid #334e36; outline-offset: 5px; }
.hub-shell p, .hub-shell h1, .hub-shell h2, .hub-shell h3 { margin: 0; }
.hub-shell .hub-sr-only, .hub-skip:not(:focus) { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hub-skip:focus { position: fixed; top: 12px; left: 20px; z-index: 100; background: white; padding: 12px; }
.hub-shell .hub-nav { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hub-shell .hub-brand { font-size: 26px; font-weight: 780; letter-spacing: -1.4px; flex-shrink: 0; }
.hub-brand > span { color: #7e9553; }
.hub-nav-links { display: flex; align-items: center; justify-content: flex-end; gap: 28px; font-size: 14px; font-weight: 550; }
.hub-nav-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.hub-shell .role-chip { padding: 4px 8px; border: 1px solid #dedfd7; border-radius: 4px; font-size: 10px; }
.hub-shell .role-chip.admin { background: #e5eada; }
.hub-shell .role-chip.staff { background: #e4edf2; }
.hub-shell .user-chip { font-size: 12px; max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--hub-muted); }
.hub-shell .hub-signin { border-bottom: 1px solid #b5b9ad; padding-bottom: 4px; }
.hub-section-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 8px 0 16px; }
.hub-section-top p { font-size: 13px; color: #62685f; }
.hub-section-top > span { font-size: 10px; letter-spacing: 1.4px; }
.hub-gallery { display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: 0; padding: 0 0 12px; scrollbar-width: thin; scrollbar-color: #c3c6b9 transparent; }
.hub-gallery::-webkit-scrollbar { height: 4px; }
.hub-gallery::-webkit-scrollbar-thumb { border-radius: 8px; background: #c3c6b9; }
.hub-gallery::after { content: ""; flex: 0 0 max(0px, calc((100% - clamp(540px, 47vw, 740px)) / 2 - 16px)); }
.hub-gallery.is-draggable { cursor: grab; }
.hub-gallery.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.hub-intro { background: #dbec8d; width: clamp(300px, 28vw, 460px); flex-shrink: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 32px; min-height: 635px; scroll-snap-align: start; }
.hub-eyebrow { font-size: 10px; letter-spacing: 1.3px; line-height: 1.5; }
.hub-intro h1 { margin: 48px 0 28px; font-size: clamp(52px, 5vw, 83px); font-weight: 780; line-height: .99; letter-spacing: -4.8px; }
.hub-intro h1 > span { color: #637833; }
.hub-intro > p { margin-bottom: auto; font-size: 17px; letter-spacing: -.4px; line-height: 1.8; }
.hub-intro-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: 60px; }
.hub-intro-bottom > span { font-size: 10px; letter-spacing: .6px; }
.hub-shell .hero-version { font-size: 11px; color: #46552b; }
.hub-shell .project-card { width: clamp(540px, 47vw, 740px); flex-shrink: 0; padding: 26px 30px 28px; border: 0; border-radius: 0; background: #f0ead9; display: flex; flex-direction: column; gap: 0; min-height: 635px; scroll-snap-align: center; scroll-margin-top: 20px; box-shadow: none; transition: none; }
.hub-shell .project-card:hover { transform: none; border: 0; box-shadow: none; }
.hub-shell .project-card[data-theme="mint"] { background: #e1eade; }
.hub-shell .project-card[data-theme="gold"] { background: #f2e4b7; }
.hub-shell .project-card[data-theme="blue"] { background: #e4eaf1; }
.hub-shell .project-card[data-theme="lavender"] { background: #e8e4f1; }
.hub-shell .project-card[data-theme="peach"] { background: #efc4b4; }
.project-card-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 22px; }
.project-category { font-size: 11px; line-height: 1.5; letter-spacing: .3px; }
.hub-shell .project-status { display: flex; align-items: center; gap: 6px; font-size: 10px; line-height: 1.7; color: #5a6458; }
.hub-shell .project-status-dot { width: 5px; height: 5px; background: #447047; border-radius: 50%; flex-shrink: 0; }
.hub-shell .project-status[data-status="offline"] { color: #8b4141; }
.hub-shell .project-status[data-status="offline"] .project-status-dot { background: #a05050; }
.hub-shell .project-status[data-status="degraded"] { color: #805e23; }
.hub-shell .project-status[data-status="degraded"] .project-status-dot { background: #a47a36; }
.hub-shell .project-status[data-status="coming-soon"] .project-status-dot { background: #83867b; }
.hub-preview { height: 362px; min-width: 0; display: flex; flex-direction: column; }
.hub-preview > .hub-demo { min-height: 0; flex: 1; width: 100%; overflow: hidden; border-radius: 9px; box-shadow: 0 14px 25px -14px #292f323b; }
.hub-preview-caption { height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 10px; color: #72776e; }
.hub-demo-controls { display: flex; gap: 12px; }
.hub-demo-controls button { border: 0; background: none; padding: 5px 0; font-size: 10px; }
.hub-demo-controls button:hover { color: #171917; text-decoration: underline; }
.project-copy { margin: 20px 0 24px; }
.hub-shell .project-title { font-size: clamp(28px, 2.3vw, 38px); font-weight: 730; letter-spacing: -1.5px; line-height: 1.15; }
.hub-shell .project-description { font-size: 16px; margin: 8px 0; letter-spacing: -.5px; line-height: 1.6; color: #353b32; }
.project-story { font-size: 11px; line-height: 1.8; color: #777c70; }
.hub-shell .project-meta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: auto; }
.hub-shell .project-link { display: inline-flex; align-items: center; gap: 18px; padding-bottom: 5px; border-bottom: 1px solid #171917; font-size: 17px; font-weight: 600; transition: opacity .18s ease; }
.hub-shell .project-link:is(:hover, :focus-visible) { opacity: .6; }
.hub-shell .project-lock { font-size: 12px; color: #74796c; display: flex; gap: 8px; align-items: center; }
.hub-shell .project-version { font-size: 11px; color: #71776b; }
.hub-shell a.project-version:hover { text-decoration: underline; }
.hub-gallery-tools { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.hub-gallery-tools > p { font-size: 12px; color: #62685d; flex-shrink: 0; }
.hub-gallery-buttons { display: flex; gap: 8px; }
.hub-gallery-buttons button { border: 1px solid #dedfd8; background: transparent; border-radius: 50%; height: 40px; width: 40px; font-size: 21px; transition: background-color .18s ease, border-color .18s ease; }
.hub-gallery-buttons button:not(:disabled):is(:hover, :focus-visible) { background: #e9ecdf; border-color: #bfc7b5; }
.hub-gallery-position { display: flex; gap: 20px; align-items: center; flex: 1; min-width: 0; }
.hub-gallery-position > span { font-size: 10px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hub-progress { height: 2px; flex: 1; background: #d8dcd0; }
.hub-progress > span { display: block; width: 100%; height: 100%; background: #222820; transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.hub-shell .hub-index-link { margin-left: auto; font-size: 13px; flex-shrink: 0; }
.hub-project-index { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 28px; padding: 16px 0 30px; scroll-margin-top: 20px; }
.hub-project-index a { font-size: 11px; padding: 5px 0; border-bottom: 1px solid transparent; transition: border-color .18s ease; }
.hub-project-index a:is(:hover, :focus-visible), .hub-project-index a[aria-current="true"] { border-bottom-color: #758766; }
.hub-updates, .hub-workspace { margin: 54px 0; }
.hub-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #dedfd7; padding-top: 22px; margin-bottom: 22px; }
.hub-section-heading h2 { font-size: 18px; font-weight: 650; letter-spacing: -.3px; }
.hub-section-heading h2 > span { font-size: 11px; font-weight: 400; color: #858b7e; margin-left: 12px; }
.hub-section-heading > a { font-size: 11px; }
.release-preview-grid, .admin-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.hub-shell .release-preview-card { display: flex; flex-direction: column; padding: 10px 0 10px; border: 0; border-radius: 0; }
.release-preview-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 10px; color: #858a7f; }
.hub-shell .release-preview-card h3 { margin: 15px 0 10px; font-size: 16px; line-height: 1.5; font-weight: 580; }
.hub-shell .release-preview-card p { color: #777e70; font-size: 12px; line-height: 1.8; }
.release-preview-link { display: inline-block; margin-top: 18px; font-size: 10px; color: #656e5c; }
.release-preview-card:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.hub-shell .panel-card { background: #f0f1ea; padding: 24px; border-radius: 6px; }
.hub-shell .panel-card h3 { font-size: 16px; margin-bottom: 14px; }
.hub-shell .panel-card p { font-size: 12px; color: #777c72; line-height: 1.8; }
.hub-shell .panel-link { display: inline-block; margin-top: 20px; font-size: 12px; text-decoration: underline; text-underline-offset: 5px; }
.meta-list { margin: 0; padding: 0; list-style: none; font-size: 12px; }
.meta-list li { display: flex; justify-content: space-between; gap: 16px; margin-top: 8px; }
.meta-list li > span:first-child { color: #777c72; }
.hub-footer { border-top: 1px solid #dedfd7; display: flex; justify-content: space-between; gap: 20px; padding: 28px 0 36px; font-size: 11px; color: #7b8174; }
.hub-footer > span { font-weight: 600; color: #171917; }
.hub-empty { background: #eceee5; padding: 40px; min-width: 300px; }
body:has(.hub-shell) > .scanline { display: none; }

/* Short, finite motions around the existing interface demonstrations. */
.hub-shell :is(.project-link, .hub-signin, .hub-index-link, .hub-section-heading > a, .panel-link, .release-preview-link) > span[aria-hidden="true"] { display: inline-block; transition: transform .18s ease; }
.hub-shell :is(.project-link, .hub-signin, .hub-index-link, .hub-section-heading > a, .panel-link):is(:hover, :focus-visible) > span[aria-hidden="true"],
.hub-shell .release-preview-card:is(:hover, :focus-visible) .release-preview-link > span { transform: translate(2px, -2px); }
@keyframes hubEnter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: no-preference) {
    .hub-shell .hub-nav { animation: hubEnter .5s cubic-bezier(.16, 1, .3, 1) both; }
    .hub-section-top { animation: hubEnter .5s .06s cubic-bezier(.16, 1, .3, 1) both; }
    .hub-intro > * { animation: hubEnter .5s .1s cubic-bezier(.16, 1, .3, 1) both; }
    .hub-intro > h1 { animation-delay: .16s; }
    .hub-intro > p { animation-delay: .22s; }
    .hub-intro-bottom { animation-delay: .28s; }
    .hub-gallery > .project-card:first-of-type { animation: hubEnter .5s .16s cubic-bezier(.16, 1, .3, 1) both; }
    .hub-updates .is-revealing { animation: hubEnter .42s cubic-bezier(.16, 1, .3, 1) both; }
    .release-preview-card.is-revealing:nth-child(2) { animation-delay: .06s; }
    .release-preview-card.is-revealing:nth-child(3) { animation-delay: .12s; }
}
.hub-shell :is(.hub-nav, .hub-section-top, .hub-intro > *, .project-card).hub-entered,
.hub-shell [data-hub-reveal]:focus-within { animation: none; }
@media (min-width: 1750px) { .hub-intro { min-height: 680px; } .hub-shell .project-card { min-height: 680px; } .hub-preview { height: 402px; } }
@media (max-width: 1000px) { .hub-shell { padding-inline: 22px; } .hub-nav-links { gap: 18px; } .hub-shell .user-chip { max-width: 140px; } .hub-intro { width: 310px; } .hub-intro h1 { font-size: 64px; } .hub-gallery-tools { gap: 14px; } .hub-gallery-tools > p { font-size: 11px; } }
@media (max-width: 700px) {
    .hub-shell { padding-inline: 16px; }
    .hub-shell .hub-nav { min-height: 90px; align-items: center; flex-wrap: wrap; gap: 8px; padding: 15px 0; }
    .hub-shell .hub-brand { font-size: 24px; }
    .hub-nav-links { gap: 16px; font-size: 11px; flex-wrap: wrap; }
    .hub-shell .user-chip { display: none; }
    .hub-shell .role-chip { font-size: 9px; }
    .hub-section-top { margin: 8px 0 14px; }
    .hub-section-top p { font-size: 10px; }
    .hub-section-top > span { font-size: 9px; letter-spacing: .6px; }
    .hub-gallery { gap: 12px; scroll-snap-type: x proximity; }
    .hub-gallery::after { flex-basis: max(0px, calc((100% - (100vw - 52px)) / 2 - 12px)); }
    .hub-intro { width: 76vw; min-height: 590px; padding: 26px; }
    .hub-intro h1 { font-size: clamp(50px, 16.4vw, 64px); margin-top: 46px; letter-spacing: -4px; }
    .hub-intro > p { font-size: 14px; }
    .hub-intro-bottom > span { font-size: 8px; }
    .hub-eyebrow { font-size: 9px; }
    .hub-shell .project-card { width: calc(100vw - 52px); min-height: 590px; padding: 22px 20px; }
    .project-card-top { margin-bottom: 18px; gap: 6px; }
    .project-category { font-size: 9px; }
    .hub-shell .project-status { font-size: 9px; }
    .hub-preview { height: 322px; }
    .hub-shell .project-title { font-size: 29px; letter-spacing: -1.2px; }
    .hub-shell .project-description { font-size: 13px; }
    .project-copy { margin: 18px 0; }
    .project-story { font-size: 10px; }
    .hub-shell .project-version { font-size: 9px; }
    .hub-gallery-tools { flex-wrap: wrap; gap: 14px; padding: 8px 0 14px; }
    .hub-gallery-tools > p { flex: 1; }
    .hub-gallery-buttons button { height: 36px; width: 36px; }
    .hub-gallery-position { order: 4; flex: 0 0 100%; }
    .hub-shell .hub-index-link { font-size: 11px; }
    .hub-project-index { justify-content: flex-start; gap: 6px 20px; padding: 12px 0 24px; }
    .hub-project-index a { font-size: 10px; }
    .hub-updates, .hub-workspace { margin: 34px 0; }
    .release-preview-grid, .admin-grid { grid-template-columns: 1fr; gap: 22px; }
    .hub-section-heading h2 { font-size: 16px; }
    .hub-section-heading h2 > span { display: none; }
    .hub-footer { flex-wrap: wrap; font-size: 10px; }
    .hub-footer p { order: 3; flex-basis: 100%; }
}
@media (max-width: 360px) { .hub-preview { height: 370px; } }
@media (min-width: 361px) and (max-width: 700px) { .hub-preview:has(.hd-notion_automate) { height: 350px; } }
@media (prefers-reduced-motion: reduce) { .hub-gallery { scroll-behavior: auto; } .hub-shell *, .hub-shell *::before, .hub-shell *::after { animation: none !important; transition: none !important; } }
