/* The slim app frame: header and footer for our web apps (Wall of Love, the
   affiliate dashboard, the student portal). Marketing and content pages use
   frame.css instead. Only gu-app-* selectors (plus the shared skip link), so it
   cannot clash with an app's own styles. Values come from tokens.css.
   Markup: public/assets/site/app-frame.json, built from components/siteNav.ts
   by scripts/build-app-frame.ts. Site Standard: ARCHITECTURE.md section 5. */
.skip-link.gu-skip { position: absolute; left: -9999px; top: 8px; z-index: 60; background: var(--teal-text); color: var(--on-dark); padding: 12px 16px; border-radius: 8px; }
.skip-link.gu-skip:focus { left: 8px; }
.gu-app, .gu-app-foot { font-family: var(--font-body); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.gu-app *, .gu-app-foot * { box-sizing: border-box; letter-spacing: normal; text-transform: none; margin: 0; box-shadow: none; }
.gu-app a:focus-visible, .gu-app-foot a:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.gu-app-in { max-width: 1120px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 8px; min-width: 0; }

/* Header: logo back to the site, then the app's name. */
.gu-app { background: var(--page); border-bottom: 1px solid var(--line); }
.gu-app .gu-app-in { height: 48px; }
.gu-app a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.gu-app-brand { gap: 8px; font: 700 14px var(--font-head); flex: none; }
.gu-app-brand img { display: block; width: 24px; height: 24px; max-width: none; border: 0; padding: 0; }
.gu-app-sep { color: var(--line-control); font-size: 16px; flex: none; }
.gu-app-name { font: 600 14px var(--font-head); color: var(--ink-2) !important; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.gu-app a:hover { color: var(--teal-text) !important; }

/* Footer: one line, copyright and the legal links. */
.gu-app-foot { background: var(--surface-alt); color: var(--ink-2); font-size: 13px; line-height: 1.5; border-top: 1px solid var(--line); }
.gu-app-foot .gu-app-in { justify-content: space-between; flex-wrap: wrap; padding-top: 4px; padding-bottom: 4px; }
.gu-app-legal { display: flex; gap: 16px; }
.gu-app-foot a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); text-decoration: none; }
.gu-app-foot a:hover { color: var(--teal-text); text-decoration: underline; }

@media (max-width: 359px) { .gu-app-brand span { display: none; } }
