/* 生成物 —— 勿手改，勿提交（static/bundles/ 已 gitignore）。
   真源与顺序：app/static_bundles.py::BUNDLES['base-head.css']（4 个源文件）
   再生：重启进程（main.py 导入期自动）或
   PYTHONPATH=. .venv/bin/python scripts/build_static_bundles.py
   来源：
     - runtime/shared/mobile-shell.css
     - runtime/shared/layer-frame.css
     - runtime/content/plainview.css
     - runtime/content/work-view.css
*/

/* ---- runtime/shared/mobile-shell.css ---- */
                                                               
                              
                                                               
                                
                                                
                                   
                                 
                                        

                                              
                                                         
                                                                  

                                       
                          
                                                           
                                                                    
                                             
                             
                                            
                                                    
:root {
    --primary: #6C63FF;
    --primary-2: #5A50E8;
    --canvas-w: 100%;                        
    --tab-h: 54px;                                 
    --text-1: #3D4852;
    --text-2: #5D6673;
    --text-3: #8A94A6;
    --text-muted: #97A3B5;
    --border: #DCE3EC;
    --border-soft: #E4EAF1;

                                                                      
    --neu-bg: #E0E5EC;                                      
    --neu-inset: #D1D9E6;                                 
    --neu-sh-dark: rgba(163, 177, 198, .7);                  
    --neu-sh-light: rgba(255, 255, 255, .85);                
    --neu-raise: 9px 9px 18px var(--neu-sh-dark), -9px -9px 18px var(--neu-sh-light);                     
    --neu-raise-sm: 5px 5px 10px var(--neu-sh-dark), -5px -5px 10px var(--neu-sh-light);                  
    --neu-raise-xs: 3px 3px 7px var(--neu-sh-dark), -3px -3px 7px var(--neu-sh-light);                        
    --neu-press: inset 5px 5px 12px var(--neu-sh-dark), inset -5px -5px 12px var(--neu-sh-light);             
    --neu-press-sm: inset 3px 3px 6px var(--neu-sh-dark), inset -3px -3px 6px var(--neu-sh-light);           
    --neu-press-xs: inset 2px 2px 4px var(--neu-sh-dark), inset -2px -2px 4px var(--neu-sh-light);           
                                         
                                                      
    --neu-pop-shadow: 0 8px 24px rgba(100, 112, 130, .35), 0 2px 6px rgba(100, 112, 130, .2);
    --neu-radius-card: 24px;                                   
    --neu-radius-sub: 16px;                  
    --neu-radius-pill: 999px;             
    --neu-mask: rgba(15, 23, 42, .35);                              
                                                                              
                                                                
    --neu-accent-grad: linear-gradient(145deg, #7B73FF, var(--primary-2));                   
                                                       
                                                    
    --neu-overlay-bg: var(--neu-bg);                               
    --neu-line: 1px solid rgba(198, 207, 220, .45);                             
    --neu-float-bg: var(--neu-bg);                

                                            
                                                      
    --danger: #E53E3E;                                           
    --danger-tint: rgba(197, 48, 48, .08);                 
    --ok: #38A169;                                   
    --ok-tint: rgba(56, 161, 105, .25);                     
    --primary-tint: rgba(92, 64, 51, .1);                                          
    --tint-soak: rgba(92, 64, 51, .25);                                  
    --tint-edge: rgba(92, 64, 51, .42);                         
    --tint-focus: rgba(92, 64, 51, .38);                
    --hairline: rgba(163, 177, 198, .4);                            
    --stripe: rgba(163, 177, 198, .18);                       
    --pin-wash: rgba(209, 217, 230, .4);                     
                                                          
                                                        
    --canvas-hi: rgba(255, 255, 255, .55);
    --canvas-lo: rgba(163, 177, 198, .38);
}

                                          
                                                              
                                          
                                                             
                                            
                                               
                                     
                                    
                                                 
                                                         
                                     
:root[data-theme="dark"] {
    color-scheme: dark;                                     
    --primary: #C89E6E;
    --primary-2: #E2C29B;
    --text-1: #F2F2F2;
    --text-2: #C9C9C9;
    --text-3: #999999;
    --text-muted: #6E6E6E;
    --border: #3A3A3A;
    --border-soft: #303030;
    --neu-bg: #1A1A1A;
    --neu-inset: #131313;
    --neu-sh-dark: rgba(0, 0, 0, .55);
    --neu-sh-light: rgba(255, 255, 255, .07);
    --neu-pop-shadow: 0 8px 24px rgba(0, 0, 0, .55), 0 2px 6px rgba(0, 0, 0, .4);
    --neu-mask: rgba(0, 0, 0, .55);
    --neu-line: 1px solid rgba(255, 255, 255, .12);
    --neu-accent-grad: var(--neu-bg);
                                               
                                                                     
    --neu-raise: 9px 9px 18px var(--neu-sh-dark), -9px -9px 18px var(--neu-sh-light);
    --neu-raise-sm: 5px 5px 10px var(--neu-sh-dark), -5px -5px 10px var(--neu-sh-light);
    --neu-raise-xs: 3px 3px 7px var(--neu-sh-dark), -3px -3px 7px var(--neu-sh-light);
    --neu-press: inset 5px 5px 12px var(--neu-sh-dark), inset -5px -5px 12px var(--neu-sh-light);
    --neu-press-sm: inset 3px 3px 6px var(--neu-sh-dark), inset -3px -3px 6px var(--neu-sh-light);
    --neu-press-xs: inset 2px 2px 4px var(--neu-sh-dark), inset -2px -2px 4px var(--neu-sh-light);
    --neu-overlay-bg: var(--neu-bg);
    --neu-float-bg: var(--neu-bg);
    --danger: #F0715F;
    --danger-tint: rgba(240, 113, 95, .16);
    --ok: #6FBF8E;
    --ok-tint: rgba(111, 191, 142, .3);
    --primary-tint: rgba(200, 158, 110, .16);
    --tint-soak: rgba(200, 158, 110, .32);
    --tint-edge: rgba(200, 158, 110, .55);
    --tint-focus: rgba(200, 158, 110, .5);
    --hairline: rgba(255, 255, 255, .12);
    --stripe: rgba(255, 255, 255, .06);
    --pin-wash: rgba(255, 255, 255, .07);
    --canvas-hi: rgba(255, 255, 255, .05);
    --canvas-lo: rgba(0, 0, 0, .4);
}

                                                 
                                            
                                                                       
                                           
                                      
                                             
                                                 
                                       
                             
                                                 
                                                   
                       
                                                              
@keyframes themeVtOut {
    from { opacity: 1; }
    to   { opacity: 0; }
}
:root.theme-vt::view-transition-new(root) { animation: none; }
:root.theme-vt::view-transition-old(root) {
    animation: themeVtOut var(--motion-dur-slow) var(--motion-ease-standard) forwards;
}

                                                   
                                 
                                                         
                                                        
                                            
:root {
    --motion-dur-fast: .12s;                
    --motion-dur-med: .24s;                    
    --motion-dur-slow: .28s;                 
    --motion-dur-page: .36s;                             
    --motion-ease-out: cubic-bezier(.2, .8, .2, 1);                      
    --motion-ease-standard: cubic-bezier(.4, 0, .2, 1);            
    --motion-ease-in: cubic-bezier(.4, 0, 1, 1);                   
    --motion-enter-y: 12px;                          
    --motion-exit-y: 10px;                            
}

* { box-sizing: border-box; }

                                              
                                               
                                             
                                      
* { -webkit-tap-highlight-color: transparent; }

                                   
                                       
                                       
                                                  
                                                     
                                       
                                                         
                                     
                                       
                                          
html, body {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    margin: 0;
    padding: 0 !important;
    min-height: 100vh;
    min-height: 100dvh;
                                
                                                        
                                                
    background:
        radial-gradient(1100px 560px at 15% -8%, var(--canvas-hi), transparent 62%),
        radial-gradient(900px 520px at 108% 108%, var(--canvas-lo), transparent 60%),
        var(--neu-bg);
    color: inherit;
    touch-action: manipulation;
}

                              
                                   
                                           
                                                      
.app-canvas,
.app-root {
    width: 100%;
    max-width: var(--canvas-w);
    margin: 0 auto;
    min-height: 100vh;
    min-height: 100dvh;
    background:
        radial-gradient(1100px 560px at 15% -8%, var(--canvas-hi), transparent 62%),
        radial-gradient(900px 520px at 108% 108%, var(--canvas-lo), transparent 60%),
        var(--neu-bg);
    position: relative;
    padding-top: calc(env(safe-area-inset-top, 0px));
    padding-right: calc(env(safe-area-inset-right, 0px));
    padding-left: calc(env(safe-area-inset-left, 0px));
    padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
}

                                               
                                                                    
                                      
                                           
                                       
                                               
                                  
.bottom-tab-bar {
    position: fixed;
    bottom: 0;
                                     
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--canvas-w);
    z-index: 2900;
    height: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--neu-bg);
    box-shadow: -1px -1px 2px var(--neu-sh-light) inset, 14px 14px 30px var(--neu-sh-dark);
    border-top: none;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
                                            
                                                   
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
.bottom-tab-bar::-webkit-scrollbar { display: none; }

