@dickpy/dsh-oil-slide 0.2.7 → 0.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/lib/client.js +228 -87
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -15,6 +15,7 @@ Oil Slide plugin for DeepSeek Harness. Review an outline, pick from 1–3 design
|
|
|
15
15
|
## Install and update
|
|
16
16
|
|
|
17
17
|
In the desktop Plugins page, enter `@dickpy/dsh-oil-slide` in the install field.
|
|
18
|
+
After enabling the plugin, open a conversation, expand the right sidebar and select **Oil Slide** from the **+** menu.
|
|
18
19
|
For Web / CLI, use your existing profile:
|
|
19
20
|
|
|
20
21
|
```bash
|
|
@@ -65,7 +66,7 @@ and records the version in the Discover index once npm returns it.
|
|
|
65
66
|
|
|
66
67
|
## Staged PPTX creation
|
|
67
68
|
|
|
68
|
-
Ask the DSH agent to create a PowerPoint with the Oil Slide skill. Once the agent creates the outline, the panel lets you choose the sample slide and 1–3 design images, then request the next step from the same conversation. In the outline editor, edit titles and body text, insert, delete or reorder pages and select a saved brand. A preset can include logo, palette, typography, footer and a reference PPTX. In step 3, drag a rectangle to propose a local image edit and compare before accepting. Updating the editable PPTX rebuilds changed slides and retains the other native slides from the project's previous editable export. The selected image becomes the exact final image for that slide. The original image PPTX is available first; optional conversion uses the pinned `editppt` skill with native object and page validation. Both PPTX files remain separately accessible through the DSH file viewer. Choosing a design answers its matched DSH choice directly. Revise a candidate, compare and restore past designs, or request a fresh set. The four-step sidebar keeps navigation and downloads in place. Compare actual design samples side by side, then review slide images inline with thumbnails and an enlarged view. In the optional editable step, inspect native objects
|
|
69
|
+
Ask the DSH agent to create a PowerPoint with the Oil Slide skill. Once the agent creates the outline, the panel lets you choose the sample slide and 1–3 design images, then request the next step from the same conversation. In the outline editor, edit titles and body text, insert, delete or reorder pages and select a saved brand. A preset can include logo, palette, typography, footer and a reference PPTX. In step 3, drag a rectangle to propose a local image edit and compare before accepting. Updating the editable PPTX rebuilds changed slides and retains the other native slides from the project's previous editable export. The selected image becomes the exact final image for that slide. The original image PPTX is available first; optional conversion uses the pinned `editppt` skill with native object and page validation. Both PPTX files remain separately accessible through the DSH file viewer. Choosing a design answers its matched DSH choice directly. Revise a candidate, compare and restore past designs, or request a fresh set. The four-step sidebar keeps navigation and downloads in place. Compare actual design samples side by side, then review slide images inline with thumbnails and an enlarged view. In the optional editable step, inspect native objects and drag the divider to compare the original with the editable rendering, including in the enlarged view. Update a single changed page or all changed pages. Revise any slide, optionally restyle the whole deck from the sample, and access previous exports. An installed PPTX renderer adds a preview of the exported editable file. Other workflow actions use the active conversation. If its composer already contains text or attachments, the request is copied instead, without overwriting your draft. See the [workflow](../oil-slide/references/staged-pptx.md) for requirements.
|
|
69
70
|
|
|
70
71
|
## Image API settings
|
|
71
72
|
|
package/lib/client.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
window.__ModuleLoader__.load({
|
|
2
|
-
id: "dsh-oil-slide",
|
|
2
|
+
id: "@dickpy/dsh-oil-slide",
|
|
3
3
|
factory: (require) => {
|
|
4
4
|
var module = { exports: {} };
|
|
5
5
|
var exports = module.exports;
|
|
@@ -6709,6 +6709,75 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6709
6709
|
]
|
|
6710
6710
|
});
|
|
6711
6711
|
}
|
|
6712
|
+
// src/client/ComparisonSlider.tsx
|
|
6713
|
+
function ComparisonSlider({ value, onChange, label, testId }) {
|
|
6714
|
+
const pointer = (0, react.useRef)(null);
|
|
6715
|
+
const setValue = (next) => onChange(Math.min(100, Math.max(0, Math.round(next))));
|
|
6716
|
+
const move = (event) => {
|
|
6717
|
+
const bounds = event.currentTarget.getBoundingClientRect();
|
|
6718
|
+
if (bounds.width > 0) setValue((event.clientX - bounds.left) / bounds.width * 100);
|
|
6719
|
+
};
|
|
6720
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
6721
|
+
className: "os-compare-scrubber",
|
|
6722
|
+
"data-testid": testId,
|
|
6723
|
+
role: "slider",
|
|
6724
|
+
tabIndex: 0,
|
|
6725
|
+
"aria-label": label,
|
|
6726
|
+
"aria-valuemin": 0,
|
|
6727
|
+
"aria-valuemax": 100,
|
|
6728
|
+
"aria-valuenow": value,
|
|
6729
|
+
"aria-valuetext": value + "%",
|
|
6730
|
+
onPointerDown: (event) => {
|
|
6731
|
+
if (event.button !== 0 || !event.isPrimary) return;
|
|
6732
|
+
event.preventDefault();
|
|
6733
|
+
event.currentTarget.focus({ preventScroll: true });
|
|
6734
|
+
event.currentTarget.setPointerCapture(event.pointerId);
|
|
6735
|
+
pointer.current = event.pointerId;
|
|
6736
|
+
move(event);
|
|
6737
|
+
},
|
|
6738
|
+
onPointerMove: (event) => {
|
|
6739
|
+
if (pointer.current === event.pointerId) move(event);
|
|
6740
|
+
},
|
|
6741
|
+
onPointerUp: (event) => {
|
|
6742
|
+
if (pointer.current === event.pointerId) move(event);
|
|
6743
|
+
},
|
|
6744
|
+
onLostPointerCapture: () => {
|
|
6745
|
+
pointer.current = null;
|
|
6746
|
+
},
|
|
6747
|
+
onKeyDown: (event) => {
|
|
6748
|
+
let next;
|
|
6749
|
+
switch (event.key) {
|
|
6750
|
+
case "ArrowLeft":
|
|
6751
|
+
case "ArrowDown":
|
|
6752
|
+
next = value - 5;
|
|
6753
|
+
break;
|
|
6754
|
+
case "ArrowRight":
|
|
6755
|
+
case "ArrowUp":
|
|
6756
|
+
next = value + 5;
|
|
6757
|
+
break;
|
|
6758
|
+
case "Home":
|
|
6759
|
+
next = 0;
|
|
6760
|
+
break;
|
|
6761
|
+
case "End":
|
|
6762
|
+
next = 100;
|
|
6763
|
+
break;
|
|
6764
|
+
default: return;
|
|
6765
|
+
}
|
|
6766
|
+
event.preventDefault();
|
|
6767
|
+
event.stopPropagation();
|
|
6768
|
+
setValue(next);
|
|
6769
|
+
},
|
|
6770
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
6771
|
+
className: "os-compare-divider",
|
|
6772
|
+
style: { left: value + "%" },
|
|
6773
|
+
"aria-hidden": "true",
|
|
6774
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { className: "os-compare-line" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
6775
|
+
className: "os-compare-handle",
|
|
6776
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(MoveHorizontalIcon, { size: 15 })
|
|
6777
|
+
})]
|
|
6778
|
+
})
|
|
6779
|
+
});
|
|
6780
|
+
}
|
|
6712
6781
|
// src/client/imageCache.ts
|
|
6713
6782
|
const MAX_IMAGE_CACHE_ENTRIES = 64;
|
|
6714
6783
|
const imageDataUrlCache = /* @__PURE__ */ new Map();
|
|
@@ -6937,7 +7006,6 @@ html, body {
|
|
|
6937
7006
|
*/
|
|
6938
7007
|
function CanvasPreview({ face, locale, deck, workspaceRoot, refreshNonce, isActive = true, compareDraft = false, onCompareDraftChange, isFullscreen = false, onExitFullscreen, onSlideCountChange, onEditSlidePrompt }) {
|
|
6939
7008
|
const stageRef = (0, react.useRef)(null);
|
|
6940
|
-
const frameRef = (0, react.useRef)(null);
|
|
6941
7009
|
const iframeRef = (0, react.useRef)(null);
|
|
6942
7010
|
const nativeFsEnteredRef = (0, react.useRef)(false);
|
|
6943
7011
|
const stripScrollRef = (0, react.useRef)(null);
|
|
@@ -6962,7 +7030,6 @@ html, body {
|
|
|
6962
7030
|
const [errorMsg, setErrorMsg] = (0, react.useState)(null);
|
|
6963
7031
|
const [compareMode, setCompareMode] = (0, react.useState)("split");
|
|
6964
7032
|
const [splitPct, setSplitPct] = (0, react.useState)(50);
|
|
6965
|
-
const [isDraggingSplit, setIsDraggingSplit] = (0, react.useState)(false);
|
|
6966
7033
|
const [refImageMap, setRefImageMap] = (0, react.useState)({});
|
|
6967
7034
|
const stageBlobUrl = useHtmlBlobUrl(htmlDoc);
|
|
6968
7035
|
(0, react.useEffect)(() => {
|
|
@@ -7049,12 +7116,6 @@ html, body {
|
|
|
7049
7116
|
isFullscreen,
|
|
7050
7117
|
onCompareDraftChange
|
|
7051
7118
|
]);
|
|
7052
|
-
const updateSplitFromClientX = (0, react.useCallback)((clientX) => {
|
|
7053
|
-
const rect = frameRef.current?.getBoundingClientRect();
|
|
7054
|
-
if (!rect || rect.width <= 0) return;
|
|
7055
|
-
const pct = (clientX - rect.left) / rect.width * 100;
|
|
7056
|
-
setSplitPct(Math.max(0, Math.min(100, Math.round(pct * 10) / 10)));
|
|
7057
|
-
}, []);
|
|
7058
7119
|
(0, react.useEffect)(() => {
|
|
7059
7120
|
let cancelled = false;
|
|
7060
7121
|
setLoading(true);
|
|
@@ -7245,7 +7306,6 @@ html, body {
|
|
|
7245
7306
|
className: "os-stage-loading",
|
|
7246
7307
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: errorMsg })
|
|
7247
7308
|
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
7248
|
-
ref: frameRef,
|
|
7249
7309
|
"data-testid": "slide-stage-frame",
|
|
7250
7310
|
className: "os-stage-frame",
|
|
7251
7311
|
style: {
|
|
@@ -7287,37 +7347,13 @@ html, body {
|
|
|
7287
7347
|
alt: tUi(locale, "slideAlt", { page: pageNum }),
|
|
7288
7348
|
draggable: false,
|
|
7289
7349
|
className: "os-compare-img",
|
|
7290
|
-
style: {
|
|
7291
|
-
clipPath: compareMode === "full" ? "inset(0 0 0 0)" : `inset(0 ${100 - splitPct}% 0 0)`,
|
|
7292
|
-
transition: isDraggingSplit ? "none" : "clip-path 140ms ease-out"
|
|
7293
|
-
}
|
|
7350
|
+
style: { clipPath: compareMode === "full" ? "inset(0 0 0 0)" : `inset(0 ${100 - splitPct}% 0 0)` }
|
|
7294
7351
|
}),
|
|
7295
|
-
compareMode === "split" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(
|
|
7296
|
-
|
|
7297
|
-
|
|
7298
|
-
|
|
7299
|
-
|
|
7300
|
-
e.currentTarget.setPointerCapture(e.pointerId);
|
|
7301
|
-
setIsDraggingSplit(true);
|
|
7302
|
-
updateSplitFromClientX(e.clientX);
|
|
7303
|
-
},
|
|
7304
|
-
onPointerMove: (e) => {
|
|
7305
|
-
if (!isDraggingSplit) return;
|
|
7306
|
-
updateSplitFromClientX(e.clientX);
|
|
7307
|
-
},
|
|
7308
|
-
onPointerUp: (e) => {
|
|
7309
|
-
if (e.currentTarget.hasPointerCapture(e.pointerId)) e.currentTarget.releasePointerCapture(e.pointerId);
|
|
7310
|
-
setIsDraggingSplit(false);
|
|
7311
|
-
},
|
|
7312
|
-
onPointerCancel: () => setIsDraggingSplit(false),
|
|
7313
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
7314
|
-
className: "os-compare-divider",
|
|
7315
|
-
style: { left: `${splitPct}%` },
|
|
7316
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { className: "os-compare-line" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
7317
|
-
className: "os-compare-handle",
|
|
7318
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(MoveHorizontalIcon, { size: 15 })
|
|
7319
|
-
})]
|
|
7320
|
-
})
|
|
7352
|
+
compareMode === "split" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ComparisonSlider, {
|
|
7353
|
+
value: splitPct,
|
|
7354
|
+
onChange: setSplitPct,
|
|
7355
|
+
label: tUi(locale, "draftBadge", { page: pageNum }),
|
|
7356
|
+
testId: "draft-compare-scrubber"
|
|
7321
7357
|
}),
|
|
7322
7358
|
(compareMode === "full" || splitPct > 14) && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
7323
7359
|
className: "os-compare-badge os-compare-badge-left",
|
|
@@ -8561,8 +8597,9 @@ html, body {
|
|
|
8561
8597
|
] });
|
|
8562
8598
|
}
|
|
8563
8599
|
// src/client/ReviewControls.tsx
|
|
8564
|
-
function
|
|
8565
|
-
const
|
|
8600
|
+
function useReviewImage(face, workspaceRoot, asset, thumb = false) {
|
|
8601
|
+
const path = asset?.path;
|
|
8602
|
+
const key = asset ? buildImageCacheKey(workspaceRoot, asset.path, asset.stamp, thumb ? "thumb" : "full") : void 0;
|
|
8566
8603
|
const ref = (0, react.useRef)(null);
|
|
8567
8604
|
const [image, setImage] = (0, react.useState)({
|
|
8568
8605
|
key: "",
|
|
@@ -8570,6 +8607,7 @@ html, body {
|
|
|
8570
8607
|
});
|
|
8571
8608
|
const [failed, setFailed] = (0, react.useState)("");
|
|
8572
8609
|
(0, react.useEffect)(() => {
|
|
8610
|
+
if (!path || !key) return;
|
|
8573
8611
|
let active = true;
|
|
8574
8612
|
const load = async () => {
|
|
8575
8613
|
try {
|
|
@@ -8612,13 +8650,24 @@ html, body {
|
|
|
8612
8650
|
path,
|
|
8613
8651
|
thumb
|
|
8614
8652
|
]);
|
|
8653
|
+
return {
|
|
8654
|
+
ref,
|
|
8655
|
+
src: image.key === key ? image.src : void 0,
|
|
8656
|
+
failed: failed === key
|
|
8657
|
+
};
|
|
8658
|
+
}
|
|
8659
|
+
function ReviewImage({ face, workspaceRoot, path, stamp, thumb = false, label }) {
|
|
8660
|
+
const image = useReviewImage(face, workspaceRoot, {
|
|
8661
|
+
path,
|
|
8662
|
+
stamp
|
|
8663
|
+
}, thumb);
|
|
8615
8664
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
8616
8665
|
className: "os-review-image",
|
|
8617
|
-
ref,
|
|
8618
|
-
children: image.
|
|
8666
|
+
ref: image.ref,
|
|
8667
|
+
children: image.src ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("img", {
|
|
8619
8668
|
src: image.src,
|
|
8620
8669
|
alt: label
|
|
8621
|
-
}) : failed
|
|
8670
|
+
}) : image.failed ? label : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { className: "os-spinner" })
|
|
8622
8671
|
});
|
|
8623
8672
|
}
|
|
8624
8673
|
function FeedbackForm({ locale, onSend, onCancel, children }) {
|
|
@@ -8664,6 +8713,109 @@ html, body {
|
|
|
8664
8713
|
]
|
|
8665
8714
|
});
|
|
8666
8715
|
}
|
|
8716
|
+
// src/client/EditableComparison.tsx
|
|
8717
|
+
function EditableComparison({ face, workspaceRoot, t, original, editable, mode, onMode, split, onSplit, object, missingPreview, renderPreview }) {
|
|
8718
|
+
const source = useReviewImage(face, workspaceRoot, original);
|
|
8719
|
+
const native = useReviewImage(face, workspaceRoot, editable);
|
|
8720
|
+
const canCompare = Boolean(source.src && native.src);
|
|
8721
|
+
const visibleMode = canCompare ? mode : native.src ? "editable" : "original";
|
|
8722
|
+
const showSplit = canCompare && visibleMode === "split";
|
|
8723
|
+
const showEditable = visibleMode !== "original";
|
|
8724
|
+
const baseSrc = showEditable ? native.src : source.src;
|
|
8725
|
+
let status;
|
|
8726
|
+
if (!native.src) status = native.failed ? t("可编辑预览加载失败", "Could not load the editable preview") : editable ? t("正在载入可编辑版…", "Loading the editable version…") : missingPreview;
|
|
8727
|
+
else if (!source.src) status = source.failed || !original ? t("暂无这一页的原图", "Original image unavailable") : t("正在载入原图…", "Loading the original…");
|
|
8728
|
+
const originalLabel = t("原图", "Original");
|
|
8729
|
+
const editableLabel = t("可编辑版", "Editable");
|
|
8730
|
+
const compareLabel = t("滑动对照", "Compare");
|
|
8731
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
8732
|
+
className: "preview-tabs seg",
|
|
8733
|
+
role: "group",
|
|
8734
|
+
"aria-label": t("预览方式", "Preview mode"),
|
|
8735
|
+
children: [
|
|
8736
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
|
|
8737
|
+
type: "button",
|
|
8738
|
+
"aria-pressed": showSplit,
|
|
8739
|
+
className: showSplit ? "active" : "",
|
|
8740
|
+
disabled: !canCompare,
|
|
8741
|
+
onClick: () => onMode("split"),
|
|
8742
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(ColumnsIcon, { size: 14 }), compareLabel]
|
|
8743
|
+
}),
|
|
8744
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
8745
|
+
type: "button",
|
|
8746
|
+
"aria-pressed": visibleMode === "original" && !!source.src,
|
|
8747
|
+
className: visibleMode === "original" && source.src ? "active" : "",
|
|
8748
|
+
disabled: !source.src,
|
|
8749
|
+
onClick: () => onMode("original"),
|
|
8750
|
+
children: originalLabel
|
|
8751
|
+
}),
|
|
8752
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
8753
|
+
type: "button",
|
|
8754
|
+
"aria-pressed": visibleMode === "editable" && !!native.src,
|
|
8755
|
+
className: visibleMode === "editable" && native.src ? "active" : "",
|
|
8756
|
+
disabled: !native.src,
|
|
8757
|
+
onClick: () => onMode("editable"),
|
|
8758
|
+
children: editableLabel
|
|
8759
|
+
})
|
|
8760
|
+
]
|
|
8761
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
8762
|
+
className: "stagebody editable-compare-body",
|
|
8763
|
+
children: [baseSrc && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
8764
|
+
className: "editable-compare-frame",
|
|
8765
|
+
children: [
|
|
8766
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("img", {
|
|
8767
|
+
className: "editable-compare-base",
|
|
8768
|
+
src: baseSrc,
|
|
8769
|
+
alt: showEditable ? editableLabel : originalLabel,
|
|
8770
|
+
draggable: false
|
|
8771
|
+
}),
|
|
8772
|
+
showEditable && object && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
8773
|
+
className: "object-box",
|
|
8774
|
+
style: {
|
|
8775
|
+
left: object.box[0] * 100 + "%",
|
|
8776
|
+
top: object.box[1] * 100 + "%",
|
|
8777
|
+
width: object.box[2] * 100 + "%",
|
|
8778
|
+
height: object.box[3] * 100 + "%"
|
|
8779
|
+
},
|
|
8780
|
+
"aria-hidden": "true"
|
|
8781
|
+
}),
|
|
8782
|
+
showSplit && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
8783
|
+
className: "os-compare-overlay",
|
|
8784
|
+
children: [
|
|
8785
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("img", {
|
|
8786
|
+
className: "os-compare-img editable-compare-layer",
|
|
8787
|
+
src: source.src,
|
|
8788
|
+
alt: originalLabel,
|
|
8789
|
+
draggable: false,
|
|
8790
|
+
style: { clipPath: `inset(0 ${100 - split}% 0 0)` }
|
|
8791
|
+
}),
|
|
8792
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(ComparisonSlider, {
|
|
8793
|
+
value: split,
|
|
8794
|
+
onChange: onSplit,
|
|
8795
|
+
label: t("原图显示比例", "Original image reveal")
|
|
8796
|
+
}),
|
|
8797
|
+
split >= 23 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
8798
|
+
className: "os-compare-badge os-compare-badge-left",
|
|
8799
|
+
children: originalLabel
|
|
8800
|
+
}),
|
|
8801
|
+
split <= 74 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
8802
|
+
className: "os-compare-badge os-compare-badge-right",
|
|
8803
|
+
children: editableLabel
|
|
8804
|
+
})
|
|
8805
|
+
]
|
|
8806
|
+
})
|
|
8807
|
+
]
|
|
8808
|
+
}), status && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
8809
|
+
className: "editable-compare-status",
|
|
8810
|
+
role: "status",
|
|
8811
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: status }), !editable && renderPreview && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
8812
|
+
type: "button",
|
|
8813
|
+
onClick: renderPreview,
|
|
8814
|
+
children: t("生成渲染预览", "Render preview")
|
|
8815
|
+
})]
|
|
8816
|
+
})]
|
|
8817
|
+
})] });
|
|
8818
|
+
}
|
|
8667
8819
|
// src/client/RegionReview.tsx
|
|
8668
8820
|
function RegionReview({ workflow, deck, face, workspaceRoot, locale, action, page, drawing, stop, original, jump }) {
|
|
8669
8821
|
const zh = locale === "zh";
|
|
@@ -8864,7 +9016,8 @@ html, body {
|
|
|
8864
9016
|
const { step, page, onPage, deck, face, workspaceRoot, locale, t, action, request, open } = props;
|
|
8865
9017
|
const w = deck.workflow;
|
|
8866
9018
|
const native = step === 4;
|
|
8867
|
-
const [
|
|
9019
|
+
const [compareMode, setCompareMode] = (0, react.useState)("split");
|
|
9020
|
+
const [split, setSplit] = (0, react.useState)(50);
|
|
8868
9021
|
const [tool, setTool] = (0, react.useState)(null);
|
|
8869
9022
|
const [restyle, setRestyle] = (0, react.useState)(false);
|
|
8870
9023
|
const [object, setObject] = (0, react.useState)(-1);
|
|
@@ -8934,13 +9087,6 @@ html, body {
|
|
|
8934
9087
|
thumb,
|
|
8935
9088
|
label: t("第 ", "Slide ") + s.slideNumber + t(" 页", "")
|
|
8936
9089
|
});
|
|
8937
|
-
const nativeImage = () => nativePath && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ReviewImage, {
|
|
8938
|
-
face,
|
|
8939
|
-
workspaceRoot,
|
|
8940
|
-
path: nativePath,
|
|
8941
|
-
stamp: rendered?.mtimeMs ?? 0,
|
|
8942
|
-
label: t("可编辑版渲染预览", "Rendered editable slide")
|
|
8943
|
-
});
|
|
8944
9090
|
const updated = !!changed?.includes(page);
|
|
8945
9091
|
const pending = sent === fileKey;
|
|
8946
9092
|
const convert = async (number) => {
|
|
@@ -8953,7 +9099,28 @@ html, body {
|
|
|
8953
9099
|
setSending(false);
|
|
8954
9100
|
}
|
|
8955
9101
|
};
|
|
8956
|
-
const
|
|
9102
|
+
const waitingForInspection = hasBase && !info;
|
|
9103
|
+
const missingPreview = waitingForInspection ? t("正在检查可编辑预览…", "Checking the editable preview…") : hasBase ? t("暂无可编辑版渲染预览", "Editable preview has not been rendered") : t("这份演示文稿还没有可编辑版", "No editable version yet");
|
|
9104
|
+
const editablePreview = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(EditableComparison, {
|
|
9105
|
+
face,
|
|
9106
|
+
workspaceRoot,
|
|
9107
|
+
t,
|
|
9108
|
+
original: original && {
|
|
9109
|
+
path: original.relPath,
|
|
9110
|
+
stamp: original.mtimeMs
|
|
9111
|
+
},
|
|
9112
|
+
editable: nativePath ? {
|
|
9113
|
+
path: nativePath,
|
|
9114
|
+
stamp: rendered?.mtimeMs ?? 0
|
|
9115
|
+
} : void 0,
|
|
9116
|
+
mode: compareMode,
|
|
9117
|
+
onMode: setCompareMode,
|
|
9118
|
+
split,
|
|
9119
|
+
onSplit: setSplit,
|
|
9120
|
+
object: object >= 0 ? data?.objects[object] : void 0,
|
|
9121
|
+
missingPreview,
|
|
9122
|
+
renderPreview: w.editablePptxRelPath && !waitingForInspection ? () => void request(t("请使用 preview-editable 为当前 PPTX 生成预览,再刷新面板。", "Run preview-editable on this PPTX, then refresh.")) : void 0
|
|
9123
|
+
});
|
|
8957
9124
|
const blocked = sending || pending || !!w.regionProposal;
|
|
8958
9125
|
const thumbTitle = (n) => w.outline[n - 1]?.title ?? "";
|
|
8959
9126
|
const nav = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
@@ -9040,35 +9207,9 @@ html, body {
|
|
|
9040
9207
|
className: "phead",
|
|
9041
9208
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: thumbTitle(page) }), nav]
|
|
9042
9209
|
}),
|
|
9043
|
-
native
|
|
9044
|
-
className: "preview-tabs seg",
|
|
9045
|
-
children: [false, true].map((v) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
9046
|
-
"aria-pressed": source === v,
|
|
9047
|
-
className: source === v ? "active" : "",
|
|
9048
|
-
onClick: () => setSource(v),
|
|
9049
|
-
children: v ? t("纯图对照", "Source image") : t("可编辑版", "Editable")
|
|
9050
|
-
}, String(v)))
|
|
9051
|
-
}),
|
|
9052
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
9210
|
+
native ? editablePreview : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
9053
9211
|
className: "stagebody review-body",
|
|
9054
|
-
children:
|
|
9055
|
-
className: "object-surface",
|
|
9056
|
-
children: [nativeImage(), mark && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("i", {
|
|
9057
|
-
className: "object-box",
|
|
9058
|
-
style: {
|
|
9059
|
-
left: mark.box[0] * 100 + "%",
|
|
9060
|
-
top: mark.box[1] * 100 + "%",
|
|
9061
|
-
width: mark.box[2] * 100 + "%",
|
|
9062
|
-
height: mark.box[3] * 100 + "%"
|
|
9063
|
-
}
|
|
9064
|
-
})]
|
|
9065
|
-
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
9066
|
-
className: "empty-preview",
|
|
9067
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", { children: hasBase ? t("暂无可编辑版渲染预览", "Editable preview has not been rendered") : t("这份演示文稿还没有可编辑版", "No editable version yet") }), w.editablePptxRelPath && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
9068
|
-
onClick: () => void request(t("请使用 preview-editable 为当前 PPTX 生成预览,再刷新面板。", "Run preview-editable on this PPTX, then refresh.")),
|
|
9069
|
-
children: t("生成渲染预览", "Render preview")
|
|
9070
|
-
})]
|
|
9071
|
-
}) : original ? native ? image(original) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(RegionReview, {
|
|
9212
|
+
children: original ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(RegionReview, {
|
|
9072
9213
|
workflow: w,
|
|
9073
9214
|
deck: deck.relPath,
|
|
9074
9215
|
face,
|
|
@@ -9085,7 +9226,7 @@ html, body {
|
|
|
9085
9226
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
9086
9227
|
className: "stagefoot",
|
|
9087
9228
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
9088
|
-
disabled:
|
|
9229
|
+
disabled: !original && !(native && nativePath),
|
|
9089
9230
|
onClick: () => setTool("zoom"),
|
|
9090
9231
|
children: t("放大", "Enlarge")
|
|
9091
9232
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
@@ -9149,7 +9290,7 @@ html, body {
|
|
|
9149
9290
|
className: object === i ? "active" : "",
|
|
9150
9291
|
onClick: () => {
|
|
9151
9292
|
setObject(object === i ? -1 : i);
|
|
9152
|
-
|
|
9293
|
+
setCompareMode("editable");
|
|
9153
9294
|
},
|
|
9154
9295
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: o.label }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("small", { children: {
|
|
9155
9296
|
text: t("文字", "Text"),
|
|
@@ -9201,7 +9342,7 @@ html, body {
|
|
|
9201
9342
|
wide: true,
|
|
9202
9343
|
title: thumbTitle(page),
|
|
9203
9344
|
close: () => setTool(null),
|
|
9204
|
-
children: [native
|
|
9345
|
+
children: [native ? editablePreview : original && image(original), nav]
|
|
9205
9346
|
}),
|
|
9206
9347
|
tool === "history" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Modal, {
|
|
9207
9348
|
title: t("历史成稿", "Previous exports"),
|
|
@@ -10960,9 +11101,9 @@ html, body {
|
|
|
10960
11101
|
for (const tag of document.querySelectorAll(`style[data-plugin="${PLUGIN_ATTR}"]`)) tag.remove();
|
|
10961
11102
|
}
|
|
10962
11103
|
// \0dsh-oil-slide-css:src/client/styles.css.mjs
|
|
10963
|
-
registerPluginCss("dsh-oil-slide/styles.css", "/* Oil Slide sidebar — strictly aligned with DESIGN.md (4 surfaces / 2 hairlines / 3 inks / 1 cobalt) */\n.os-workspace {\n /* 4 neutral surfaces */\n --os-paper: #f7f8fa;\n --os-surface: #ffffff;\n --os-well: #eef1f5;\n --os-hover: #e5e9f0;\n\n /* 2 hairlines */\n --os-line: #e5e8ee;\n --os-line-strong: #d1d6df;\n\n /* 3 inks */\n --os-ink: #14171f;\n --os-ink-2: #545b69;\n --os-ink-3: #858d9d;\n\n /* 1 exclusive brand cobalt */\n --os-brand: #3a83ef;\n --os-brand-hover: #2f76e2;\n --os-brand-active: #2668cf;\n --os-brand-soft: #edf4ff;\n --os-brand-tag-ink: #1f5fbf;\n\n /* Shadows matching Studio globals.css */\n --os-shadow-btn: 0 1px 1.5px rgba(20, 23, 31, 0.04);\n --os-shadow-card:\n 0 0 0 1px rgba(20, 23, 31, 0.06),\n 0 1px 2px rgba(20, 23, 31, 0.03),\n 0 6px 20px rgba(20, 23, 31, 0.04);\n --os-shadow-raised:\n 0 0 0 1px rgba(20, 23, 31, 0.07),\n 0 4px 16px rgba(20, 23, 31, 0.06);\n --os-shadow-overlay:\n 0 0 0 1px rgba(20, 23, 31, 0.08),\n 0 18px 48px rgba(15, 23, 42, 0.14);\n\n --os-ease: cubic-bezier(0.22, 1, 0.36, 1);\n --os-serif: \"Instrument Serif\", \"Songti SC\", \"STSong\", \"Noto Serif SC\", Georgia, serif;\n --os-sans: \"Inter\", -apple-system, BlinkMacSystemFont, \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei\", sans-serif;\n --os-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;\n\n box-sizing: border-box;\n position: relative;\n display: flex;\n flex-direction: column;\n flex: 1 1 auto;\n height: 100%;\n width: 100%;\n min-height: 0;\n min-width: 0;\n background: var(--os-paper);\n color: var(--os-ink);\n font-family: var(--os-sans);\n font-size: 13px;\n line-height: 1.5;\n overflow: hidden;\n -webkit-font-smoothing: antialiased;\n container-type: inline-size;\n}\n\n.os-error-stage {\n align-items: center;\n justify-content: center;\n padding: 24px;\n}\n\n.os-error-card {\n max-width: 360px;\n width: 100%;\n padding: 20px;\n border-radius: 16px;\n border: 1px solid var(--os-line);\n background: var(--os-surface);\n box-shadow: var(--os-shadow-card);\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: 10px;\n}\n\n.os-error-title {\n margin: 0;\n font-size: 14px;\n font-weight: 600;\n color: var(--os-ink);\n}\n\n.os-error-detail {\n margin: 0;\n font-family: var(--os-mono);\n font-size: 11.5px;\n line-height: 1.5;\n color: var(--os-ink-2);\n word-break: break-word;\n}\n\n.os-workspace *,\n.os-workspace *::before,\n.os-workspace *::after {\n box-sizing: border-box;\n}\n\n.os-workspace button:focus-visible,\n.os-workspace [role=\"button\"]:focus-visible {\n outline: 2px solid var(--os-brand);\n outline-offset: 2px;\n}\n\n.os-icon-brand {\n color: var(--os-brand);\n}\n\n/* ── Unified Studio Button Primitives (matches globals.css) ── */\n.os-btn-sm {\n height: 28px;\n padding: 0 10px;\n border-radius: 8px;\n font: inherit;\n font-size: 12px;\n font-weight: 500;\n line-height: 1;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 5px;\n white-space: nowrap;\n cursor: pointer;\n}\n\n.os-icon-btn {\n appearance: none;\n width: 28px;\n height: 28px;\n padding: 0;\n border-radius: 8px;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n flex: none;\n}\n\n/* Primary CTA (#3A83EF solid cobalt — sole primary button per viewport) */\n.os-btn-primary {\n appearance: none;\n border: 0;\n background: var(--os-brand);\n color: var(--os-surface);\n padding: 0 12px;\n box-shadow:\n inset 0 1px 0 rgba(255, 255, 255, 0.16),\n 0 1px 2px rgba(20, 56, 128, 0.16);\n transition:\n background-color 150ms var(--os-ease),\n box-shadow 150ms var(--os-ease),\n transform 120ms var(--os-ease);\n}\n\n.os-btn-primary:hover:not(:disabled) {\n background: var(--os-brand-hover);\n}\n\n.os-btn-primary:active:not(:disabled) {\n background: var(--os-brand-active);\n transform: scale(0.985);\n}\n\n.os-btn-primary:disabled {\n opacity: 0.4;\n cursor: not-allowed;\n}\n\n/* Secondary flat white surface button */\n.os-btn-surface {\n appearance: none;\n border: 1px solid var(--os-line);\n background: var(--os-surface);\n color: var(--os-ink);\n box-shadow: var(--os-shadow-btn);\n transition:\n background-color 150ms var(--os-ease),\n border-color 150ms var(--os-ease),\n color 140ms var(--os-ease),\n transform 120ms var(--os-ease);\n}\n\n.os-btn-surface:hover:not(:disabled) {\n background: var(--os-paper);\n border-color: var(--os-line-strong);\n}\n\n.os-btn-surface:active:not(:disabled) {\n background: var(--os-well);\n transform: scale(0.985);\n}\n\n.os-btn-surface:disabled {\n opacity: 0.4;\n cursor: not-allowed;\n}\n\n/* Tertiary / ghost button */\n.os-btn-ghost {\n appearance: none;\n border: 0;\n background: transparent;\n color: var(--os-ink-2);\n transition:\n background-color 150ms var(--os-ease),\n color 150ms var(--os-ease),\n transform 120ms var(--os-ease);\n}\n\n.os-btn-ghost:hover:not(:disabled) {\n background: var(--os-well);\n color: var(--os-ink);\n}\n\n.os-btn-ghost:active:not(:disabled) {\n transform: scale(0.985);\n}\n\n.os-btn-ghost:disabled {\n opacity: 0.25;\n cursor: default;\n}\n\n/* Borderless soft cobalt toggle active button (matches Studio .oil-btn-active) */\n.os-btn-active {\n appearance: none;\n border: 1px solid transparent;\n background: var(--os-brand-soft);\n color: #1f5fbf;\n transition:\n background-color 140ms var(--os-ease),\n color 140ms var(--os-ease),\n transform 120ms var(--os-ease);\n}\n\n.os-btn-active:hover:not(:disabled) {\n background: #dfecff;\n color: #1851a8;\n}\n\n.os-btn-active:active:not(:disabled) {\n background: #d3e4ff;\n transform: scale(0.985);\n}\n\n.os-pill-well {\n border-radius: 999px;\n background: var(--os-well);\n color: var(--os-ink);\n}\n\n.os-pill-well:hover:not(:disabled) {\n background: var(--os-hover);\n color: var(--os-ink);\n}\n\n/* ── Single Internal Toolbar (48px, transparent over --os-paper) ── */\n.os-toolbar {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 6px;\n height: 48px;\n padding: 4px 14px 0;\n background: transparent;\n flex: none;\n z-index: 20;\n min-width: 0;\n}\n\n.os-toolbar-right {\n display: flex;\n align-items: center;\n gap: 5px;\n min-width: 0;\n flex-shrink: 1;\n}\n\n/* SegmentedControl (matches Studio SegmentedControl.tsx: borderless bg-well + 2px pad + 6px inner radius) */\n.os-segmented {\n display: inline-grid;\n grid-auto-flow: column;\n grid-auto-columns: minmax(0, 1fr);\n min-height: 32px;\n padding: 2px;\n border-radius: 8px;\n background: var(--os-well);\n user-select: none;\n flex: none;\n}\n\n.os-seg-btn {\n appearance: none;\n border: 0;\n background: transparent;\n color: var(--os-ink-2);\n font: inherit;\n font-size: 12.5px;\n font-weight: 500;\n line-height: 1;\n min-height: 28px;\n padding: 0 12px;\n border-radius: 6px;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 6px;\n white-space: nowrap;\n cursor: pointer;\n transition: color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;\n}\n\n.os-seg-btn:hover:not(:disabled) {\n color: var(--os-ink);\n}\n\n.os-seg-btn:disabled {\n opacity: 0.4;\n cursor: default;\n}\n\n.os-seg-btn[data-active=\"true\"] {\n background: var(--os-surface);\n color: var(--os-ink);\n box-shadow: var(--os-shadow-btn);\n}\n\n.os-seg-badge {\n font-family: var(--os-mono);\n font-size: 10.5px;\n font-variant-numeric: tabular-nums;\n color: var(--os-ink-3);\n}\n\n.os-tool-btn-max {\n max-width: 148px;\n}\n\n.os-tool-btn-label {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n/* Custom sleek deck menu popover */\n.os-deck-picker {\n position: relative;\n display: inline-flex;\n}\n\n.os-deck-menu {\n position: absolute;\n top: calc(100% + 6px);\n right: 0;\n min-width: 204px;\n max-width: 280px;\n padding: 6px;\n border-radius: 12px;\n border: 1px solid var(--os-line);\n background: var(--os-surface);\n box-shadow: var(--os-shadow-overlay);\n z-index: 60;\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n\n.os-deck-menu-item {\n appearance: none;\n border: 0;\n width: 100%;\n background: transparent;\n border-radius: 8px;\n padding: 7px 10px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 8px;\n font: inherit;\n font-size: 12px;\n color: var(--os-ink-2);\n text-align: left;\n cursor: pointer;\n transition: background-color 120ms ease, color 120ms ease;\n}\n\n.os-deck-menu-item:hover {\n background: var(--os-well);\n color: var(--os-ink);\n}\n\n.os-deck-menu-item[data-selected=\"true\"] {\n background: var(--os-brand-soft);\n color: var(--os-brand-tag-ink);\n font-weight: 500;\n}\n\n.os-deck-menu-name {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n min-width: 0;\n}\n\n.os-deck-menu-meta {\n font-family: var(--os-mono);\n font-size: 10.5px;\n font-variant-numeric: tabular-nums;\n color: var(--os-ink-3);\n flex: none;\n}\n\n.os-deck-menu-item[data-selected=\"true\"] .os-deck-menu-meta {\n color: var(--os-brand-tag-ink);\n opacity: 0.78;\n}\n\n@container (max-width: 720px) {\n .os-toolbar {\n padding: 4px 12px 0;\n }\n .os-seg-btn {\n padding: 0 9px;\n gap: 5px;\n }\n .os-tool-btn-max {\n max-width: 112px;\n }\n .os-export-html-label {\n display: none;\n }\n .os-export-html-btn {\n width: 28px;\n padding: 0;\n }\n}\n\n@container (max-width: 560px) {\n .os-seg-btn svg {\n display: none;\n }\n .os-seg-btn {\n padding: 0 8px;\n font-size: 12px;\n }\n .os-tool-btn-max {\n max-width: 92px;\n }\n}\n\n@container (max-width: 440px) {\n .os-toolbar {\n padding: 4px 8px 0;\n gap: 4px;\n }\n .os-toolbar-right {\n gap: 4px;\n }\n .os-btn-primary.os-btn-sm {\n padding: 0 8px;\n }\n .os-tool-btn-max {\n max-width: 72px;\n }\n}\n\n/* ── Main Content Container ───────────────────────────── */\n.os-content {\n position: relative;\n flex: 1 1 auto;\n min-height: 0;\n width: 100%;\n overflow: hidden;\n background: transparent;\n}\n\n.os-tab-pane {\n position: absolute;\n inset: 0;\n width: 100%;\n height: 100%;\n overflow: hidden;\n}\n\n/* ── Empty State: 16:9 Modern Luminous Cobalt Silk Studio Easel ── */\n.os-empty-stage {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n height: 100%;\n width: 100%;\n padding: 28px 24px;\n overflow-y: auto;\n}\n\n.os-empty-inner {\n width: 100%;\n max-width: 660px;\n}\n\n.os-easel {\n position: relative;\n width: 100%;\n aspect-ratio: 16 / 9;\n overflow: hidden;\n border-radius: 16px;\n border: 1px solid var(--os-line);\n background: var(--os-paper);\n box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);\n}\n\n.os-easel-bg {\n pointer-events: none;\n position: absolute;\n inset: 0;\n width: 100%;\n height: 100%;\n object-fit: cover;\n object-position: right center;\n opacity: 0.95;\n user-select: none;\n display: block;\n}\n\n.os-easel-fallback-bg {\n pointer-events: none;\n position: absolute;\n inset: 0;\n background:\n radial-gradient(70% 90% at 92% 20%, rgba(58, 131, 239, 0.14) 0%, rgba(58, 131, 239, 0) 72%),\n radial-gradient(58% 72% at 80% 88%, rgba(58, 131, 239, 0.1) 0%, rgba(58, 131, 239, 0) 68%);\n}\n\n.os-easel-veil {\n pointer-events: none;\n position: absolute;\n inset: 0;\n background: linear-gradient(\n 96deg,\n #ffffff 0%,\n #f9fbfe 38%,\n rgba(249, 251, 254, 0.68) 54%,\n rgba(249, 251, 254, 0.06) 80%,\n rgba(249, 251, 254, 0) 100%\n );\n}\n\n.os-easel-chrome {\n position: relative;\n z-index: 10;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n height: 100%;\n padding: 28px 32px;\n}\n\n.os-easel-top {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n\n.os-easel-brand {\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.os-easel-brand img {\n width: 24px;\n height: 24px;\n display: block;\n user-select: none;\n}\n\n.os-easel-brand-name {\n font-size: 12px;\n font-weight: 500;\n letter-spacing: -0.01em;\n color: rgba(20, 23, 31, 0.8);\n}\n\n.os-easel-ratio {\n font-family: var(--os-mono);\n font-size: 11px;\n letter-spacing: 0.08em;\n color: rgba(84, 91, 105, 0.6);\n}\n\n.os-easel-copy {\n max-width: 56%;\n}\n\n.os-easel-heading {\n margin: 0;\n font-family: var(--os-serif);\n font-size: 26px;\n font-weight: 600;\n line-height: 1.32;\n letter-spacing: -0.01em;\n color: var(--os-ink);\n}\n\n.os-easel-desc {\n margin: 10px 0 0;\n font-size: 14px;\n line-height: 1.7;\n color: var(--os-ink-2);\n}\n\n.os-easel-status {\n display: flex;\n align-items: center;\n gap: 8px;\n font-size: 12px;\n color: var(--os-ink-3);\n}\n\n.os-easel-dot {\n width: 6px;\n height: 6px;\n border-radius: 999px;\n background: rgba(58, 131, 239, 0.65);\n}\n\n.os-empty-steps {\n margin-top: 20px;\n padding: 0 4px;\n display: grid;\n grid-template-columns: repeat(3, minmax(0, 1fr));\n gap: 12px;\n}\n\n.os-empty-step-head {\n display: flex;\n align-items: center;\n gap: 6px;\n}\n\n.os-empty-step-num {\n font-family: var(--os-mono);\n font-size: 11px;\n font-variant-numeric: tabular-nums;\n color: var(--os-brand);\n}\n\n.os-empty-step-title {\n font-size: 12px;\n font-weight: 500;\n color: var(--os-ink);\n}\n\n.os-empty-step-desc {\n margin: 2px 0 0;\n font-size: 12px;\n line-height: 1.4;\n color: var(--os-ink-3);\n}\n\n@container (max-width: 460px) {\n .os-easel-chrome {\n padding: 18px 20px;\n }\n .os-easel-copy {\n max-width: 68%;\n }\n .os-easel-heading {\n font-size: 19px;\n }\n .os-easel-desc {\n font-size: 12px;\n margin-top: 6px;\n }\n .os-empty-steps {\n grid-template-columns: 1fr;\n gap: 10px;\n }\n}\n\n/* ── Live HTML Canvas Stage (matches Studio HtmlCanvasEditor.tsx) ── */\n.os-canvas-root {\n position: relative;\n height: 100%;\n width: 100%;\n overflow: hidden;\n background: transparent;\n user-select: none;\n outline: none;\n}\n\n.os-stage-frame {\n position: absolute;\n overflow: hidden;\n border-radius: 10px;\n background: var(--os-paper);\n box-shadow: var(--os-shadow-card);\n transition: box-shadow 200ms ease;\n}\n\n.os-stage-iframe {\n position: absolute;\n left: 50%;\n top: 50%;\n border: 0;\n background: transparent;\n transform-origin: center center;\n transition: opacity 180ms ease;\n}\n\n.os-stage-loading {\n position: absolute;\n inset: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n background: var(--os-paper);\n color: var(--os-ink-3);\n}\n\n/* ── Bottom SlideThumbStrip (matches Studio SlideThumbStrip.tsx) ── */\n.os-thumbstrip-anchor {\n pointer-events: none;\n position: absolute;\n left: 0;\n right: 0;\n bottom: 12px;\n z-index: 30;\n display: flex;\n justify-content: center;\n padding: 0 20px;\n}\n\n.os-thumbstrip-bar {\n pointer-events: auto;\n display: flex;\n align-items: center;\n gap: 6px;\n max-width: 100%;\n background: transparent;\n border: 0;\n padding: 0;\n box-shadow: none;\n}\n\n.os-strip-scroll {\n display: flex;\n align-items: center;\n gap: 4px;\n min-width: 0;\n overflow-x: auto;\n padding: 2px 4px;\n scrollbar-width: none;\n}\n\n.os-strip-scroll::-webkit-scrollbar {\n display: none;\n}\n\n.os-thumb-btn {\n appearance: none;\n border: 0;\n background: transparent;\n position: relative;\n flex: none;\n border-radius: 12px;\n padding: 5px;\n cursor: pointer;\n opacity: 0.82;\n transition: opacity 150ms ease, background-color 150ms ease;\n}\n\n.os-thumb-btn:hover {\n background: var(--os-well);\n opacity: 1;\n}\n\n.os-thumb-btn[data-active=\"true\"] {\n background: transparent;\n opacity: 1;\n}\n\n.os-thumb-viewport {\n position: relative;\n overflow: hidden;\n border-radius: 8px;\n border: 1px solid var(--os-line);\n transition: border-color 150ms ease, box-shadow 150ms ease;\n}\n\n.os-thumb-btn:hover .os-thumb-viewport {\n border-color: var(--os-line-strong);\n}\n\n.os-thumb-btn[data-active=\"true\"] .os-thumb-viewport {\n border-color: transparent;\n box-shadow: 0 0 0 2px var(--os-brand);\n}\n\n.os-thumb-iframe {\n pointer-events: none;\n position: absolute;\n left: 0;\n top: 0;\n border: 0;\n background: transparent;\n transform-origin: top left;\n}\n\n.os-thumb-placeholder {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n font-family: var(--os-mono);\n font-size: 11px;\n font-variant-numeric: tabular-nums;\n color: var(--os-ink-3);\n}\n\n.os-strip-divider {\n width: 1px;\n height: 20px;\n background: var(--os-line);\n margin: 0 2px;\n flex: none;\n}\n\n.os-strip-action {\n flex: none;\n}\n\n/* ── Reference Gallery (1:1 with Studio ReferenceGallery.tsx) ── */\n.os-gallery-scroll {\n height: 100%;\n width: 100%;\n overflow-y: auto;\n background: transparent;\n padding: 16px 24px 28px;\n}\n\n.os-gallery-scroll::-webkit-scrollbar {\n width: 6px;\n}\n\n.os-gallery-scroll::-webkit-scrollbar-thumb {\n background: rgba(20, 23, 31, 0.14);\n border-radius: 999px;\n}\n\n.os-gallery-empty {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n height: 100%;\n padding: 0 32px;\n text-align: center;\n}\n\n.os-gallery-empty-title {\n margin: 0;\n font-size: 14px;\n font-weight: 500;\n color: var(--os-ink);\n}\n\n.os-gallery-empty-desc {\n margin: 6px 0 0;\n max-width: 300px;\n font-size: 12px;\n line-height: 1.6;\n color: var(--os-ink-3);\n}\n\n.os-gallery-inner {\n max-width: 1040px;\n margin: 0 auto;\n}\n\n.os-gallery-meta {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 12px;\n margin-bottom: 16px;\n}\n\n.os-gallery-count {\n font-size: 12px;\n color: var(--os-ink-3);\n}\n\n.os-gallery-grid {\n display: grid;\n grid-template-columns: repeat(2, minmax(0, 1fr));\n gap: 20px;\n}\n\n@container (max-width: 540px) {\n .os-gallery-scroll {\n padding: 14px 14px 24px;\n }\n .os-gallery-grid {\n grid-template-columns: 1fr;\n gap: 16px;\n }\n}\n\n.os-ref-card {\n overflow: hidden;\n border-radius: 16px;\n border: 1px solid var(--os-line);\n background: var(--os-surface);\n transition:\n border-color 200ms ease,\n transform 200ms var(--os-ease);\n}\n\n.os-ref-card:hover {\n transform: translateY(-2px);\n border-color: var(--os-line-strong);\n}\n\n.os-ref-media {\n position: relative;\n width: 100%;\n aspect-ratio: 16 / 9;\n overflow: hidden;\n background: var(--os-well);\n cursor: zoom-in;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.os-ref-media-btn {\n appearance: none;\n border: 0;\n padding: 0;\n display: block;\n}\n\n.os-ref-media img {\n width: 100%;\n height: 100%;\n object-fit: cover;\n display: block;\n transition: transform 300ms var(--os-ease);\n}\n\n.os-ref-card:hover .os-ref-media img {\n transform: scale(1.018);\n}\n\n.os-ref-footer {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 8px;\n padding: 12px;\n}\n\n.os-ref-label {\n font-size: 12px;\n color: var(--os-ink-3);\n}\n\n.os-ref-actions {\n display: flex;\n align-items: center;\n gap: 6px;\n transition: opacity 150ms ease;\n}\n\n@media (hover: hover) {\n .os-ref-actions[data-pinned=\"false\"] {\n opacity: 0;\n }\n .os-ref-card:hover .os-ref-actions,\n .os-ref-card:focus-within .os-ref-actions {\n opacity: 1;\n }\n}\n\n.os-ref-btn {\n appearance: none;\n border: 0;\n height: 28px;\n padding: 0 10px;\n border-radius: 8px;\n background: var(--os-well);\n color: var(--os-ink-2);\n font: inherit;\n font-size: 12px;\n font-weight: 500;\n display: inline-flex;\n align-items: center;\n gap: 4px;\n cursor: pointer;\n transition:\n background-color 150ms var(--os-ease),\n color 150ms var(--os-ease),\n transform 120ms var(--os-ease);\n}\n\n.os-ref-btn:hover {\n background: var(--os-hover);\n color: var(--os-ink);\n}\n\n.os-ref-btn:active {\n transform: scale(0.985);\n}\n\n.os-ref-btn[data-copied=\"true\"] {\n background: var(--os-brand-soft);\n color: var(--os-brand-tag-ink);\n}\n\n/* Exploration pool */\n.os-explore-section {\n width: 100%;\n}\n\n.os-explore-divider {\n margin-top: 28px;\n padding-top: 20px;\n border-top: 1px solid var(--os-line);\n}\n\n.os-explore-head {\n margin-bottom: 12px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n\n.os-explore-title {\n font-size: 12px;\n font-weight: 500;\n color: var(--os-ink);\n}\n\n.os-explore-grid {\n display: grid;\n grid-template-columns: repeat(3, minmax(0, 1fr));\n gap: 16px;\n}\n\n@container (max-width: 720px) {\n .os-explore-grid {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n}\n\n@container (max-width: 480px) {\n .os-explore-grid {\n grid-template-columns: 1fr;\n }\n}\n\n.os-explore-name {\n font-family: var(--os-mono);\n font-size: 12px;\n color: var(--os-ink-2);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n min-width: 0;\n}\n\n.os-explore-opt {\n font-size: 11px;\n color: var(--os-ink-3);\n flex: none;\n}\n\n/* ── Studio-matched Lightbox Modal ─────────────────────── */\n.os-lightbox-backdrop {\n position: fixed;\n inset: 0;\n z-index: 9999;\n display: flex;\n align-items: center;\n justify-content: center;\n background: rgba(0, 0, 0, 0.76);\n backdrop-filter: blur(6px);\n padding: 24px;\n}\n\n.os-lightbox-stage {\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: center;\n max-width: 90vw;\n max-height: 90vh;\n}\n\n.os-lightbox-frame {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n border-radius: 12px;\n}\n\n.os-lightbox-img {\n max-width: 86vw;\n max-height: 78vh;\n border-radius: 12px;\n box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);\n object-fit: contain;\n display: block;\n}\n\n.os-lightbox-bar {\n margin-top: 12px;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 16px;\n font-size: 12px;\n color: rgba(255, 255, 255, 0.85);\n}\n\n.os-lightbox-info {\n display: flex;\n align-items: center;\n gap: 8px;\n min-width: 0;\n}\n\n.os-lightbox-label {\n font-weight: 500;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.os-lightbox-counter {\n font-family: var(--os-mono);\n font-size: 11px;\n font-variant-numeric: tabular-nums;\n color: rgba(255, 255, 255, 0.55);\n white-space: nowrap;\n}\n\n.os-lightbox-pager {\n display: flex;\n align-items: center;\n gap: 2px;\n padding: 2px;\n border-radius: 999px;\n border: 1px solid rgba(255, 255, 255, 0.15);\n background: rgba(255, 255, 255, 0.1);\n backdrop-filter: blur(8px);\n overflow-x: auto;\n max-width: 55vw;\n scrollbar-width: none;\n}\n\n.os-lightbox-pager::-webkit-scrollbar {\n display: none;\n}\n\n.os-lightbox-page-btn {\n appearance: none;\n border: 0;\n background: transparent;\n height: 24px;\n min-width: 26px;\n padding: 0 6px;\n border-radius: 999px;\n font-family: var(--os-mono);\n font-size: 11px;\n font-weight: 500;\n font-variant-numeric: tabular-nums;\n color: rgba(255, 255, 255, 0.72);\n cursor: pointer;\n flex: none;\n transition: background-color 140ms ease, color 140ms ease;\n}\n\n.os-lightbox-page-btn:hover {\n color: #ffffff;\n}\n\n.os-lightbox-page-btn[data-active=\"true\"] {\n background: var(--os-brand);\n color: #ffffff;\n}\n\n.os-lightbox-close-pill {\n appearance: none;\n border: 0;\n border-radius: 999px;\n background: rgba(255, 255, 255, 0.15);\n color: #ffffff;\n padding: 4px 12px;\n font: inherit;\n font-size: 12px;\n display: inline-flex;\n align-items: center;\n gap: 4px;\n cursor: pointer;\n flex: none;\n transition: background-color 140ms ease;\n}\n\n.os-lightbox-close-pill:hover {\n background: rgba(255, 255, 255, 0.25);\n}\n\n.os-lightbox-nav {\n appearance: none;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n z-index: 10;\n width: 40px;\n height: 40px;\n border-radius: 999px;\n border: 0;\n background: rgba(255, 255, 255, 0.14);\n color: #ffffff;\n backdrop-filter: blur(8px);\n display: inline-flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n padding: 0;\n transition: background-color 140ms ease, transform 120ms ease;\n}\n\n.os-lightbox-nav:hover {\n background: rgba(255, 255, 255, 0.24);\n}\n\n.os-lightbox-nav:active {\n transform: translateY(-50%) scale(0.95);\n}\n\n.os-lightbox-nav[data-dir=\"prev\"] {\n left: 20px;\n}\n\n.os-lightbox-nav[data-dir=\"next\"] {\n right: 20px;\n}\n\n/* ── Subtle Studio Pill Toast ─────────────────────────── */\n.os-toast {\n pointer-events: none;\n position: absolute;\n right: 16px;\n top: 12px;\n z-index: 70;\n border-radius: 999px;\n border: 1px solid var(--os-line);\n background: rgba(255, 255, 255, 0.95);\n padding: 6px 14px;\n font-size: 12px;\n font-weight: 500;\n color: var(--os-ink);\n box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);\n backdrop-filter: blur(12px);\n}\n\n/* ── Spinner & Tab Title Chip ─────────────────────────── */\n@keyframes os-spin {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n}\n\n.os-spinner {\n width: 13px;\n height: 13px;\n border: 1.6px solid currentColor;\n border-right-color: transparent;\n border-radius: 999px;\n display: inline-block;\n animation: os-spin 680ms linear infinite;\n}\n\n.oil-slide-title-chip {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n}\n\n/* ── Fullscreen Presentation Overlay ──────────────────── */\n.os-canvas-fullscreen {\n position: fixed !important;\n inset: 0 !important;\n z-index: 9999 !important;\n width: 100vw !important;\n height: 100vh !important;\n background: #0b0d11 !important;\n}\n\n.os-canvas-fullscreen .os-stage-frame {\n border-radius: 6px;\n box-shadow:\n 0 24px 80px rgba(0, 0, 0, 0.55),\n 0 0 0 1px rgba(255, 255, 255, 0.08);\n}\n\n.os-fs-close {\n position: fixed;\n top: 16px;\n right: 20px;\n z-index: 10001;\n width: 36px;\n height: 36px;\n border-radius: 999px;\n border: 1px solid rgba(255, 255, 255, 0.15);\n background: rgba(0, 0, 0, 0.55);\n color: rgba(255, 255, 255, 0.82);\n display: inline-flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n backdrop-filter: blur(10px);\n transition: background-color 140ms ease, color 140ms ease;\n}\n\n.os-fs-close:hover {\n background: rgba(0, 0, 0, 0.8);\n color: #ffffff;\n}\n\n.os-fs-controls {\n position: fixed;\n bottom: 16px;\n left: 50%;\n transform: translateX(-50%);\n z-index: 10001;\n display: inline-flex;\n align-items: center;\n gap: 6px;\n padding: 6px 12px;\n border-radius: 999px;\n border: 1px solid rgba(255, 255, 255, 0.12);\n background: rgba(0, 0, 0, 0.65);\n color: rgba(255, 255, 255, 0.9);\n box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);\n backdrop-filter: blur(12px);\n}\n\n.os-fs-btn {\n appearance: none;\n border: 0;\n background: transparent;\n width: 28px;\n height: 28px;\n border-radius: 999px;\n color: rgba(255, 255, 255, 0.85);\n display: inline-flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n transition: background-color 140ms ease;\n}\n\n.os-fs-btn:hover:not(:disabled) {\n background: rgba(255, 255, 255, 0.12);\n}\n\n.os-fs-btn:disabled {\n opacity: 0.3;\n cursor: not-allowed;\n}\n\n.os-fs-counter {\n min-width: 54px;\n text-align: center;\n font-family: var(--os-mono);\n font-size: 12px;\n font-variant-numeric: tabular-nums;\n letter-spacing: 0.04em;\n color: rgba(255, 255, 255, 0.85);\n}\n\n.os-fs-divider {\n width: 1px;\n height: 16px;\n background: rgba(255, 255, 255, 0.15);\n margin: 0 2px;\n}\n\n.os-fs-exit {\n appearance: none;\n border: 0;\n background: transparent;\n height: 28px;\n padding: 0 10px;\n border-radius: 999px;\n color: rgba(255, 255, 255, 0.9);\n font: inherit;\n font-size: 12px;\n font-weight: 500;\n display: inline-flex;\n align-items: center;\n gap: 6px;\n cursor: pointer;\n transition: background-color 140ms ease, color 140ms ease;\n}\n\n.os-fs-exit:hover {\n background: rgba(255, 255, 255, 0.12);\n}\n\n.os-fs-exit[data-active=\"true\"] {\n background: rgba(255, 255, 255, 0.92);\n color: var(--os-ink);\n}\n\n/* ── Studio-matched Light Draft vs HTML Split-Curtain Compare ── */\n.os-compare-overlay {\n position: absolute;\n inset: 0;\n z-index: 25;\n user-select: none;\n container-type: inline-size;\n}\n\n.os-compare-img {\n pointer-events: none;\n position: absolute;\n inset: 0;\n width: 100%;\n height: 100%;\n object-fit: cover;\n display: block;\n}\n\n.os-compare-scrubber {\n position: absolute;\n inset: 0;\n cursor: ew-resize;\n}\n\n.os-compare-divider {\n pointer-events: none;\n position: absolute;\n top: 0;\n bottom: 0;\n transform: translateX(-50%);\n}\n\n.os-compare-line {\n width: 2px;\n height: 100%;\n background: var(--os-surface);\n box-shadow:\n 0 0 0 1px rgba(20, 23, 31, 0.32),\n 0 2px 12px rgba(0, 0, 0, 0.28);\n}\n\n.os-compare-handle {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n width: 36px;\n height: 36px;\n border-radius: 999px;\n background: var(--os-brand);\n color: var(--os-surface);\n display: flex;\n align-items: center;\n justify-content: center;\n box-shadow:\n 0 6px 20px rgba(20, 56, 128, 0.28),\n 0 0 0 2px rgba(255, 255, 255, 0.95);\n}\n\n/* Light bottom-corner badges matching Studio HtmlCanvasEditor.tsx */\n.os-compare-badge {\n pointer-events: none;\n position: absolute;\n bottom: 12px;\n border-radius: 8px;\n border: 1px solid var(--os-line);\n background: var(--os-surface);\n color: var(--os-ink-2);\n padding: 4px 10px;\n font-size: 12px;\n font-weight: 500;\n box-shadow: var(--os-shadow-btn);\n}\n\n.os-compare-badge-left {\n left: 12px;\n}\n\n.os-compare-badge-right {\n right: 12px;\n}\n\n@container (max-width: 640px) {\n .os-compare-badge {\n bottom: 52px;\n padding: 3px 8px;\n font-size: 11px;\n }\n}\n\n.os-compare-empty {\n pointer-events: none;\n position: absolute;\n left: 50%;\n bottom: 56px;\n transform: translateX(-50%);\n border-radius: 8px;\n border: 1px solid var(--os-line);\n background: var(--os-surface);\n color: var(--os-ink-2);\n padding: 6px 12px;\n font-size: 12px;\n font-weight: 500;\n display: inline-flex;\n align-items: center;\n gap: 6px;\n box-shadow: var(--os-shadow-btn);\n}\n\n.os-compare-controls {\n position: absolute;\n bottom: 12px;\n left: 50%;\n transform: translateX(-50%);\n z-index: 30;\n display: inline-flex;\n align-items: center;\n gap: 6px;\n}\n\n.os-compare-segmented {\n border: 1px solid var(--os-line);\n box-shadow: var(--os-shadow-raised);\n}\n\n.os-compare-close {\n width: 32px;\n height: 32px;\n padding: 0;\n border-radius: 8px;\n color: var(--os-ink-2);\n display: inline-flex;\n align-items: center;\n justify-content: center;\n box-shadow: var(--os-shadow-raised);\n cursor: pointer;\n}\n\n.os-compare-close:hover {\n color: var(--os-ink);\n}\n\n@media (prefers-reduced-motion: reduce) {\n .os-workspace *,\n .os-workspace *::before,\n .os-workspace *::after {\n transition-duration: 0.01ms !important;\n }\n}\n\n/* Staged PPT creation, independent from the legacy HTML export toolbar. */\n.os-workflow { padding: 12px 16px; display: grid; gap: 9px; flex: 0 0 auto; border-bottom: 1px solid color-mix(in srgb, currentColor 15%, transparent); }\n.os-workflow p, .os-workflow ol { margin: 0; }\n.os-workflow-steps { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 0; list-style: none; font-size: 12px; }\n.os-workflow-steps li { opacity: .64; }\n.os-workflow-steps li[aria-current=\"step\"] { opacity: 1; font-weight: 700; }\n.os-workflow-outline { max-height: 180px; overflow: auto; padding: 8px 8px 0 27px; }\n.os-workflow-outline li { padding: 2px 0 6px; }\n.os-workflow-outline span { display: block; white-space: pre-wrap; font-size: .9em; margin-top: 3px; }\n.os-workflow-actions { display: flex; flex-wrap: wrap; row-gap: 8px; column-gap: 8px; align-items: center; }\n.os-workflow-actions:empty { display: none; }\n.os-workflow-actions select { margin-inline-start: 6px; }\n\n.os-channel-tools { display: flex; justify-content: flex-end; padding: 5px 12px; }\n.os-image-settings {\n display: flex;\n flex-direction: column;\n gap: 14px;\n min-height: 0;\n padding: 16px;\n overflow: auto;\n font-size: 13px;\n}\n.os-image-settings h3, .os-image-settings h4, .os-image-settings p { margin: 0; }\n.os-image-settings h3 { font-size: 19px; font-weight: 650; }\n.os-image-settings h4 { font-size: 14px; font-weight: 650; }\n.os-image-settings p, .os-image-section-title > span, .os-image-detect > span {\n color: var(--os-ink-2);\n font-size: 12px;\n line-height: 1.5;\n}\n.os-image-heading, .os-image-section-title, .os-image-actions, .os-image-detect, .os-image-model-tools {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: 8px;\n}\n.os-image-heading, .os-image-section-title { justify-content: space-between; }\n.os-image-heading > div { display: grid; gap: 3px; min-width: 0; }\n.os-image-heading { align-items: flex-start; flex-wrap: nowrap; }\n.os-image-heading > button { flex-shrink: 0; }\n.os-image-editor, .os-image-card, .os-image-catalog { display: grid; gap: 10px; min-width: 0; }\n.os-image-card {\n margin: 0;\n padding: 12px;\n border: 1px solid var(--os-line);\n border-radius: 10px;\n background: var(--os-surface);\n}\n.os-image-actions { justify-content: flex-end; }\n.os-image-card label { display: grid; gap: 4px; font-size: 12px; }\n.os-image-card .os-image-checkbox { display: flex; align-items: center; gap: 8px; overflow-wrap: anywhere; }\n.os-image-card input:not([type=checkbox]), .os-image-card select {\n min-width: 0;\n width: 100%;\n padding: 7px 9px;\n color: var(--os-ink);\n background: var(--os-surface);\n border: 1px solid var(--os-line-strong);\n border-radius: 6px;\n font: inherit;\n}\n.os-image-model-tools :is(input, select) { flex: 1 1 128px; }\n.os-image-model-list .os-image-badge { margin-left: auto; flex-shrink: 0; }\n.os-image-model-list {\n display: grid;\n gap: 6px;\n max-height: 185px;\n overflow: auto;\n padding: 8px;\n border: 1px solid var(--os-line);\n border-radius: 6px;\n}\n.os-image-rows, .os-image-chips { list-style: none; margin: 0; padding: 0; }\n.os-image-row {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: 8px;\n padding: 9px 0;\n border-top: 1px solid var(--os-line);\n}\n.os-image-row-text { display: grid; gap: 2px; flex: 1 1 120px; min-width: 0; overflow-wrap: anywhere; }\n.os-image-row-text > span { color: var(--os-ink-2); font-size: 11px; }\n.os-image-badge, .os-image-chips li {\n padding: 3px 7px;\n border-radius: 5px;\n background: var(--os-well);\n color: var(--os-ink-2);\n font-size: 11px;\n}\n.os-image-badge-default { background: var(--os-brand-soft); color: var(--os-brand-tag-ink); }\n.os-image-chips { display: flex; flex-wrap: wrap; gap: 5px; }\n.os-image-chips li { display: inline-flex; align-items: center; gap: 6px; overflow-wrap: anywhere; min-width: 0; }\n.os-image-chips button { color: inherit; border: 0; background: transparent; cursor: pointer; }\n.os-image-settings .os-image-error {\n padding: 8px 10px;\n border: 1px solid var(--os-line-strong);\n border-radius: 6px;\n color: var(--os-ink);\n}\n\n.os-design-controls { padding: 0 10px 10px; }\n.os-review-actions, .os-review-bar, .os-review-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }\n.os-new-designs { margin-top: 12px; }\n.os-design-history, .os-feedback { display: grid; gap: 8px; margin: 10px 0; }\n.os-feedback textarea, .os-feedback select, .os-design-history select, .os-review-bar select {\n color: inherit; background: var(--os-surface, Canvas); font: inherit; border: 1px solid var(--os-border, #aab2bd);\n border-radius: 6px; padding: 6px 8px; max-width: 100%; box-sizing: border-box;\n}\n.os-feedback textarea { width: 100%; resize: vertical; }\n.os-slide-review { box-sizing: border-box; height: 100%; overflow: auto; padding: 12px; display: grid; gap: 10px; align-content: start; min-width: 0; }\n.os-review-bar { justify-content: space-between; }\n.os-review-stage { background: rgba(128,128,128,.09); border-radius: 8px; overflow: hidden; }\n.os-review-image { display: grid; place-items: center; width: 100%; min-height: 24px; }\n.os-review-image img { display: block; max-width: 100%; max-height: 55vh; object-fit: contain; }\n.os-review-stage img { width: 100%; }\n.os-review-nav { justify-content: center; font-variant-numeric: tabular-nums; }\n.os-review-strip { display: flex; gap: 6px; overflow-x: auto; padding: 3px; }\n.os-review-strip button { flex: 0 0 80px; background: transparent; color: inherit; padding: 3px; border: 1px solid transparent; border-radius: 5px; cursor: pointer; }\n.os-review-strip .os-review-image { height: 48px; }\n.os-review-strip img { max-height: 48px; }\n.os-review-strip [aria-current=\"page\"] { border-color: var(--os-accent, #477beb); }\n.os-review-theater { position: fixed; inset: 0; z-index: 10000; background: var(--os-surface, Canvas); overflow: auto; }\n.os-review-theater .os-review-stage img { max-height: 72vh; }\n\n.os-outline-editor { max-height: 48vh; overflow: auto; }\n.os-outline-editor fieldset { border: 0; padding: 0; min-width: 0; }\n.os-outline-editor ol { list-style: none; margin: 8px 0; padding: 0; }\n.os-outline-editor li, .os-brand-form { background: var(--os-surface); padding: 9px; border: 1px solid var(--os-line); border-radius: 8px; margin-bottom: 6px; display: grid; gap: 6px; }\n.os-outline-editor [draggable] { cursor: grab; margin-right: auto; font-variant-numeric: tabular-nums; }\n.os-outline-editor input, .os-outline-editor textarea { width: 100%; box-sizing: border-box; font: inherit; color: inherit; background: var(--os-paper); border: 1px solid var(--os-line-strong); border-radius: 5px; padding: 6px; }\n.os-brand-form label { display: grid; gap: 4px; }\n.os-outline-editor button:not(.os-btn-primary), .os-region-review button:not(.os-btn-primary) { border-radius: 5px; padding: 3px 7px; border: 1px solid var(--os-line-strong); background: var(--os-surface); color: var(--os-ink); cursor: pointer; }\n.os-region-stage { display:flex; justify-content:center; }\n.os-region-surface { position:relative; width:fit-content; max-width:100%; align-self:center; }\n.os-region-stage .os-region-surface img { width:auto; max-width:100%; pointer-events:none; }\n.os-region-surface.is-drawing { touch-action:none; user-select:none; cursor:crosshair; }\n.os-region-box { position:absolute; pointer-events:none; border:2px solid var(--os-brand); box-sizing:border-box; background:rgba(58,131,239,.12); }\n.os-region-review { padding:8px 12px; border:1px solid var(--os-line); border-radius:8px; }\n\n/* Staged presentation workspace */\n.os4 * { box-sizing:border-box; }\n.os4 button, .os4 select, .os4 input, .os4 textarea { font:inherit; color:inherit; }\n.os4 button, .os4 select { cursor:pointer; }\n.os4 button { border:1px solid #dfe5df; border-radius:8px; background:white; padding:7px 13px; white-space:nowrap; display:inline-flex; gap:8px; align-items:center; justify-content:center; font-weight:600; }\n.os4 button:hover { border-color:#86a797; background:#f4f8f4; }\n.os4 button:focus-visible, .os4 select:focus-visible { outline:2px solid #2c785b; outline-offset:2px; }\n.os4 button.primary { background:#205341; border-color:#205341; color:white; padding:10px 16px; }\n.os4 button.primary:hover { background:#143d2f; }\n.os4 button.ghost { background:transparent; border-color:transparent; color:#536358; }\n.os4 button:disabled { opacity:.43; cursor:not-allowed; }\n.os4 .bar, .os4 .foot { display:flex; align-items:center; justify-content:space-between; padding:14px 30px; background:#fff; }\n.os4 .bar { border-bottom:1px solid #e6ebe6; min-height:62px; }\n.os4 .brand, .os4 .barRight, .os4 .group, .os4 .smallrow { display:flex; align-items:center; gap:10px; }\n.os4 .brand strong { font-size:18px; letter-spacing:-.65px; }\n.os4 .brand small { border-left:1px solid #dce5df; padding-left:12px; color:#5f6f65; }\n.os4 .logomark { width:28px; height:28px; background:#dbeadd; border-radius:8px; color:#205341; display:grid; place-items:center; }\n.os4 .icon { width:16px; height:16px; display:inline-block; vertical-align:middle; flex:none; }\n.os4 .steps { display:grid; grid-template-columns:repeat(4,1fr); gap:6px; padding:0 30px; background:#fff; border-bottom:1px solid #e6ebe6; }\n.os4 .step { display:flex; align-items:center; justify-content:flex-start; gap:9px; border:0; border-bottom:2px solid transparent; background:transparent; border-radius:0; padding:11px 12px; color:#607066; }\n.os4 .step:hover { border-color:#96baa5; }\n.os4 .step.current { background:#f3f7f1; color:#205341; border-color:#347359; }\n.os4 .step span:first-child { width:24px; height:24px; border:1px solid #dce5dd; border-radius:7px; display:grid; place-items:center; font-size:11px; font-variant-numeric:tabular-nums; }\n.os4 .step.current span:first-child { background:#205341; color:white; border-color:#205341; }\n.os4 .step.done span:first-child { background:#e9f2ea; color:#2b664e; }\n.os4 .step em { font-style:normal; font-size:11px; color:#6e7e74; font-weight:400; margin-left:4px; }\n.os4 main { padding:24px 30px 20px; flex:1; }\n.os4 .intro { display:flex; align-items:flex-end; justify-content:space-between; margin-bottom:18px; gap:12px; }\n.os4 .eyebrow { font-size:11px; letter-spacing:1.5px; color:#537364; font-weight:700; display:flex; align-items:center; gap:8px; }\n.os4 .eyebrow:before { content:\"\"; width:15px; height:1px; background:#6f9b83; }\n.os4 .intro h1 { margin:4px 0 3px; font-size:30px; line-height:1.3; letter-spacing:-1.1px; }\n.os4 .intro p { margin:0; color:#5c6c61; }\n.os4 .work { display:grid; grid-template-columns:224px minmax(0,1fr); gap:14px; align-items:stretch; min-height:480px; }\n.os4 .panel { background:white; border:1px solid #dfe7df; border-radius:12px; overflow:hidden; min-width:0; }\n.os4 .phead { display:flex; align-items:center; justify-content:space-between; padding:12px 15px; gap:8px; border-bottom:1px solid #ebefea; min-height:54px; }\n.os4 .phead strong { font-size:14px; }\n.os4 .muted { font-size:12px; color:#68776d; }\n.os4 .badge { display:inline-flex; align-items:center; gap:5px; white-space:nowrap; padding:3px 8px; border-radius:5px; background:#edf4ea; color:#37644c; font-size:11px; font-weight:700; }\n.os4 .badge.gray { background:#eff1ed; color:#667267; }\n.os4 .badge.warn { background:#fff1d7; color:#79520e; }\n.os4 .leftinner { padding:8px; }\n.os4 .listbtn { display:flex; width:100%; justify-content:flex-start; border-color:transparent; white-space:normal; text-align:left; min-height:48px; padding:8px; gap:8px; }\n.os4 .listbtn.active { background:#edf4ec; border-color:#d1e2d4; color:#1e533e; }\n.os4 .listbtn .num { font:11px/1 ui-monospace,monospace; color:#658174; }\n.os4 .listbtn .label { flex:1; }\n.os4 .listbtn .grip { color:#9da9a1; }\n.os4 .asideFoot { padding:10px 11px; border-top:1px solid #edf0ec; }\n.os4 .asideFoot button { width:100%; }\n.os4 .form { padding:15px 19px; }\n.os4 .field { display:block; margin:0 0 13px; font-weight:650; font-size:12px; }\n.os4 .field span { display:block; margin-bottom:5px; color:#45564b; }\n.os4 .field input, .os4 .field textarea { display:block; width:100%; border:1px solid #dce5dd; border-radius:8px; background:#fcfdfa; padding:8px 10px; outline:none; font-size:14px; }\n.os4 .field input:focus, .os4 .field textarea:focus { border-color:#568768; }\n.os4 .field textarea { resize:vertical; min-height:100px; }\n.os4 .settingsBand { display:flex; align-items:center; gap:13px; flex-wrap:wrap; padding:11px 12px; border:1px solid #e3ebe3; background:#f5f8f2; border-radius:8px; }\n.os4 .settingsBand label { font-size:12px; color:#475e51; font-weight:600; display:flex; align-items:center; gap:9px; }\n.os4 .settingsBand select { border:1px solid #dbe4db; border-radius:6px; background:#fff; padding:4px 7px; max-width:180px; }\n.os4 .seg { display:inline-flex; gap:2px; border:1px solid #dbe5dc; background:#f2f5f0; border-radius:7px; padding:2px; }\n.os4 .seg button { background:transparent; border:0; font-size:12px; padding:4px 9px; border-radius:5px; }\n.os4 .seg button.active { background:#fff; box-shadow:0 1px 2px #20382922; color:#215640; }\n.os4 .hint { padding:9px 12px; border-left:2px solid #82a890; background:#f4f8f2; color:#4c6556; font-size:12px; }\n.os4 .stageside { display:flex; flex-direction:column; }\n.os4 .stagebody { padding:12px 14px 11px; background:#eef2ed; display:grid; place-items:center; min-height:330px; }\n.os4 .stagebody.compare { grid-template-columns:1fr 1fr; gap:12px; align-content:center; }\n.os4 .candidate { display:block; width:100%; text-align:left; padding:7px; margin-bottom:7px; border-radius:8px; }\n.os4 .candidate.active { background:#edf5ec; border-color:#8ab29b; color:#235642; }\n.os4 .cmeta { display:flex; align-items:center; justify-content:space-between; gap:5px; padding:5px 1px 0; }\n.os4 .cmeta span { font-size:12px; }\n.os4 .stagefoot { padding:8px 12px; display:flex; justify-content:space-between; align-items:center; gap:7px; border-top:1px solid #e7eee7; background:white; }\n.os4 .stagefoot button { font-size:12px; padding:5px 9px; }\n.os4 .pagenav { font-variant-numeric:tabular-nums; }\n.os4 .layers { padding:9px; }\n.os4 .layers button { width:100%; justify-content:space-between; margin-bottom:7px; font-size:12px; }\n.os4 .layers button.active { border-color:#8eb6a0; background:#edf5ed; }\n.os4 .layers hr { border:0; border-top:1px solid #e6ede6; margin:9px 0; }\n.os4 .previewThumb { display:grid; grid-template-columns:73px 1fr; gap:8px; align-items:center; }\n.os4 .previewThumb span span { display:block; }\n.os4 .previewThumb .num { display:block; margin-bottom:4px; }\n.os4 .splitbar { display:flex; gap:10px; justify-content:space-between; padding:0 10px; align-items:center; }\n.os4 .bottomnote { display:flex; flex-direction:column; gap:2px; }\n.os4 .bottomnote b { font-size:13px; color:#314b3d; }\n.os4 .foot { min-height:70px; border-top:1px solid #e1e9e0; position:sticky; bottom:0; z-index:3; }\n.os4 .foot small { color:#596c60; }\n.os4 .statusdot { width:7px; height:7px; border-radius:50%; background:#528768; display:inline-block; margin-right:5px; }\n.os4 dialog { width:min(440px,92vw); border:1px solid #d6e4d8; border-radius:13px; padding:18px; box-shadow:0 20px 80px #10251833; }\n.os4 dialog::backdrop { background:#16271e55; }\n.os4 dialog textarea { width:100%; min-height:90px; padding:10px; border:1px solid #dbe5dc; border-radius:7px; }\n.os4 button.remove { padding:5px 8px; font-size:12px; }\n.os4 .sidehint { margin:8px 7px; color:#68776d; font-size:11px; }\n.os4 .tiny { font-size:11px; }\n@container (max-width: 650px) {\n.os4 .bar, .os4 .foot { padding:10px 14px; }\n.os4 .steps { padding:0 10px; }\n.os4 .step { padding:8px 5px; gap:4px; justify-content:center; font-size:12px; }\n.os4 .step em, .os4 .brand small { display:none; }\n.os4 main { padding:15px 12px; }\n.os4 .intro h1 { font-size:23px; }\n.os4 .intro { align-items:flex-start; flex-wrap:wrap; }\n.os4 .work { grid-template-columns:minmax(0,1fr); min-height:0; }\n.os4 .leftinner { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:5px; }\n.os4 .stagebody { min-height:0; }\n.os4 .foot { position:static; gap:8px; flex-wrap:wrap; }\n.os4 .phead { min-height:42px; padding:8px 11px; }\n.os4 .barRight button { font-size:12px; padding:5px 8px; }\n.os4 .stagefoot { flex-wrap:wrap; }\n}\n.os-studio-host { min-height: 0; height: 100%; overflow: hidden; }\n.os4 {\n container-type: inline-size; flex: 1; display: flex; flex-direction: column;\n width: 100%; height: 100%; min-width: 0; min-height: 0;\n background: #fbfcf9; color: #202923; color-scheme: light;\n font: 14px/1.55 Inter, -apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Microsoft Yahei\", sans-serif;\n --os-brand: #205341; --os-ink: #202923;\n}\n.os4 > main { min-height: 0; overflow: auto; scrollbar-gutter: stable; }\n.os4 > .bar, .os4 > .steps, .os4 > .foot { flex: none; }\n.os4 .work { min-height: min(430px, 55vh); grid-template-columns: clamp(155px, 24cqw, 224px) minmax(0,1fr); }\n.os4 .rail { display: flex; flex-direction: column; align-self: start; }\n.os4 .leftinner { overflow: auto; max-height: 58vh; }\n.os4 .listbtn .label { min-width: 0; word-break: break-word; line-height: 1.4; }\n.os4 .form { margin: 0; border: 0; min-width: 0; }\n.os4 .field input, .os4 .field textarea { color: #202923; font-weight: 400; line-height: 1.55; }\n.os4 .move-actions, .os4 .project-switch, .os4 .sync-row { display: flex; gap: 8px; align-items: center; }\n.os4 .move-actions { margin-top: 12px; }\n.os4 .move-actions button, .os4 .project-switch :is(select,button) { font-size: 12px; }\n.os4 .project-switch { padding: 6px 16px; border-bottom: 1px solid #e6ebe6; }\n.os4 .project-switch select { max-width: 70%; }\n.os4 .foot { position: static; gap: 10px; }\n.os4 .foot .group, .os4 .stagefoot, .os4 .stagefoot .group { flex-wrap: wrap; }\n.os4 .stagebody { min-height: clamp(200px, 32cqw, 340px); }\n.os4 .stagebody.compare { grid-template-columns: repeat(auto-fit,minmax(min(170px,100%),1fr)); }\n.os4 .compare-item { display: grid; white-space: normal; width: 100%; }\n.os4 .compare-item.active { border-color: #347359; }\n.os4 .image-zoom { background: none; border: none; padding: 0; width: 100%; cursor: zoom-in; }\n.os4 .candidate .os-review-image img { max-height: 115px; }\n.os4 .previewThumb .os-review-image img { max-height: 52px; }\n.os4 .stagebody img, .os4 .studio-dialog img { height: auto; max-width: 100%; display: block; }\n.os4 .stagebody .os-review-stage { padding: 0; border: none; background: transparent; min-width: 0; width: 100%; }\n.os4 .review-body > :is(.os-feedback,.os-region-review) { width: 100%; }\n.os4 .thumb-empty, .os4 .empty-preview { padding: 13px; color: #68776d; text-align: center; white-space: normal; }\n.os4 .style-notes, .os4 .os-design-controls, .os4 .os-feedback { margin: 8px 14px; }\n.os4 .style-notes p { white-space: pre-wrap; overflow-wrap: anywhere; }\n.os4 details summary { cursor: pointer; font-weight: 600; }\n.os4 .preview-tabs { align-self: flex-start; margin: 10px 14px; }\n.os4 .object-surface { position: relative; width: fit-content; max-width: 100%; overflow: hidden; }\n.os4 .object-box { position: absolute; border: 2px solid #267a5c; background: #29b47820; pointer-events: none; }\n.os4 .object-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(150px,100%),1fr)); gap: 6px; max-height: 170px; overflow: auto; margin-top: 8px; }\n.os4 .object-list button { min-width: 0; margin: 0; }\n.os4 .object-list button span { overflow: hidden; text-overflow: ellipsis; }\n.os4 .sync-row { margin-top: 8px; }\n.os4 .sync-row button { width: auto; margin: 0; }\n.os4 .studio-dialog { padding: 0; max-height: 88vh; overflow: auto; color: #202923; background: #fff; }\n.os4 .studio-dialog.wide { width: min(900px,92vw); }\n.os4 .dialog-body { padding: 15px; }\n.os4 .dialog-body .os-image-settings { height: auto; max-height: none; padding: 0; }\n.os4 .brand-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px solid #e6ebe6; }\n.os4 .brand-row small { display: block; }\n.os4 .brand-row + .group { margin-top: 10px; }\n.os4 .phead strong { min-width: 0; overflow-wrap: anywhere; }\n.os4 .pagenav { flex-shrink: 0; font-size: 12px; }\n.os4 .os-btn-primary { background: #205341; color: #fff; }\n@container (max-width: 650px) {\n .os4 .work { grid-template-columns: minmax(0,1fr); min-height: 0; gap: 10px; }\n .os4 .leftinner { max-height: 126px; align-content: start; }\n .os4 .candidate .os-review-image img { max-height: 64px; }\n .os4 .stagebody { min-height: 150px; }\n .os4 .foot { padding: 8px 12px; min-height: auto; }\n .os4 .bottomnote small { display: none; }\n .os4 .form { padding: 12px; }\n}\n@container (max-width: 430px) {\n .os4 .bar, .os4 > main { padding-left: 9px; padding-right: 9px; }\n .os4 .barRight, .os4 .brand, .os4 .pagenav, .os4 .group { gap: 4px; }\n .os4 .step { gap: 3px; padding: 8px 1px; }\n .os4 .step span:first-child { width: 18px; height: 18px; font-size: 10px; }\n .os4 .previewThumb { grid-template-columns: 45px minmax(0,1fr); }\n .os4 .foot .group { width: 100%; justify-content: flex-end; }\n .os4 .foot button { padding: 7px 9px; font-size: 12px; }\n .os4 .intro p { font-size: 12px; }\n}\n");
|
|
11104
|
+
registerPluginCss("dsh-oil-slide/styles.css", "/* Oil Slide sidebar — strictly aligned with DESIGN.md (4 surfaces / 2 hairlines / 3 inks / 1 cobalt) */\n.os-workspace {\n /* 4 neutral surfaces */\n --os-paper: #f7f8fa;\n --os-surface: #ffffff;\n --os-well: #eef1f5;\n --os-hover: #e5e9f0;\n\n /* 2 hairlines */\n --os-line: #e5e8ee;\n --os-line-strong: #d1d6df;\n\n /* 3 inks */\n --os-ink: #14171f;\n --os-ink-2: #545b69;\n --os-ink-3: #858d9d;\n\n /* 1 exclusive brand cobalt */\n --os-brand: #3a83ef;\n --os-brand-hover: #2f76e2;\n --os-brand-active: #2668cf;\n --os-brand-soft: #edf4ff;\n --os-brand-tag-ink: #1f5fbf;\n\n /* Shadows matching Studio globals.css */\n --os-shadow-btn: 0 1px 1.5px rgba(20, 23, 31, 0.04);\n --os-shadow-card:\n 0 0 0 1px rgba(20, 23, 31, 0.06),\n 0 1px 2px rgba(20, 23, 31, 0.03),\n 0 6px 20px rgba(20, 23, 31, 0.04);\n --os-shadow-raised:\n 0 0 0 1px rgba(20, 23, 31, 0.07),\n 0 4px 16px rgba(20, 23, 31, 0.06);\n --os-shadow-overlay:\n 0 0 0 1px rgba(20, 23, 31, 0.08),\n 0 18px 48px rgba(15, 23, 42, 0.14);\n\n --os-ease: cubic-bezier(0.22, 1, 0.36, 1);\n --os-serif: \"Instrument Serif\", \"Songti SC\", \"STSong\", \"Noto Serif SC\", Georgia, serif;\n --os-sans: \"Inter\", -apple-system, BlinkMacSystemFont, \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei\", sans-serif;\n --os-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;\n\n box-sizing: border-box;\n position: relative;\n display: flex;\n flex-direction: column;\n flex: 1 1 auto;\n height: 100%;\n width: 100%;\n min-height: 0;\n min-width: 0;\n background: var(--os-paper);\n color: var(--os-ink);\n font-family: var(--os-sans);\n font-size: 13px;\n line-height: 1.5;\n overflow: hidden;\n -webkit-font-smoothing: antialiased;\n container-type: inline-size;\n}\n\n.os-error-stage {\n align-items: center;\n justify-content: center;\n padding: 24px;\n}\n\n.os-error-card {\n max-width: 360px;\n width: 100%;\n padding: 20px;\n border-radius: 16px;\n border: 1px solid var(--os-line);\n background: var(--os-surface);\n box-shadow: var(--os-shadow-card);\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: 10px;\n}\n\n.os-error-title {\n margin: 0;\n font-size: 14px;\n font-weight: 600;\n color: var(--os-ink);\n}\n\n.os-error-detail {\n margin: 0;\n font-family: var(--os-mono);\n font-size: 11.5px;\n line-height: 1.5;\n color: var(--os-ink-2);\n word-break: break-word;\n}\n\n.os-workspace *,\n.os-workspace *::before,\n.os-workspace *::after {\n box-sizing: border-box;\n}\n\n.os-workspace button:focus-visible,\n.os-workspace [role=\"button\"]:focus-visible {\n outline: 2px solid var(--os-brand);\n outline-offset: 2px;\n}\n\n.os-icon-brand {\n color: var(--os-brand);\n}\n\n/* ── Unified Studio Button Primitives (matches globals.css) ── */\n.os-btn-sm {\n height: 28px;\n padding: 0 10px;\n border-radius: 8px;\n font: inherit;\n font-size: 12px;\n font-weight: 500;\n line-height: 1;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 5px;\n white-space: nowrap;\n cursor: pointer;\n}\n\n.os-icon-btn {\n appearance: none;\n width: 28px;\n height: 28px;\n padding: 0;\n border-radius: 8px;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n flex: none;\n}\n\n/* Primary CTA (#3A83EF solid cobalt — sole primary button per viewport) */\n.os-btn-primary {\n appearance: none;\n border: 0;\n background: var(--os-brand);\n color: var(--os-surface);\n padding: 0 12px;\n box-shadow:\n inset 0 1px 0 rgba(255, 255, 255, 0.16),\n 0 1px 2px rgba(20, 56, 128, 0.16);\n transition:\n background-color 150ms var(--os-ease),\n box-shadow 150ms var(--os-ease),\n transform 120ms var(--os-ease);\n}\n\n.os-btn-primary:hover:not(:disabled) {\n background: var(--os-brand-hover);\n}\n\n.os-btn-primary:active:not(:disabled) {\n background: var(--os-brand-active);\n transform: scale(0.985);\n}\n\n.os-btn-primary:disabled {\n opacity: 0.4;\n cursor: not-allowed;\n}\n\n/* Secondary flat white surface button */\n.os-btn-surface {\n appearance: none;\n border: 1px solid var(--os-line);\n background: var(--os-surface);\n color: var(--os-ink);\n box-shadow: var(--os-shadow-btn);\n transition:\n background-color 150ms var(--os-ease),\n border-color 150ms var(--os-ease),\n color 140ms var(--os-ease),\n transform 120ms var(--os-ease);\n}\n\n.os-btn-surface:hover:not(:disabled) {\n background: var(--os-paper);\n border-color: var(--os-line-strong);\n}\n\n.os-btn-surface:active:not(:disabled) {\n background: var(--os-well);\n transform: scale(0.985);\n}\n\n.os-btn-surface:disabled {\n opacity: 0.4;\n cursor: not-allowed;\n}\n\n/* Tertiary / ghost button */\n.os-btn-ghost {\n appearance: none;\n border: 0;\n background: transparent;\n color: var(--os-ink-2);\n transition:\n background-color 150ms var(--os-ease),\n color 150ms var(--os-ease),\n transform 120ms var(--os-ease);\n}\n\n.os-btn-ghost:hover:not(:disabled) {\n background: var(--os-well);\n color: var(--os-ink);\n}\n\n.os-btn-ghost:active:not(:disabled) {\n transform: scale(0.985);\n}\n\n.os-btn-ghost:disabled {\n opacity: 0.25;\n cursor: default;\n}\n\n/* Borderless soft cobalt toggle active button (matches Studio .oil-btn-active) */\n.os-btn-active {\n appearance: none;\n border: 1px solid transparent;\n background: var(--os-brand-soft);\n color: #1f5fbf;\n transition:\n background-color 140ms var(--os-ease),\n color 140ms var(--os-ease),\n transform 120ms var(--os-ease);\n}\n\n.os-btn-active:hover:not(:disabled) {\n background: #dfecff;\n color: #1851a8;\n}\n\n.os-btn-active:active:not(:disabled) {\n background: #d3e4ff;\n transform: scale(0.985);\n}\n\n.os-pill-well {\n border-radius: 999px;\n background: var(--os-well);\n color: var(--os-ink);\n}\n\n.os-pill-well:hover:not(:disabled) {\n background: var(--os-hover);\n color: var(--os-ink);\n}\n\n/* ── Single Internal Toolbar (48px, transparent over --os-paper) ── */\n.os-toolbar {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 6px;\n height: 48px;\n padding: 4px 14px 0;\n background: transparent;\n flex: none;\n z-index: 20;\n min-width: 0;\n}\n\n.os-toolbar-right {\n display: flex;\n align-items: center;\n gap: 5px;\n min-width: 0;\n flex-shrink: 1;\n}\n\n/* SegmentedControl (matches Studio SegmentedControl.tsx: borderless bg-well + 2px pad + 6px inner radius) */\n.os-segmented {\n display: inline-grid;\n grid-auto-flow: column;\n grid-auto-columns: minmax(0, 1fr);\n min-height: 32px;\n padding: 2px;\n border-radius: 8px;\n background: var(--os-well);\n user-select: none;\n flex: none;\n}\n\n.os-seg-btn {\n appearance: none;\n border: 0;\n background: transparent;\n color: var(--os-ink-2);\n font: inherit;\n font-size: 12.5px;\n font-weight: 500;\n line-height: 1;\n min-height: 28px;\n padding: 0 12px;\n border-radius: 6px;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 6px;\n white-space: nowrap;\n cursor: pointer;\n transition: color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;\n}\n\n.os-seg-btn:hover:not(:disabled) {\n color: var(--os-ink);\n}\n\n.os-seg-btn:disabled {\n opacity: 0.4;\n cursor: default;\n}\n\n.os-seg-btn[data-active=\"true\"] {\n background: var(--os-surface);\n color: var(--os-ink);\n box-shadow: var(--os-shadow-btn);\n}\n\n.os-seg-badge {\n font-family: var(--os-mono);\n font-size: 10.5px;\n font-variant-numeric: tabular-nums;\n color: var(--os-ink-3);\n}\n\n.os-tool-btn-max {\n max-width: 148px;\n}\n\n.os-tool-btn-label {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n/* Custom sleek deck menu popover */\n.os-deck-picker {\n position: relative;\n display: inline-flex;\n}\n\n.os-deck-menu {\n position: absolute;\n top: calc(100% + 6px);\n right: 0;\n min-width: 204px;\n max-width: 280px;\n padding: 6px;\n border-radius: 12px;\n border: 1px solid var(--os-line);\n background: var(--os-surface);\n box-shadow: var(--os-shadow-overlay);\n z-index: 60;\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n\n.os-deck-menu-item {\n appearance: none;\n border: 0;\n width: 100%;\n background: transparent;\n border-radius: 8px;\n padding: 7px 10px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 8px;\n font: inherit;\n font-size: 12px;\n color: var(--os-ink-2);\n text-align: left;\n cursor: pointer;\n transition: background-color 120ms ease, color 120ms ease;\n}\n\n.os-deck-menu-item:hover {\n background: var(--os-well);\n color: var(--os-ink);\n}\n\n.os-deck-menu-item[data-selected=\"true\"] {\n background: var(--os-brand-soft);\n color: var(--os-brand-tag-ink);\n font-weight: 500;\n}\n\n.os-deck-menu-name {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n min-width: 0;\n}\n\n.os-deck-menu-meta {\n font-family: var(--os-mono);\n font-size: 10.5px;\n font-variant-numeric: tabular-nums;\n color: var(--os-ink-3);\n flex: none;\n}\n\n.os-deck-menu-item[data-selected=\"true\"] .os-deck-menu-meta {\n color: var(--os-brand-tag-ink);\n opacity: 0.78;\n}\n\n@container (max-width: 720px) {\n .os-toolbar {\n padding: 4px 12px 0;\n }\n .os-seg-btn {\n padding: 0 9px;\n gap: 5px;\n }\n .os-tool-btn-max {\n max-width: 112px;\n }\n .os-export-html-label {\n display: none;\n }\n .os-export-html-btn {\n width: 28px;\n padding: 0;\n }\n}\n\n@container (max-width: 560px) {\n .os-seg-btn svg {\n display: none;\n }\n .os-seg-btn {\n padding: 0 8px;\n font-size: 12px;\n }\n .os-tool-btn-max {\n max-width: 92px;\n }\n}\n\n@container (max-width: 440px) {\n .os-toolbar {\n padding: 4px 8px 0;\n gap: 4px;\n }\n .os-toolbar-right {\n gap: 4px;\n }\n .os-btn-primary.os-btn-sm {\n padding: 0 8px;\n }\n .os-tool-btn-max {\n max-width: 72px;\n }\n}\n\n/* ── Main Content Container ───────────────────────────── */\n.os-content {\n position: relative;\n flex: 1 1 auto;\n min-height: 0;\n width: 100%;\n overflow: hidden;\n background: transparent;\n}\n\n.os-tab-pane {\n position: absolute;\n inset: 0;\n width: 100%;\n height: 100%;\n overflow: hidden;\n}\n\n/* ── Empty State: 16:9 Modern Luminous Cobalt Silk Studio Easel ── */\n.os-empty-stage {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n height: 100%;\n width: 100%;\n padding: 28px 24px;\n overflow-y: auto;\n}\n\n.os-empty-inner {\n width: 100%;\n max-width: 660px;\n}\n\n.os-easel {\n position: relative;\n width: 100%;\n aspect-ratio: 16 / 9;\n overflow: hidden;\n border-radius: 16px;\n border: 1px solid var(--os-line);\n background: var(--os-paper);\n box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);\n}\n\n.os-easel-bg {\n pointer-events: none;\n position: absolute;\n inset: 0;\n width: 100%;\n height: 100%;\n object-fit: cover;\n object-position: right center;\n opacity: 0.95;\n user-select: none;\n display: block;\n}\n\n.os-easel-fallback-bg {\n pointer-events: none;\n position: absolute;\n inset: 0;\n background:\n radial-gradient(70% 90% at 92% 20%, rgba(58, 131, 239, 0.14) 0%, rgba(58, 131, 239, 0) 72%),\n radial-gradient(58% 72% at 80% 88%, rgba(58, 131, 239, 0.1) 0%, rgba(58, 131, 239, 0) 68%);\n}\n\n.os-easel-veil {\n pointer-events: none;\n position: absolute;\n inset: 0;\n background: linear-gradient(\n 96deg,\n #ffffff 0%,\n #f9fbfe 38%,\n rgba(249, 251, 254, 0.68) 54%,\n rgba(249, 251, 254, 0.06) 80%,\n rgba(249, 251, 254, 0) 100%\n );\n}\n\n.os-easel-chrome {\n position: relative;\n z-index: 10;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n height: 100%;\n padding: 28px 32px;\n}\n\n.os-easel-top {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n\n.os-easel-brand {\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.os-easel-brand img {\n width: 24px;\n height: 24px;\n display: block;\n user-select: none;\n}\n\n.os-easel-brand-name {\n font-size: 12px;\n font-weight: 500;\n letter-spacing: -0.01em;\n color: rgba(20, 23, 31, 0.8);\n}\n\n.os-easel-ratio {\n font-family: var(--os-mono);\n font-size: 11px;\n letter-spacing: 0.08em;\n color: rgba(84, 91, 105, 0.6);\n}\n\n.os-easel-copy {\n max-width: 56%;\n}\n\n.os-easel-heading {\n margin: 0;\n font-family: var(--os-serif);\n font-size: 26px;\n font-weight: 600;\n line-height: 1.32;\n letter-spacing: -0.01em;\n color: var(--os-ink);\n}\n\n.os-easel-desc {\n margin: 10px 0 0;\n font-size: 14px;\n line-height: 1.7;\n color: var(--os-ink-2);\n}\n\n.os-easel-status {\n display: flex;\n align-items: center;\n gap: 8px;\n font-size: 12px;\n color: var(--os-ink-3);\n}\n\n.os-easel-dot {\n width: 6px;\n height: 6px;\n border-radius: 999px;\n background: rgba(58, 131, 239, 0.65);\n}\n\n.os-empty-steps {\n margin-top: 20px;\n padding: 0 4px;\n display: grid;\n grid-template-columns: repeat(3, minmax(0, 1fr));\n gap: 12px;\n}\n\n.os-empty-step-head {\n display: flex;\n align-items: center;\n gap: 6px;\n}\n\n.os-empty-step-num {\n font-family: var(--os-mono);\n font-size: 11px;\n font-variant-numeric: tabular-nums;\n color: var(--os-brand);\n}\n\n.os-empty-step-title {\n font-size: 12px;\n font-weight: 500;\n color: var(--os-ink);\n}\n\n.os-empty-step-desc {\n margin: 2px 0 0;\n font-size: 12px;\n line-height: 1.4;\n color: var(--os-ink-3);\n}\n\n@container (max-width: 460px) {\n .os-easel-chrome {\n padding: 18px 20px;\n }\n .os-easel-copy {\n max-width: 68%;\n }\n .os-easel-heading {\n font-size: 19px;\n }\n .os-easel-desc {\n font-size: 12px;\n margin-top: 6px;\n }\n .os-empty-steps {\n grid-template-columns: 1fr;\n gap: 10px;\n }\n}\n\n/* ── Live HTML Canvas Stage (matches Studio HtmlCanvasEditor.tsx) ── */\n.os-canvas-root {\n position: relative;\n height: 100%;\n width: 100%;\n overflow: hidden;\n background: transparent;\n user-select: none;\n outline: none;\n}\n\n.os-stage-frame {\n position: absolute;\n overflow: hidden;\n border-radius: 10px;\n background: var(--os-paper);\n box-shadow: var(--os-shadow-card);\n transition: box-shadow 200ms ease;\n}\n\n.os-stage-iframe {\n position: absolute;\n left: 50%;\n top: 50%;\n border: 0;\n background: transparent;\n transform-origin: center center;\n transition: opacity 180ms ease;\n}\n\n.os-stage-loading {\n position: absolute;\n inset: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n background: var(--os-paper);\n color: var(--os-ink-3);\n}\n\n/* ── Bottom SlideThumbStrip (matches Studio SlideThumbStrip.tsx) ── */\n.os-thumbstrip-anchor {\n pointer-events: none;\n position: absolute;\n left: 0;\n right: 0;\n bottom: 12px;\n z-index: 30;\n display: flex;\n justify-content: center;\n padding: 0 20px;\n}\n\n.os-thumbstrip-bar {\n pointer-events: auto;\n display: flex;\n align-items: center;\n gap: 6px;\n max-width: 100%;\n background: transparent;\n border: 0;\n padding: 0;\n box-shadow: none;\n}\n\n.os-strip-scroll {\n display: flex;\n align-items: center;\n gap: 4px;\n min-width: 0;\n overflow-x: auto;\n padding: 2px 4px;\n scrollbar-width: none;\n}\n\n.os-strip-scroll::-webkit-scrollbar {\n display: none;\n}\n\n.os-thumb-btn {\n appearance: none;\n border: 0;\n background: transparent;\n position: relative;\n flex: none;\n border-radius: 12px;\n padding: 5px;\n cursor: pointer;\n opacity: 0.82;\n transition: opacity 150ms ease, background-color 150ms ease;\n}\n\n.os-thumb-btn:hover {\n background: var(--os-well);\n opacity: 1;\n}\n\n.os-thumb-btn[data-active=\"true\"] {\n background: transparent;\n opacity: 1;\n}\n\n.os-thumb-viewport {\n position: relative;\n overflow: hidden;\n border-radius: 8px;\n border: 1px solid var(--os-line);\n transition: border-color 150ms ease, box-shadow 150ms ease;\n}\n\n.os-thumb-btn:hover .os-thumb-viewport {\n border-color: var(--os-line-strong);\n}\n\n.os-thumb-btn[data-active=\"true\"] .os-thumb-viewport {\n border-color: transparent;\n box-shadow: 0 0 0 2px var(--os-brand);\n}\n\n.os-thumb-iframe {\n pointer-events: none;\n position: absolute;\n left: 0;\n top: 0;\n border: 0;\n background: transparent;\n transform-origin: top left;\n}\n\n.os-thumb-placeholder {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n font-family: var(--os-mono);\n font-size: 11px;\n font-variant-numeric: tabular-nums;\n color: var(--os-ink-3);\n}\n\n.os-strip-divider {\n width: 1px;\n height: 20px;\n background: var(--os-line);\n margin: 0 2px;\n flex: none;\n}\n\n.os-strip-action {\n flex: none;\n}\n\n/* ── Reference Gallery (1:1 with Studio ReferenceGallery.tsx) ── */\n.os-gallery-scroll {\n height: 100%;\n width: 100%;\n overflow-y: auto;\n background: transparent;\n padding: 16px 24px 28px;\n}\n\n.os-gallery-scroll::-webkit-scrollbar {\n width: 6px;\n}\n\n.os-gallery-scroll::-webkit-scrollbar-thumb {\n background: rgba(20, 23, 31, 0.14);\n border-radius: 999px;\n}\n\n.os-gallery-empty {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n height: 100%;\n padding: 0 32px;\n text-align: center;\n}\n\n.os-gallery-empty-title {\n margin: 0;\n font-size: 14px;\n font-weight: 500;\n color: var(--os-ink);\n}\n\n.os-gallery-empty-desc {\n margin: 6px 0 0;\n max-width: 300px;\n font-size: 12px;\n line-height: 1.6;\n color: var(--os-ink-3);\n}\n\n.os-gallery-inner {\n max-width: 1040px;\n margin: 0 auto;\n}\n\n.os-gallery-meta {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 12px;\n margin-bottom: 16px;\n}\n\n.os-gallery-count {\n font-size: 12px;\n color: var(--os-ink-3);\n}\n\n.os-gallery-grid {\n display: grid;\n grid-template-columns: repeat(2, minmax(0, 1fr));\n gap: 20px;\n}\n\n@container (max-width: 540px) {\n .os-gallery-scroll {\n padding: 14px 14px 24px;\n }\n .os-gallery-grid {\n grid-template-columns: 1fr;\n gap: 16px;\n }\n}\n\n.os-ref-card {\n overflow: hidden;\n border-radius: 16px;\n border: 1px solid var(--os-line);\n background: var(--os-surface);\n transition:\n border-color 200ms ease,\n transform 200ms var(--os-ease);\n}\n\n.os-ref-card:hover {\n transform: translateY(-2px);\n border-color: var(--os-line-strong);\n}\n\n.os-ref-media {\n position: relative;\n width: 100%;\n aspect-ratio: 16 / 9;\n overflow: hidden;\n background: var(--os-well);\n cursor: zoom-in;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.os-ref-media-btn {\n appearance: none;\n border: 0;\n padding: 0;\n display: block;\n}\n\n.os-ref-media img {\n width: 100%;\n height: 100%;\n object-fit: cover;\n display: block;\n transition: transform 300ms var(--os-ease);\n}\n\n.os-ref-card:hover .os-ref-media img {\n transform: scale(1.018);\n}\n\n.os-ref-footer {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 8px;\n padding: 12px;\n}\n\n.os-ref-label {\n font-size: 12px;\n color: var(--os-ink-3);\n}\n\n.os-ref-actions {\n display: flex;\n align-items: center;\n gap: 6px;\n transition: opacity 150ms ease;\n}\n\n@media (hover: hover) {\n .os-ref-actions[data-pinned=\"false\"] {\n opacity: 0;\n }\n .os-ref-card:hover .os-ref-actions,\n .os-ref-card:focus-within .os-ref-actions {\n opacity: 1;\n }\n}\n\n.os-ref-btn {\n appearance: none;\n border: 0;\n height: 28px;\n padding: 0 10px;\n border-radius: 8px;\n background: var(--os-well);\n color: var(--os-ink-2);\n font: inherit;\n font-size: 12px;\n font-weight: 500;\n display: inline-flex;\n align-items: center;\n gap: 4px;\n cursor: pointer;\n transition:\n background-color 150ms var(--os-ease),\n color 150ms var(--os-ease),\n transform 120ms var(--os-ease);\n}\n\n.os-ref-btn:hover {\n background: var(--os-hover);\n color: var(--os-ink);\n}\n\n.os-ref-btn:active {\n transform: scale(0.985);\n}\n\n.os-ref-btn[data-copied=\"true\"] {\n background: var(--os-brand-soft);\n color: var(--os-brand-tag-ink);\n}\n\n/* Exploration pool */\n.os-explore-section {\n width: 100%;\n}\n\n.os-explore-divider {\n margin-top: 28px;\n padding-top: 20px;\n border-top: 1px solid var(--os-line);\n}\n\n.os-explore-head {\n margin-bottom: 12px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n\n.os-explore-title {\n font-size: 12px;\n font-weight: 500;\n color: var(--os-ink);\n}\n\n.os-explore-grid {\n display: grid;\n grid-template-columns: repeat(3, minmax(0, 1fr));\n gap: 16px;\n}\n\n@container (max-width: 720px) {\n .os-explore-grid {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n}\n\n@container (max-width: 480px) {\n .os-explore-grid {\n grid-template-columns: 1fr;\n }\n}\n\n.os-explore-name {\n font-family: var(--os-mono);\n font-size: 12px;\n color: var(--os-ink-2);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n min-width: 0;\n}\n\n.os-explore-opt {\n font-size: 11px;\n color: var(--os-ink-3);\n flex: none;\n}\n\n/* ── Studio-matched Lightbox Modal ─────────────────────── */\n.os-lightbox-backdrop {\n position: fixed;\n inset: 0;\n z-index: 9999;\n display: flex;\n align-items: center;\n justify-content: center;\n background: rgba(0, 0, 0, 0.76);\n backdrop-filter: blur(6px);\n padding: 24px;\n}\n\n.os-lightbox-stage {\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: center;\n max-width: 90vw;\n max-height: 90vh;\n}\n\n.os-lightbox-frame {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n border-radius: 12px;\n}\n\n.os-lightbox-img {\n max-width: 86vw;\n max-height: 78vh;\n border-radius: 12px;\n box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);\n object-fit: contain;\n display: block;\n}\n\n.os-lightbox-bar {\n margin-top: 12px;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 16px;\n font-size: 12px;\n color: rgba(255, 255, 255, 0.85);\n}\n\n.os-lightbox-info {\n display: flex;\n align-items: center;\n gap: 8px;\n min-width: 0;\n}\n\n.os-lightbox-label {\n font-weight: 500;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.os-lightbox-counter {\n font-family: var(--os-mono);\n font-size: 11px;\n font-variant-numeric: tabular-nums;\n color: rgba(255, 255, 255, 0.55);\n white-space: nowrap;\n}\n\n.os-lightbox-pager {\n display: flex;\n align-items: center;\n gap: 2px;\n padding: 2px;\n border-radius: 999px;\n border: 1px solid rgba(255, 255, 255, 0.15);\n background: rgba(255, 255, 255, 0.1);\n backdrop-filter: blur(8px);\n overflow-x: auto;\n max-width: 55vw;\n scrollbar-width: none;\n}\n\n.os-lightbox-pager::-webkit-scrollbar {\n display: none;\n}\n\n.os-lightbox-page-btn {\n appearance: none;\n border: 0;\n background: transparent;\n height: 24px;\n min-width: 26px;\n padding: 0 6px;\n border-radius: 999px;\n font-family: var(--os-mono);\n font-size: 11px;\n font-weight: 500;\n font-variant-numeric: tabular-nums;\n color: rgba(255, 255, 255, 0.72);\n cursor: pointer;\n flex: none;\n transition: background-color 140ms ease, color 140ms ease;\n}\n\n.os-lightbox-page-btn:hover {\n color: #ffffff;\n}\n\n.os-lightbox-page-btn[data-active=\"true\"] {\n background: var(--os-brand);\n color: #ffffff;\n}\n\n.os-lightbox-close-pill {\n appearance: none;\n border: 0;\n border-radius: 999px;\n background: rgba(255, 255, 255, 0.15);\n color: #ffffff;\n padding: 4px 12px;\n font: inherit;\n font-size: 12px;\n display: inline-flex;\n align-items: center;\n gap: 4px;\n cursor: pointer;\n flex: none;\n transition: background-color 140ms ease;\n}\n\n.os-lightbox-close-pill:hover {\n background: rgba(255, 255, 255, 0.25);\n}\n\n.os-lightbox-nav {\n appearance: none;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n z-index: 10;\n width: 40px;\n height: 40px;\n border-radius: 999px;\n border: 0;\n background: rgba(255, 255, 255, 0.14);\n color: #ffffff;\n backdrop-filter: blur(8px);\n display: inline-flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n padding: 0;\n transition: background-color 140ms ease, transform 120ms ease;\n}\n\n.os-lightbox-nav:hover {\n background: rgba(255, 255, 255, 0.24);\n}\n\n.os-lightbox-nav:active {\n transform: translateY(-50%) scale(0.95);\n}\n\n.os-lightbox-nav[data-dir=\"prev\"] {\n left: 20px;\n}\n\n.os-lightbox-nav[data-dir=\"next\"] {\n right: 20px;\n}\n\n/* ── Subtle Studio Pill Toast ─────────────────────────── */\n.os-toast {\n pointer-events: none;\n position: absolute;\n right: 16px;\n top: 12px;\n z-index: 70;\n border-radius: 999px;\n border: 1px solid var(--os-line);\n background: rgba(255, 255, 255, 0.95);\n padding: 6px 14px;\n font-size: 12px;\n font-weight: 500;\n color: var(--os-ink);\n box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);\n backdrop-filter: blur(12px);\n}\n\n/* ── Spinner & Tab Title Chip ─────────────────────────── */\n@keyframes os-spin {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n}\n\n.os-spinner {\n width: 13px;\n height: 13px;\n border: 1.6px solid currentColor;\n border-right-color: transparent;\n border-radius: 999px;\n display: inline-block;\n animation: os-spin 680ms linear infinite;\n}\n\n.oil-slide-title-chip {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n}\n\n/* ── Fullscreen Presentation Overlay ──────────────────── */\n.os-canvas-fullscreen {\n position: fixed !important;\n inset: 0 !important;\n z-index: 9999 !important;\n width: 100vw !important;\n height: 100vh !important;\n background: #0b0d11 !important;\n}\n\n.os-canvas-fullscreen .os-stage-frame {\n border-radius: 6px;\n box-shadow:\n 0 24px 80px rgba(0, 0, 0, 0.55),\n 0 0 0 1px rgba(255, 255, 255, 0.08);\n}\n\n.os-fs-close {\n position: fixed;\n top: 16px;\n right: 20px;\n z-index: 10001;\n width: 36px;\n height: 36px;\n border-radius: 999px;\n border: 1px solid rgba(255, 255, 255, 0.15);\n background: rgba(0, 0, 0, 0.55);\n color: rgba(255, 255, 255, 0.82);\n display: inline-flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n backdrop-filter: blur(10px);\n transition: background-color 140ms ease, color 140ms ease;\n}\n\n.os-fs-close:hover {\n background: rgba(0, 0, 0, 0.8);\n color: #ffffff;\n}\n\n.os-fs-controls {\n position: fixed;\n bottom: 16px;\n left: 50%;\n transform: translateX(-50%);\n z-index: 10001;\n display: inline-flex;\n align-items: center;\n gap: 6px;\n padding: 6px 12px;\n border-radius: 999px;\n border: 1px solid rgba(255, 255, 255, 0.12);\n background: rgba(0, 0, 0, 0.65);\n color: rgba(255, 255, 255, 0.9);\n box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);\n backdrop-filter: blur(12px);\n}\n\n.os-fs-btn {\n appearance: none;\n border: 0;\n background: transparent;\n width: 28px;\n height: 28px;\n border-radius: 999px;\n color: rgba(255, 255, 255, 0.85);\n display: inline-flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n transition: background-color 140ms ease;\n}\n\n.os-fs-btn:hover:not(:disabled) {\n background: rgba(255, 255, 255, 0.12);\n}\n\n.os-fs-btn:disabled {\n opacity: 0.3;\n cursor: not-allowed;\n}\n\n.os-fs-counter {\n min-width: 54px;\n text-align: center;\n font-family: var(--os-mono);\n font-size: 12px;\n font-variant-numeric: tabular-nums;\n letter-spacing: 0.04em;\n color: rgba(255, 255, 255, 0.85);\n}\n\n.os-fs-divider {\n width: 1px;\n height: 16px;\n background: rgba(255, 255, 255, 0.15);\n margin: 0 2px;\n}\n\n.os-fs-exit {\n appearance: none;\n border: 0;\n background: transparent;\n height: 28px;\n padding: 0 10px;\n border-radius: 999px;\n color: rgba(255, 255, 255, 0.9);\n font: inherit;\n font-size: 12px;\n font-weight: 500;\n display: inline-flex;\n align-items: center;\n gap: 6px;\n cursor: pointer;\n transition: background-color 140ms ease, color 140ms ease;\n}\n\n.os-fs-exit:hover {\n background: rgba(255, 255, 255, 0.12);\n}\n\n.os-fs-exit[data-active=\"true\"] {\n background: rgba(255, 255, 255, 0.92);\n color: var(--os-ink);\n}\n\n/* ── Studio-matched Light Draft vs HTML Split-Curtain Compare ── */\n.os-compare-overlay {\n position: absolute;\n inset: 0;\n z-index: 25;\n user-select: none;\n container-type: inline-size;\n}\n\n.os-compare-img {\n pointer-events: none;\n position: absolute;\n inset: 0;\n width: 100%;\n height: 100%;\n object-fit: cover;\n display: block;\n}\n\n.os-compare-scrubber {\n position: absolute;\n inset: 0;\n cursor: ew-resize;\n touch-action: pan-y;\n}\n\n.os-compare-scrubber:focus-visible {\n outline: 2px solid var(--os-brand);\n outline-offset: -3px;\n}\n\n.os-compare-divider {\n pointer-events: none;\n position: absolute;\n top: 0;\n bottom: 0;\n transform: translateX(-50%);\n}\n\n.os-compare-line {\n width: 2px;\n height: 100%;\n background: var(--os-surface);\n box-shadow:\n 0 0 0 1px rgba(20, 23, 31, 0.32),\n 0 2px 12px rgba(0, 0, 0, 0.28);\n}\n\n.os-compare-handle {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n width: 36px;\n height: 36px;\n border-radius: 999px;\n background: var(--os-brand);\n color: var(--os-surface);\n display: flex;\n align-items: center;\n justify-content: center;\n box-shadow:\n 0 6px 20px rgba(20, 56, 128, 0.28),\n 0 0 0 2px rgba(255, 255, 255, 0.95);\n}\n\n/* Light bottom-corner badges matching Studio HtmlCanvasEditor.tsx */\n.os-compare-badge {\n pointer-events: none;\n position: absolute;\n bottom: 12px;\n border-radius: 8px;\n border: 1px solid var(--os-line);\n background: var(--os-surface);\n color: var(--os-ink-2);\n padding: 4px 10px;\n font-size: 12px;\n font-weight: 500;\n box-shadow: var(--os-shadow-btn);\n}\n\n.os-compare-badge-left {\n left: 12px;\n}\n\n.os-compare-badge-right {\n right: 12px;\n}\n\n@container (max-width: 640px) {\n .os-compare-badge {\n bottom: 52px;\n padding: 3px 8px;\n font-size: 11px;\n }\n}\n\n.os-compare-empty {\n pointer-events: none;\n position: absolute;\n left: 50%;\n bottom: 56px;\n transform: translateX(-50%);\n border-radius: 8px;\n border: 1px solid var(--os-line);\n background: var(--os-surface);\n color: var(--os-ink-2);\n padding: 6px 12px;\n font-size: 12px;\n font-weight: 500;\n display: inline-flex;\n align-items: center;\n gap: 6px;\n box-shadow: var(--os-shadow-btn);\n}\n\n.os-compare-controls {\n position: absolute;\n bottom: 12px;\n left: 50%;\n transform: translateX(-50%);\n z-index: 30;\n display: inline-flex;\n align-items: center;\n gap: 6px;\n}\n\n.os-compare-segmented {\n border: 1px solid var(--os-line);\n box-shadow: var(--os-shadow-raised);\n}\n\n.os-compare-close {\n width: 32px;\n height: 32px;\n padding: 0;\n border-radius: 8px;\n color: var(--os-ink-2);\n display: inline-flex;\n align-items: center;\n justify-content: center;\n box-shadow: var(--os-shadow-raised);\n cursor: pointer;\n}\n\n.os-compare-close:hover {\n color: var(--os-ink);\n}\n\n@media (prefers-reduced-motion: reduce) {\n .os-workspace *,\n .os-workspace *::before,\n .os-workspace *::after {\n transition-duration: 0.01ms !important;\n }\n}\n\n/* Staged PPT creation, independent from the legacy HTML export toolbar. */\n.os-workflow { padding: 12px 16px; display: grid; gap: 9px; flex: 0 0 auto; border-bottom: 1px solid color-mix(in srgb, currentColor 15%, transparent); }\n.os-workflow p, .os-workflow ol { margin: 0; }\n.os-workflow-steps { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 0; list-style: none; font-size: 12px; }\n.os-workflow-steps li { opacity: .64; }\n.os-workflow-steps li[aria-current=\"step\"] { opacity: 1; font-weight: 700; }\n.os-workflow-outline { max-height: 180px; overflow: auto; padding: 8px 8px 0 27px; }\n.os-workflow-outline li { padding: 2px 0 6px; }\n.os-workflow-outline span { display: block; white-space: pre-wrap; font-size: .9em; margin-top: 3px; }\n.os-workflow-actions { display: flex; flex-wrap: wrap; row-gap: 8px; column-gap: 8px; align-items: center; }\n.os-workflow-actions:empty { display: none; }\n.os-workflow-actions select { margin-inline-start: 6px; }\n\n.os-channel-tools { display: flex; justify-content: flex-end; padding: 5px 12px; }\n.os-image-settings {\n display: flex;\n flex-direction: column;\n gap: 14px;\n min-height: 0;\n padding: 16px;\n overflow: auto;\n font-size: 13px;\n}\n.os-image-settings h3, .os-image-settings h4, .os-image-settings p { margin: 0; }\n.os-image-settings h3 { font-size: 19px; font-weight: 650; }\n.os-image-settings h4 { font-size: 14px; font-weight: 650; }\n.os-image-settings p, .os-image-section-title > span, .os-image-detect > span {\n color: var(--os-ink-2);\n font-size: 12px;\n line-height: 1.5;\n}\n.os-image-heading, .os-image-section-title, .os-image-actions, .os-image-detect, .os-image-model-tools {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: 8px;\n}\n.os-image-heading, .os-image-section-title { justify-content: space-between; }\n.os-image-heading > div { display: grid; gap: 3px; min-width: 0; }\n.os-image-heading { align-items: flex-start; flex-wrap: nowrap; }\n.os-image-heading > button { flex-shrink: 0; }\n.os-image-editor, .os-image-card, .os-image-catalog { display: grid; gap: 10px; min-width: 0; }\n.os-image-card {\n margin: 0;\n padding: 12px;\n border: 1px solid var(--os-line);\n border-radius: 10px;\n background: var(--os-surface);\n}\n.os-image-actions { justify-content: flex-end; }\n.os-image-card label { display: grid; gap: 4px; font-size: 12px; }\n.os-image-card .os-image-checkbox { display: flex; align-items: center; gap: 8px; overflow-wrap: anywhere; }\n.os-image-card input:not([type=checkbox]), .os-image-card select {\n min-width: 0;\n width: 100%;\n padding: 7px 9px;\n color: var(--os-ink);\n background: var(--os-surface);\n border: 1px solid var(--os-line-strong);\n border-radius: 6px;\n font: inherit;\n}\n.os-image-model-tools :is(input, select) { flex: 1 1 128px; }\n.os-image-model-list .os-image-badge { margin-left: auto; flex-shrink: 0; }\n.os-image-model-list {\n display: grid;\n gap: 6px;\n max-height: 185px;\n overflow: auto;\n padding: 8px;\n border: 1px solid var(--os-line);\n border-radius: 6px;\n}\n.os-image-rows, .os-image-chips { list-style: none; margin: 0; padding: 0; }\n.os-image-row {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: 8px;\n padding: 9px 0;\n border-top: 1px solid var(--os-line);\n}\n.os-image-row-text { display: grid; gap: 2px; flex: 1 1 120px; min-width: 0; overflow-wrap: anywhere; }\n.os-image-row-text > span { color: var(--os-ink-2); font-size: 11px; }\n.os-image-badge, .os-image-chips li {\n padding: 3px 7px;\n border-radius: 5px;\n background: var(--os-well);\n color: var(--os-ink-2);\n font-size: 11px;\n}\n.os-image-badge-default { background: var(--os-brand-soft); color: var(--os-brand-tag-ink); }\n.os-image-chips { display: flex; flex-wrap: wrap; gap: 5px; }\n.os-image-chips li { display: inline-flex; align-items: center; gap: 6px; overflow-wrap: anywhere; min-width: 0; }\n.os-image-chips button { color: inherit; border: 0; background: transparent; cursor: pointer; }\n.os-image-settings .os-image-error {\n padding: 8px 10px;\n border: 1px solid var(--os-line-strong);\n border-radius: 6px;\n color: var(--os-ink);\n}\n\n.os-design-controls { padding: 0 10px 10px; }\n.os-review-actions, .os-review-bar, .os-review-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }\n.os-new-designs { margin-top: 12px; }\n.os-design-history, .os-feedback { display: grid; gap: 8px; margin: 10px 0; }\n.os-feedback textarea, .os-feedback select, .os-design-history select, .os-review-bar select {\n color: inherit; background: var(--os-surface, Canvas); font: inherit; border: 1px solid var(--os-border, #aab2bd);\n border-radius: 6px; padding: 6px 8px; max-width: 100%; box-sizing: border-box;\n}\n.os-feedback textarea { width: 100%; resize: vertical; }\n.os-slide-review { box-sizing: border-box; height: 100%; overflow: auto; padding: 12px; display: grid; gap: 10px; align-content: start; min-width: 0; }\n.os-review-bar { justify-content: space-between; }\n.os-review-stage { background: rgba(128,128,128,.09); border-radius: 8px; overflow: hidden; }\n.os-review-image { display: grid; place-items: center; width: 100%; min-height: 24px; }\n.os-review-image img { display: block; max-width: 100%; max-height: 55vh; object-fit: contain; }\n.os-review-stage img { width: 100%; }\n.os-review-nav { justify-content: center; font-variant-numeric: tabular-nums; }\n.os-review-strip { display: flex; gap: 6px; overflow-x: auto; padding: 3px; }\n.os-review-strip button { flex: 0 0 80px; background: transparent; color: inherit; padding: 3px; border: 1px solid transparent; border-radius: 5px; cursor: pointer; }\n.os-review-strip .os-review-image { height: 48px; }\n.os-review-strip img { max-height: 48px; }\n.os-review-strip [aria-current=\"page\"] { border-color: var(--os-accent, #477beb); }\n.os-review-theater { position: fixed; inset: 0; z-index: 10000; background: var(--os-surface, Canvas); overflow: auto; }\n.os-review-theater .os-review-stage img { max-height: 72vh; }\n\n.os-outline-editor { max-height: 48vh; overflow: auto; }\n.os-outline-editor fieldset { border: 0; padding: 0; min-width: 0; }\n.os-outline-editor ol { list-style: none; margin: 8px 0; padding: 0; }\n.os-outline-editor li, .os-brand-form { background: var(--os-surface); padding: 9px; border: 1px solid var(--os-line); border-radius: 8px; margin-bottom: 6px; display: grid; gap: 6px; }\n.os-outline-editor [draggable] { cursor: grab; margin-right: auto; font-variant-numeric: tabular-nums; }\n.os-outline-editor input, .os-outline-editor textarea { width: 100%; box-sizing: border-box; font: inherit; color: inherit; background: var(--os-paper); border: 1px solid var(--os-line-strong); border-radius: 5px; padding: 6px; }\n.os-brand-form label { display: grid; gap: 4px; }\n.os-outline-editor button:not(.os-btn-primary), .os-region-review button:not(.os-btn-primary) { border-radius: 5px; padding: 3px 7px; border: 1px solid var(--os-line-strong); background: var(--os-surface); color: var(--os-ink); cursor: pointer; }\n.os-region-stage { display:flex; justify-content:center; }\n.os-region-surface { position:relative; width:fit-content; max-width:100%; align-self:center; }\n.os-region-stage .os-region-surface img { width:auto; max-width:100%; pointer-events:none; }\n.os-region-surface.is-drawing { touch-action:none; user-select:none; cursor:crosshair; }\n.os-region-box { position:absolute; pointer-events:none; border:2px solid var(--os-brand); box-sizing:border-box; background:rgba(58,131,239,.12); }\n.os-region-review { padding:8px 12px; border:1px solid var(--os-line); border-radius:8px; }\n\n/* Staged presentation workspace */\n.os4 * { box-sizing:border-box; }\n.os4 button, .os4 select, .os4 input, .os4 textarea { font:inherit; color:inherit; }\n.os4 button, .os4 select { cursor:pointer; }\n.os4 button { border:1px solid #dfe5df; border-radius:8px; background:white; padding:7px 13px; white-space:nowrap; display:inline-flex; gap:8px; align-items:center; justify-content:center; font-weight:600; }\n.os4 button:hover { border-color:#86a797; background:#f4f8f4; }\n.os4 button:focus-visible, .os4 select:focus-visible { outline:2px solid #2c785b; outline-offset:2px; }\n.os4 button.primary { background:#205341; border-color:#205341; color:white; padding:10px 16px; }\n.os4 button.primary:hover { background:#143d2f; }\n.os4 button.ghost { background:transparent; border-color:transparent; color:#536358; }\n.os4 button:disabled { opacity:.43; cursor:not-allowed; }\n.os4 .bar, .os4 .foot { display:flex; align-items:center; justify-content:space-between; padding:14px 30px; background:#fff; }\n.os4 .bar { border-bottom:1px solid #e6ebe6; min-height:62px; }\n.os4 .brand, .os4 .barRight, .os4 .group, .os4 .smallrow { display:flex; align-items:center; gap:10px; }\n.os4 .brand strong { font-size:18px; letter-spacing:-.65px; }\n.os4 .brand small { border-left:1px solid #dce5df; padding-left:12px; color:#5f6f65; }\n.os4 .logomark { width:28px; height:28px; background:#dbeadd; border-radius:8px; color:#205341; display:grid; place-items:center; }\n.os4 .icon { width:16px; height:16px; display:inline-block; vertical-align:middle; flex:none; }\n.os4 .steps { display:grid; grid-template-columns:repeat(4,1fr); gap:6px; padding:0 30px; background:#fff; border-bottom:1px solid #e6ebe6; }\n.os4 .step { display:flex; align-items:center; justify-content:flex-start; gap:9px; border:0; border-bottom:2px solid transparent; background:transparent; border-radius:0; padding:11px 12px; color:#607066; }\n.os4 .step:hover { border-color:#96baa5; }\n.os4 .step.current { background:#f3f7f1; color:#205341; border-color:#347359; }\n.os4 .step span:first-child { width:24px; height:24px; border:1px solid #dce5dd; border-radius:7px; display:grid; place-items:center; font-size:11px; font-variant-numeric:tabular-nums; }\n.os4 .step.current span:first-child { background:#205341; color:white; border-color:#205341; }\n.os4 .step.done span:first-child { background:#e9f2ea; color:#2b664e; }\n.os4 .step em { font-style:normal; font-size:11px; color:#6e7e74; font-weight:400; margin-left:4px; }\n.os4 main { padding:24px 30px 20px; flex:1; }\n.os4 .intro { display:flex; align-items:flex-end; justify-content:space-between; margin-bottom:18px; gap:12px; }\n.os4 .eyebrow { font-size:11px; letter-spacing:1.5px; color:#537364; font-weight:700; display:flex; align-items:center; gap:8px; }\n.os4 .eyebrow:before { content:\"\"; width:15px; height:1px; background:#6f9b83; }\n.os4 .intro h1 { margin:4px 0 3px; font-size:30px; line-height:1.3; letter-spacing:-1.1px; }\n.os4 .intro p { margin:0; color:#5c6c61; }\n.os4 .work { display:grid; grid-template-columns:224px minmax(0,1fr); gap:14px; align-items:stretch; min-height:480px; }\n.os4 .panel { background:white; border:1px solid #dfe7df; border-radius:12px; overflow:hidden; min-width:0; }\n.os4 .phead { display:flex; align-items:center; justify-content:space-between; padding:12px 15px; gap:8px; border-bottom:1px solid #ebefea; min-height:54px; }\n.os4 .phead strong { font-size:14px; }\n.os4 .muted { font-size:12px; color:#68776d; }\n.os4 .badge { display:inline-flex; align-items:center; gap:5px; white-space:nowrap; padding:3px 8px; border-radius:5px; background:#edf4ea; color:#37644c; font-size:11px; font-weight:700; }\n.os4 .badge.gray { background:#eff1ed; color:#667267; }\n.os4 .badge.warn { background:#fff1d7; color:#79520e; }\n.os4 .leftinner { padding:8px; }\n.os4 .listbtn { display:flex; width:100%; justify-content:flex-start; border-color:transparent; white-space:normal; text-align:left; min-height:48px; padding:8px; gap:8px; }\n.os4 .listbtn.active { background:#edf4ec; border-color:#d1e2d4; color:#1e533e; }\n.os4 .listbtn .num { font:11px/1 ui-monospace,monospace; color:#658174; }\n.os4 .listbtn .label { flex:1; }\n.os4 .listbtn .grip { color:#9da9a1; }\n.os4 .asideFoot { padding:10px 11px; border-top:1px solid #edf0ec; }\n.os4 .asideFoot button { width:100%; }\n.os4 .form { padding:15px 19px; }\n.os4 .field { display:block; margin:0 0 13px; font-weight:650; font-size:12px; }\n.os4 .field span { display:block; margin-bottom:5px; color:#45564b; }\n.os4 .field input, .os4 .field textarea { display:block; width:100%; border:1px solid #dce5dd; border-radius:8px; background:#fcfdfa; padding:8px 10px; outline:none; font-size:14px; }\n.os4 .field input:focus, .os4 .field textarea:focus { border-color:#568768; }\n.os4 .field textarea { resize:vertical; min-height:100px; }\n.os4 .settingsBand { display:flex; align-items:center; gap:13px; flex-wrap:wrap; padding:11px 12px; border:1px solid #e3ebe3; background:#f5f8f2; border-radius:8px; }\n.os4 .settingsBand label { font-size:12px; color:#475e51; font-weight:600; display:flex; align-items:center; gap:9px; }\n.os4 .settingsBand select { border:1px solid #dbe4db; border-radius:6px; background:#fff; padding:4px 7px; max-width:180px; }\n.os4 .seg { display:inline-flex; gap:2px; border:1px solid #dbe5dc; background:#f2f5f0; border-radius:7px; padding:2px; }\n.os4 .seg button { background:transparent; border:0; font-size:12px; padding:4px 9px; border-radius:5px; }\n.os4 .seg button.active { background:#fff; box-shadow:0 1px 2px #20382922; color:#215640; }\n.os4 .hint { padding:9px 12px; border-left:2px solid #82a890; background:#f4f8f2; color:#4c6556; font-size:12px; }\n.os4 .stageside { display:flex; flex-direction:column; }\n.os4 .stagebody { padding:12px 14px 11px; background:#eef2ed; display:grid; place-items:center; min-height:330px; }\n.os4 .stagebody.compare { grid-template-columns:1fr 1fr; gap:12px; align-content:center; }\n.os4 .candidate { display:block; width:100%; text-align:left; padding:7px; margin-bottom:7px; border-radius:8px; }\n.os4 .candidate.active { background:#edf5ec; border-color:#8ab29b; color:#235642; }\n.os4 .cmeta { display:flex; align-items:center; justify-content:space-between; gap:5px; padding:5px 1px 0; }\n.os4 .cmeta span { font-size:12px; }\n.os4 .stagefoot { padding:8px 12px; display:flex; justify-content:space-between; align-items:center; gap:7px; border-top:1px solid #e7eee7; background:white; }\n.os4 .stagefoot button { font-size:12px; padding:5px 9px; }\n.os4 .pagenav { font-variant-numeric:tabular-nums; }\n.os4 .layers { padding:9px; }\n.os4 .layers button { width:100%; justify-content:space-between; margin-bottom:7px; font-size:12px; }\n.os4 .layers button.active { border-color:#8eb6a0; background:#edf5ed; }\n.os4 .layers hr { border:0; border-top:1px solid #e6ede6; margin:9px 0; }\n.os4 .previewThumb { display:grid; grid-template-columns:73px 1fr; gap:8px; align-items:center; }\n.os4 .previewThumb span span { display:block; }\n.os4 .previewThumb .num { display:block; margin-bottom:4px; }\n.os4 .splitbar { display:flex; gap:10px; justify-content:space-between; padding:0 10px; align-items:center; }\n.os4 .bottomnote { display:flex; flex-direction:column; gap:2px; }\n.os4 .bottomnote b { font-size:13px; color:#314b3d; }\n.os4 .foot { min-height:70px; border-top:1px solid #e1e9e0; position:sticky; bottom:0; z-index:3; }\n.os4 .foot small { color:#596c60; }\n.os4 .statusdot { width:7px; height:7px; border-radius:50%; background:#528768; display:inline-block; margin-right:5px; }\n.os4 dialog { width:min(440px,92vw); border:1px solid #d6e4d8; border-radius:13px; padding:18px; box-shadow:0 20px 80px #10251833; }\n.os4 dialog::backdrop { background:#16271e55; }\n.os4 dialog textarea { width:100%; min-height:90px; padding:10px; border:1px solid #dbe5dc; border-radius:7px; }\n.os4 button.remove { padding:5px 8px; font-size:12px; }\n.os4 .sidehint { margin:8px 7px; color:#68776d; font-size:11px; }\n.os4 .tiny { font-size:11px; }\n@container (max-width: 650px) {\n.os4 .bar, .os4 .foot { padding:10px 14px; }\n.os4 .steps { padding:0 10px; }\n.os4 .step { padding:8px 5px; gap:4px; justify-content:center; font-size:12px; }\n.os4 .step em, .os4 .brand small { display:none; }\n.os4 main { padding:15px 12px; }\n.os4 .intro h1 { font-size:23px; }\n.os4 .intro { align-items:flex-start; flex-wrap:wrap; }\n.os4 .work { grid-template-columns:minmax(0,1fr); min-height:0; }\n.os4 .leftinner { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:5px; }\n.os4 .stagebody { min-height:0; }\n.os4 .foot { position:static; gap:8px; flex-wrap:wrap; }\n.os4 .phead { min-height:42px; padding:8px 11px; }\n.os4 .barRight button { font-size:12px; padding:5px 8px; }\n.os4 .stagefoot { flex-wrap:wrap; }\n}\n.os-studio-host { min-height: 0; height: 100%; overflow: hidden; }\n.os4 {\n container-type: inline-size; flex: 1; display: flex; flex-direction: column;\n width: 100%; height: 100%; min-width: 0; min-height: 0;\n background: #fbfcf9; color: #202923; color-scheme: light;\n font: 14px/1.55 Inter, -apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Microsoft Yahei\", sans-serif;\n --os-brand: #205341; --os-ink: #202923;\n}\n.os4 > main { min-height: 0; overflow: auto; scrollbar-gutter: stable; }\n.os4 > .bar, .os4 > .steps, .os4 > .foot { flex: none; }\n.os4 .work { min-height: min(430px, 55vh); grid-template-columns: clamp(155px, 24cqw, 224px) minmax(0,1fr); }\n.os4 .rail { display: flex; flex-direction: column; align-self: start; }\n.os4 .leftinner { overflow: auto; max-height: 58vh; }\n.os4 .listbtn .label { min-width: 0; word-break: break-word; line-height: 1.4; }\n.os4 .form { margin: 0; border: 0; min-width: 0; }\n.os4 .field input, .os4 .field textarea { color: #202923; font-weight: 400; line-height: 1.55; }\n.os4 .move-actions, .os4 .project-switch, .os4 .sync-row { display: flex; gap: 8px; align-items: center; }\n.os4 .move-actions { margin-top: 12px; }\n.os4 .move-actions button, .os4 .project-switch :is(select,button) { font-size: 12px; }\n.os4 .project-switch { padding: 6px 16px; border-bottom: 1px solid #e6ebe6; }\n.os4 .project-switch select { max-width: 70%; }\n.os4 .foot { position: static; gap: 10px; }\n.os4 .foot .group, .os4 .stagefoot, .os4 .stagefoot .group { flex-wrap: wrap; }\n.os4 .stagebody { min-height: clamp(200px, 32cqw, 340px); }\n.os4 .stagebody.compare { grid-template-columns: repeat(auto-fit,minmax(min(170px,100%),1fr)); }\n.os4 .compare-item { display: grid; white-space: normal; width: 100%; }\n.os4 .compare-item.active { border-color: #347359; }\n.os4 .image-zoom { background: none; border: none; padding: 0; width: 100%; cursor: zoom-in; }\n.os4 .candidate .os-review-image img { max-height: 115px; }\n.os4 .previewThumb .os-review-image img { max-height: 52px; }\n.os4 .stagebody img, .os4 .studio-dialog img { height: auto; max-width: 100%; display: block; }\n.os4 .stagebody .os-review-stage { padding: 0; border: none; background: transparent; min-width: 0; width: 100%; }\n.os4 .review-body > :is(.os-feedback,.os-region-review) { width: 100%; }\n.os4 .thumb-empty, .os4 .empty-preview { padding: 13px; color: #68776d; text-align: center; white-space: normal; }\n.os4 .style-notes, .os4 .os-design-controls, .os4 .os-feedback { margin: 8px 14px; }\n.os4 .style-notes p { white-space: pre-wrap; overflow-wrap: anywhere; }\n.os4 details summary { cursor: pointer; font-weight: 600; }\n.os4 .preview-tabs { align-self: flex-start; margin: 10px 14px; }\n/* Both versions share a slide-sized frame so the divider tracks the image at any zoom. */\n.os4 .editable-compare-body { gap: 8px; grid-template-columns: minmax(0, 1fr); align-content: center; }\n.os4 .editable-compare-frame {\n position: relative;\n max-width: 100%;\n width: fit-content;\n isolation: isolate;\n overflow: hidden;\n border-radius: 3px;\n box-shadow: 0 1px 5px #1d332634;\n}\n.os4 .editable-compare-frame .editable-compare-base { width: auto; max-height: 55vh; }\n.os4 .editable-compare-frame .editable-compare-layer { height: 100%; object-fit: fill; }\n.os4 .editable-compare-frame .os-compare-badge { bottom: 8px; font-size: 11px; }\n.os4 .editable-compare-frame .os-compare-handle { width: 30px; height: 30px; }\n.os4 .editable-compare-status { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px 10px; color: var(--os-ink-2); font-size: 12px; }\n.os4 .studio-dialog .editable-compare-body { min-height: 0; }\n.os4 .studio-dialog .editable-compare-base { max-height: 64vh; }\n.os4 .studio-dialog .editable-compare-body + .pagenav { justify-content: center; margin-top: 8px; }\n.os4 .object-box { position: absolute; border: 2px solid #267a5c; background: #29b47820; pointer-events: none; }\n.os4 .object-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(150px,100%),1fr)); gap: 6px; max-height: 170px; overflow: auto; margin-top: 8px; }\n.os4 .object-list button { min-width: 0; margin: 0; }\n.os4 .object-list button span { overflow: hidden; text-overflow: ellipsis; }\n.os4 .sync-row { margin-top: 8px; }\n.os4 .sync-row button { width: auto; margin: 0; }\n.os4 .studio-dialog { padding: 0; max-height: 88vh; overflow: auto; color: #202923; background: #fff; }\n.os4 .studio-dialog.wide { width: min(900px,92vw); }\n.os4 .dialog-body { padding: 15px; }\n.os4 .dialog-body .os-image-settings { height: auto; max-height: none; padding: 0; }\n.os4 .brand-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px solid #e6ebe6; }\n.os4 .brand-row small { display: block; }\n.os4 .brand-row + .group { margin-top: 10px; }\n.os4 .phead strong { min-width: 0; overflow-wrap: anywhere; }\n.os4 .pagenav { flex-shrink: 0; font-size: 12px; }\n.os4 .os-btn-primary { background: #205341; color: #fff; }\n@container (max-width: 650px) {\n .os4 .work { grid-template-columns: minmax(0,1fr); min-height: 0; gap: 10px; }\n .os4 .leftinner { max-height: 126px; align-content: start; }\n .os4 .candidate .os-review-image img { max-height: 64px; }\n .os4 .stagebody { min-height: 150px; }\n .os4 .foot { padding: 8px 12px; min-height: auto; }\n .os4 .bottomnote small { display: none; }\n .os4 .form { padding: 12px; }\n}\n@container (max-width: 430px) {\n .os4 .bar, .os4 > main { padding-left: 9px; padding-right: 9px; }\n .os4 .barRight, .os4 .brand, .os4 .pagenav, .os4 .group { gap: 4px; }\n .os4 .step { gap: 3px; padding: 8px 1px; }\n .os4 .step span:first-child { width: 18px; height: 18px; font-size: 10px; }\n .os4 .previewThumb { grid-template-columns: 45px minmax(0,1fr); }\n .os4 .foot .group { width: 100%; justify-content: flex-end; }\n .os4 .foot button { padding: 7px 9px; font-size: 12px; }\n .os4 .intro p { font-size: 12px; }\n}\n");
|
|
10964
11105
|
// src/client/index.tsx
|
|
10965
|
-
const TAB_ID =
|
|
11106
|
+
const TAB_ID = "dsh-oil-slide";
|
|
10966
11107
|
const TAB_KIND = "oil-slide";
|
|
10967
11108
|
function createLocaleStore(ctx) {
|
|
10968
11109
|
const readLocale = () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dickpy/dsh-oil-slide",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.8",
|
|
4
4
|
"description": "Oil Slide plugin for DeepSeek Harness with a Studio-aligned design draft gallery, live HTML slide canvas, offline HTML export, and editable native PPTX export",
|
|
5
5
|
"author": "Oil Oil",
|
|
6
6
|
"homepage": "https://github.com/dickpy/oil-slide#readme",
|