:root{font-family:'Yuanti SC',STYuanti,'Avenir Next','PingFang SC',sans-serif;color:#173f73;background:#fffaf0}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.4}a{color:inherit}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #438ac7;outline-offset:3px}[hidden]{display:none!important}
#canvasArea{height:100%;display:flex;flex-direction:column;padding:20px 24px 12px;min-height:0;gap:8px}.canvas-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.trial{font-size:11px;color:#71859d;border:1px solid #d7e1e6;padding:4px 9px;border-radius:20px}.bookmark-stage{position:relative;isolation:isolate;flex:1;min-height:120px;overflow:hidden;border:1px solid #dfe8eb;border-radius:15px;background:#d9e1e7}#preview{position:absolute;inset:0;display:block;width:100%;height:100%;touch-action:pan-y}#model-view{position:absolute;inset:0;width:100%;height:100%;background:#eaf0f2}#model-view canvas{width:100%;height:100%;touch-action:none}.stage-caption{position:absolute;left:16px;bottom:22px;color:#526d81;font-size:11px;pointer-events:none}.bookmark-specs{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:7px 1px;color:#617589;font-size:12px}.bookmark-specs strong{font-weight:500;color:#173f73;margin-left:4px}.model-messages{min-height:22px;font-size:12px;line-height:1.5}.model-messages p{margin:0}#status{color:#617589;font-size:11px}#warning{color:#795944}#error,#color-error{color:#a14553}#warning:empty,#error:empty{display:none}.bookmark-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:5px 0}.bookmark-presets button{display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0;padding:9px 5px;border:1px solid transparent;border-radius:12px;background:#eaf2f6;color:#173f73}.bookmark-presets button[aria-pressed=true]{border-color:#438ac7;background:#dcebf5}.bookmark-presets img{width:100%;height:auto;mix-blend-mode:multiply}.bookmark-presets span{font-size:12px}#my-artwork img{width:100%;max-height:200px;object-fit:contain}.help{font-size:12px;line-height:1.7;color:#64798e}.zl-panel label{display:block;font-size:13px;margin:12px 0 6px}.zl-panel select,.zl-panel input:not([type=color]):not([type=file]):not([type=range]):not([type=radio]){width:100%;padding:10px 12px;border:1px solid #d6dbda;border-radius:9px;background:#fffdf7;min-height:44px}.zl-panel input[type=range]{width:100%;accent-color:#438ac7}.range-label{display:flex!important;justify-content:space-between}.zl-panel details>summary{cursor:pointer;font:20px/1.5 ZaobaLayout,sans-serif;padding:14px 0}.zl-panel details{padding-bottom:15px;border-bottom:1px solid #e7e1d5}.secondary{display:block;width:100%;min-height:44px;padding:9px 12px;margin:10px 0;border:1px solid #b9cddc;background:transparent;border-radius:10px;font-size:13px}html body .ze-standard-surface :is(#add-image,#add-text).ze-add-content{background:#e0eefb!important}#inline-text{left:50%;top:56%;transform:translate(-50%,-50%);width:130px;font-size:22px}html body .ze-standard-surface .ze-view-modes{margin:0 auto 5px}html body .ze-standard-surface .ze-history{bottom:12px!important;right:12px!important}.ze-save-status[hidden]{display:none!important}
@media(max-width:760px){#canvasArea{padding:8px 10px 5px;gap:4px}.canvas-top{display:none}.bookmark-stage{border-radius:10px}.bookmark-specs{padding:2px;font-size:10px;gap:3px;line-height:1.5}.bookmark-specs strong{margin-left:0}.model-messages{min-height:15px;font-size:10px}#status{font-size:10px}.stage-caption{bottom:auto;top:9px;left:10px;font-size:9px}.bookmark-presets{grid-template-columns:repeat(3,minmax(0,1fr))}.bookmark-presets img{max-height:80px;width:80px}#my-artwork img{max-height:110px}.help{margin:6px 0}.zl-panel label{margin-top:7px}html body .ze-standard-surface .ze-history{bottom:8px!important;right:8px!important}#inline-text{font-size:16px;width:100px}}

#restore-overlay,#account-lock-overlay{position:fixed;inset:0;z-index:10000;display:grid;place-content:center;background:#fffaf0bb;backdrop-filter:blur(2px);font:16px 'PingFang SC',sans-serif;color:#173f73}

#pause-note{color:#365f76;margin:3px 0;line-height:1.6}.fabric-palette .custom-colors{grid-template-columns:1fr}

#bookmark-save-status button{margin-left:12px;min-height:32px;border:1px solid #b9cddc;border-radius:8px;background:#eaf2f6;padding:4px 10px}

:is(#inscription-font-picker,#inscription-font-font-dialog){--zf-accent:#438ac7;--zf-tint:#e0eefb;--zf-line:#b9cddc}
:is(#inscription-font-picker,#inscription-font-font-dialog) .zf-language{color:#617589}
#inscription-font-font-dialog .zf-card{min-height:126px}

.bookmark-styles{border:0;padding:0;margin:8px 0 0;min-width:0}.bookmark-styles legend{font-size:13px;padding:0 0 10px}.style-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px}.zl-panel .style-choice{display:flex;align-items:flex-start;gap:6px;margin:0;min-height:116px;padding:12px 8px;border:1px solid #c5d3dc;border-radius:12px;background:#fffdf7;cursor:pointer}.style-choice:has(input:checked){border:2px solid #173f73;background:#e8f1f8;padding:11px 7px}.style-choice input{flex:none;width:15px;height:15px;margin:2px 0 0;accent-color:#173f73}.style-copy{display:flex;flex-direction:column;gap:8px;min-width:0}.style-copy strong{font-size:13px;line-height:1.5}.style-copy>span{font-size:11px;line-height:1.75;color:#526d81}

.bookmark-batch{padding:14px;border:1px solid #b7d5e9;border-radius:16px;background:#edf7fc;margin-bottom:16px}.bookmark-batch button{border-radius:12px;padding:10px 14px;border:1px solid #679bc4;background:#fff;color:#17427b;font:inherit}.bookmark-batch #batch-panel{margin-top:12px}.bookmark-batch #batch-panel[hidden]{display:none}.bookmark-batch input{display:block;max-width:100%;margin:10px 0}.bookmark-batch ol{max-height:180px;overflow:auto;padding-left:24px}.bookmark-batch li{margin:5px 0}
/* Batch workspace is a peer of Settings in the editor tab bar. */
.bookmark-batch-mode #canvasArea>.canvas-top,.bookmark-batch-mode #canvasArea>.tabs,.bookmark-batch-mode #canvasArea>.bookmark-stage,.bookmark-batch-mode #canvasArea>.bookmark-specs,.bookmark-batch-mode #canvasArea>.model-messages{display:none!important}
#batch-workspace{display:flex;flex-direction:column;gap:16px;height:100%;min-height:0;padding:24px;background:#fffaf0;overflow:auto}
.batch-workspace-head{display:flex;justify-content:space-between;align-items:end;gap:16px;border-bottom:1px solid #dbe4e7;padding-bottom:18px}
.batch-workspace-head h2{font:30px/1.25 ZaobaLayout,'Yuanti SC',sans-serif;margin:3px 0 7px;color:#173f73}
.batch-workspace-head p{margin:0;color:#60778f;font-size:13px}.batch-kicker{letter-spacing:.14em!important;font-size:10px!important;color:#438ac7!important}.batch-workspace-actions{display:flex;gap:8px;flex-wrap:wrap}
.batch-workspace-actions button,.batch-card button{border:1px solid #b8cddd;background:#fffdf7;border-radius:10px;padding:9px 12px;font-size:12px;color:#173f73}
.batch-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(166px,1fr));gap:14px;align-content:start}.batch-card{display:flex;flex-direction:column;gap:8px;min-width:0;padding:11px;border:1px solid #dbe4e7;border-radius:16px;background:#fffdf7;box-shadow:0 3px 9px #173f7309}.batch-card.selected{border-color:#438ac7;background:#f2f8fd}.batch-card-top{display:flex;justify-content:space-between;align-items:center}.batch-card-top input{width:18px;height:18px;accent-color:#173f73}.batch-state{font-size:11px;color:#567288}.batch-state.done{color:#24705c}.batch-state.error{color:#a14553}.batch-card img{width:100%;height:130px;object-fit:contain;background:#fff;border-radius:9px}.batch-card strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.batch-card small{font-size:11px;color:#617589;line-height:1.45;min-height:30px}.batch-card button{margin-top:auto;width:100%}#batch-empty{border:1px dashed #b8cddd;border-radius:16px;padding:60px 20px;text-align:center;color:#617589}
#batch-panel .batch-intro{background:#eaf2f8;border-radius:14px;padding:15px}#batch-panel .batch-intro strong{font:20px ZaobaLayout,sans-serif}#batch-panel .batch-intro p{font-size:12px;line-height:1.6;margin:6px 0 0}#batch-panel .batch-upload{display:flex;align-items:center;justify-content:center;min-height:78px;border:1px dashed #78a6c9;background:#f4faff;border-radius:14px;font-size:15px;font-weight:700;cursor:pointer}#batch-panel .batch-upload input{position:absolute;width:1px;height:1px;opacity:0}#batch-panel .batch-controls{border-top:1px solid #e3e8e8;margin-top:22px;padding-top:14px}#batch-panel h3{font-size:16px;margin:0 0 7px}#batch-panel input[type=range]{width:100%;accent-color:#173f73}#batch-panel button{width:100%;border:1px solid #b8cddd;border-radius:11px;background:#e6f1f9;padding:11px 12px;margin-top:10px;font-size:13px}#batch-panel .batch-download{border-top:1px solid #e3e8e8;margin-top:22px;padding-top:12px}#batch-download-selected,#batch-download-all{background:#173f73!important;color:#fff!important;border-color:#173f73!important}#batch-status{font-size:12px;color:#526d81;line-height:1.6}#batch-back{position:absolute;z-index:3;top:14px;left:14px;border:1px solid #b8cddd;background:#fffdf7;border-radius:9px;padding:8px 12px;font-size:12px}
@media(max-width:760px){#batch-workspace{padding:12px}.batch-workspace-head{display:block}.batch-workspace-actions{margin-top:12px}.batch-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.batch-card img{height:100px}}
.line-tools{margin-top:15px;padding:14px;border:1px solid #b8cddd;border-radius:13px;background:#edf5fb}.line-tools h3{margin:0;font-size:15px}.line-tools .help{margin:6px 0 10px}.line-tools button{width:100%;border:1px solid #9dbbd3;border-radius:10px;background:#fffdf7;padding:10px 12px;margin:5px 0;font-size:13px}.line-tools #line-edit-open{background:#dfeefb;font-weight:650}.line-tools #line-done{background:#173f73;color:#fff;border-color:#173f73}.line-tools #line-brush{width:100%;accent-color:#173f73}.line-tools #line-edit-actions[hidden]{display:none!important}.line-tools label{display:flex!important;justify-content:space-between}
#line-edit-surface{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:18px;background:#f6f9fa}#line-edit-canvas{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;background:#fff;box-shadow:0 0 0 1px #d3dfe4;touch-action:none}.bookmark-stage.line-edit-mode #history,.bookmark-stage.line-edit-mode .stage-caption{display:none!important}.batch-download-help{padding:14px;border-radius:12px;background:#eaf2f8;margin-top:20px!important}
.line-mode-choices{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:10px 0}.line-mode-choices button{margin:0!important;padding:9px 5px!important;font-size:12px!important}.line-mode-choices button[aria-pressed=true]{background:#173f73!important;color:#fff!important;border-color:#173f73!important}.line-brush-ring{position:absolute;z-index:10;pointer-events:none;transform:translate(-50%,-50%);border:2px solid #173f73;border-radius:50%;background:#fff9;box-shadow:0 0 0 1px #fff,0 1px 6px #173f7359}.line-brush-ring[hidden]{display:none!important}
#batch-detail-dialog{width:min(960px,calc(100vw - 32px));max-height:calc(100vh - 32px);padding:0;border:1px solid #b8cddd;border-radius:18px;background:#fffaf0;color:#173f73;box-shadow:0 20px 60px #173f7340}#batch-detail-dialog::backdrop{background:#102d4e8f}.batch-detail-head,.batch-detail-foot{display:flex;align-items:center;justify-content:space-between;padding:14px 20px}.batch-detail-head{border-bottom:1px solid #dbe4e7}.batch-detail-head span{font-size:11px;color:#438ac7}.batch-detail-head h2{margin:2px 0 0;font:24px ZaobaLayout,sans-serif}.batch-detail-body{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:16px;padding:16px;min-height:0}.batch-detail-canvas{position:relative;display:flex;align-items:center;justify-content:center;min-height:360px;max-height:calc(100vh - 200px);overflow:hidden;background:#f4f7f9;border:1px solid #dbe4e7;border-radius:12px}.batch-detail-canvas canvas{max-width:100%;max-height:calc(100vh - 220px);width:auto;height:auto;object-fit:contain;background:#fff;touch-action:none}.batch-detail-controls{display:flex;flex-direction:column;gap:9px;font-size:12px;line-height:1.5}.batch-detail-controls p{margin:0}.batch-detail-controls label{display:flex;justify-content:space-between}.batch-detail-controls button,.batch-detail-head button,.batch-detail-foot button{border:1px solid #b8cddd;background:#fffdf7;color:#173f73;border-radius:9px;padding:9px 12px;font:inherit;cursor:pointer}.batch-detail-controls input{width:100%;accent-color:#173f73}.batch-detail-foot{border-top:1px solid #dbe4e7;justify-content:flex-end}.batch-detail-foot button{background:#173f73;color:#fff}.batch-detail-foot button:disabled{opacity:.55;cursor:wait}@media(max-width:680px){.batch-detail-body{grid-template-columns:1fr}.batch-detail-canvas{min-height:220px;max-height:44vh}.batch-detail-canvas canvas{max-height:42vh}.batch-detail-controls{gap:5px}}
@media(min-width:681px){#batch-detail-dialog{width:min(800px,calc(100vw - 48px));max-height:min(74vh,650px)}.batch-detail-body{grid-template-columns:minmax(0,1fr) 214px}.batch-detail-canvas{min-height:290px;max-height:min(49vh,410px)}.batch-detail-canvas canvas{max-height:min(47vh,390px)}}

/* Bookmark controls follow the shared editor card rhythm in this product's blue theme. */
#patterns-panel{--click-tint:#e7f2fb;--green:#e7f2fb;--pink:#e7f2fb}
#patterns-panel #add-image,#empty-upload-button{width:100%;min-height:48px;border:1.5px solid #173f73;border-radius:12px;background:#dcecf9;color:#173f73;font-weight:700;box-shadow:0 3px 0 #173f7326}
#patterns-panel #add-image:hover,#empty-upload-button:hover{background:#cde3f5}
.my-material-title{margin:20px 0 8px;font:20px/1.4 ZaobaLayout,'Yuanti SC',sans-serif}
#my-artwork{--click-tint:#dcecf9;--pink:#dcecf9;--green:#dcecf9;padding:12px;border:1px solid #bdd4e6;border-radius:14px;background:#edf6fd}
#my-artwork .material-use-tile,#my-artwork .material-manage-link{background:#dcecf9;border:1px solid #b5d0e4;border-radius:12px}
#my-artwork .material-empty{color:#526d81}
body:has([data-editor="bookmarks"]) :is(.material-dialog,.material-editor){--pink:#e7f2fb;--green:#e7f2fb;--click-tint:#e7f2fb;background:#f4f9fd;border-color:#173f73}
body:has([data-editor="bookmarks"]) :is(.material-dialog,.material-editor) :is(.material-entry,.material-primary,.material-tabs button[aria-pressed="true"]){background:#dcecf9;border-color:#679bc4;color:#173f73;box-shadow:none}
.zl-editor[data-editor="bookmarks"] .zl-panel button:not([disabled]),#batch-detail-dialog button:not([disabled]){transition:background-color .15s,border-color .15s,box-shadow .15s}
.zl-editor[data-editor="bookmarks"] .zl-panel button:not([disabled]):hover,#batch-detail-dialog button:not([disabled]):hover{border-color:#438ac7;background:#e5f1fa}
.zl-editor[data-editor="bookmarks"] .zl-panel input[type="range"],#batch-detail-dialog input[type="range"]{appearance:none;-webkit-appearance:none;height:6px;border-radius:99px;background:#bed5e7;cursor:pointer;margin:14px 0}
.zl-editor[data-editor="bookmarks"] .zl-panel input[type="range"]::-webkit-slider-thumb,#batch-detail-dialog input[type="range"]::-webkit-slider-thumb{-webkit-appearance:none;width:26px;height:26px;border:4px solid #fff;border-radius:50%;background:#173f73;box-shadow:0 2px 6px #173f7355}
.zl-editor[data-editor="bookmarks"] .zl-panel input[type="range"]::-moz-range-thumb,#batch-detail-dialog input[type="range"]::-moz-range-thumb{width:13px;height:13px;border:3px solid #fff;border-radius:50%;background:#173f73}
.zl-panel .style-choice{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;min-height:170px;padding:10px 7px;gap:4px;background:#fffdf8}
.style-choice:has(input:checked){padding:9px 6px;background:#e7f2fb;box-shadow:0 3px 0 #173f7320}
.style-choice input{position:absolute;right:8px;top:8px;margin:0}
.style-illustration{display:block;width:100%;max-width:112px;height:76px;object-fit:contain}
.style-copy{align-items:center;gap:3px}.style-copy strong{font-size:12px}.style-copy>span{font-size:10px;line-height:1.45}
.line-mode-choices button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:92px;border-radius:12px!important;background:#fffdf8!important;color:#173f73!important}
.line-mode-choices button img{display:block;width:64px;height:48px;object-fit:contain}
.line-mode-choices button[aria-pressed="true"]{background:#dcecf9!important;color:#173f73!important;border:2px solid #173f73!important;box-shadow:0 3px 0 #173f7320}
.line-brush-ring{box-sizing:border-box;border:1px solid #173f73;background:transparent;box-shadow:0 0 0 1px #fff,0 1px 5px #173f7359}
.ink-width-control{margin-top:14px;padding:13px;border:1px solid #b8cddd;border-radius:13px;background:#edf5fb}
.ink-width-control label{display:flex!important;justify-content:space-between;margin:0 0 7px!important;font-weight:650}
.ink-width-ends{display:flex;justify-content:space-between;color:#60778f;font-size:11px}
#empty-upload-hint{position:absolute;z-index:4;left:50%;top:50%;transform:translate(-50%,-50%);width:min(340px,calc(100% - 28px));padding:25px 20px;text-align:center;border:1px solid #aac9df;border-radius:18px;background:#f4f9fdee;box-shadow:0 12px 34px #173f7320;color:#173f73}
#empty-upload-hint strong{font:24px/1.4 ZaobaLayout,'Yuanti SC',sans-serif}#empty-upload-hint p{font-size:13px;line-height:1.6;color:#526d81}
#batch-panel .batch-controls{background:#f4f9fd;border-radius:12px;padding:14px;margin-top:18px;border:1px solid #c9dbea}
#batch-panel #batch-apply,#batch-detail-save{background:#173f73;color:#fff;border-color:#173f73}
.batch-styles{margin:16px 0 4px;padding:0;border:0}.batch-styles legend,.batch-thickness legend{font-size:13px;font-weight:700;color:#173f73}.batch-styles .style-choices{margin-top:9px}.batch-styles .style-choice{min-height:184px!important}.batch-styles .style-illustration{height:100px!important}.batch-thickness{margin:16px 0;padding:12px;border:1px solid #bdd4e6;border-radius:12px;background:#edf6fd}.batch-thickness label{display:flex!important;align-items:center;justify-content:space-between;margin:8px 0!important;padding:10px;border:1px solid #c7d9e6;border-radius:9px;background:#fffdf8}.batch-thickness label:has(input:checked){border-color:#438ac7;background:#dcecf9}.batch-thickness input[type=radio]{margin-right:8px}.batch-thickness input[type=number]:disabled{opacity:.5}.batch-thickness .help{margin-bottom:0}
@media(max-width:760px){.zl-panel .style-choice{min-height:152px}.style-illustration{height:63px}.style-copy>span{font-size:9px}.line-mode-choices button img{width:52px;height:40px}}
.zl-panel .style-choice{min-height:218px;overflow:hidden}
.style-illustration{width:190px;max-width:none;height:132px;align-self:center;object-fit:contain}
.style-illustration-left{object-position:left center}
.style-illustration-right{object-position:right center}
@media(max-width:760px){.zl-panel .style-choice{min-height:200px}.style-illustration{height:116px}}
#batch-detail-dialog[open]{display:flex;flex-direction:column}
#batch-detail-dialog .batch-detail-head,#batch-detail-dialog .batch-detail-foot{flex:none;background:#fffaf0;z-index:2}
#batch-detail-dialog .batch-detail-body{flex:1;overflow:auto}
.bookmark-line-recolor{margin:0 0 18px;padding:14px;background:#edf6fd;border:1px solid #bdd4e6;border-radius:12px}.bookmark-line-recolor h3{margin:0 0 7px;font:18px ZaobaLayout,sans-serif}.bookmark-line-recolor label{display:block;margin:10px 0 5px}#line-color-regions{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.bookmark-region-chip{width:38px!important;height:38px!important;min-height:38px!important;padding:0!important;border:3px solid #fff!important;border-radius:50%!important;box-shadow:0 0 0 1px #8fb6d8!important}.bookmark-region-chip[aria-pressed=true]{box-shadow:0 0 0 3px #173f73!important}#line-color-picker{width:54px;height:42px;border:1px solid #bdd4e6;border-radius:8px;background:#fffdf7}#line-color-status{min-height:20px;margin:8px 0 0;color:#526d81;font-size:12px}
