/* One content height on every device; the iOS status area is additional. */
:root {
    --app-header-height: 64px;
    --app-header-safe-top: 0px;
    --app-header-offset: calc(var(--app-header-height) + var(--app-header-safe-top));
}
html.pwa-standalone { --app-header-safe-top: env(safe-area-inset-top, 0px); }
body .app-page-header {
    position: sticky;
    top: 0;
    z-index: 100;
    box-sizing: border-box;
    width: 100%;
    max-width: 425px;
    height: var(--app-header-offset);
    min-height: var(--app-header-offset);
    margin: 0 auto 16px;
    padding: var(--app-header-safe-top) 0 0;
    border: 0;
    border-radius: 0;
    background-color: #ff7916;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.app-header-bar {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 8px;
    height: var(--app-header-height);
    padding: 0 16px;
    overflow: hidden;
    color: #fff;
    font-size: 18px;
    line-height: 22px;
    font-weight: 400;
}
.app-header-fragment, .app-header-bar > form {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 0;
    min-width: 0;
    max-height: 100%;
    overflow: hidden;
    white-space: nowrap;
}
.app-header-label, .app-header-title {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.app-header-bar :is(.app-header-title, b, strong) { font-size: 18px; font-weight: 400; }
.app-header-label:has(> .app-header-action:only-child) { display: contents; }
.app-header-label:has(> form) { flex: 1 1 auto; }
.app-header-description {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    line-height: 16px;
    font-weight: 400;
}
.app-header-bar .osi-id {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 5px 9px;
    border-radius: 8px;
    background: rgb(255 255 255 / 20%);
    border: 1px solid rgb(255 255 255 / 35%);
    box-shadow: inset 0 1px 3px rgb(255 255 255 / 20%);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-size: 16px;
    line-height: 20px;
}
.app-header-action {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}
.app-page-header .app-header-action .fa { font-size: 20px !important; color: inherit !important; }
.app-header-action svg { width: 20px; height: 20px; }
.app-header-action:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.app-header-image { flex: 0 0 auto; width: 36px; height: 36px; object-fit: cover; border-radius: 8px; }
.app-header-bar .app-header-input { box-sizing: border-box; width: 100%; min-width: 0; height: 36px; min-height: 36px; margin: 0; padding: 5px 9px; font-size: 18px; font-weight: 400; color: #fff; background: transparent; }
.app-header-fragment + .app-header-fragment { font-size: 14px; line-height: 16px; }
.app-header-bar:has(> .app-header-fragment + .app-header-fragment) { flex-direction: column; align-items: stretch; justify-content: center; gap: 0; }
.app-header-bar:has(> .app-header-fragment + .app-header-fragment) > .app-header-fragment { flex: 0 0 auto; }
.app-header-copy { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; overflow: hidden; }
html.legacy-menu-open body .app-header-bar { visibility: hidden; }
html.pwa-standalone.legacy-menu-open body .app-page-header { position: fixed; left: 0; right: 0; }
html.pwa-standalone.legacy-menu-open body { padding-top: var(--app-header-offset); }