.bottom-tab-bar .tab {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--tab-h);
    text-decoration: none;
    color: var(--text-3);
    line-height: 1;
    position: relative;
    transition: color 0.18s ease;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
}
.bottom-tab-bar .tab:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: -2px;
    border-radius: 6px;
}
.bottom-tab-bar .tab-icon {
    font-size: 28px;
    line-height: 1;
}
.bottom-tab-bar .tab.active {
    color: var(--primary);
}
                            
                                                
.bottom-tab-bar .tab.active .tab-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--neu-inset);
    box-shadow: var(--neu-press-sm);
}
.bottom-tab-bar .tab-dot {
    position: absolute;
    top: 5px;
    right: calc(50% - 24px);
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    border-radius: 8px;
    background: var(--danger);
    color: #fff;
    font-size: 10px;
    padding: 0 4px;
    font-weight: 600;
    box-sizing: border-box;
    display: none;
}
.bottom-tab-bar .tab-dot.show { display: inline-block; }

                                   
                                                       
html.keyboard-open .bottom-tab-bar,
html.modal-open .bottom-tab-bar { display: none !important; }

                                                
                                         
                                        
                                                                
                                              
                                        
                                          
.fw-refresh-btn {
    position: fixed;
    right: max(14px, calc((100vw - var(--canvas-w)) / 2 + 14px));
    bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 14px);
    z-index: 2900;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--neu-bg);
    box-shadow: var(--neu-raise-sm);
    color: var(--text-2);
    font-size: 21px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}
                                    
