/*
 * GENERATED by scripts/build-sheets-shell-css.cjs. Do not edit by hand.
 * OmniWrite's document-editor shell rules (#editorContent) applied to the spreadsheet page
 * (#sheetEditorApp), so the navbar, toolbar, and phone layout match the document editor exactly.
 */
/* ---- from omniwrite.css (71) ---- */
#sheetEditorApp .navbar {
            gap: 10px;
            max-width: 100%;
            overflow: hidden;
}
#sheetEditorApp .navbar__left {
            flex: 1 1 auto;
            min-width: 0;
            width: auto;
            overflow: hidden;
}
#sheetEditorApp .navbar__right {
            flex: 0 0 auto;
            min-width: max-content;
            max-width: 52%;
            overflow: hidden;
}
#sheetEditorApp #shDocumentTitle {
            flex: 1 1 clamp(150px, 28vw, 320px);
            min-width: 0;
            max-width: clamp(150px, 32vw, 360px);
}
#sheetEditorApp .navbar__right #shDocumentTitle {
            flex: 1 1 clamp(150px, 24vw, 300px);
            width: clamp(150px, 24vw, 300px);
            max-width: clamp(150px, 28vw, 340px);
            pointer-events: auto;
            position: relative;
            z-index: 1;
}
#sheetEditorApp #shEditableTitle {
            cursor: text;
            pointer-events: auto;
            user-select: text;
            -webkit-user-select: text;
            outline: none;
}
#sheetEditorApp .saving-time {
            flex: 0 1 auto;
            min-width: 34px;
            max-width: clamp(34px, 20vw, 260px);
}
#sheetEditorApp #shSavingStatus {
            display: inline-block;
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            vertical-align: middle;
}
@media (max-width: 900px) {
    #sheetEditorApp .navbar {
                    gap: 8px;
                    padding: 0 8px;
    }
    #sheetEditorApp .navbar__left {
                    gap: 8px;
    }
    #sheetEditorApp .navbar__right {
                    gap: 10px !important;
                    padding: 5px 10px !important;
                    max-width: none;
    }
    #sheetEditorApp #shDocumentTitle {
                    flex-basis: clamp(150px, 32vw, 260px);
                    max-width: clamp(150px, 34vw, 280px);
                    padding: 14px 12px !important;
    }
    #sheetEditorApp .saving-time {
                    width: auto;
                    max-width: 34px;
                    flex: 0 0 34px;
                    justify-content: center;
    }
    #sheetEditorApp #shSavingStatus {
                    display: none;
    }
}
@media (max-width: 720px) {
    #sheetEditorApp #shDocumentTitle {
                    flex-basis: clamp(128px, 38vw, 220px);
                    max-width: clamp(128px, 40vw, 220px);
    }
}
#sheetEditorApp .navbar__left > icon.liquid-glass {
            box-sizing: border-box;
            min-width: 44px;
            min-height: 44px;
            padding: 10px;
            border-radius: 18px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
}
@media (max-width: 760px) {
    #sheetEditorApp {
                    max-width: 100%;
                    min-width: 0;
                    box-sizing: border-box;
    }
    #sheetEditorApp .navbar-container,
    #sheetEditorApp .navbar,
    #sheetEditorApp .editor-content-editor,
    #sheetEditorApp .editor-content-area-container,
    #sheetEditorApp .editor-paper-canvas {
                    overflow-x: hidden;
    }
    #sheetEditorApp .toolbar {
                    max-width: 100%;
                    box-sizing: border-box;
                    overflow-x: auto;
                    overscroll-behavior-inline: contain;
    }
    #sheetEditorApp .editor-paper-canvas {
                    scrollbar-gutter: auto;
                    padding-left: 8px;
                    padding-right: 8px;
    }
    #shMobileEditorToolbar {
                    right: 14px;
                    bottom: 14px;
    }
}
body:has(.omni-settings-modal) #shMobileEditorToolbar,
body:has(.omni-recovery-modal) #shMobileEditorToolbar {
            display: none !important;
}
#sheetEditorApp .navbar {
            align-items: center;
            gap: 12px;
}
#sheetEditorApp .navbar__left {
            gap: 12px;
            align-items: center;
}
#sheetEditorApp #toggleSidebar {
            width: 56px;
            height: 56px;
            padding: 0 !important;
            border-radius: 50% !important;
            box-sizing: border-box;
}
#sheetEditorApp .menu-btn:hover {
            transform: none;
            box-shadow: none;
}
#sheetEditorApp .menu-btn icon {
            font-size: 28px;
}
#sheetEditorApp #shDocumentTitle {
            min-height: 56px;
            display: flex !important;
            align-items: center;
            padding: 0 22px !important;
            box-sizing: border-box;
            border-radius: var(--ow-radius-md) !important;
            font-size: var(--ow-fs-label) !important;
            font-weight: 400;
            color: var(--ow-text);
}
#sheetEditorApp #shDocumentTitle * {
            font-size: var(--ow-fs-label) !important;
}
#sheetEditorApp #shSavingStatusPill {
            min-height: 48px;
            padding: 0 16px;
            gap: 8px;
            color: var(--ow-text-muted);
}
#sheetEditorApp #shSavingStatusPill:hover {
            background: var(--ow-hover);
            transform: none;
}
#sheetEditorApp #shSavingStatus {
            font-size: var(--ow-fs-body) !important;
}
#sheetEditorApp #shSavingStatusIcon {
            font-size: 24px !important;
            margin-right: 0 !important;
}
#sheetEditorApp .navbar__right {
            gap: 4px !important;
            padding: 6px 8px !important;
            align-items: center;
            background: var(--ow-glass) !important;
            border: 1px solid var(--ow-border) !important;
            border-radius: 999px !important;
            box-shadow: var(--ow-shadow) !important;
            backdrop-filter: var(--ow-blur) !important;
            -webkit-backdrop-filter: var(--ow-blur) !important;
            color: var(--ow-text);
}
#sheetEditorApp .navbar__right > icon {
            position: relative;
            width: 52px;
            height: 52px;
            display: inline-grid;
            place-items: center;
            border-radius: 50%;
            font-size: 26px;
            color: var(--ow-icon);
            transition: background-color 0.14s ease, color 0.14s ease;
}
#sheetEditorApp .navbar__right > icon:hover {
            background: var(--ow-hover);
            color: var(--ow-text);
            text-shadow: none;
}
#sheetEditorApp .navbar__right > icon:focus-visible {
            outline: 3px solid var(--ow-accent);
            outline-offset: 2px;
}
#sheetEditorApp .navbar__right > #shPinDocumentBtn,
#sheetEditorApp .navbar__right > #shDownloadDocumentBtn {
            margin-left: 17px;
}
#sheetEditorApp .navbar__right > #shPinDocumentBtn::before,
#sheetEditorApp .navbar__right > #shDownloadDocumentBtn::before {
            content: '';
            position: absolute;
            left: -11px;
            top: 50%;
            width: 1px;
            height: 30px;
            transform: translateY(-50%);
            background: var(--ow-divider);
            pointer-events: none;
}
#sheetEditorApp .navbar__right > #shShareDocumentBtn {
            background: var(--ow-accent);
            color: #ffffff !important;
            box-shadow: 0 8px 22px color-mix(in srgb, var(--ow-accent) 35%, transparent);
}
#sheetEditorApp .navbar__right > #shShareDocumentBtn:hover {
            background: var(--ow-accent);
            filter: brightness(1.08);
}
#sheetEditorApp #toggleSidebar {
            flex: 0 0 56px;
}
#sheetEditorApp #shDocumentTitle,
#sheetEditorApp #shSavingStatusPill {
            border-radius: var(--ow-radius-pill) !important;
}
#sheetEditorApp .navbar {
            align-items: center;
            gap: 14px;
            padding: 0 14px;
            background: transparent !important;
}
#sheetEditorApp .navbar__left,
#sheetEditorApp .navbar__right {
            height: 68px;
            box-sizing: border-box;
            align-items: center;
            background: var(--ow-glass) !important;
            border: 1px solid var(--ow-border) !important;
            border-radius: var(--ow-radius-pill) !important;
            box-shadow: var(--ow-shadow) !important;
            backdrop-filter: var(--ow-blur) !important;
            -webkit-backdrop-filter: var(--ow-blur) !important;
            color: var(--ow-text);
}
#sheetEditorApp .navbar__left {
            display: flex;
            gap: 6px;
            padding: 0 10px 0 6px !important;
            margin-right: 0 !important;
}
#sheetEditorApp .navbar__right {
            gap: 4px !important;
            padding: 0 7px !important;
}
#sheetEditorApp .navbar__left > #toggleSidebar,
#sheetEditorApp .navbar__left > #shDocumentTitle,
#sheetEditorApp .navbar__left > icon {
            background: transparent !important;
            border: 0 !important;
            box-shadow: none !important;
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
}
#sheetEditorApp #toggleSidebar {
            flex: 0 0 54px;
            width: 54px;
            height: 54px;
            border-radius: 50% !important;
            color: var(--ow-icon);
}
#sheetEditorApp #toggleSidebar::before {
            display: none;
}
#sheetEditorApp #toggleSidebar:hover {
            background: var(--ow-hover) !important;
            transform: none;
}
#sheetEditorApp #toggleSidebar icon {
            font-size: 28px;
            color: inherit;
}
#sheetEditorApp .navbar__left > icon {
            flex: 0 0 52px;
            width: 52px;
            height: 52px;
            display: inline-grid;
            place-items: center;
            border-radius: 50% !important;
            font-size: 26px;
            color: var(--ow-icon);
}
#sheetEditorApp .navbar__left > icon:hover {
            background: var(--ow-hover) !important;
            text-shadow: none;
}
#sheetEditorApp #shDocumentTitle {
            flex: 1 1 auto !important;
            min-width: 0;
            max-width: none !important;
            min-height: 52px;
            padding: 0 16px !important;
            border-radius: var(--ow-radius-pill) !important;
            font-size: var(--ow-fs-label) !important;
            font-weight: 400;
            color: var(--ow-text) !important;
            transition: background-color 0.14s ease;
}
#sheetEditorApp #shDocumentTitle:hover {
            background: var(--ow-hover) !important;
}
#sheetEditorApp #shDocumentTitle:focus-within {
            background: var(--ow-field) !important;
            box-shadow: 0 0 0 2px var(--ow-accent) !important;
}
#sheetEditorApp #shEditableTitle {
            display: block;
            width: 100%;
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-size: var(--ow-fs-label) !important;
            font-weight: 400;
            line-height: 1.3;
}
#sheetEditorApp #shSavingStatusPill {
            flex: 0 1 auto;
            min-height: 46px;
            max-width: 300px;
            padding: 0 18px 0 14px !important;
            gap: 8px;
            display: inline-flex;
            align-items: center;
            border-radius: var(--ow-radius-pill) !important;
            background: color-mix(in srgb, var(--ow-success) 12%, transparent);
            border: 1px solid color-mix(in srgb, var(--ow-success) 28%, transparent);
            color: var(--ow-text) !important;
            transform: none !important;
}
#sheetEditorApp #shSavingStatusPill:hover {
            background: color-mix(in srgb, var(--ow-success) 18%, transparent);
}
#sheetEditorApp #shSavingStatusPill:focus-visible {
            outline: 3px solid var(--ow-accent);
            outline-offset: 2px;
}
#sheetEditorApp #shSavingStatusIcon {
            font-size: 22px !important;
            margin: 0 !important;
            color: var(--ow-success);
            font-variation-settings: 'FILL' 1;
}
#sheetEditorApp #shSavingStatus {
            font-size: var(--ow-fs-body) !important;
            font-weight: 400;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
}
body.omni-offline #sheetEditorApp #shSavingStatusPill {
            background: color-mix(in srgb, var(--ow-warning) 14%, transparent);
            border-color: color-mix(in srgb, var(--ow-warning) 32%, transparent);
}
body.omni-offline #sheetEditorApp #shSavingStatusIcon {
            color: var(--ow-warning);
}
#sheetEditorApp .navbar__right > icon {
            width: 52px;
            height: 52px;
            border-radius: 50% !important;
}
@media (max-width: 1600px) {
    #sheetEditorApp #shSavingStatusPill {
                    flex: 0 0 46px;
                    width: 46px;
                    padding: 0 !important;
                    justify-content: center;
    }
    #sheetEditorApp #shSavingStatus {
                    display: none;
    }
}
:is(#sheetEditorApp .navbar)
            :is(strong, b, th, h1, h2, h3, h4, h5, h6, .menu-text, span, div, label, button, p, small, a) {
            font-weight: 400;
}
#sheetEditorApp #shDocumentTitle,
#sheetEditorApp #shEditableTitle {
            font-weight: 400 !important;
}
@media (max-width: 900px) {
    #sheetEditorApp .navbar {
                    gap: 10px;
                    padding: 0 10px;
    }
    #sheetEditorApp .navbar__left,
    #sheetEditorApp .navbar__right {
                    height: 64px;
    }
    #sheetEditorApp #shSavingStatusPill {
                    flex: 0 0 46px;
                    width: 46px;
                    padding: 0 !important;
                    justify-content: center;
    }
}
#sheetEditorApp .navbar__left {
            position: relative;
            z-index: 0;
            gap: 0;
            padding: 0 10px 0 0 !important;
            background: transparent !important;
            border: 0 !important;
            box-shadow: none !important;
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
            overflow: visible;
}
#sheetEditorApp .navbar__left::before {
            content: '';
            position: absolute;
            top: 0;
            bottom: 0;
            left: 80px;
            right: 0;
            z-index: -1;
            background: var(--ow-glass);
            border: 1px solid var(--ow-border);
            border-radius: var(--ow-radius-pill);
            box-shadow: var(--ow-shadow);
            backdrop-filter: var(--ow-blur);
            -webkit-backdrop-filter: var(--ow-blur);
            pointer-events: none;
}
#sheetEditorApp .navbar__left > #toggleSidebar {
            flex: 0 0 68px;
            width: 68px;
            height: 68px;
            margin-right: 18px;
            background: var(--ow-glass) !important;
            border: 1px solid var(--ow-border) !important;
            box-shadow: var(--ow-shadow) !important;
            backdrop-filter: var(--ow-blur) !important;
            -webkit-backdrop-filter: var(--ow-blur) !important;
}
#sheetEditorApp .navbar__left > #toggleSidebar:hover {
            background: var(--ow-glass) !important;
            filter: brightness(1.06);
}
#sheetEditorApp .navbar__left > #shDocumentTitle {
            margin-left: 2px;
}
@media (max-width: 900px) {
    #sheetEditorApp .navbar__left > #toggleSidebar {
                    flex-basis: 64px;
                    width: 64px;
                    height: 64px;
                    margin-right: 12px;
    }
    #sheetEditorApp .navbar__left::before {
                    left: 76px;
    }
}
body:has(.omni-icon-modal) #shMobileEditorToolbar {
            display: none !important;
}
#sheetEditorApp .navbar__left {
            flex: 1 1 0% !important;
            min-width: 0 !important;
}
#sheetEditorApp .navbar__left > #shDocumentTitle {
            flex: 1 1 0% !important;
            min-width: 0 !important;
            width: auto !important;
}
#sheetEditorApp .navbar__right {
            flex: 0 0 auto !important;
}

