/* Present the current design while the existing page controllers attach. */
@layer creek-page-startup {
  html[data-creek-layout="account"]:not([data-creek-layout-ready]) body { margin: 0 !important; background: #f3f4f6 !important; overflow: hidden !important; }
  html[data-creek-layout="account"]:not([data-creek-layout-ready]) body > :not(#creekPagePreview):not(script):not(style):not(link),
  html[data-creek-layout="account"]:not([data-creek-layout-ready]) body > :not(#creekPagePreview):not(script):not(style):not(link) * { visibility: hidden !important; }
  html[data-creek-layout="header"]:not([data-creek-layout-ready]) body > header,
  html[data-creek-layout="header"]:not([data-creek-layout-ready]) body > header * { visibility: hidden !important; }
  html[data-creek-layout="header"]:not([data-creek-layout-ready]) body > header { height: 80px !important; min-height: 80px !important; padding: 0 !important; margin: 0 !important; position: relative !important; }
  #creekPagePreview { position: absolute !important; inset: 0 0 auto !important; width: 100% !important; z-index: 250 !important; color: #101419 !important; font: 400 15px/1.5 "DM Sans", Arial, sans-serif !important; }
  #creekPagePreview, #creekPagePreview * { box-sizing: border-box !important; }
  #creekPagePreview .creek-startup-header { height: 80px !important; padding: 0 24px !important; border-top: 3px solid #ff3600 !important; background: #fff !important; }
  #creekPagePreview .creek-startup-header-inner { width: min(1200px,100%) !important; height: 77px !important; margin: 0 auto !important; display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 24px !important; }
  #creekPagePreview .creek-startup-logo { width: 206px !important; height: auto !important; flex: 0 0 206px !important; }
  #creekPagePreview .creek-startup-nav { display: flex !important; align-items: center !important; gap: 28px !important; font-size: 15px !important; font-weight: 600 !important; }
  #creekPagePreview .creek-startup-account { width: 110px !important; height: 44px !important; border-radius: 999px !important; background: #f0f2f5 !important; }
  #creekPagePreview .creek-startup-hero { padding: 38px 24px 68px !important; background: #ff3600 !important; color: #fff !important; }
  #creekPagePreview .creek-startup-hero-inner { max-width: 1200px !important; margin: auto !important; display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 44px !important; }
  #creekPagePreview .creek-startup-title { margin: 8px 0 18px !important; font-size: 48px !important; line-height: 1.12 !important; font-weight: 600 !important; letter-spacing: -.04em !important; }
  #creekPagePreview .creek-startup-member { width: 260px !important; height: 156px !important; flex: 0 0 260px !important; border: 1px solid #ffffff55 !important; border-radius: 18px !important; background: #d82e00 !important; }
  #creekPagePreview .creek-startup-tabs { width: min(1200px,calc(100% - 48px)) !important; margin: -30px auto 0 !important; min-height: 64px !important; padding: 8px !important; display: flex !important; align-items: center !important; gap: 6px !important; background: #fff !important; border-radius: 18px !important; }
  #creekPagePreview .creek-startup-tabs span { padding: 12px 24px !important; min-width: 120px !important; text-align: center !important; font-weight: 600 !important; }
  #creekStartupStatus { width: min(1200px,calc(100% - 48px)) !important; margin: 30px auto !important; padding: 24px !important; background: #fff !important; border: 1px solid #e2e5e9 !important; border-radius: 18px !important; color: #59636f !important; }
  html[data-creek-layout="header"] #creekStartupStatus:not([data-failed]) { display: none !important; }
  html[data-creek-layout="header"] #creekStartupStatus { position: absolute !important; right: 24px !important; top: 80px !important; width: auto !important; margin: 8px 0 !important; padding: 8px 14px !important; font-size: 13px !important; }
  #creekStartupStatus button { border: 0 !important; border-radius: 999px !important; margin-left: 10px !important; padding: 10px 18px !important; background: #ff3600 !important; color: #fff !important; font: inherit !important; cursor: pointer !important; }
  #creekStartupStatus button:focus-visible { outline: 2px solid #d82e00 !important; outline-offset: 3px !important; }
  #creekPagePreview noscript { display: block !important; padding: 20px !important; background: #fff !important; }
  @media(max-width:1050px) {
    #creekPagePreview .creek-startup-header, html[data-creek-layout="header"]:not([data-creek-layout-ready]) body > header { height: 72px !important; min-height: 72px !important; }
    #creekPagePreview .creek-startup-header { padding: 0 16px !important; }
    #creekPagePreview .creek-startup-header-inner { height: 69px !important; }
    #creekPagePreview .creek-startup-logo { width: 160px !important; flex-basis: 160px !important; }
    #creekPagePreview .creek-startup-nav { display: none !important; }
    #creekPagePreview .creek-startup-account { width: 70px !important; }
  }
  @media(max-width:760px) {
    #creekPagePreview .creek-startup-hero { padding: 26px 16px 56px !important; }
    #creekPagePreview .creek-startup-title { font-size: 32px !important; }
    #creekPagePreview .creek-startup-description, #creekPagePreview .creek-startup-member { display: none !important; }
    #creekPagePreview .creek-startup-tabs { width: calc(100% - 32px) !important; min-height: 58px !important; gap: 0 !important; }
    #creekPagePreview .creek-startup-tabs span { min-width: 0 !important; flex: 1 !important; padding: 10px 4px !important; font-size: 12px !important; }
    #creekStartupStatus { width: calc(100% - 32px) !important; padding: 20px !important; }
  }
}