.fw-refresh-btn:active { box-shadow: var(--neu-press-sm); }
.fw-refresh-btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
html.keyboard-open .fw-refresh-btn,
html.modal-open .fw-refresh-btn { display: none !important; }
                                                       
                                                     
.fw-refresh-btn[hidden] { display: none !important; }

                                 
                                        
                                       
button, .btn, [role="button"] {
    min-height: 44px;
    padding-top: 0;
    padding-bottom: 0;
}
                                           
                                           
                                          
                                                  
                                            
button, .btn, [role="button"], a {
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}
button:focus-visible, .btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

button:disabled, .btn:disabled, [aria-disabled="true"] {
    opacity: 0.55;
    cursor: not-allowed;
}

                                           
input, select, textarea, [contenteditable="true"] {
    font-size: 16px;
    line-height: 1.4;
}
input[type="checkbox"], input[type="radio"] {
    min-width: 22px;
    min-height: 22px;
}
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
    min-height: 44px;
}
input:focus-visible, select:focus-visible, textarea:focus-visible,
[contenteditable="true"]:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 1px;
}

                       
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

                                                                
                                 
                                               
                                     

                                            
                                                   
                                                       
                                      
                                                
                                     

                                                                    
                                                      
                                           
                                                           
                                                    
           
@view-transition {
    navigation: auto;
}
::view-transition-old(root) { animation: vtContainerOut var(--motion-dur-page) var(--motion-ease-standard) forwards; }
::view-transition-new(root) { animation: vtContainerIn var(--motion-dur-page) var(--motion-ease-standard) forwards; }
@keyframes vtContainerOut {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(calc(var(--motion-enter-y) * -1)); }
}
@keyframes vtContainerIn {
    from { opacity: 0; transform: translateY(var(--motion-enter-y)); }
    to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    ::view-transition-old(root),
    ::view-transition-new(root),
    ::view-transition-group(root) {
        animation-duration: 0.001ms !important;
    }
}

                                                                  
                                                                 
                                           
                                                   
                                              
                                                         
