/* One native menu, enhanced only after the first viewport. */
.workflow-shell { --workflow-target:44px; --workflow-label:var(--pt-type-control); font-family:var(--pt-font-family); }
.workflow-shell .workflow-header { background:#0f172a; color:#f8fafc; }
.workflow-shell .workflow-header__inner { display:flex; flex-wrap:nowrap; align-items:center; gap:24px; max-width:1200px; min-height:64px; padding:8px 24px; margin:auto; }
.workflow-shell .workflow-header__brand { display:flex; flex:none; align-items:center; gap:6px; min-height:44px; color:#86efac; text-decoration:none; font-size:var(--pt-type-subheading); line-height:var(--pt-leading-title); font-weight:var(--pt-weight-heading); white-space:nowrap; }
.workflow-shell .workflow-header__brand img { display:block; width:28px; height:28px; object-fit:contain; }
.workflow-shell .workflow-header__current, .workflow-shell .workflow-header__expand { display:none; }
.workflow-shell .workflow-menu { display:flex; flex:1; align-items:center; gap:20px; margin-left:auto; min-width:0; }
.workflow-shell .workflow-menu[hidden] { display:none!important; }
.workflow-shell .workflow-nav { display:flex; flex:1; justify-content:flex-end; align-items:center; gap:20px; order:initial; width:auto; margin:0; }
.workflow-shell .workflow-nav a, .workflow-shell .workflow-account__toggle { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; min-height:44px; min-width:64px; padding:2px 8px; border:0; border-radius:var(--pt-control-radius); font:var(--pt-weight-medium) var(--workflow-label)/var(--pt-leading-title) var(--pt-font-family); color:#f8fafc; text-decoration:none; cursor:pointer; white-space:nowrap; }
.workflow-shell .workflow-nav a[aria-current=page] { background:#1d3034; color:#86efac; }
.workflow-shell svg { width:16px; height:16px; flex:none; }
.workflow-shell .workflow-nav__label--short { display:none; }
.workflow-shell .workflow-credit-count { display:block; font-size:var(--pt-type-control); line-height:var(--pt-leading-icon-sm); font-weight:var(--pt-weight-action); font-variant-numeric:tabular-nums; letter-spacing:0; }
.workflow-shell .workflow-account { position:relative; flex:none; margin:0; }
.workflow-shell .workflow-account__toggle { list-style:none; }
.workflow-shell .workflow-account__toggle::-webkit-details-marker { display:none; }
.workflow-shell .workflow-account__menu { position:absolute; right:0; top:calc(100% + 8px); z-index:40; min-width:210px; max-width:calc(100vw - 24px); padding:8px; border:1px solid #526174; border-radius:var(--pt-control-radius); background:#0f172a; box-shadow:0 8px 18px #0f172a1f; }
.workflow-shell .workflow-account__menu :is(a,button) { display:flex; align-items:center; justify-content:flex-start; width:100%; min-height:44px; padding:10px 12px; border:0; border-radius:var(--pt-control-radius); background:transparent; color:#f8fafc; font:var(--pt-weight-regular) var(--pt-type-control)/var(--pt-leading-caption) var(--pt-font-family); text-align:left; white-space:normal; }
.workflow-shell .workflow-account__menu form { margin:0; }
.workflow-shell .workflow-account__menu .preview-languages { display:flex; flex-wrap:wrap; gap:4px; padding:4px; border-block:1px solid #334155; }
.workflow-shell .workflow-account__menu .preview-languages button { width:auto; flex:1; }
.workflow-shell .preview-languages button[aria-pressed=true] { background:#1d3034; color:#86efac; }
.workflow-shell :is(a,button,summary):focus-visible { outline:3px solid #86efac; outline-offset:3px; }
.workflow-shell :is(a,button,summary):hover { color:#86efac; }

.workflow-shell--compact .workflow-header { position:fixed; inset:0 0 auto; z-index:40; }
.workflow-shell--compact .workflow-header__inner { position:relative; min-height:64px; }
.workflow-shell--compact .workflow-header__brand span { display:none; }
.workflow-shell--compact .workflow-header__brand img { width:44px; height:44px; }
.workflow-shell--compact .workflow-header__current { display:block; min-width:0; flex:1; overflow-wrap:anywhere; font-size:var(--pt-type-control); line-height:var(--pt-leading-caption); font-weight:var(--pt-weight-action); }
.workflow-shell--compact .workflow-header__expand { display:flex; flex:none; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:8px 12px; border:1px solid #526174; border-radius:var(--pt-control-radius); background:transparent; color:#f8fafc; font:var(--pt-weight-medium) var(--pt-type-control)/var(--pt-leading-title) var(--pt-font-family); cursor:pointer; }
.workflow-shell--compact .workflow-menu { position:absolute; top:100%; left:0; right:0; display:block; padding:12px 24px; border-bottom:1px solid #526174; border-radius:0 0 var(--pt-radius) var(--pt-radius); background:#0f172a; box-shadow:0 8px 18px #0f172a1f; max-height:calc(100dvh - 80px); overflow-y:auto; }
.workflow-shell--compact .workflow-nav { justify-content:space-between; gap:12px; }
.workflow-shell--compact .workflow-account { margin-top:12px; border-top:1px solid #334155; }
.workflow-shell--compact .workflow-account__toggle { flex-direction:row; justify-content:flex-start; gap:8px; width:100%; font-size:var(--pt-type-control); padding:8px; }
.workflow-shell--compact .workflow-account__menu { position:static; width:100%; max-width:none; min-width:0; border:0; padding:0; box-shadow:none; }

@media(max-width:639px) {
  .workflow-shell { --workflow-label:var(--pt-type-nav-mobile); }
  .workflow-shell .workflow-header__inner { min-height:56px; padding:6px 8px; gap:4px; }
  .workflow-shell .workflow-header__brand { gap:3px; font-size:var(--pt-type-helper); letter-spacing:-.3px; }
  .workflow-shell .workflow-header__brand img { width:24px; height:24px; }
  .workflow-shell .workflow-menu { gap:10px; margin-left:10px; }
  .workflow-shell .workflow-nav { justify-content:space-between; gap:10px; }
  .workflow-shell .workflow-nav a, .workflow-shell .workflow-account__toggle { min-width:44px; width:44px; padding:0; }
  .workflow-shell .workflow-nav__label--long { display:none; }
  .workflow-shell .workflow-nav__label--short { display:block; }
  .workflow-shell--compact .workflow-header__inner { min-height:64px; padding:8px 12px; gap:10px; }
  .workflow-shell--compact .workflow-header__brand img { width:44px; height:44px; }
  .workflow-shell--compact .workflow-menu { margin:0; padding:12px 16px; }
  .workflow-shell--compact .workflow-account__toggle { width:100%; padding:8px 0; }
}
@media(max-width:360px) {
  .workflow-shell:not(.workflow-shell--compact) .workflow-header__inner { padding-inline:4px; }
  .workflow-shell .workflow-menu { gap:6px; margin-left:0; }
  .workflow-shell .workflow-nav { gap:6px; }
}
@media print {
  .workflow-shell { display:none; min-height:0!important; }
}
