/* Focus-only intranet view. Legacy asset/element names retain the existing template includes. */
body.yui-skin-sam {
    height: auto !important;
    min-height: 0;
}

#buntu-fullscreen-tools {
    position: fixed;
    top: auto;
    right: 16px;
    bottom: 16px;
    z-index: 1000;
    max-width: calc(100% - 32px);
}

#buntu-fullscreen-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    min-height: 48px;
    padding: 12px;
    border: 1px solid #b5bfba;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    color: #175b50;
    box-shadow: 0 2px 12px rgba(23, 28, 27, 0.12);
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    cursor: pointer;
}

#buntu-fullscreen-toggle:hover {
    background: #e8f0eb;
    border-color: #175b50;
}

#buntu-fullscreen-toggle:focus-visible {
    outline: 3px solid #9b4b0b;
    outline-offset: 3px;
}

#buntu-fullscreen-toggle:disabled {
    cursor: wait;
    opacity: 0.7;
}

#buntu-fullscreen-toggle svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

#buntu-fullscreen-status,
#buntu-fullscreen-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

body.buntu-focus-active #headerBar,
body.buntu-focus-active #newMode,
body.buntu-focus-active #searchBoxDiv,
body.buntu-focus-active #main-menu,
body.buntu-focus-active #footerNav,
body.buntu-focus-active .corner_20.navbar-collapse,
body.buntu-focus-active .corner_ContextualMenu.navbar-collapse {
    display: none !important;
}

/* Remove template/admin offsets, not space needed by the page's own content. */
body.buntu-focus-active {
    top: 0 !important;
    margin-top: 0 !important;
}

body.buntu-focus-active #content-area {
    padding-top: 0 !important;
}

@media (max-width: 480px) {
    #buntu-fullscreen-tools {
        right: 12px;
        bottom: 12px;
        max-width: calc(100% - 24px);
    }
}
