/* Mobile screens, forms and contextual tools. One shared compact contract. */
:root{--vt-head:56px;--vt-bottom:56px;--vt-safe-bottom:env(safe-area-inset-bottom,0px);--vt-visible-height:100dvh;--vt-visible-top:0px;--vt-mobile-shadow:0 3px 16px #00000009}
.vt-screen-head,.vt-mobile-bar,.vt-select-trigger,.vt-row-more,.vt-mobile-only{display:none}
.vt-mobile-layer{padding:0!important;backdrop-filter:none!important}
.vt-panel{display:flex;flex-direction:column;background:var(--bg2,#fff);color:var(--text,#202124);width:100%;height:var(--vt-visible-height);max-height:var(--vt-visible-height);margin-top:var(--vt-visible-top);font:16px/1.5 Arial,sans-serif;box-sizing:border-box}
.vt-panel *{box-sizing:border-box}.vt-panel-body{flex:1;min-height:0;overflow:auto;padding:16px;overscroll-behavior:contain}
.vt-panel .vt-screen-head{display:flex}.vt-panel h2{font-size:16px;line-height:1.3;margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vt-panel button,.vt-panel input,.vt-panel select,.vt-panel textarea{font:inherit}
.vt-panel button{cursor:pointer}.vt-panel input,.vt-panel select,.vt-panel textarea{min-width:0;max-width:100%;padding:12px;border:1px solid var(--border,#d7dbe3);border-radius:10px;background:var(--bg2,#fff);color:inherit;font-size:16px}
.vt-panel textarea{width:100%;min-height:88px}.vt-panel label{display:grid;gap:6px;font-size:14px;margin-bottom:16px}.vt-panel :focus-visible{outline:3px solid var(--accent,#80473d);outline-offset:2px}
.vt-command,.vt-back,.vt-row-more{border:0;background:transparent;color:inherit;min-width:48px;min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:10px;font:inherit;cursor:pointer}
.vt-back{width:48px;flex:0 0 48px;font-size:24px}.vt-back>span:last-child{display:none}.vt-command-icon{font-size:21px;line-height:1;flex-shrink:0}.vt-action-list{display:grid;gap:4px}.vt-action-list>.vt-command{display:flex;justify-content:flex-start;width:100%;text-align:left;padding:12px;border-radius:10px;background:var(--bg3,#f3f4f6);font-size:15px;white-space:normal}.vt-action-list .vt-command small{display:block;font-size:12px;color:var(--text2,#626976)}.vt-command:disabled{opacity:.45;cursor:not-allowed}.vt-danger{color:var(--ui-danger,#b42332)!important}
.vt-action-sheet{align-items:flex-end!important}.vt-action-sheet .vt-panel{height:auto;max-height:min(80dvh,var(--vt-visible-height));border-radius:20px 20px 0 0;box-shadow:0 -8px 40px #0002}.vt-action-sheet .vt-panel-body{padding-top:8px}.vt-picker-search{position:sticky;top:-16px;z-index:2;background:var(--bg2,#fff);padding:8px 0}.vt-picker-options{display:grid;gap:4px}.vt-picker-options>.vt-command{justify-content:flex-start;text-align:left;white-space:normal;min-height:52px;padding:12px;border-bottom:1px solid var(--border,#ddd)}.vt-picker-options [aria-selected=true]{color:var(--accent,#80473d);background:var(--bg3,#f3f4f6)}
.vt-screen-head{height:var(--vt-head);min-height:var(--vt-head);flex:0 0 var(--vt-head);align-items:center;gap:4px;padding:0 8px;border-bottom:1px solid var(--border,#e4e6eb);background:var(--bg2,#fff);color:var(--text,#202124);box-sizing:border-box;z-index:2}
.vt-screen-head>h1,.vt-screen-head>h2,.vt-screen-head>h3,.vt-screen-head>.vt-heading{flex:1;min-width:0;margin:0!important;font-size:16px!important;line-height:1.25!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vt-screen-head>.vt-heading small{display:block;font-size:12px;line-height:1.3;color:var(--text2,#646b76);font-weight:400;overflow:hidden;text-overflow:ellipsis}
.vt-screen-footer{flex-shrink:0;display:flex;gap:8px;align-items:center;padding:8px 16px calc(8px + var(--vt-safe-bottom));border-top:1px solid var(--border,#ddd);background:var(--bg2,#fff);margin:0!important}.vt-screen-footer>.btn-primary,.vt-screen-footer>.mb-primary{flex:1;min-height:48px}
.vt-panel .vt-screen-footer[hidden]{display:none!important}
.vt-mobile .vt-desktop-only,.vt-mobile .vt-close-origin,.vt-mobile .vt-row-secondary{display:none!important}
.vt-mobile .vt-mobile-only{display:flex}
.vt-mobile .vt-screen{position:relative;display:flex!important;flex-direction:column;gap:0!important;width:100%!important;max-width:none!important;min-height:0!important;height:var(--vt-visible-height)!important;max-height:var(--vt-visible-height)!important;padding:0!important;margin:var(--vt-visible-top) 0 0!important;border-radius:0!important;overflow:hidden!important;box-sizing:border-box;box-shadow:none}
.vt-mobile .vt-screen>.vt-screen-head{display:flex!important;position:relative!important;top:auto!important;padding:0 8px!important;margin:0!important;flex-wrap:nowrap!important}
.vt-mobile .vt-screen-body{display:block;flex:1;min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;padding:16px;background:var(--bg2,#fff);box-sizing:border-box}
.vt-mobile .vt-screen .vt-native-head{display:contents!important}.vt-mobile .vt-screen-body>h2:first-child{font-size:20px;margin-top:0}.vt-mobile .vt-screen-body>p{font-size:14px;line-height:1.5}
.vt-mobile .overlay{padding:0!important;backdrop-filter:none}.vt-mobile .vt-owned-screen{z-index:19000}.vt-mobile .vt-screen .modal-row{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important}.vt-mobile .vt-screen .field{min-width:0!important;margin-bottom:16px}.vt-mobile .vt-screen :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){font-size:16px!important;min-height:48px;max-width:100%;box-sizing:border-box;border-radius:10px;padding:11px 12px}
.vt-mobile .vt-screen .field label,.vt-mobile .vt-screen form>label{font-size:14px;color:var(--text,#202124);line-height:1.4}.vt-mobile .vt-screen :is(input[type=checkbox],input[type=radio]){width:22px;height:22px;min-height:22px;flex-shrink:0;accent-color:var(--accent,#80473d)}
.vt-mobile .vt-screen :is(button.btn,button.btn-ghost,.up-btn,.pp-add){min-height:48px}.vt-mobile .vt-screen fieldset{min-width:0}.vt-mobile .vt-screen .modal-actions{gap:8px;flex-wrap:wrap}.vt-mobile .vt-screen .modal-actions>.btn-primary{min-height:48px;flex:1}.vt-mobile .vt-screen .modal-actions .btn-secondary{min-height:48px}
.vt-mobile .vt-screen-footer{display:flex!important;position:relative!important;min-height:56px;max-height:none;flex-wrap:nowrap;box-sizing:border-box;padding:3px 12px calc(3px + var(--vt-safe-bottom))}.vt-mobile .vt-screen-footer[hidden]{display:none!important}.vt-mobile .vt-screen-footer:has(>.ma-left)>.ma-left{display:none}.vt-mobile .vt-screen-footer .ma-right{display:flex;flex:1;gap:8px}.vt-mobile .vt-form-group{border:1px solid var(--border,#ddd);border-radius:12px;margin:12px 0;padding:0 12px;background:var(--bg2,#fff)}.vt-mobile .vt-form-group>summary{font-size:14px;font-weight:600;min-height:48px;padding:14px 0;cursor:pointer}.vt-mobile .vt-form-group>.field{margin:8px 0 16px}
.vt-footer-more{display:none}.vt-mobile .vt-footer-secondary{display:none!important}.vt-mobile .vt-footer-more{display:flex;align-items:center;justify-content:center;gap:6px;min-width:48px;min-height:48px;padding:6px 12px;border:1px solid var(--border);border-radius:8px;background:var(--bg2);color:inherit;font:inherit}.vt-mobile .vt-screen-footer>.save-state{font-size:11px;max-width:26%;line-height:1.2}.vt-mobile .vt-light-position{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:20px}.vt-light-position h3{flex:1 0 100%;font-size:15px}.vt-mobile .vt-light-position .vt-command{border:1px solid var(--border);border-radius:8px;flex:1;font-size:0}
.vt-mobile .vt-select-source{display:none!important}.vt-mobile .vt-select-trigger{display:block;text-align:left;width:100%;min-height:48px;padding:12px 34px 12px 12px;border:1px solid var(--border,#d7dbe3);border-radius:10px;background:var(--bg3,#f3f4f6);color:var(--text,#202124);font:inherit;font-size:16px;line-height:1.4;overflow-wrap:anywhere;position:relative}.vt-select-trigger:after{content:'⌄';position:absolute;right:12px;top:12px;color:var(--text2,#777)}
.vt-mobile .vt-row-more{display:inline-flex;font-size:24px}.vt-mobile .vt-row-more .vt-command-icon{font-size:24px}.vt-mobile .vt-row-more>span:last-child{display:none}
.vt-mobile .vt-mobile-bar{display:flex;align-items:center;justify-content:space-around;height:var(--vt-bottom);min-height:var(--vt-bottom);flex:0 0 var(--vt-bottom);padding:0 4px;background:var(--bg2,#fff);border-top:1px solid var(--border,#e4e6eb);box-sizing:border-box;height:calc(var(--vt-bottom) + var(--vt-safe-bottom));min-height:calc(var(--vt-bottom) + var(--vt-safe-bottom));flex-basis:calc(var(--vt-bottom) + var(--vt-safe-bottom));padding-bottom:var(--vt-safe-bottom);z-index:4}.vt-mobile-bar>.vt-command{flex:1;min-width:0;flex-direction:column;gap:2px;font-size:11px;line-height:1.1;height:52px;padding:3px 1px}.vt-mobile-bar .vt-command-icon{font-size:20px}.vt-mobile-bar [aria-current=true]{color:var(--accent,#80473d);background:var(--bg3,#f3f4f6);border-radius:10px}
.vt-mobile.vt-short{--vt-head:48px;--vt-bottom:48px}.vt-mobile.vt-short .vt-mobile-bar>.vt-command{height:48px;min-height:48px}.vt-mobile.vt-short .vt-heading small{display:none}
.vt-mobile.vt-short .vt-screen-footer{height:48px;min-height:48px;padding:0 8px;box-sizing:border-box}.vt-mobile.vt-short #mobileTabs,.vt-mobile.vt-short #mobileTabs .mt-btn{height:48px;min-height:48px}.vt-mobile .vt-format-command svg{width:20px;height:20px}
.vt-mobile .vt-screen-body :is(.cd-row,.repo-row){box-shadow:none;border-radius:12px}.vt-mobile .vt-screen-body :is(.cd-row-title,.repo-name){font-size:15px}.vt-mobile .vt-screen-body .cd-row-sub{font-size:12px}.vt-mobile .vt-screen .btn,.vt-mobile .vt-screen .btn-ghost{font-size:14px}
.vt-mobile .client-app #projModal .vt-screen>div:first-child{position:static!important;padding:16px!important}
.vt-mobile #loginOverlay .vt-screen{height:auto!important;max-height:var(--vt-visible-height)!important;max-width:420px!important;border-radius:16px!important;margin:auto!important}.vt-mobile #loginOverlay{padding:16px!important}.vt-mobile #loginOverlay .vt-screen-body{padding:20px}.vt-mobile #loginOverlay .vt-screen-head{display:none!important}.vt-mobile #loginOverlay .vt-native-head{display:block!important}
@media(min-width:768px) and (max-width:1023px){.tool-toolbar{gap:10px}.modal.wide{max-width:94vw}.pp-table{font-size:14px}}
@media(prefers-reduced-motion:no-preference){.vt-action-sheet .vt-panel{animation:vt-sheet-in 180ms ease-out}@keyframes vt-sheet-in{from{transform:translateY(25px);opacity:.5}to{transform:translateY(0);opacity:1}}}
@media(prefers-reduced-motion:reduce){.vt-panel,.vt-screen{animation:none!important;scroll-behavior:auto!important}}

/* Ordinary pages use one app header and one primary navigation bar. */
.vt-app-head,.vt-project-head,.vt-doc-head,.vt-light-head,.vt-legacy-head{display:none}
.vt-mobile .ops-app{height:var(--vt-visible-height);overflow:hidden}
.vt-mobile .ops-app #app{height:var(--vt-visible-height)!important;min-height:0!important;padding:0!important;overflow:hidden}
.vt-mobile .ops-app #topbar,.vt-mobile .ops-app #topbarHandle,.vt-mobile .topbar-peek{display:none!important}
.vt-mobile .ops-app #vtAppHead{display:flex;position:relative;flex-shrink:0}
.vt-app-head .vt-heading strong{display:block;font-size:17px}.vt-app-head .vt-heading[hidden],.vt-app-head input[hidden],.vt-head-action[hidden]{display:none!important}
.vt-head-action{height:48px;width:48px;min-width:48px;padding:0;border:0;background:transparent;color:inherit;display:inline-grid;place-items:center;flex:0 0 48px;font-size:23px}.vt-head-action>span:last-child{display:none}.vt-head-action .vt-command-icon{font-size:25px}
.vt-mobile .vt-root-search{flex:1;width:0;min-width:0;height:44px;border:0;background:var(--bg3);border-radius:10px;font-size:16px;padding:10px}
.vt-mobile .ops-app :is(.page,#toolView){flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding-bottom:calc(56px + var(--vt-safe-bottom))}
.vt-mobile .ops-app #toolView{display:flex;flex-direction:column}.vt-mobile .ops-app #toolView.hidden{display:none}.vt-mobile #toolBody{flex:1;min-height:0;overflow:auto;padding:12px}.vt-mobile #toolToolbar{display:none!important}.vt-mobile .vt-panel #toolToolbar{display:flex!important;flex-direction:column;align-items:stretch;padding:0!important;border:0}.vt-mobile .vt-panel #toolToolbar>input{flex:none;width:100%}
.vt-mobile .ops-app #mobileTabs{display:flex;position:fixed;bottom:0;left:0;right:0;min-height:56px;box-sizing:border-box;padding:0 4px var(--vt-safe-bottom);background:var(--bg2);border-top:1px solid var(--border);z-index:250;justify-content:space-around}.vt-mobile #mobileTabs .mt-btn{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0;min-height:56px;padding:4px;font-size:11px}.vt-mobile #mobileTabs .mt-btn svg{width:21px;height:21px}.vt-mobile .studio-dialog-open #mobileTabs,.vt-mobile body:has(.mb-editor) #mobileTabs{display:none!important}
.vt-mobile .ops-app #page-production>.app-body{display:block;overflow:visible;height:auto;flex:none}.vt-mobile #page-production .board-container{display:block;overflow:visible}.vt-mobile #board{display:block!important;height:auto;min-height:0;overflow:visible!important;padding:12px}.vt-mobile #board .column{width:100%!important;max-width:100%!important;min-width:0!important;max-height:none;overflow:visible;margin-bottom:16px}.vt-mobile #board :is(.drop-zone,.column-body){overflow:visible;max-height:none;flex:none}.vt-mobile #page-production .mobile-prod-bar,.vt-mobile #page-production .studio-mobile-phase,.vt-mobile #page-production sidebar,.vt-mobile #page-production .vt-split-v{display:none!important}.vt-mobile #planifStrip{max-height:52px;overflow:auto;flex:none}.vt-mobile #page-production:not(.timeline-mode) .bottom-section{display:none}.vt-mobile #page-production.timeline-mode .bottom-section{display:block!important}.vt-mobile #page-production.timeline-mode .board-container{display:none!important}.vt-mobile .vt-panel #clientList{display:block;max-height:none;overflow:visible}.vt-mobile .vt-panel .sidebar-search{display:flex;margin-bottom:16px}.vt-production-filters{display:grid;gap:16px}.vt-filter-types{display:grid;grid-template-columns:1fr 1fr;gap:8px}.vt-section-list{display:grid;gap:4px}.vt-section-list h3{font-size:12px;color:var(--text2);margin:16px 8px 4px}.vt-section-list>.vt-command{justify-content:flex-start;text-align:left;padding:10px 12px;background:var(--bg3);border-radius:10px}.vt-section-list>[aria-current=true]{color:var(--accent);font-weight:600}
.vt-mobile .home-wrap{padding:16px 12px}.vt-mobile .home-head{margin:0 0 16px}.vt-mobile .home-head h1{font-size:20px}.vt-mobile .home-grid{display:block}.vt-mobile .flow-inbox-request{padding:10px}.vt-mobile .studio-priority-grid>section{padding:12px}.vt-mobile .home-feed-row{padding:12px!important}.vt-mobile .flow-inbox h2,.vt-mobile .studio-home-priorities h2{font-size:16px}.vt-mobile .sales-head{padding:12px;gap:10px}.vt-mobile .sales-title{display:none}.vt-mobile .sales-stat{padding:10px}.vt-mobile .vt-metrics{width:100%;font-size:13px;order:5}.vt-metrics>summary{padding:12px 0;cursor:pointer}.vt-mobile .sales-stats{margin-top:8px}.vt-mobile .repo-row{padding:12px;box-shadow:none}.vt-mobile .repo-acts .btn{min-height:48px}.vt-mobile .task-work-row{padding:14px 0;gap:8px}.vt-mobile .task-work-main p{margin:3px 0;font-size:12px}.vt-mobile .task-work-actions{justify-content:flex-end}.vt-mobile .task-work-title{font-size:15px;min-height:0}.vt-mobile .task-work-actions .btn{min-height:48px}.vt-mobile .task-work-actions .task-work-state{margin-right:auto}

/* A project has one header; section navigation is a full-screen chooser. */
.mb-mobile-group{display:contents}.mb-mobile-group>summary{display:none}.mb-compact-head,.mb-compact-bar{display:none}.mb-hub-controls{display:flex;gap:8px;align-items:end;margin:16px 0}.mb-hub-controls label{flex:1;margin:0}.mb-hub-context{font-size:13px;color:#666}.mb-proposal-list{display:grid;gap:8px}.mb-proposal-row{display:flex;align-items:center;gap:12px;min-height:76px;text-align:left;padding:14px!important;border:1px solid #e2e2df!important;border-radius:12px!important;background:#fafaf8!important}.mb-proposal-row>span:nth-child(2){flex:1;min-width:0}.mb-proposal-row strong{display:block;font-size:16px;line-height:1.4;overflow-wrap:anywhere}.mb-proposal-row small{display:block;font-size:12px;color:#666;margin-top:5px}.mb-proposal-icon{display:grid;place-items:center;width:40px;height:44px;background:#eee9e1;color:#6b5044;border-radius:9px;font-size:22px;flex-shrink:0}.mb-hub-empty{padding:28px 12px;text-align:center;color:#555}.mb-state{font-size:12px}.mb-identity{border:0;background:transparent;color:inherit;text-align:left;padding:0 4px;min-height:48px}.mb-identity strong{display:block;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vt-mobile .mb-editor{top:var(--vt-visible-top);bottom:auto;height:var(--vt-visible-height);--bg2:#fff;--bg3:#f4f4f1;--text:#20211e;--text2:#62645f;--border:#dfe0db;--accent:#b84735}.vt-mobile .mb-editor>.mb-head,.vt-mobile .mb-editor>.mb-mobile-tools{display:none!important}.vt-mobile .mb-editor>.mb-compact-head{display:flex}.vt-mobile .mb-layout{display:block;flex:1;min-height:0;overflow:hidden}.vt-mobile .mb-layout>.mb-library,.vt-mobile .mb-layout>.mb-panel{display:none!important}.vt-mobile .mb-stage{height:100%;width:100%;overflow:hidden;padding:0;display:block}.vt-mobile .mb-preview-wrap{width:100%;height:100%}.vt-mobile .mb-stage iframe{min-height:0;box-shadow:none;transform:none;width:100%;height:100%}.vt-mobile .mb-compact-bar{display:flex}.vt-mobile .mb-previewing>.mb-compact-head{height:48px;min-height:48px;flex-basis:48px}.vt-mobile .mb-previewing>.mb-compact-bar,.vt-mobile .mb-previewing>.mb-compact-head>.vt-head-action{display:none!important}
.vt-mobile .vt-panel :is(.mb-panel,.mb-library,.mb-outline){display:block!important;position:static!important;inset:auto!important;width:100%!important;max-height:none;overflow:visible;border:0;box-shadow:none;padding:0;background:transparent;color:inherit}.vt-mobile .vt-panel .mb-types{display:grid;grid-template-columns:1fr 1fr;gap:12px}.vt-mobile .vt-panel .mb-types button{display:block;width:100%;padding:10px;font-size:13px;min-height:96px;border:1px solid var(--border);border-radius:10px;background:var(--bg2);color:inherit;overflow:hidden;text-align:left}.vt-mobile .vt-panel .mb-outline button{display:block;width:100%;min-height:52px;padding:12px;border:1px solid var(--border);border-radius:10px;margin:6px 0;background:var(--bg2);color:inherit;font-size:15px;text-align:left;overflow-wrap:anywhere;white-space:normal}.vt-mobile .vt-panel .mb-panel :is(input,textarea,select){font-size:16px;min-height:48px}.vt-mobile .vt-panel .mb-panel label{font-size:14px;color:inherit}.vt-mobile .vt-panel .mb-panel button{min-height:48px;padding:10px;border:1px solid var(--border);border-radius:8px;background:var(--bg2);color:inherit}.vt-mobile .mb-mobile-group{display:block;border-bottom:1px solid var(--border);margin-bottom:12px;padding-bottom:8px}.vt-mobile .mb-mobile-group>summary{display:block;cursor:pointer;font-size:15px;font-weight:600;padding:14px 0;min-height:48px}.vt-mobile .mb-mobile-group:not([open])>:not(summary){display:none}.vt-mobile .vt-panel .mb-panel>.mb-actions{margin-top:0}
.vt-mobile .mb-hub-overlay .vt-screen-body{padding:12px 16px}.vt-mobile .mb-hub-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;margin:0 0 12px}.vt-mobile .mb-hub-controls label{grid-column:1/-1;margin:0;font-size:0}.vt-mobile .mb-hub-controls input{font-size:16px;min-height:48px}.vt-mobile .mb-hub-controls button{min-height:48px}.vt-mobile .mb-hub-context{font-size:12px;margin:8px 0}.vt-mobile .mb-template-grid{grid-template-columns:1fr}.vt-mobile .mb-modal .mb-actions button{min-height:48px}
.vt-mobile .mb-hub-original-title{display:none!important}.vt-mobile .mb-hub-controls{display:none}.vt-mobile .mb-searching .mb-hub-controls{display:block;margin:0 0 12px}.vt-mobile .mb-searching .mb-hub-controls>button{display:none}.mb-hub-identity{border:0;background:transparent;color:inherit;text-align:left;padding:0 4px;min-height:48px}.mb-hub-identity .vt-command-icon{display:none}.mb-hub-identity strong{display:block;font-size:16px}.vt-mobile .mb-hub-overlay .vt-screen-head>button{padding:0!important;min-width:48px}.vt-mobile .mb-hub-overlay .vt-screen-head>.mb-hub-identity{min-width:0;text-align:left;padding:0 4px!important}
.vt-mobile #cardModal .vt-project-screen{height:var(--vt-visible-height)!important;max-height:var(--vt-visible-height)!important;margin-top:var(--vt-visible-top);padding:0!important;width:100%!important;display:flex;flex-direction:column}
.vt-mobile #cardModal .card-head,.vt-mobile #cardSectionNav{display:none!important}.vt-mobile #cardModal .vt-project-head{display:flex!important;flex-shrink:0}.vt-mobile #cardModal #cardWorkspace{border:0;flex:1;min-height:0}.vt-mobile #cardPanelViewport{padding:12px 16px 24px;min-height:0;flex:1}.vt-project-identity{display:block;text-align:left;padding:0 6px;border:0;background:transparent;color:inherit;min-height:48px;overflow:hidden}.vt-project-identity>strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px}.vt-project-identity>small{display:block;color:var(--text2);font-size:12px;line-height:1.3}.vt-mobile #cardModal .status-banner{margin:0 16px 8px}.vt-mobile #cardModal .card-foot{padding:8px 16px!important;margin:0;background:var(--bg2)}
.vt-info-edit{display:none}.vt-mobile .vt-field-collapsed{display:grid;grid-template-columns:minmax(0,1fr);gap:2px;margin:0!important;padding:8px 0;border-bottom:1px solid var(--border)}.vt-mobile .vt-field-collapsed>label{font-size:12px!important;color:var(--text2)}.vt-mobile .vt-field-collapsed>:is(input,select,textarea,.vt-select-trigger){display:none!important}.vt-mobile .vt-field-collapsed>.vt-info-edit{display:block;text-align:left;padding:4px 24px 4px 0;min-height:36px;border:0;background:transparent;color:var(--text);font:inherit;font-size:15px;overflow-wrap:anywhere}.vt-mobile .vt-info-edit:after{content:'›';float:right;color:var(--text2)}.vt-panel .vt-info-edit{display:none!important}.vt-mobile .flow-overview-settings>.dash-card{display:block!important;padding:12px}.vt-mobile .flow-overview-settings .field{margin-bottom:12px}.vt-mobile .flow-mode{padding:12px;gap:8px}.vt-mobile .flow-mode label{min-height:48px;padding:8px;font-size:14px}.vt-mobile .flow-mode h3{font-size:15px}.vt-mobile .flow-mode>p{font-size:12px}.vt-mobile .studio-next{padding:12px!important}.vt-mobile .studio-next h3{font-size:17px;margin:2px 0}.vt-mobile .studio-next p{font-size:13px}.vt-mobile .studio-summary-grid{gap:8px!important;margin-bottom:12px}.vt-mobile .studio-summary-grid>div{padding-bottom:8px}.vt-mobile .studio-summary-grid dd{font-size:13px}

/* Written documents reflow without modifying their saved Delta or A4 geometry. */
.vt-editable-rows{display:none}.vt-mobile .vt-editable-rows{display:grid;gap:8px;margin:12px 0}.vt-mobile table.vt-row-source{display:none!important}.vt-editable-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;text-align:left;background:var(--bg2);border:1px solid var(--border);border-radius:12px;box-shadow:var(--vt-mobile-shadow);color:var(--text);font:inherit;min-height:72px;width:100%}.vt-editable-row strong{display:block;font-size:15px}.vt-editable-row small{display:block;color:var(--text2);font-size:12px;line-height:1.4;margin-top:4px}.vt-mobile .vt-panel .vt-row-edit> :is(.vt-editable-rows,.pp-add,.dash-hint,datalist){display:none!important}.vt-mobile .vt-panel .vt-row-edit table.vt-row-source{display:block!important;width:100%;min-width:0!important;margin:0}.vt-mobile .vt-row-edit :is(thead,tr:not(.vt-selected-row)){display:none!important}.vt-mobile .vt-row-edit :is(tbody,tr.vt-selected-row){display:block!important}.vt-mobile .vt-row-edit td{display:block!important;width:100%!important;max-width:none;min-width:0!important;padding:0!important;margin:0 0 16px;border:0!important;text-align:left!important}.vt-mobile .vt-row-edit td:before{content:attr(data-label);display:block;font-size:14px;margin-bottom:6px;color:var(--text2)}.vt-mobile .vt-row-edit :is(input:not([type=hidden]),select,textarea){width:100%!important;min-height:48px;padding:11px 12px;font-size:16px!important}.vt-mobile .vt-row-edit button{min-height:48px;min-width:48px}.vt-mobile .vt-row-edit .gear-mat{display:flex;gap:8px}
.vt-mobile .vt-document{top:var(--vt-visible-top);bottom:auto;height:var(--vt-visible-height);max-height:var(--vt-visible-height);overflow:hidden}.vt-mobile .vt-document>.script-head{display:none!important}.vt-mobile .vt-document>.vt-doc-head{display:flex}.vt-mobile .vt-document .script-body{display:block;position:relative;flex:1;min-height:0;overflow:hidden}.vt-mobile .vt-document .script-body>.script-comments,.vt-mobile .vt-document .script-body>.script-rail{display:none!important}.vt-mobile .vt-document .script-editor-wrap{display:block;box-sizing:border-box;width:100%;height:100%;min-height:0;padding:16px 12px;overflow:auto;overscroll-behavior:contain;background:var(--bg3)}.vt-mobile .vt-document .script-page-navigation{display:none!important}.vt-mobile .vt-document #scriptReaderReview{display:none}.vt-doc-more{border:0;background:transparent;color:inherit;width:48px;min-height:48px;flex:0 0 48px;font-size:24px}.vt-doc-more>span:last-child{display:none}
.vt-mobile .script-mobile-surface{display:block!important;position:relative;width:100%!important;max-width:100%!important;height:auto!important;min-height:100%;margin:0!important;padding:0!important;zoom:1!important;background:#fff;border-radius:10px;box-shadow:var(--vt-mobile-shadow)}
.vt-mobile .script-mobile-surface .ql-container,.vt-mobile .script-mobile-surface.ql-container{width:100%!important;max-width:100%!important;border:0!important;height:auto!important}
.vt-mobile .script-mobile-surface .ql-editor{width:auto!important;max-width:100%!important;height:auto!important;min-height:60dvh!important;margin:0!important;padding:20px 16px 60px!important;columns:auto!important;overflow:visible!important;font-size:16px!important;line-height:1.65!important;color:#202124;background:#fff;white-space:pre-wrap;overflow-wrap:anywhere}
.vt-mobile .script-mobile-surface .sp-cinema p{font-size:16px!important;line-height:1.6!important;max-width:100%!important}.vt-mobile .script-mobile-surface .sp-cinema :is(.sp-character,.sp-transition){margin-left:22%!important;margin-right:2%!important}.vt-mobile .script-mobile-surface .sp-cinema :is(.sp-dialogue,.sp-paren){margin-left:8%!important;margin-right:4%!important}.vt-mobile .script-mobile-surface .sp-cinema :is(.sp-scene,.sp-action,.sp-shot){margin-left:0!important;margin-right:0!important}.vt-mobile .script-mobile-surface :is(#scriptPageMarkers,#scriptPageBreaks,#portalScriptPageBreaks){display:none!important}
.vt-mobile .vt-document[data-presentation=text] .script-title-page{display:none}.vt-mobile .vt-panel :is(.script-comments,.script-rail,.sv-documents,#scriptReaderReview){display:block!important;width:100%!important;min-width:0;max-height:none!important;overflow:visible!important;padding:0;margin:0;border:0;background:transparent}.vt-mobile .vt-panel .sv-documents{display:grid!important;gap:8px}.vt-mobile .vt-panel .sv-document{white-space:normal;text-align:left;min-height:48px;font-size:16px}.vt-format-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.vt-format-grid button{min-height:52px;padding:10px;border:1px solid var(--border);border-radius:10px;background:var(--bg2);color:var(--text);font-size:14px}.vt-format-grid .vt-command-icon{font-size:16px}.vt-mobile .vt-format-open>.vt-doc-bar{display:none!important}.vt-mobile.vt-keyboard .vt-doc-bar>.vt-command{font-size:0}.vt-mobile.vt-keyboard .vt-doc-bar>.vt-command:last-child{font-size:11px}.vt-mobile.vt-keyboard .vt-doc-bar{height:48px;min-height:48px;flex-basis:48px;padding-bottom:0}

/* Spatial workspaces expose palettes and properties as dedicated screens. */
.vt-mobile .vt-flow-reader .flow-reader-modal{display:flex;flex-direction:column;padding:0!important;gap:0!important;height:var(--vt-visible-height)!important;max-height:var(--vt-visible-height)!important;width:100%;border-radius:0;overflow:hidden;margin-top:var(--vt-visible-top)}.vt-mobile .vt-flow-reader .flow-reader-modal>header:not(.vt-reader-head),.vt-mobile .vt-flow-reader .flow-reader-tools,.vt-mobile .vt-flow-reader .flow-response-notice{display:none!important}.vt-mobile .vt-flow-reader .vt-reader-head{display:flex}.vt-mobile .vt-flow-reader .flow-reader-layout{flex:1;min-height:0;display:block;overflow:hidden}.vt-mobile .vt-flow-reader .flow-reader-pages{height:100%;padding:16px 12px;overflow:auto}.vt-mobile .vt-flow-reader .flow-reader-layout>aside{display:none!important}.vt-mobile .vt-panel .flow-response{margin:0!important;border-radius:14px;padding:16px;background:color-mix(in srgb,var(--accent,#b74734) 9%,var(--bg2,#fff));border:1px solid color-mix(in srgb,var(--accent,#b74734) 25%,var(--border,#ddd))}.vt-mobile .vt-panel .flow-response button{width:100%;min-height:48px;margin:6px 0}.vt-mobile .vt-panel aside{display:block!important;position:static!important;width:100%;max-height:none;overflow:visible;padding:0;border:0}.vt-mobile .vt-panel .vt-comments-only .flow-response{display:none}.vt-mobile .vt-panel [data-status]{display:block;font-size:14px;padding:12px 0}.vt-mobile .vt-panel [data-status]:empty{display:none}
.vt-mobile .vt-lighting{height:var(--vt-visible-height);top:var(--vt-visible-top);bottom:auto}.vt-mobile .vt-lighting>.lv-head,.vt-mobile .vt-lighting>.lv-contextbar{display:none!important}.vt-mobile .vt-lighting>.vt-light-head{display:flex}.vt-mobile .vt-lighting .lv-body{min-height:0;flex:1;display:block;position:relative}.vt-mobile .vt-lighting .lv-body>.lv-palette,.vt-mobile .vt-lighting .lv-body>.lv-properties{display:none!important}.vt-mobile .vt-lighting .lv-canvas-wrap{height:100%;width:100%;padding:0;overflow:auto;touch-action:pan-x pan-y}.vt-mobile .vt-panel :is(.lv-palette,.lv-properties,.lv-contextbar){display:flex!important;position:static!important;min-width:0;width:100%!important;max-width:100%;height:auto;max-height:none;overflow:visible;padding:0;border:0}.vt-mobile .vt-panel .lv-properties{display:block!important}.vt-mobile .vt-panel .lp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible}.vt-mobile .vt-panel .lp-item{min-height:72px}.vt-mobile .vt-panel .lv-toolbar{display:grid;grid-template-columns:1fr 1fr}.vt-mobile .vt-legacy-editor>.vt-legacy-head{display:flex}.vt-mobile .vt-legacy-editor>.proposal-editor-head,.vt-mobile .vt-legacy-editor>.proposal-client-head{display:none!important}.vt-mobile .vt-panel .proposal-editor-head{display:flex!important;flex-direction:column;max-height:none;overflow:visible;position:static}.vt-mobile .vt-panel .settings-menu{display:block!important;position:static!important;width:100%;max-height:none!important;box-shadow:none;transform:none;margin:0;padding:0}.vt-mobile .vt-panel .settings-menu>button{width:100%;min-height:48px;font-size:15px}
.vt-mobile .client-app #app>header{min-height:56px;height:56px;box-sizing:border-box;padding:4px 12px}.vt-mobile .client-app #clientName{font-size:12px}.vt-mobile .client-app .portal-wrap{padding:16px 12px}.vt-mobile .client-app .portal-wrap h1{font-size:22px;line-height:1.3}.vt-mobile .client-app .portal-project-row{padding:12px}.vt-mobile .client-app .portal-section-title{font-size:16px}.vt-mobile .client-app .portal-view-nav .btn{min-height:48px}
.vt-mobile .client-app #app>header:not(#vtClientHead),.vt-mobile .client-app .portal-view-nav,.vt-mobile .client-app :is(#portalProjectSearch,#deliverySearch,label[for=portalProjectSearch],label[for=deliverySearch]){display:none!important}.vt-mobile .client-app #vtClientHead{display:flex;height:56px;flex-shrink:0}.vt-mobile .client-app #app{height:var(--vt-visible-height)!important}.vt-mobile .client-app .portal-body{flex:1;min-height:0;overflow:auto}.vt-mobile .client-app #vtClientNav{display:flex;flex-shrink:0}.vt-mobile .client-app .portal-wrap>h1{font-size:20px}.vt-mobile .studio-dialog-open #vtClientNav{display:none!important}
.vt-mobile .vt-panel .assign-pop{position:static!important;display:block!important;width:100%!important;min-width:0;max-height:none!important;box-shadow:none;border:0;padding:0;background:transparent}.vt-mobile .vt-panel .assign-search{position:sticky;top:0;background:var(--bg2);padding:0 0 12px}.vt-mobile .vt-panel .assign-search input{width:100%;font-size:16px}.vt-mobile .vt-panel .assign-list{max-height:none;overflow:visible}.vt-mobile .vt-panel .assign-item{display:grid;grid-template-columns:36px minmax(0,1fr);gap:2px 10px;min-height:64px;width:100%;padding:12px 0;font-size:15px}.vt-mobile .vt-panel .assign-item .assign-av{grid-row:1/3}.vt-mobile .vt-panel .assign-sub{grid-column:2;font-size:12px;white-space:normal}.vt-mobile .vt-panel .ctx-menu{position:static!important;display:block!important;min-width:0;width:100%;max-height:none;border:0;box-shadow:none;background:transparent}.vt-mobile .vt-panel .ctx-item{min-height:52px;font-size:15px;width:100%;padding:12px}.vt-mobile .vt-panel .range-picker-popover{position:static;inset:auto;width:100%;max-width:100%;box-shadow:none;border:0;padding:0;background:transparent}.vt-mobile .vt-panel .range-picker-months{display:block}.vt-mobile .vt-panel .range-picker-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}.vt-mobile .vt-panel .range-picker-days button{min-width:32px;min-height:44px;font-size:15px;padding:2px}.vt-mobile .vt-panel .range-picker-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}.vt-mobile .vt-panel .range-picker-actions button{min-height:48px;white-space:normal}.vt-mobile .vt-panel .range-picker-head button{min-width:48px;min-height:48px}
.vt-mobile #board .column.studio-mobile-filtered{display:none!important}
.vt-mobile #page-calendar .cal-bar{display:none!important}.vt-mobile .sales-head>button{display:none!important}.vt-mobile .vt-app-head>.vt-heading[role=button]{min-height:48px;display:flex;flex-direction:column;justify-content:center;cursor:pointer}.vt-mobile .vt-app-head>.vt-heading small{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:100%}
.vt-app-head[data-page=calendar]>[data-root-filters]{order:0}.vt-app-head[data-page=calendar]>.vt-heading{order:1}.vt-app-head[data-page=calendar]>[data-root-search]{order:2}.vt-app-head[data-page=calendar]>[data-root-add]{order:3}
.vt-mobile .vt-media-viewer .viewer-head{display:none!important}.vt-mobile .vt-media-viewer .vt-screen-body{padding:0;overflow:hidden}.vt-mobile .vt-media-viewer .viewer-body{height:100%;width:100%;min-height:0;box-sizing:border-box}.vt-preview-open{display:none}.vt-mobile .vt-preview-open{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px;border:1px solid var(--border);border-radius:10px;background:var(--bg2);color:var(--text);font:inherit}.vt-mobile :is(iframe.client-preview-frame,iframe.preview-frame)[data-mobile-preview]{display:none!important}.vt-mobile .vt-mobile-layer[data-client-preview] .vt-panel>.vt-screen-head{display:none!important}.vt-mobile .vt-mobile-layer[data-client-preview] .vt-panel-body{padding:0;overflow:hidden}.vt-mobile .vt-mobile-layer[data-client-preview] iframe[data-mobile-preview]{display:block!important;width:100%!important;height:100%!important;max-width:none!important;min-height:0!important;border:0!important;box-shadow:none!important;margin:0!important;transform:none!important}
@media(pointer:coarse) and (min-width:768px){:is(.btn,.btn-ghost,.ws-btn,.repo-acts>button,.up-btn,.pp-add){min-height:48px}input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px}.cal-vbtn{min-height:44px;min-width:44px}}
.vt-mobile .sa-wrap{padding:12px 16px 24px}.vt-mobile .sa-head{display:none}.vt-mobile .sa-list-bar{display:none}.vt-mobile .vt-panel .sa-list-bar{display:grid;gap:12px}.vt-mobile .sa-search{min-width:0;width:100%;max-width:none}.vt-mobile .sa-create-grid,.vt-mobile .sa-editor-grid{grid-template-columns:minmax(0,1fr);gap:16px}.vt-mobile .sa-acct-row{grid-template-columns:34px minmax(0,1fr) auto;gap:8px;padding:12px}.vt-mobile .sa-acct-id{grid-column:2;grid-row:1}.vt-mobile .sa-acct-status{grid-column:3;grid-row:1}.vt-mobile .sa-acct-access{grid-column:2;white-space:normal}.vt-mobile .sa-acct-row>.sa-role-badge{grid-column:2;justify-self:start}.vt-mobile .sa-acct-row>.sa-chevron{grid-column:3;grid-row:2}.vt-mobile .sa-editor{padding:12px}.vt-mobile #page-superadmin :is(input:not([type=checkbox]),select,textarea){font-size:16px;min-height:48px;max-width:100%;box-sizing:border-box}.vt-mobile .sa-editor-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.vt-mobile .sa-editor-actions .btn{min-height:48px;white-space:normal}.vt-mobile .sa-acc-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.vt-mobile .sa-acc-proj{grid-column:1/-1;white-space:normal}.vt-mobile .sa-acc-level{width:100%;min-width:0}.vt-mobile .sa-create-foot{flex-wrap:wrap;gap:12px}.vt-mobile .sa-create-head{min-height:48px}.vt-mobile .email-tpl-layout{display:block}.vt-mobile .email-tpl-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:16px}.vt-mobile .email-tpl-list button{min-height:48px;font-size:13px}.vt-mobile .ptl-manual-fields{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.vt-mobile :is(.hr-addday,.shotv-nav){gap:8px}.vt-mobile .hr-addday{flex-wrap:wrap}.vt-mobile .hr-addday input{min-height:48px;font-size:16px}.vt-mobile .fv-head,.vt-mobile .fv-top{height:56px;min-height:56px;padding:4px 12px;box-sizing:border-box}.vt-mobile .fv-head .btn-ghost{width:48px;min-height:48px}.vt-mobile .fv-title{min-width:0;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vt-mobile .fv-body{min-height:0;overflow:auto;padding:12px}.vt-mobile .field-view{top:var(--vt-visible-top);height:var(--vt-visible-height);bottom:auto}
.vt-mobile .vt-panel .sc-mini{min-width:48px;min-height:48px}.vt-mobile .vt-panel .sc-actions{display:flex;flex-wrap:wrap;gap:6px}
.vt-mobile .vt-panel .lp-preview{display:flex;width:100%;border:0}.vt-mobile .vt-panel .lpp-img{height:220px;box-sizing:border-box}.vt-mobile .vt-panel .lpp-add{min-height:48px;font-size:16px}

.vt-mobile .script-mobile-surface .ql-container{box-shadow:none!important;background:transparent!important;border-radius:0!important}.vt-mobile #mobileTabs{height:calc(56px + var(--vt-safe-bottom));min-height:calc(56px + var(--vt-safe-bottom))}

.client-preview-stamp{display:block;font-size:12px;font-weight:400;color:var(--text2);line-height:1.4}.client-preview-identity{font-size:13px;padding:10px 12px;border-radius:8px;background:var(--bg3);color:var(--text)}

.mb-proposal-entry{display:flex;align-items:stretch;gap:6px}.mb-proposal-entry>.mb-proposal-row{flex:1;min-width:0;width:100%}.mb-proposal-rename{width:48px;min-height:48px;flex-shrink:0;border:1px solid var(--border);border-radius:10px;color:var(--text2);background:transparent;cursor:pointer}.mb-proposal-rename:hover{background:var(--bg3);color:var(--text)}
