/* P01 V2.27 — content-first workspace productization.
 * Interaction reference: Raindrop-style single workspace.
 * Visual authority: VF light neutral + teal.
 */
:root{
  --ws-bg:#f6f8f8;--ws-panel:#fff;--ws-soft:#f8faf9;--ws-soft-2:#f1f5f4;
  --ws-text:#243039;--ws-strong:#101828;--ws-muted:#667085;--ws-muted-2:#98a2b3;
  --ws-line:#e3e8e7;--ws-line-strong:#cdd7d5;--ws-teal:#0f766e;--ws-teal-deep:#0b655e;--ws-teal-soft:#e8f5f3;
  --ws-danger:#b42318;--ws-warning:#9a6700;--ws-sidebar:216px;--ws-topbar:62px;--ws-radius:10px;
}
html[data-theme=dark]{--ws-bg:#101416;--ws-panel:#171c1f;--ws-soft:#1d2427;--ws-soft-2:#202a2d;--ws-text:#d8e0e0;--ws-strong:#f7faf9;--ws-muted:#a6b1b0;--ws-muted-2:#778481;--ws-line:#303a3c;--ws-line-strong:#455254;--ws-teal:#2dd4bf;--ws-teal-deep:#5eead4;--ws-teal-soft:#103b37}
*{box-sizing:border-box}
html,body{min-height:100%}
body.vf-surface-app{margin:0;background:var(--ws-bg);color:var(--ws-text);font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,-apple-system,sans-serif;font-size:14px;line-height:1.45}
a{color:inherit}
button,input,select,textarea{font:inherit}
button{color:inherit}

/* Shell */
.vf-app-sidebar{position:fixed;inset:0 auto 0 0;width:var(--ws-sidebar);padding:16px 12px 14px;background:var(--ws-panel);border-right:1px solid var(--ws-line);display:flex;flex-direction:column;z-index:40}
.vf-app-brand{display:flex;align-items:center;gap:10px;padding:5px 8px 15px;text-decoration:none}
.vf-brand-mark{width:34px;height:34px;border-radius:9px;background:var(--ws-teal);color:#fff;display:grid;place-items:center;font-weight:800;font-size:12px;overflow:hidden;flex:0 0 auto}
.vf-brand-mark img{width:100%;height:100%;object-fit:contain;background:#fff}
.vf-app-brand>span:last-child{min-width:0}.vf-app-brand strong,.vf-app-brand small{display:block}.vf-app-brand strong{font-size:15px;color:var(--ws-strong);font-weight:760}.vf-app-brand small{margin-top:2px;color:var(--ws-muted-2);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vf-main-nav,.vf-secondary-nav{display:grid;gap:2px}.vf-main-nav a,.vf-secondary-nav a{min-height:40px;padding:7px 8px;display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:5px;border-radius:8px;text-decoration:none;color:var(--ws-text)}
.vf-main-nav a:hover,.vf-secondary-nav a:hover{background:var(--ws-soft)}.vf-main-nav a.active,.vf-secondary-nav a.active{background:var(--ws-teal-soft);color:var(--ws-teal);font-weight:700}
.vf-nav-icon,.vf-secondary-nav a>span{width:27px;height:27px;display:grid;place-items:center;color:var(--ws-muted);font-size:13px}.vf-main-nav a.active .vf-nav-icon,.vf-secondary-nav a.active>span{color:var(--ws-teal)}
.vf-main-nav b,.vf-secondary-nav b{font-size:13.5px;font-weight:640;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vf-main-nav em,.vf-secondary-nav em{font-size:11px;font-style:normal;color:var(--ws-muted-2);font-weight:520;min-width:24px;text-align:right}
.vf-main-nav a.active em,.vf-secondary-nav a.active em{color:var(--ws-teal)}
.vf-nav-section{margin:14px 8px 5px;padding-top:12px;border-top:1px solid var(--ws-line)}.vf-nav-section span{font-size:11px;color:var(--ws-muted-2);letter-spacing:.02em}
.vf-sidebar-bottom{margin-top:auto;padding:11px 8px 0;border-top:1px solid var(--ws-line);display:grid;gap:3px}.vf-sidebar-bottom a{padding:5px 0;text-decoration:none;color:var(--ws-muted);font-size:12.5px}.vf-sidebar-bottom a:hover{color:var(--ws-teal)}.vf-sidebar-bottom small{margin-top:4px;color:var(--ws-muted-2);font-size:11px}
.vf-app-stage{min-height:100vh;margin-left:var(--ws-sidebar)}
.vf-app-topbar{height:var(--ws-topbar);position:sticky;top:0;z-index:30;padding:0 22px;display:flex;align-items:center;gap:14px;background:color-mix(in srgb,var(--ws-panel) 96%,transparent);border-bottom:1px solid var(--ws-line);backdrop-filter:blur(12px)}
.vf-global-search{width:min(560px,58vw);height:38px;display:flex;align-items:center;gap:8px;padding:0 10px;border:1px solid var(--ws-line-strong);border-radius:8px;background:var(--ws-panel)}.vf-global-search:focus-within{border-color:#7cbdb6;box-shadow:0 0 0 3px color-mix(in srgb,var(--ws-teal) 10%,transparent)}
.vf-global-search>span{color:var(--ws-muted-2)}.vf-global-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:var(--ws-text);font-size:13.5px}.vf-global-search kbd{padding:2px 6px;border:1px solid var(--ws-line);border-radius:5px;background:var(--ws-soft);color:var(--ws-muted);font-size:10px}
.vf-top-actions{margin-left:auto;display:flex;align-items:center;gap:7px}.vf-context-action,.vf-theme-toggle,.vf-workspace-button,.vf-secondary-button{min-height:34px;padding:0 11px;border:1px solid var(--ws-line-strong);border-radius:8px;background:var(--ws-panel);color:var(--ws-text);display:inline-flex;align-items:center;justify-content:center;gap:4px;text-decoration:none;font-size:12.5px;cursor:pointer}.vf-context-action:hover,.vf-theme-toggle:hover,.vf-workspace-button:hover,.vf-secondary-button:hover{background:var(--ws-soft)}.vf-new-action{background:var(--ws-teal);border-color:var(--ws-teal);color:#fff;font-weight:700}.vf-new-action:hover{background:var(--ws-teal-deep);border-color:var(--ws-teal-deep)}.vf-theme-toggle{width:34px;padding:0}
.vf-shell-main{width:min(1180px,calc(100% - 44px));margin:0 auto;padding:22px 0 64px}

/* Header + toolbar */
.vf-workspace-head{min-height:48px;margin-bottom:12px;display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.vf-workspace-head h1{margin:0;color:var(--ws-strong);font-size:21px;line-height:1.25;font-weight:760;letter-spacing:-.015em}.vf-workspace-head p{margin:4px 0 0;color:var(--ws-muted);font-size:12.5px}.vf-workspace-count{font-variant-numeric:tabular-nums}
.vf-workspace-notice{min-height:42px;margin:0 0 10px;padding:8px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #c8e4df;border-radius:8px;background:var(--ws-teal-soft);text-decoration:none;color:var(--ws-teal)}.vf-workspace-notice span{font-size:12.5px}.vf-workspace-notice b{font-size:13px}.vf-workspace-notice em{font-style:normal;font-size:12px;font-weight:700}
.vf-workspace-toolbar{min-height:42px;margin-bottom:9px;padding:4px 5px;display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--ws-line);border-radius:8px;background:var(--ws-panel)}.vf-workspace-toolbar nav{display:flex;align-items:center;gap:2px;min-width:0;overflow-x:auto}.vf-workspace-toolbar nav a{padding:7px 9px;border-radius:6px;text-decoration:none;white-space:nowrap;color:var(--ws-muted);font-size:12.5px}.vf-workspace-toolbar nav a:hover{background:var(--ws-soft);color:var(--ws-text)}.vf-workspace-toolbar nav a.active{background:var(--ws-teal-soft);color:var(--ws-teal);font-weight:700}.vf-workspace-toolbar nav small{margin-left:3px;font-size:10.5px}.vf-toolbar-controls{display:flex;align-items:center;gap:6px}.vf-toolbar-controls select,.vf-collection-filter select{height:31px;border:1px solid var(--ws-line);border-radius:6px;background:var(--ws-panel);color:var(--ws-text);padding:0 8px;font-size:12px}.vf-toolbar-controls button,.vf-toolbar-controls a{height:31px;display:inline-flex;align-items:center;padding:0 8px;border:1px solid var(--ws-line);border-radius:6px;background:var(--ws-panel);color:var(--ws-muted);text-decoration:none;font-size:12px;cursor:pointer}.vf-toolbar-controls .active{background:var(--ws-teal-soft);border-color:#c8e4df;color:var(--ws-teal)}.vf-toolbar-link{white-space:nowrap;color:var(--ws-teal);font-size:12px;text-decoration:none;font-weight:650}
.vf-collection-filter{display:flex;align-items:center;gap:6px}.vf-collection-filter a{color:var(--ws-teal);font-size:11.5px;text-decoration:none}
.vf-tag-cloud{margin-bottom:9px;padding:9px;border:1px solid var(--ws-line);border-radius:8px;background:var(--ws-panel);display:flex;gap:5px;flex-wrap:wrap}.vf-tag-cloud a{padding:5px 8px;border-radius:6px;background:var(--ws-soft);text-decoration:none;color:var(--ws-muted);font-size:12px}.vf-tag-cloud a.active{background:var(--ws-teal-soft);color:var(--ws-teal);font-weight:700}.vf-tag-cloud small{margin-left:3px;font-size:10px}

/* Asset list */
.vf-workspace-list{border:1px solid var(--ws-line);border-radius:9px;background:var(--ws-panel);overflow:hidden}.vf-asset-row{position:relative;min-height:64px;padding:8px 10px;display:grid;grid-template-columns:24px 36px minmax(0,1fr) auto;align-items:center;gap:9px;border-bottom:1px solid var(--ws-line);background:var(--ws-panel)}.vf-asset-row:last-child{border-bottom:0}.vf-asset-row:hover{background:var(--ws-soft)}
.vf-asset-select{display:grid;place-items:center}.vf-asset-select input{width:15px;height:15px;accent-color:var(--ws-teal);cursor:pointer}.vf-asset-icon{width:34px;height:34px;border:1px solid var(--ws-line);border-radius:8px;background:var(--ws-soft);display:grid;place-items:center;overflow:hidden;color:var(--ws-teal);font-size:12px;font-weight:750}.vf-asset-icon.round{border-radius:50%}.vf-asset-icon img{width:100%;height:100%;object-fit:cover}.vf-asset-icon>span{display:grid;place-items:center;width:100%;height:100%}
.vf-asset-copy{min-width:0;cursor:pointer}.vf-asset-copy strong,.vf-asset-copy small,.vf-asset-copy em{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vf-asset-copy strong{color:var(--ws-strong);font-size:13.5px;line-height:1.35;font-weight:680}.vf-asset-copy small{margin-top:2px;color:var(--ws-muted);font-size:11.7px}.vf-asset-copy em{margin-top:3px;color:var(--ws-muted-2);font-size:11.5px;font-style:normal}
.vf-asset-meta{max-width:300px;display:flex;align-items:center;justify-content:flex-end;gap:5px;flex-wrap:wrap}.vf-chip{padding:3px 6px;border-radius:5px;background:var(--ws-soft-2);color:var(--ws-muted);font-size:10.5px;font-style:normal;font-weight:550}.vf-chip.teal{background:var(--ws-teal-soft);color:var(--ws-teal)}.vf-chip.warn{background:#fff7e6;color:var(--ws-warning)}
.vf-asset-actions{display:flex;align-items:center;gap:3px;margin-left:4px;opacity:0;transform:translateX(3px);transition:.12s ease}.vf-asset-row:hover .vf-asset-actions,.vf-asset-actions:focus-within{opacity:1;transform:none}.vf-icon-button{width:30px;height:30px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--ws-muted);display:grid;place-items:center;text-decoration:none;cursor:pointer}.vf-icon-button:hover{background:var(--ws-panel);border-color:var(--ws-line);color:var(--ws-teal)}.vf-icon-button.active{color:#b7791f;background:#fff8e8}.vf-icon-button:disabled{opacity:.5;cursor:wait}
.vf-workspace-list.compact .vf-asset-row{min-height:50px;padding-top:5px;padding-bottom:5px}.vf-workspace-list.compact .vf-asset-icon{width:30px;height:30px}.vf-workspace-list.compact .vf-asset-copy em{display:none}
.vf-workspace-empty{padding:42px 22px;text-align:center;color:var(--ws-muted)}.vf-workspace-empty strong{display:block;color:var(--ws-strong);font-size:14px}.vf-workspace-empty p{margin:6px 0 0;font-size:12.5px}.vf-workspace-empty a{display:inline-block;margin-top:10px;color:var(--ws-teal);text-decoration:none;font-size:12.5px;font-weight:650}

/* Collection cards alternative */
.vf-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.vf-asset-card{position:relative;min-width:0;padding:12px;border:1px solid var(--ws-line);border-radius:9px;background:var(--ws-panel);display:grid;grid-template-columns:24px 38px minmax(0,1fr);gap:9px;align-items:start}.vf-asset-card:hover{border-color:var(--ws-line-strong);background:var(--ws-soft)}.vf-asset-card .vf-asset-meta{grid-column:2/4;justify-content:flex-start;max-width:none}.vf-asset-card .vf-asset-actions{position:absolute;top:8px;right:8px;background:color-mix(in srgb,var(--ws-panel) 92%,transparent);border-radius:7px;padding:2px}

/* Watch */
.vf-watch-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px}.vf-watch-card{position:relative;min-width:0;padding:7px;border:1px solid var(--ws-line);border-radius:9px;background:var(--ws-panel)}.vf-watch-card:hover{background:var(--ws-soft);border-color:var(--ws-line-strong)}.vf-watch-card .vf-asset-select{position:absolute;top:12px;left:12px;z-index:3;width:24px;height:24px;border-radius:6px;background:color-mix(in srgb,var(--ws-panel) 92%,transparent)}.vf-watch-poster{display:grid;place-items:center;aspect-ratio:2/3;border-radius:7px;overflow:hidden;background:#e9efee;color:var(--ws-muted);font-size:24px;font-weight:800;cursor:pointer}.vf-watch-poster img{width:100%;height:100%;object-fit:cover}.vf-watch-copy{display:block;padding:8px 2px 2px;cursor:pointer}.vf-watch-copy strong,.vf-watch-copy small,.vf-watch-copy em{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vf-watch-copy strong{font-size:13px;color:var(--ws-strong)}.vf-watch-copy small{margin-top:3px;color:var(--ws-muted);font-size:11.5px}.vf-watch-copy em{margin-top:4px;color:var(--ws-teal);font-size:10.5px;font-style:normal}.vf-watch-card .vf-asset-actions{position:absolute;top:11px;right:11px;padding:2px;border-radius:7px;background:color-mix(in srgb,var(--ws-panel) 92%,transparent)}.vf-cover-diagnostic{display:block;margin:2px 2px 5px;padding:5px 6px;border-radius:6px;background:color-mix(in srgb,#f59e0b 12%,var(--ws-panel));color:var(--ws-warning);font-size:10.5px;line-height:1.35;word-break:break-word}.vf-cover-diagnostic[hidden]{display:none}

/* Pagination */
.vf-pagination{margin-top:12px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--ws-muted);font-size:12px}.vf-pagination nav{display:flex;gap:4px}.vf-pagination a,.vf-pagination span.page{min-width:32px;height:30px;padding:0 8px;border:1px solid var(--ws-line);border-radius:6px;background:var(--ws-panel);display:grid;place-items:center;text-decoration:none}.vf-pagination span.page{background:var(--ws-teal-soft);color:var(--ws-teal);border-color:#c8e4df;font-weight:700}

/* Inbox */
.vf-inline-notice{margin:0 0 10px;padding:10px 12px;border-radius:8px;border:1px solid var(--ws-line);font-size:12.5px}.vf-inline-notice.success{border-color:#b7dfd9;background:var(--ws-teal-soft);color:var(--ws-teal)}.vf-inline-notice.danger{border-color:#f0c6c1;background:#fff3f2;color:var(--ws-danger)}
.vf-quick-save-result{display:flex;align-items:center;justify-content:space-between;gap:10px}.vf-quick-save-result span{min-width:0}.vf-quick-save-result a{flex:0 0 auto;color:var(--ws-teal);font-weight:700;text-decoration:none;white-space:nowrap}.vf-quick-save-result a:hover{text-decoration:underline}
.vf-inbox-panel{margin-bottom:14px;border:1px solid var(--ws-line);border-radius:9px;background:var(--ws-panel);overflow:hidden}.vf-inbox-panel>header{padding:13px 14px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--ws-line)}.vf-inbox-panel h2{margin:0;color:var(--ws-strong);font-size:15px}.vf-inbox-panel header p{margin:3px 0 0;color:var(--ws-muted);font-size:12px}.vf-primary-button{min-height:34px;padding:0 12px;border:1px solid var(--ws-teal);border-radius:7px;background:var(--ws-teal);color:#fff;font-size:12.5px;font-weight:700;cursor:pointer}.vf-primary-button:hover{background:var(--ws-teal-deep)}.vf-primary-button:disabled{opacity:.45;cursor:not-allowed}
.vf-inbox-list{display:grid}.vf-inbox-row{min-height:60px;padding:9px 13px;display:grid;grid-template-columns:48px minmax(0,1fr) minmax(140px,240px) auto;gap:10px;align-items:center;border-bottom:1px solid var(--ws-line)}.vf-inbox-row:last-child{border-bottom:0}.vf-confidence{width:42px;height:28px;border-radius:6px;background:var(--ws-teal-soft);color:var(--ws-teal);display:grid;place-items:center;font-size:10.5px;font-weight:800}.vf-inbox-row strong,.vf-inbox-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vf-inbox-row strong{font-size:12.8px;color:var(--ws-strong)}.vf-inbox-row small{margin-top:3px;font-size:11.2px;color:var(--ws-muted)}.vf-inbox-row em{font-style:normal;font-size:11px;color:var(--ws-muted-2);line-height:1.4}.vf-suggestion-actions{display:flex;gap:5px}.vf-suggestion-actions button{height:30px;padding:0 9px;border:1px solid var(--ws-line);border-radius:6px;background:var(--ws-panel);font-size:11.5px;color:var(--ws-teal);cursor:pointer}.vf-suggestion-actions button:hover{background:var(--ws-teal-soft)}
.vf-advanced-editor{padding-bottom:12px}.vf-inline-filter{display:flex;gap:7px;padding:10px 14px;border-bottom:1px solid var(--ws-line)}.vf-inline-filter select,.vf-inline-filter button,.vf-editor-row input,.vf-editor-row select{height:31px;border:1px solid var(--ws-line);border-radius:6px;background:var(--ws-panel);color:var(--ws-text);padding:0 7px;font-size:11.5px}.vf-editor-list{display:grid}.vf-editor-row{padding:8px 10px;display:grid;grid-template-columns:minmax(210px,1.7fr) 86px 100px 82px 66px 100px minmax(110px,1fr) 58px;gap:6px;align-items:center;border-bottom:1px solid var(--ws-line)}.vf-editor-title{min-width:0}.vf-editor-title strong,.vf-editor-title small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vf-editor-title strong{font-size:12px;color:var(--ws-strong)}.vf-editor-title small{font-size:10.5px;color:var(--ws-muted)}.vf-editor-row label{font-size:10.5px}.vf-row-save{height:31px;border:1px solid var(--ws-teal);border-radius:6px;background:var(--ws-teal);color:#fff;font-size:11px;cursor:pointer}

/* Overlay / drawer */
body.vf-overlay-open{overflow:hidden}.vf-workspace-overlay{position:fixed;inset:0;z-index:100;background:rgba(15,23,42,.28);opacity:0;transition:opacity .13s ease}.vf-workspace-overlay.open{opacity:1}.vf-workspace-dialog,.vf-detail-drawer{position:absolute;background:var(--ws-panel);border:1px solid var(--ws-line);box-shadow:0 18px 48px rgba(15,23,42,.18)}
.vf-workspace-dialog{width:min(660px,calc(100vw - 32px));max-height:calc(100vh - 48px);overflow:auto;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:12px}.vf-detail-drawer{top:0;right:0;width:min(440px,100vw);height:100%;overflow:auto;border-width:0 0 0 1px}.vf-workspace-dialog>header,.vf-detail-head{min-height:64px;padding:12px 15px;border-bottom:1px solid var(--ws-line);display:flex;align-items:center;gap:10px}.vf-workspace-dialog>header>div{min-width:0;flex:1}.vf-workspace-dialog>header strong,.vf-workspace-dialog>header small{display:block}.vf-workspace-dialog>header strong{font-size:15px;color:var(--ws-strong)}.vf-workspace-dialog>header small{margin-top:2px;font-size:11.5px;color:var(--ws-muted)}.vf-workspace-dialog>header button,.vf-detail-head>button{margin-left:auto;width:32px;height:32px;border:0;border-radius:7px;background:transparent;color:var(--ws-muted);font-size:20px;cursor:pointer}.vf-workspace-dialog>header button:hover,.vf-detail-head>button:hover{background:var(--ws-soft)}
.vf-detail-icon{width:38px;height:38px;border:1px solid var(--ws-line);border-radius:8px;background:var(--ws-soft);display:grid;place-items:center;overflow:hidden;color:var(--ws-teal);font-weight:700}.vf-detail-icon img{width:100%;height:100%;object-fit:cover}.vf-detail-head>div{min-width:0;flex:1}.vf-detail-head strong,.vf-detail-head small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vf-detail-head strong{font-size:14px;color:var(--ws-strong)}.vf-detail-head small{margin-top:2px;font-size:11px;color:var(--ws-muted)}.vf-detail-head>a{white-space:nowrap;color:var(--ws-teal);font-size:12px;text-decoration:none}
.vf-workspace-form{padding:14px;display:grid;grid-template-columns:1fr 1fr;gap:11px 12px}.vf-field{display:grid;gap:5px;min-width:0}.vf-field-wide{grid-column:1/-1}.vf-field>span{font-size:11.5px;color:var(--ws-muted);font-weight:600}.vf-field>.vf-image-size-hint{display:block;margin:0;color:var(--ws-muted-2);font-size:11px;line-height:1.45;font-weight:520}.vf-field input,.vf-field select,.vf-field textarea{width:100%;border:1px solid var(--ws-line-strong);border-radius:7px;background:var(--ws-panel);color:var(--ws-text);padding:8px 9px;outline:0;font-size:13px}.vf-field input,.vf-field select{height:36px}.vf-field textarea{resize:vertical;min-height:72px}.vf-field input:focus,.vf-field select:focus,.vf-field textarea:focus{border-color:#77b9b2;box-shadow:0 0 0 3px color-mix(in srgb,var(--ws-teal) 10%,transparent)}.vf-check{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--ws-muted)}.vf-check input{accent-color:var(--ws-teal)}.vf-workspace-form footer{grid-column:1/-1;margin-top:4px;padding-top:11px;border-top:1px solid var(--ws-line);display:flex;justify-content:flex-end;gap:7px}

/* Bulk */
.vf-bulkbar{position:fixed;left:calc(var(--ws-sidebar) + (100vw - var(--ws-sidebar))/2);bottom:22px;transform:translateX(-50%);z-index:80;min-height:48px;padding:7px 9px 7px 13px;border:1px solid #bfded9;border-radius:10px;background:var(--ws-panel);box-shadow:0 12px 34px rgba(15,23,42,.14);display:flex;align-items:center;gap:7px}.vf-bulkbar[hidden]{display:none}.vf-bulkbar strong{margin-right:4px;color:var(--ws-teal);font-size:12.5px}.vf-bulkbar select,.vf-bulkbar button{height:32px;border:1px solid var(--ws-line);border-radius:6px;background:var(--ws-panel);color:var(--ws-text);padding:0 8px;font-size:11.5px}.vf-bulkbar button{cursor:pointer}.vf-bulkbar button:hover{background:var(--ws-soft)}.vf-bulkbar button.danger{color:var(--ws-danger)}
.vf-workspace-toasts{position:fixed;top:74px;right:18px;z-index:130;display:grid;gap:7px}.vf-workspace-toast{min-width:180px;max-width:360px;padding:9px 11px;border:1px solid #b7dfd9;border-radius:8px;background:var(--ws-panel);color:var(--ws-teal);font-size:12px;box-shadow:0 8px 24px rgba(15,23,42,.1);opacity:0;transform:translateY(-6px);transition:.15s ease}.vf-workspace-toast.show{opacity:1;transform:none}.vf-workspace-toast.error{border-color:#efc7c2;color:var(--ws-danger)}
.vf-workspace-toast.undo{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--ws-text)}.vf-workspace-toast.undo span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vf-workspace-toast.undo button{flex:0 0 auto;height:28px;padding:0 9px;border:1px solid #b7dfd9;border-radius:6px;background:var(--ws-teal-soft);color:var(--ws-teal);font-size:11.5px;font-weight:700;cursor:pointer}.vf-workspace-toast.undo button:hover{background:color-mix(in srgb,var(--ws-teal-soft) 70%,var(--ws-panel))}.vf-workspace-toast.undo button:disabled{opacity:.55;cursor:wait}

@media (hover:none){.vf-asset-actions{opacity:1;transform:none}.vf-icon-button{border-color:var(--ws-line);background:var(--ws-panel)}}
@media(max-width:1050px){:root{--ws-sidebar:196px}.vf-shell-main{width:calc(100% - 28px)}.vf-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.vf-watch-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.vf-asset-meta .vf-chip:nth-of-type(n+3){display:none}}
@media(max-width:760px){
  :root{--ws-sidebar:0px;--ws-topbar:58px}
  body.vf-surface-app{padding-bottom:68px}
  .vf-app-sidebar{inset:auto 0 0 0;width:100%;height:64px;padding:5px 7px calc(5px + env(safe-area-inset-bottom));border:0;border-top:1px solid var(--ws-line);display:block;background:color-mix(in srgb,var(--ws-panel) 98%,transparent);backdrop-filter:blur(12px)}
  .vf-app-brand,.vf-secondary-nav,.vf-nav-section,.vf-sidebar-bottom{display:none}.vf-main-nav{height:54px;display:grid;grid-template-columns:repeat(4,1fr);gap:3px}.vf-main-nav a{min-height:50px;padding:4px 2px;display:flex;flex-direction:column;justify-content:center;gap:1px;border-radius:7px;text-align:center}.vf-main-nav b{font-size:10.5px}.vf-main-nav em{display:none}.vf-nav-icon{height:22px;font-size:13px}
  .vf-app-stage{margin-left:0}.vf-app-topbar{height:58px;padding:0 10px;gap:7px}.vf-global-search{width:auto;flex:1;height:36px}.vf-global-search input{font-size:13px}.vf-global-search kbd{display:none}.vf-context-action{width:36px;padding:0}.vf-context-action b{display:none}.vf-theme-toggle{display:none}
  .vf-shell-main{width:100%;padding:14px 11px 34px}.vf-workspace-head{margin-bottom:9px;min-height:42px}.vf-workspace-head h1{font-size:19px}.vf-workspace-head p{font-size:11.5px}.vf-workspace-toolbar{align-items:stretch;flex-direction:column;padding:4px;gap:4px}.vf-workspace-toolbar nav{width:100%}.vf-toolbar-controls,.vf-collection-filter{width:100%;overflow-x:auto}.vf-toolbar-controls select,.vf-collection-filter select{flex:1;min-width:130px}
  .vf-workspace-notice{min-height:40px}.vf-workspace-list{border-radius:8px}.vf-asset-row{min-height:62px;padding:8px 7px;grid-template-columns:22px 33px minmax(0,1fr) auto;gap:7px}.vf-asset-icon{width:32px;height:32px}.vf-asset-copy strong{font-size:13px}.vf-asset-copy small{font-size:11px}.vf-asset-copy em{display:none}.vf-asset-meta{display:none}.vf-asset-actions{gap:1px}.vf-asset-actions [data-edit-id]{display:none}.vf-icon-button{width:28px;height:28px}
  .vf-card-grid{grid-template-columns:1fr}.vf-watch-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.vf-watch-card{padding:6px}.vf-watch-copy strong{font-size:12.5px}
  .vf-pagination{align-items:flex-start;flex-direction:column}.vf-inbox-panel>header{align-items:flex-start;flex-direction:column}.vf-inbox-row{grid-template-columns:44px minmax(0,1fr);gap:8px}.vf-inbox-row em{grid-column:2}.vf-suggestion-actions{grid-column:2}.vf-advanced-editor{display:none}
  .vf-detail-drawer{width:100%}.vf-workspace-dialog{width:calc(100vw - 20px);max-height:calc(100vh - 20px)}.vf-workspace-form{grid-template-columns:1fr;padding:12px}.vf-field-wide,.vf-workspace-form footer{grid-column:1}.vf-bulkbar{left:10px;right:10px;bottom:74px;transform:none;overflow-x:auto;justify-content:flex-start}.vf-bulkbar strong{white-space:nowrap}.vf-bulkbar select{min-width:118px}.vf-workspace-toasts{top:66px;right:10px;left:10px}.vf-workspace-toast{max-width:none}
}

/* L2 real Pending inbox: suggest an existing category, never auto-apply it. */
.vf-confidence.is-neutral{background:var(--ws-soft-2);color:var(--ws-muted)}
.vf-inbox-category-form{align-items:center;min-width:250px}
.vf-inbox-category-select{height:30px;max-width:220px;min-width:150px;padding:0 7px;border:1px solid var(--ws-line);border-radius:6px;background:var(--ws-panel);color:var(--ws-text);font-size:11.5px}
.vf-inbox-category-form button{white-space:nowrap}
@media(max-width:760px){.vf-inbox-category-form{width:100%;min-width:0}.vf-inbox-category-select{min-width:0;max-width:none;flex:1}}

/* Reversible deletion uses a nonblocking confirmation toast; no native confirm(). */
.vf-workspace-toast.vf-workspace-confirm{
  display:grid;gap:9px;max-width:min(420px,calc(100vw - 24px));
  color:var(--ws-text);white-space:normal;
}
.vf-workspace-toast.vf-workspace-confirm>span{
  white-space:normal;overflow:visible;text-overflow:clip;
}
.vf-workspace-confirm-actions{
  display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;
}
.vf-workspace-confirm-actions button{
  min-height:32px;border:1px solid var(--ws-line,#c9d5d4);
  border-radius:7px;padding:5px 10px;background:var(--ws-panel);
  color:var(--ws-text);font:inherit;cursor:pointer;
}
.vf-workspace-confirm-actions button:last-child{
  border-color:var(--ws-teal);background:var(--ws-teal);color:#fff;
}