/* ---- from mobile-layout.css (2) ---- */
#shMobileEditorToolbar { display: none;
}
@media (max-width: 760px) {
    body:has(#sheetEditorApp.active) .app {
            height: var(--omni-mobile-height, 100dvh);
    }
    body:has(#sheetEditorApp.active) .main-container {
            height: calc(var(--omni-mobile-height, 100dvh) - 5px);
            min-height: 0;
            margin-inline: 0;
    }
    #sheetEditorApp .navbar-container,
    #sheetEditorApp .editor-content-editor,
    #sheetEditorApp .editor-content-area-container,
    #sheetEditorApp .editor-paper-canvas {
            overflow: visible !important;
    }
    #sheetEditorApp .editor-pages-column,
    #sheetEditorApp .document-page-shell,
    #sheetEditorApp .document-page-editor {
            width: 100% !important;
            min-width: 0 !important;
            max-width: 100% !important;
    }
    #sheetEditorApp .document-page-editor {
            overflow-wrap: anywhere;
            border-radius: 0 !important;
            font-size: 20px !important;
    }
    #sheetEditorApp .editor-paper-canvas { padding-inline: 0;
    }
    #sheetEditorApp .omni-toolbar-shell {
            position: sticky;
            top: 80px;
            z-index: 1000;
            isolation: isolate;
    }
    #sheetEditorApp .toolbar {
            display: grid !important;
            grid-template-columns: repeat(6, minmax(0, 1fr));
            overflow: visible !important;
    }
    #sheetEditorApp .toolbar > vl { display: none !important;
    }
    #sheetEditorApp .toolbar :is(#fontStylesBtn, #shFontFamilyBtn) {
            grid-column: span 3;
            width: 100%;
            min-width: 0 !important;
            max-width: none;
    }
    #sheetEditorApp .toolbar #shFontSizeBtn { grid-column: span 2;
    }
    #sheetEditorApp .toolbar .toolbar-item {
            min-width: 0 !important;
            width: 100% !important;
            height: 44px;
    }
    #sheetEditorApp .toolbar :is(#fontStyleText, #shFontFamilyText) {
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
    }
    #sheetEditorApp .omni-toolbar-scroll-btn { display: none !important;
    }
    body:has(#sheetEditorApp.active) #shMobileEditorToolbar {
            position: fixed;
            inset-inline: 10px;
            bottom: calc(var(--omni-mobile-bottom, 0px) + env(safe-area-inset-bottom) + 10px);
            display: grid;
            grid-template-columns: repeat(8, minmax(0, 1fr));
            grid-template-rows: 44px;
            align-items: center;
            gap: 2px;
            padding: 8px 10px;
            box-sizing: border-box;
            z-index: 1000;
            border-radius: var(--ow-radius-lg) !important;
            background: var(--ow-glass);
            border: 1px solid var(--ow-border);
            box-shadow: var(--ow-shadow);
            backdrop-filter: var(--ow-blur);
            -webkit-backdrop-filter: var(--ow-blur);
            color: var(--ow-text);
    }
    #shMobileEditorToolbar :is(.toolbar-item, .omni-fab-icon) {
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 0;
            width: 100%;
            height: 44px;
            padding: 0 !important;
            box-sizing: border-box;
            border-radius: var(--ow-radius-pill) !important;
            color: var(--ow-icon);
    }
    #shMobileEditorToolbar :is(.toolbar-item, .omni-fab-icon) icon {
            font-size: 22px;
    }
    #shMobileEditorToolbar #voiceTypingBtn { grid-column: -2 / -1;
    }
    #shMobileEditorToolbar #shMobileEditorToolsBtn {
            flex-direction: column;
            gap: 2px;
            overflow: hidden;
            text-transform: none;
    }
    #shMobileEditorToolbar #shMobileEditorToolsBtn icon {
            flex: 0 0 20px;
            font-size: 20px;
            line-height: 20px;
    }
    #shMobileEditorToolsBtn span {
            max-width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            flex: 0 0 14px;
            font-family: 'Google Sans Flex', sans-serif;
            font-feature-settings: 'ss01' 1, 'liga' 0;
            font-size: 11px;
            line-height: 14px;
            text-transform: none;
    }
    #shMobileEditorToolsBtn > * { pointer-events: none;
    }
    body:has(#sheetEditorApp.active) .main-content::after {
            content: '';
            display: block;
            height: calc(var(--omni-mobile-tools-height, 62px) + 20px + env(safe-area-inset-bottom));
    }
    #sheetEditorApp .editor-content-area-container:has(.split-editor) {
            flex-direction: column;
    }
    #sheetEditorApp .editor-content-area-container:has(.split-editor) > .editor-paper-canvas,
    #sheetEditorApp .right-editor-content {
            flex: 1 1 auto;
            min-width: 0;
            min-height: 0;
            width: 100% !important;
            overflow: visible !important;
    }
}

/* ---- from omniwrite-v4.css (4) ---- */
#sheetEditorApp .navbar-container,
#sheetEditorApp .editor-content-editor {
    overflow: visible !important;
}
#sheetEditorApp .navbar {
    position: relative;
    top: auto;
    width: 100%;
}
#sheetEditorApp .editor-content-editor {
    margin-top: 12px;
}
#sheetEditorApp .editor-content-editor > .omni-toolbar-shell {
    position: sticky;
    top: 8px;
    z-index: 1000;
    isolation: isolate;
}