@keyframes shellEnter {
    from { opacity: 0; transform: translateY(var(--motion-enter-y)); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes shellExit {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(var(--motion-exit-y)); }
}
.shell-enter { animation: shellEnter var(--motion-dur-slow) var(--motion-ease-out); }
.shell-closing {
    pointer-events: none;                    
    animation: shellExit var(--motion-dur-med) var(--motion-ease-in) forwards;
}

                                                    
                                                              
                                                 
.lf-chrome-back,
.lf-chrome-close {
    flex: none;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    border-radius: 50%;
    line-height: 1;
    color: var(--text-2, #4a5568);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.lf-chrome-titlebar {
    position: relative;                                         
    display: flex;
    align-items: center;
    gap: 8px;
                                                    
                                 
    padding: 2px;
}
.lf-chrome-back { font-size: 1.5rem; }
.lf-chrome-close { font-size: 1.4rem; }
.lf-chrome-back:active,
.lf-chrome-close:active { background: var(--border-soft, #edf2f7); }

                                                                         
.ms-confirm-overlay {
    position: fixed;
                                               
                                             
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4100;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.ms-confirm-overlay.active { display: flex; }
.ms-confirm {
    background: var(--neu-bg);
    border-radius: 14px;
    width: 100%;
    max-width: 420px;
                                             
                                                           
                                   
    max-height: 80%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.ms-confirm-title {
    padding: 16px 18px 4px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-1);
}
.ms-confirm-title:empty { display: none; }
.ms-confirm-message {
    padding: 6px 18px 16px;
    font-size: 0.95rem;
    color: var(--text-2);
    line-height: 1.5;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.ms-confirm-actions {
    display: flex;
    gap: 8px;
    padding: 0 14px 14px;
    justify-content: flex-end;
    flex-wrap: wrap;
}
.ms-confirm-actions button {
    flex: 1 1 0;
    min-width: 96px;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    background: var(--border-soft);
    color: var(--text-1);
}
.ms-confirm-actions button.ms-confirm-cancel:focus-visible,
.ms-confirm-actions button.ms-confirm-ok:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
.ms-confirm-actions button.ms-confirm-ok {
    background: var(--primary);
    color: #fff;
}
.ms-confirm-actions button.ms-confirm-ok.danger {
    background: var(--danger);
}

                                                                   
                                         
.ms-toast-region {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    z-index: 4200;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
    width: min(420px, calc(100vw - 32px));
}
html.modal-open .ms-toast-region {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}
.ms-toast {
    background: rgba(45, 55, 72, 0.94);
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.4;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    pointer-events: auto;
    opacity: 0;
    transition: opacity 0.18s ease;
}
.ms-toast.show { opacity: 1; }
.ms-toast.success { background: rgba(56, 161, 105, 0.95); }
.ms-toast.error { background: rgba(245, 34, 45, 0.95); }
.ms-toast.info { background: rgba(74, 144, 217, 0.95); }

                                                 
html.ms-locked, html.ms-locked body {
    overflow: hidden !important;
    touch-action: none;
}

                                 
html #authBar { display: none !important; }

/* ---- runtime/shared/layer-frame.css ---- */
                                                               
                                             
                                                                
                            
                                               
               mgw-* 等）仍在各自 CSS，这里不管。
 *  外壳高度锁由 layer-frame.js 实现；状态内容区高度由场景或宿主测量给定。
 * ============================================================ */

                                               
                                                                                            
.lf-status {
    flex: 1 0 auto;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}
                                       
.lf-status-error {
    color: var(--danger);
}
.lf-status-area { min-height: var(--status-area-height, 260px); }
.lf-status-section { flex: none; min-height: 96px; padding: 18px; }
.lf-status-inline { flex: none; padding: 18px 0; font-size: 0.85rem; }

/* ---- runtime/content/plainview.css ---- */
                            
                                              
                                                       
                                          
                                          
.pv-overlay {
    position: fixed;
    inset: 0;
    z-index: 4000;
    background: var(--neu-bg);
    display: flex;
    flex-direction: column;
}
.pv-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;                                          
                                                                  
                                                                                      
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;                    
    touch-action: pan-y;                                          
    display: flex;                                                      
                                                                        
                                                                 
    flex-direction: column;
}
.pv-scroll:focus { outline: none; }
                                             
                                                       
                                   
                                                            
                                    
.pv-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}
                              
                                                    
                                              
                                         
                                               
                                               
.pv-head {
    position: sticky;
    top: 0;
                                                   
                                                
                                              
                                                   
    z-index: 100;
    padding-top: env(safe-area-inset-top, 0px);
                                                   
                                        
    background: var(--neu-bg);
    border-bottom: 1px solid var(--border-soft, #edf2f7);
}
                                         
                                                   
                                                         
                                                              
                                               
.pv-close { margin-left: auto; }                                    
                                                      
                                                              
                                                             
                                                        
                                                           
.pv-actions {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.pv-actions:empty { display: none; }
                                             
                                             
                                            
.pv-action-btn {
    min-height: 28px;
    padding: 4px 14px;
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 14px;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background-color .15s, color .15s;
}
.pv-action-btn:hover { background: var(--primary-tint); }
.pv-action-btn:active { background: var(--primary-tint); }
.pv-action-btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.pv-action-btn-primary {
    background: var(--primary);
    color: #fff;
}
.pv-action-btn-primary:hover { background: var(--primary-2); }
.pv-action-btn-primary:active { background: #2f6da6; }
.pv-action-btn-primary:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
                                            
.pv-action-icon-btn {
    width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.15s ease;
    flex: none;
}
.pv-action-icon-btn:hover { background: var(--primary-2); }
.pv-action-icon-btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.pv-action-icon-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
}
                                                         
.pv-action-icon-btn-text {
    font-size: 1.4rem;
    line-height: 1;
}
                                                                       
                                                         
                                                    
                                  
                                                            
                                               
                                                 
                                  
                                   
                                                
                                        
                                                  
              
.pv-overlay.pv-dock-right {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: 360px;
    max-width: 86%;
    border-left: 1px solid var(--border-soft, #edf2f7);
    box-shadow: -10px 0 28px rgba(15, 20, 30, .22);
}
                                         
                                                    
                                       
@keyframes pvDockIn {
    from { transform: translateX(32px); opacity: .3; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes pvDockOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(36px); opacity: 0; }
}
.pv-dock-enter { animation: pvDockIn var(--motion-dur-med, .22s) var(--motion-ease-out, ease-out); }
.pv-dock-exit {
    pointer-events: none;
    animation: pvDockOut var(--motion-dur-med, .22s) var(--motion-ease-in, ease-in) forwards;
}
                                                             
                                              
                                             
                                         
                                     
                                                       
                               
.xv-body > .pv-overlay { top: var(--wv-chrome-top, 0px); }

.pv-title {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
                                                       
                                                
                            
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: calc(100% - 96px);                             
    height: 44px;                                              
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;                                                      
    color: var(--text-1, #2d3748);
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---- runtime/content/work-view.css ---- */
                                                               
                                      
                                                               
                                          
                                   
                                                      
                                                   
                                                
                                                                  

.xv-overlay {
    position: fixed;
    inset: 0;
                                                   
                                               
                                                
            
                                                  
    background: transparent;
                                                              
                                  
    z-index: 4000;
}

                       
                                                     
                                                 
                                             
                                                             
.xv-body {
    position: absolute;
    inset: 0;
    isolation: isolate;
                                                         
                                               
                                          
                                               
                                                               
                                                     
                 
    --wv-chrome-top: calc(env(safe-area-inset-top, 0px) + 64px);
}

                                         
                     
.xv-controls {
    position: absolute;
    top: calc(env(safe-area-inset-top, 0px) + 10px);
    right: 10px;
    z-index: 2;
    display: flex;
    gap: 8px;
    pointer-events: none;
}
.xv-close {
    pointer-events: auto;
    flex: none;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    max-width: 44px;
    max-height: 44px;
    aspect-ratio: 1 / 1;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 50%;
    -webkit-border-radius: 50%;
                                                              
                                                           
                                                               
                                              
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
                                   
    background: rgba(30, 40, 50, 0.38);
    backdrop-filter: saturate(180%) blur(8px);
    -webkit-backdrop-filter: saturate(180%) blur(8px);
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.xv-close:active { background: rgba(30, 40, 50, 0.6); }

                                          
                                       
                                              
                                       
                                           
                                                 
           
.xv-loading {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--neu-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-2, #4a5568);
    font-size: 0.9rem;
}
.xv-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid var(--border-soft, #edf2f7);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: xvSpin 0.8s linear infinite;
}
@keyframes xvSpin { to { transform: rotate(360deg); } }

                                            
                                 
                                      
@keyframes xvLoadingFade {
    from { opacity: 1; }
    to { opacity: 0; }
}
.xv-loading-out {
    pointer-events: none;
    animation: xvLoadingFade var(--motion-dur-med) var(--motion-ease-in) forwards;
}

                                              
                                   
                                  

                                                      
                                       
                                          
                                  
                                                             
@keyframes xvShellFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.xv-shell-enter-fade {
    animation: xvShellFadeIn var(--motion-dur-med) var(--motion-ease-out);
}
@keyframes xvShellRise {
    from { transform: translateY(var(--motion-enter-y)); }
    to { transform: translateY(0); }
}
@keyframes xvShellDrop {
    from { transform: translateY(0); }
    to { transform: translateY(var(--motion-exit-y)); }
}
.xv-shell-enter { animation: xvShellRise var(--motion-dur-slow) var(--motion-ease-out); }
.xv-shell-closing {
    pointer-events: none;                    
    animation: xvShellDrop var(--motion-dur-med) var(--motion-ease-in) forwards;
}

                                              
                                                          
                                                    
                                                     
                                     

                                                            
                                    
                                                             
                                       
                                                  
                                        
.xv-overlay,
.xv-overlay * {
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}
.xv-overlay input,
.xv-overlay textarea,
.xv-overlay [contenteditable]:not([contenteditable="false"]) {
    -webkit-user-select: text;
    user-select: text;
}

                                
                                     
                                    
                                                    
                                  
                                                    
                                
.xv-error {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px;
    text-align: center;
    background: var(--neu-bg);
    color: var(--text-2, #5D6673);
}
.xv-error-glyph {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: inset 0 0 0 3px currentColor;
    font-size: 1.6rem;
    font-weight: 700;
    opacity: 0.45;
}
.xv-error-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-1, #3D4852);
}
.xv-error-sub {
    font-size: 0.85rem;
    word-break: break-word;
    max-width: 34em;
}
.xv-error-hint {
    font-size: 0.75rem;
    opacity: 0.55;
    margin-top: 6px;
}

                                        
                                                        
                                                        
                                                          
                                          
                                             
                                             
                 
.xv-parked { }
