.editor-app{padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);position:relative}.document-pages-viewport{overflow-anchor:none;overscroll-behavior:contain;touch-action:none}.document-pages-viewport[data-touch-gesture=pinch]{overflow:hidden}.document-workspace-shell,.workspace-format-layer{min-width:0}.zoom-mode-trigger{flex:none;width:28px;height:30px}.zoom-mode-menu{z-index:120;min-width:200px;max-width:calc(100vw - 16px);max-height:var(--radix-dropdown-menu-content-available-height);background:#fff;border:1px solid #d1d5db;border-radius:6px;padding:4px;overflow:auto;box-shadow:0 8px 24px #1118272e}.zoom-mode-option{cursor:pointer;border-radius:4px;justify-content:space-between;align-items:center;gap:12px;min-height:40px;padding:8px;font-size:13px;display:flex}.zoom-mode-option[data-highlighted]{background:#f3f4f6;outline:none}.editor-dialog-content>*,.editor-dialog-content form>*{min-width:0}.editor-dialog-content input{max-width:100%}.editor-toolbar{padding-block:2px}.page-drawer{top:var(--sun-visual-top,0px);height:var(--sun-visual-height,100dvh);padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}.editor-app:not([data-editor-layout=desktop]) .thumbnail-sidebar,.editor-app:not([data-editor-layout=desktop]) .document-name{display:none}.editor-app:not([data-editor-layout=desktop]) .pages-drawer-trigger{display:inline-flex}.editor-app{grid-template-rows:auto 68px minmax(0,1fr)}.app-header{min-height:58px}@media (max-width:720px){.editor-app{grid-template-rows:auto 64px minmax(0,1fr)}.app-header{min-height:54px}}@media (max-width:380px){.brand-logo{width:80px}.brand-logo-image{width:87px;top:-11px}.app-header{gap:6px}.header-actions>button[data-export-trigger]{padding-inline:8px}}@media (max-height:500px){.empty-workspace{padding:12px}.import-panel{padding:18px 24px}.import-panel h1{margin-top:10px}.import-panel p{margin-bottom:12px}.continuous-document-stage{padding-top:56px;padding-bottom:70px}.editor-dialog-content{padding:16px}.signature-mode-card{min-height:80px}}@media (any-pointer:coarse){.editor-app button:not(.selection-handle):not(.editor-tool-button):not(.object-hitbox),.editor-dialog-content button,.page-drawer button,.color-picker-popover button,.font-family-option,.zoom-mode-option{min-height:44px}.text-format-toolbar button,.text-style-control button,.alignment-control button,.numeric-stepper button,.selection-action-bar button{min-width:44px}.move-grid{grid-template-columns:repeat(4,44px)}.move-grid button{width:44px}.numeric-stepper{grid-template-columns:44px minmax(38px,1fr) 44px;min-width:144px;height:46px}.numeric-stepper input[type=number],.properties-panel input[type=number],.font-family-select,.editor-dialog-content input:not([type=checkbox]):not([type=radio]),.color-picker-popover input{min-height:44px;font-size:16px}.font-family-select{width:184px}.font-size-input{width:144px}.properties-panel .property-group>label,.properties-panel .property-control-row{grid-template-columns:minmax(0,1fr);gap:6px}.color-swatch-grid{grid-template-columns:repeat(4,minmax(44px,1fr))}.color-swatch-grid .color-swatch,.color-picker-trigger{width:44px;height:44px}.selection-handle:after{content:"";width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.selection-resize-handle-left:after{transform:translate(-100%,-50%)}.selection-resize-handle-right:after{transform:translateY(-50%)}.text-scale-handle-nw:after{transform:translate(-100%,-100%)}.text-scale-handle-ne:after{transform:translateY(-100%)}.text-scale-handle-se:after{transform:translate(0)}.text-scale-handle-sw:after{transform:translate(-100%)}.image-resize-handle-n,.image-resize-handle-s{left:calc(50% - 10px);transform:none}.image-resize-handle-e,.image-resize-handle-w{top:calc(50% - 10px);transform:none}.image-resize-handle:after{z-index:-1}.image-resize-handle-nw:after{transform:translate(-100%,-100%)}.image-resize-handle-n:after{transform:translate(-50%,-100%)}.image-resize-handle-ne:after{transform:translateY(-100%)}.image-resize-handle-e:after{transform:translateY(-50%)}.image-resize-handle-se:after{transform:translate(0)}.image-resize-handle-s:after{transform:translate(-50%)}.image-resize-handle-sw:after{transform:translate(-100%)}.image-resize-handle-w:after{transform:translate(-100%,-50%)}.signature-color-swatch{width:44px;min-width:44px;height:44px}}.editor-workspace:has(.bottom-properties-panel){grid-template-rows:minmax(0,1fr) min(220px,42%);grid-template-columns:minmax(0,1fr);position:relative}.editor-workspace:has(.bottom-properties-panel[data-expanded=false]){grid-template-rows:minmax(0,1fr) 0}.bottom-properties-panel{z-index:80;background:#fff;border-top:1px solid #d1d5db;min-width:0;min-height:0}.editor-workspace:has(.bottom-properties-panel) .continuous-document-stage{padding-bottom:16px}.bottom-properties-panel>div,.bottom-properties-panel .properties-panel{width:100%;min-width:0;max-width:none;height:100%}.bottom-properties-panel .panel-heading{height:44px}.bottom-properties-panel .property-section{height:calc(100% - 44px);padding:10px 12px}.bottom-properties-panel .property-list{margin-top:0}.bottom-properties-toggle{cursor:pointer;place-items:center;width:44px;height:44px;margin-left:auto;display:grid}.bottom-properties-panel[data-expanded=false]{border:1px solid #d1d5db;border-radius:6px;height:44px;position:absolute;bottom:8px;right:8px;box-shadow:0 4px 16px #1118271f}.bottom-properties-restore{cursor:pointer;align-items:center;gap:6px;height:44px;padding:0 12px;font-size:12px;display:flex}:is(.bottom-properties-toggle:focus-visible,.bottom-properties-restore:focus-visible){outline-offset:-3px;outline:2px solid #111827}.editor-app .app-header .header-zoom-group{box-shadow:none;background:0 0;border:0;padding:0;position:static}.header-zoom-group>button:first-child{order:0}.header-zoom-group>.zoom-mode-trigger{order:1;gap:0;padding:0;display:flex}.header-zoom-group>button:nth-child(2){order:2}.header-zoom-group .zoom-output{width:auto}.editor-app:not([data-editor-layout=desktop]) .app-header{flex-wrap:nowrap;gap:4px;padding:4px 8px}.editor-app:not([data-editor-layout=desktop]) .app-header .brand{flex:none}.header-zoom-group{flex:none;margin-left:auto}.header-zoom-group .editor-tool-button-compact,.header-zoom-group .zoom-mode-trigger{flex-basis:44px;width:44px;min-width:44px;height:44px}.editor-app:not([data-editor-layout=desktop]) .app-header .header-actions{flex:none;gap:2px;margin-left:auto}.editor-app:not([data-editor-layout=desktop]) .app-header [data-export-trigger]{width:auto;min-height:44px;padding-inline:10px}.editor-app:not([data-editor-layout=desktop]) .app-header .privacy-settings-button{width:44px;padding:0}.editor-app:not([data-editor-layout=desktop]) .app-header .privacy-settings-button span{display:none}@media (max-width:480px){.editor-app:not([data-editor-layout=desktop]) .app-header{gap:2px;padding-inline:4px}.header-zoom-group .editor-tool-button-compact{flex-basis:32px;width:32px;min-width:32px}.editor-app:not([data-editor-layout=desktop]) .app-header .privacy-settings-button{width:32px;min-width:32px}.editor-app:not([data-editor-layout=desktop]) .app-header [data-export-trigger]{white-space:nowrap;gap:4px;padding-inline:8px}}.editor-app[data-editor-layout=phone] .toast-viewport{align-items:center;width:auto;height:auto;display:flex;position:absolute;inset:0}.editor-app[data-editor-layout=phone] .header-middle{align-self:stretch;position:relative}.editor-app[data-editor-layout=phone] .header-middle:has(.toast-viewport) .header-zoom-group{visibility:hidden}.editor-app[data-editor-layout=phone] .editor-toast{grid-template-columns:minmax(0,1fr) auto 28px;gap:6px;width:100%;min-height:44px;max-height:50px;padding:5px 6px 5px 9px;font-size:11px;line-height:1.2;animation-name:mobile-toast-in}.editor-app[data-editor-layout=phone] .editor-toast[data-action=false]{grid-template-columns:minmax(0,1fr) 28px}.editor-app[data-editor-layout=phone] .editor-toast>svg{display:none}.editor-app[data-editor-layout=phone] .editor-toast>span{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}@keyframes mobile-toast-in{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}@media (max-width:350px){.header-zoom-group .editor-tool-button-compact{flex-basis:28px;width:28px;min-width:28px}.header-zoom-group .zoom-mode-trigger{flex-basis:36px;width:36px;min-width:36px}.editor-app:not([data-editor-layout=desktop]) .app-header .privacy-settings-button{width:28px;min-width:28px}.editor-app:not([data-editor-layout=desktop]) .app-header [data-export-trigger]{white-space:nowrap;gap:2px;padding-inline:4px}}.property-group,.text-properties-controls,.geometry-grid,.geometry-control,.inline-color-palette,.inline-color-palette-body{min-width:0}.properties-panel .property-section{overflow-x:hidden}@media (any-pointer:coarse){.properties-panel .geometry-grid{grid-template-columns:repeat(auto-fit,minmax(144px,1fr))}.properties-panel .numeric-stepper{width:100%;max-width:100%}.inspector-color-grid .inline-color-grid-label{grid-column:1/-1}.bottom-properties-panel .text-properties-controls{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));align-items:start}.bottom-properties-panel .object-kind-row{margin-bottom:8px}}
