/* Compact file controls. Drawer geometry and motion are owned separately. */
.operation-workspace .ow-file-toolbar{gap:10px;flex-wrap:wrap;padding-bottom:12px}
.operation-workspace .ow-file-title{flex:1;min-width:0;gap:9px}
.operation-workspace .ow-file-title strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}
.operation-workspace .ow-file-copy{min-width:0;flex:1}
.operation-workspace .ow-file-copy small{display:block;font-size:10px;line-height:1.5;color:var(--ow-muted);margin-top:4px}
.operation-workspace .ow-file-tools{display:flex;gap:8px;align-items:center;flex:none}
.operation-workspace .ow-html-mode{display:inline-flex;align-items:center;padding:3px;border-radius:9px;background:var(--ow-surface);gap:2px;flex:none}
.operation-workspace .ow-html-mode-button{min-height:30px;padding:5px 11px;border:0!important;border-radius:6px;background:transparent;color:var(--ow-muted);font-size:12px!important;white-space:nowrap}
.operation-workspace .ow-html-mode-button[aria-pressed=true]{background:var(--ow-paper);color:var(--ow-ink);box-shadow:0 1px 4px color-mix(in srgb,var(--ow-ink) 7%,transparent)}
.operation-workspace .ow-file-more{position:relative;flex:none}
.operation-workspace .ow-file-more>summary{list-style:none;cursor:pointer}
.operation-workspace .ow-file-more>summary::-webkit-details-marker{display:none}
.operation-workspace .ow-file-menu{position:absolute;z-index:5;right:0;top:calc(100% + 6px);min-width:155px;padding:5px;border:1px solid var(--ow-line);border-radius:10px;background:var(--ow-paper);box-shadow:0 7px 24px color-mix(in srgb,var(--ow-ink) 12%,transparent)}
.operation-workspace .ow-file-download{display:flex;align-items:center;gap:9px;min-height:38px;padding:9px 10px;border-radius:6px;text-decoration:none;font-size:13px;color:var(--ow-ink);white-space:nowrap}
.operation-workspace .ow-file-download:hover{background:var(--ow-surface)}
.operation-workspace .ow-file-download svg{width:16px;height:16px}
.operation-workspace .ow-preview-limit{font-size:12px;line-height:1.7;color:var(--ow-muted);margin:0;padding:0 18px 10px}
.operation-workspace .fv-html-content{position:relative;display:flex;flex-direction:column;flex:1;min-height:0;height:100%;overflow:hidden}
.operation-workspace .fv-html-content>.fv-document-frame{display:block;width:100%;height:100%;flex:1;min-height:0;border:0;background:var(--ow-paper)}
.operation-workspace .fv-html-content>.fv-source-scroll{flex:1;min-height:0;overflow:auto;padding:12px 16px;background:var(--ow-paper)}
.operation-workspace .fv-html-content>[hidden]{display:none!important}

