/* Shared "← Tutor AI" home link for pages that don't render the site navbar.
   Two forms: .tai-topbar (an in-flow strip above the page, so it can never
   overlap page content) and .tai-backlink--inline (the bare link, for use
   inside a page's own sidebar). */
.tai-backlink {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #7A2650;
    font: 600 14px/1 'IBM Plex Sans', -apple-system, sans-serif;
    text-decoration: none;
}
.tai-backlink:hover,
.tai-backlink:focus-visible { text-decoration: underline; }

.tai-topbar {
    position: relative;
    z-index: 1000;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    padding: 0 16px;
    background: #FFFFFF;
    border-bottom: 1px solid #E3DFD9;
}

.tai-topbar--dark {
    background: #14101A;
    border-bottom-color: rgba(255, 255, 255, 0.15);
}
.tai-topbar--dark .tai-backlink { color: #FFFFFF; }

/* Exploratorium embeds these pages in an iframe with ?embed=1 -- no chrome. */
.embedded .tai-topbar,
.embedded .share-fab,
.embedded .share-fab__toast { display: none; }