/* File workspace chrome; the document's own content and colors stay intact. */
.operation-workspace .ow-file-tabs{padding:7px 10px;gap:7px;background:var(--ow-surface);scrollbar-width:none;min-height:46px}
.operation-workspace .ow-file-tab{min-height:32px;padding:6px 10px;border:1px solid transparent;border-radius:7px;font-size:11px!important}
.operation-workspace .ow-file-tab[aria-selected=true]{background:var(--ow-paper);border-color:var(--ow-line);color:var(--ow-ink)}
.operation-workspace .ow-file-toolbar{background:var(--ow-surface);padding:12px}
.operation-workspace .ow-file-title{font-size:13px}
.operation-workspace .ow-original-view{margin:0 12px 12px;min-height:0;border:1px solid var(--ow-line);border-radius:8px;overflow:hidden;background:var(--ow-paper)}
.operation-workspace .fv-compact{min-width:0;min-height:0;background:var(--ow-paper);color:var(--ow-ink)}
.operation-workspace .fv-compact .fv-toolbar{gap:4px;min-height:39px;padding:4px 8px;background:var(--ow-paper);border-bottom-color:var(--ow-line);flex-wrap:wrap}
.operation-workspace .fv-compact .fv-label{font-size:10px;color:var(--ow-muted);margin-right:auto}
.operation-workspace .fv-compact .fv-button{font-size:11px!important;min-height:30px;padding:5px 6px;gap:4px;white-space:nowrap;color:var(--ow-ink)}
.operation-workspace .fv-compact .fv-button>svg{height:14px;width:14px}
.operation-workspace .fv-compact .fv-toolbar>span{font-size:12px;white-space:nowrap;font-variant-numeric:tabular-nums}
.operation-workspace .fv-compact .fv-source-scroll{padding:14px 0;scrollbar-width:thin;background:var(--ow-paper)}
.operation-workspace .fv-compact .fv-source{font-size:12px;line-height:1.95;background:transparent;color:var(--ow-ink)}
.operation-workspace .fv-compact .fv-code-line{min-width:max-content;padding-right:15px}
.operation-workspace .fv-compact .fv-source[data-wrap=true] .fv-code-line{min-width:0}
.operation-workspace .fv-compact .fv-line-number{font-size:10px;color:var(--ow-muted);opacity:.65;min-width:32px;padding-right:10px}
.operation-workspace .fv-compact[data-file-family=text] .fv-source-scroll{padding:24px 23px}
.operation-workspace .fv-compact[data-file-family=text] .fv-source{font-family:inherit;font-size:14px;line-height:1.95}
.operation-workspace .fv-compact[data-file-family=text] .fv-line-number{display:none}
.operation-workspace .fv-source-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 12px;min-height:31px;border-top:1px solid var(--ow-line);background:var(--ow-surface);font-size:10px;color:var(--ow-muted);flex:none}
.operation-workspace .fv-compact .fv-markdown-scroll{padding:0;scrollbar-width:thin;background:var(--ow-paper)}
.operation-workspace .fv-compact .fv-markdown{padding:25px 23px 35px;max-width:850px;font-size:14px;line-height:1.95;margin:auto;color:var(--ow-ink);background:transparent}
.operation-workspace .fv-compact .fv-markdown :is(h1,h2,h3){line-height:1.6;font-weight:500;letter-spacing:-.4px}
.operation-workspace .fv-compact .fv-markdown h1{font-size:25px;margin:0 0 17px}
.operation-workspace .fv-compact .fv-markdown h2{font-size:18px;margin:26px 0 12px}
.operation-workspace .fv-compact .fv-markdown p{margin:0 0 14px}
.operation-workspace .fv-compact .fv-markdown blockquote{border-left:2px solid var(--ow-muted);padding:10px 14px;background:var(--ow-surface);color:var(--ow-muted);margin:20px 0}
.operation-workspace .fv-compact .fv-page-scroll{padding:12px;background:var(--ow-surface);scrollbar-width:thin}
.operation-workspace .fv-compact .fv-page-scroll>img{margin:0 auto;box-shadow:0 3px 15px #00000006;background:#fff}
.operation-workspace .fv-document-content{position:relative;flex:1;min-height:0;overflow:hidden;background:#fff}
.operation-workspace .fv-document-content>.fv-document-frame{display:block;border:0;max-width:none;width:100%;height:100%;background:#fff}
.operation-workspace .fv-slide-pages{display:flex;align-items:center;justify-content:center;gap:7px;padding:8px;min-height:43px;background:var(--ow-surface);border-top:1px solid var(--ow-line);flex:none}
.operation-workspace .fv-slide-pages>.fv-button{min-width:36px;min-height:27px;border:1px solid var(--ow-line);border-radius:4px;background:var(--ow-paper);font-size:10px!important;padding:4px 6px}
.operation-workspace .fv-slide-pages>.fv-button>svg{display:none}
.operation-workspace .fv-slide-pages>.fv-button[aria-current=true]{border-color:var(--ow-blue);color:var(--ow-blue);background:var(--ow-tint)}
.operation-workspace .fv-table-source-pane{display:flex;flex-direction:column;min-height:0;flex:1;overflow:hidden}
.operation-workspace .fv-table-source>.fv-workbook{display:flex;flex-direction:column;min-height:0;flex:1;overflow:hidden}
.operation-workspace .fv-table-source-pane>.fv-source-scroll{min-height:0;flex:1;overflow:auto}
.operation-workspace .fv-compact .fv-formula{min-height:35px;padding:0 8px;background:var(--ow-paper);border-bottom-color:var(--ow-line);font-size:12px}
.operation-workspace .fv-compact .fv-address{min-width:45px;font-size:11px;font-variant-numeric:tabular-nums}
.operation-workspace .fv-compact .fv-fx{font:italic 13px Georgia,serif;color:var(--ow-muted)}
.operation-workspace .fv-compact .fv-grid-scroll{scrollbar-width:thin}
.operation-workspace .fv-compact .fv-grid{font-variant-numeric:tabular-nums}
.operation-workspace .fv-compact .fv-workbook-foot{min-height:37px;gap:7px;padding:0 8px;background:var(--ow-surface);border-top-color:var(--ow-line);flex-wrap:wrap}
.operation-workspace .fv-compact .fv-sheet-tabs{min-width:0;flex:1;scrollbar-width:thin}
.operation-workspace .fv-compact .fv-sheet-tabs button{font-size:11px!important;min-height:34px;padding:7px 6px}
.operation-workspace .fv-compact .fv-grid-status{font-size:10px;color:var(--ow-muted)}
.operation-workspace .fv-compact .fv-image-scroll{background:var(--ow-surface);scrollbar-width:thin}
.operation-workspace .fv-compact .fv-image-status{display:block;margin:0;padding:9px 12px;border-top:1px solid var(--ow-line);background:var(--ow-paper);font-size:10px;color:var(--ow-muted)}
.operation-workspace .fv-compact .fv-fallback{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:26px 23px;min-height:0;flex:1;text-align:center;overflow:auto;background:var(--ow-paper)}
.operation-workspace .fv-fallback-mark{width:75px;height:86px;display:grid;place-items:center;border:1px solid var(--ow-line);border-radius:14px;background:var(--ow-surface);margin-bottom:25px;font-size:14px;color:var(--ow-muted)}
.operation-workspace .fv-fallback h3{font-size:15px;font-weight:500;line-height:1.8;overflow-wrap:anywhere;margin:0}
.operation-workspace .fv-fallback p{font-size:12px;line-height:1.9;color:var(--ow-muted);margin:11px 0 23px}
.operation-workspace .fv-fallback-download,.operation-workspace .fv-media-download{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 16px;min-height:36px;border-radius:8px;background:var(--ow-ink);color:var(--ow-paper);text-decoration:none;font-size:12px}
.operation-workspace .fv-fallback small{font-size:10px;color:var(--ow-muted);margin-top:17px}

.operation-workspace .fv-media-stage{display:flex;flex-direction:column;justify-content:center;gap:16px;min-height:0;flex:1;padding:25px 16px;overflow:auto;background:var(--ow-surface);scrollbar-width:thin}
.operation-workspace .fv-media-card{width:100%;max-width:540px;margin:0 auto;border:1px solid var(--ow-line);border-radius:13px;padding:24px 18px;background:var(--ow-paper);box-shadow:0 3px 15px #15211104;color:var(--ow-ink)}
.operation-workspace .fv-audio-cover{width:110px;height:110px;border-radius:25px;display:grid;place-items:center;background:linear-gradient(140deg,#e8eddf,#c1ceae);color:#80976b;margin:0 auto 22px;box-shadow:inset 0 0 0 1px #ffffff50}
.operation-workspace .fv-audio-cover svg{width:40px;height:40px;stroke-width:1.3}
.operation-workspace .fv-media-card h3{font-size:16px;line-height:1.7;font-weight:500;text-align:center;overflow-wrap:anywhere;margin:0}
.operation-workspace .fv-media-card>small{display:block;text-align:center;font-size:10px;color:var(--ow-muted);line-height:1.8;margin-top:7px}
.operation-workspace .fv-audio-decoration{display:flex;align-items:center;justify-content:center;gap:3px;height:52px;overflow:hidden;margin-top:22px}
.operation-workspace .fv-audio-decoration i{width:3px;flex:none;border-radius:3px;background:color-mix(in srgb,var(--ow-muted) 38%,var(--ow-paper))}
.operation-workspace .fv-audio-decoration i.played{background:var(--ow-ink)}
.operation-workspace .fv-media-seek{display:block;box-sizing:border-box;width:100%;height:18px;padding:6px 0;accent-color:var(--ow-ink);margin:0;flex:none;cursor:pointer;background:transparent}
.operation-workspace .fv-media-time{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:var(--ow-muted);font-variant-numeric:tabular-nums;margin-top:5px}
.operation-workspace .fv-media-controls{display:flex;align-items:center;justify-content:space-around;gap:9px;margin-top:21px}
.operation-workspace .fv-media-controls button{display:inline-flex;align-items:center;justify-content:center;border:0;padding:8px;border-radius:8px;background:transparent;color:var(--ow-muted);min-height:40px;min-width:32px;font-size:11px!important}
.operation-workspace .fv-media-controls .fv-media-play{height:48px;width:48px;min-width:48px;border-radius:50%;background:var(--ow-ink);color:var(--ow-paper)}
.operation-workspace .fv-media-controls svg{width:19px;height:19px}
.operation-workspace .fv-media-controls>.fv-media-play svg{width:20px;height:20px}
.operation-workspace .fv-media-status{font-size:12px;line-height:1.9;color:var(--ow-muted);text-align:center;margin:0}
.operation-workspace .fv-media-status:empty{display:none}
.operation-workspace .fv-media-fallback{display:flex;justify-content:center;gap:10px;align-items:center;flex:none}
.operation-workspace .fv-media-fallback>.fv-button{border:1px solid var(--ow-line);padding:8px 12px;border-radius:8px;min-height:36px}
.operation-workspace .fv-video-card{padding:0;overflow:hidden;border-color:var(--ow-line);max-width:960px}
.operation-workspace .fv-video-card>.fv-media-element{display:block;width:100%;height:auto;max-height:65dvh;aspect-ratio:16/9;object-fit:contain;background:#11150e}
.operation-workspace .fv-video-card>.fv-media-seek{width:calc(100% - 24px);margin:7px 12px 0}
.operation-workspace .fv-video-card>.fv-media-controls{justify-content:flex-start;margin:0;padding:0 6px 7px;gap:6px;font-size:10px;white-space:nowrap;font-variant-numeric:tabular-nums}
.operation-workspace .fv-video-card .fv-media-play{width:33px;height:33px;min-width:33px;min-height:33px;border-radius:7px;background:transparent;color:var(--ow-ink);padding:6px}
.operation-workspace .fv-video-card .fv-media-controls button{min-height:33px;min-width:28px;padding:5px}
.operation-workspace .fv-media-spacer{flex:1}
.operation-workspace .fv-compact{container-type:inline-size}
.operation-workspace .fv-page-deck{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0;overflow:hidden}
.operation-workspace .fv-page-main{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0;overflow:hidden}
.operation-workspace .fv-document[data-file-family=slide] .fv-document-content{background:var(--ow-surface)}
.operation-workspace .fv-thumbnail-rail{display:flex;align-items:center;gap:9px;min-height:0;height:91px;flex:none;order:2;padding:8px 10px 6px;background:var(--ow-surface);border-top:1px solid var(--ow-line);overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--ow-muted) 45%,transparent) transparent;overscroll-behavior:contain}
.operation-workspace .fv-thumbnail-rail[data-aspect=page]{height:123px}
.operation-workspace .fv-thumbnail-item{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;flex:none;padding:4px 4px 16px;border:2px solid transparent;border-radius:7px;min-width:76px}
.operation-workspace .fv-thumbnail-item.is-current{border-color:var(--ow-blue);background:var(--ow-tint)}
.operation-workspace .fv-thumbnail-stage{position:relative;overflow:hidden;flex:none;width:90px;height:51px;background:var(--ow-paper);border:1px solid var(--ow-line);border-radius:3px;pointer-events:none}
.operation-workspace .fv-thumbnail-stage>img{width:100%;height:100%;object-fit:contain;display:block;background:#fff}
.operation-workspace .fv-thumbnail-stage>iframe{border:0;pointer-events:none;background:#fff}
.operation-workspace .fv-thumbnail-rail[data-aspect=page] .fv-thumbnail-stage{width:60px;height:80px}
.operation-workspace .fv-thumbnail-select{position:absolute;inset:0;display:flex;align-items:flex-end;justify-content:center;width:100%;height:100%;padding:2px;border:0;background:transparent;color:var(--ow-muted);border-radius:5px;font-size:9px!important}
.operation-workspace .fv-thumbnail-number{line-height:1.4}
.operation-workspace .fv-thumbnail-stage[data-loading=true]:empty{background:linear-gradient(135deg,var(--ow-paper),var(--ow-line),var(--ow-paper))}
.operation-workspace .fv-document-status{position:absolute;inset:15px auto auto 15px;font-size:11px;color:var(--ow-muted)}
@container(min-width:560px){.operation-workspace .fv-page-deck{flex-direction:row}.operation-workspace .fv-thumbnail-rail{order:0;flex-direction:column;align-items:stretch;gap:12px;width:133px;height:auto;padding:10px 8px;overflow-x:hidden;overflow-y:auto;border-top:0;border-right:1px solid var(--ow-line)}.operation-workspace .fv-thumbnail-rail[data-aspect=page]{height:auto}.operation-workspace .fv-thumbnail-rail[data-aspect=page] .fv-thumbnail-stage{width:78px;height:104px}.operation-workspace .fv-thumbnail-stage{width:98px;height:55px}}
:root[data-theme=dark] .operation-workspace .fv-audio-cover{filter:brightness(.85)}
@media(max-width:420px){.operation-workspace .fv-compact .fv-label{flex-basis:100%;font-size:10px}.operation-workspace .fv-compact.fv-image .fv-label{flex-basis:auto}.operation-workspace .fv-compact .fv-button{font-size:10px!important;padding:5px}.operation-workspace .fv-media-stage{padding:20px 12px}.operation-workspace .fv-media-card{padding:21px 14px}.operation-workspace .fv-video-card{padding:0}.operation-workspace .fv-compact .fv-grid-status{display:none}}
@media(max-width:700px){.operation-workspace .ow-file-toolbar{gap:9px;padding-top:12px;padding-bottom:10px}.operation-workspace .ow-file-toolbar:has(.ow-html-mode) .ow-file-title{flex-basis:100%}.operation-workspace .ow-file-toolbar:has(.ow-html-mode) .ow-file-tools{width:100%}.operation-workspace .ow-html-mode{margin-right:auto}.operation-workspace .ow-file-tools .ow-button{min-height:34px}.operation-workspace .ow-file-more>.ow-icon{min-height:34px;height:34px}.operation-workspace .ow-html-mode-button{min-height:30px;font-size:12px!important}.operation-workspace .fv-html-content>.fv-source-scroll{padding:12px}}
