.hmce{margin-top:20px}.hmce [hidden]{display:none!important}.hmce-intro{display:flex;align-items:center;justify-content:space-between;gap:35px;border-bottom:1px solid #c3a36c44;padding-bottom:26px}.hmce-intro h2{font-family:Georgia,serif;font-size:clamp(32px,4vw,50px);font-weight:400;line-height:1.14;letter-spacing:-.6px;margin:12px 0 18px}.hmce-intro p:not(.hm-eyebrow){color:#b6b6aa;font-size:14px}.hmce-size{border:1px solid #c3a36c55;padding:22px 28px;min-width:250px}.hmce-size strong{display:block;color:#dfc28f;font-family:Georgia,serif;font-size:27px;font-weight:400}.hmce-size span{display:block;color:#b6b6aa;font-size:12px;margin-top:8px}.hmce-size a{display:block;color:#c3a36c;font-size:12px;margin-top:14px}.hmce-help{font-size:14px;color:#b6b6aa;max-width:980px;line-height:1.8;margin-block:24px}.hmce-loading{padding:35px;border:1px solid #c3a36c44;color:#c3a36c}.hmce-app{display:grid;grid-template-columns:260px minmax(0,1fr);gap:20px;align-items:start}.hmce-tools{background:#191c17;border:1px solid #c3a36c44;padding:18px;max-height:900px;overflow:auto}.hmce-tools h3{font-weight:400;font-size:13px;letter-spacing:1px;color:#c3a36c;margin:6px 0 14px}.hmce button,.hmce-next-link{font:inherit;font-size:12px;border:1px solid #c3a36c55;background:#151812;color:#eee9df;padding:10px 12px;border-radius:0;cursor:pointer;line-height:1.4}.hmce button:hover{border-color:#c3a36c;background:#c3a36c14}.hmce button:disabled{opacity:.35;cursor:default}.hmce-tools>button{display:block;width:100%;text-align:left;margin-bottom:8px}.hmce-tools label{display:block;font-size:12px;color:#d0d0c5;line-height:1.5;margin-block:10px}.hmce input:not([type=checkbox]),.hmce select,.hmce textarea{box-sizing:border-box;width:100%;min-width:0;display:block;font:inherit;font-size:13px;line-height:1.5;padding:9px 10px;background:#10110f;color:#eee9df;border:1px solid #6b725f;border-radius:0;margin-top:5px}.hmce input[type=color]{height:36px;padding:3px;cursor:pointer}.hmce input[type=checkbox]{accent-color:#c3a36c}.hmce textarea{resize:vertical;min-height:72px}.hmce-tools small{display:block;color:#9ea494;font-size:10px;line-height:1.6;margin-block:10px 18px}.hmce-properties{border-top:1px solid #c3a36c33;border-bottom:1px solid #c3a36c33;padding-block:18px;margin-block:18px}.hmce-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hmce-button-row{display:flex;flex-wrap:wrap;gap:6px;margin-block:10px}.hmce-button-row button{flex:1;padding:8px 7px;font-size:11px}.hmce button[aria-pressed=true]{background:#c3a36c;color:#10110f}.hmce-quality{font-size:11px;line-height:1.6;color:#e3be79;min-height:0}.hmce-layers{display:grid;gap:5px}.hmce-layers button{width:100%;text-align:left;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hmce-layers button.is-selected{border-color:#c3a36c;color:#dfc28f}.hmce-layers p{font-size:11px;color:#9fa695}.hmce-workspace{min-width:0;border:1px solid #c3a36c44;background:#191c17}.hmce-workbar{padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #c3a36c33;font-size:11px;color:#c3a36c}.hmce-workbar label{display:flex;gap:8px;align-items:center}.hmce-workbar span{color:#929b87;font-size:10px}.hmce-art-area{padding:16px;overflow:auto;background:repeating-conic-gradient(#272d24 0 25%,#22271f 0 50%) 0 0/20px 20px;min-width:0;min-height:220px}.hmce-art{position:relative;margin:auto;box-shadow:0 5px 25px #0007}.hmce-art .canvas-container{display:block}.hmce-guides{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}.hmce-guide-label{font-family:Arial,sans-serif;font-size:5.1px;fill:#7b2834;stroke:#fff;stroke-width:.65px;paint-order:stroke;letter-spacing:.1px}.hmce-legend{display:flex;gap:14px;flex-wrap:wrap;padding:14px 16px;color:#b6b6aa;font-size:10px;border-top:1px solid #c3a36c33}.hmce-legend span{display:flex;align-items:center;gap:6px}.hmce-legend i{display:inline-block;width:12px;height:12px;background:#d1495b44;border:1px solid #db5363}.hmce-note{padding:0 16px;font-size:11px;line-height:1.7;color:#a4ac9a;margin:0 0 14px}.hmce-status{padding:14px 16px;min-height:22px;border-top:1px solid #c3a36c33;font-size:12px;line-height:1.6;color:#d6c28f}.hmce-status.is-error{color:#f0a799}.hmce-actions{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:20px}.hmce-actions>div{display:flex;flex-wrap:wrap;gap:8px}.hmce .hmce-primary,.hmce-next-link{display:inline-block;background:#c3a36c;color:#10110f;border-color:#c3a36c;text-decoration:none}.hmce .hmce-primary:hover,.hmce-next-link:hover{background:#dfc28f;color:#10110f}.hmce-export-note{font-size:11px;line-height:1.8;color:#a4ac9a;max-width:950px;margin-block:20px}.hmce.is-busy .hmce-app,.hmce.is-busy .hmce-actions{pointer-events:none;opacity:.65}.hmce button:focus-visible,.hmce input:focus-visible,.hmce select:focus-visible,.hmce textarea:focus-visible{outline:2px solid #c3a36c;outline-offset:3px}.hmce-promo{padding:28px;border:1px solid #c3a36c55;background:#191c17;margin-block:35px!important}.hmce-promo h3{font-family:Georgia,serif;font-weight:400;font-size:28px;margin-top:0}.hmce-promo p{color:#b6b6aa;font-size:14px}.hmce-promo a{color:#dfc28f}
@media(max-width:1000px){.hmce-app{grid-template-columns:220px minmax(0,1fr)}.hmce-tools{padding:14px}.hmce-intro{gap:20px}.hmce-size{padding:20px;min-width:200px}.hmce-size strong{font-size:23px}}
@media(max-width:700px){.hmce-intro{flex-direction:column;align-items:stretch}.hmce-intro h2{font-size:36px}.hmce-app{grid-template-columns:1fr}.hmce-tools{max-height:430px}.hmce-workbar{flex-wrap:wrap}.hmce-actions{flex-direction:column}.hmce-actions>div{display:grid;grid-template-columns:1fr 1fr}.hmce-art-area{padding:12px}.hmce-size{min-width:0}.hmce-legend{gap:10px}.hmce-promo{padding:22px}}
/* Closed diary mockup, using exact artwork crops and a CSS 3D book. */
.hmce-mockup:not([open]){display:none!important}.hmce-mockup[open]{position:fixed;inset:0;margin:auto;display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:min(1040px,calc(100vw - 28px));height:min(820px,calc(100vh - 28px));height:min(820px,calc(100dvh - 28px));max-width:none;max-height:none;padding:0;background:#11140f;color:#eee9df;border:1px solid #c3a36c77;box-shadow:0 30px 100px #0009;overflow:hidden}.hmce-mockup::backdrop{background:#030503e8}.hmce-mockup-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 24px;border-bottom:1px solid #c3a36c33}.hmce-mockup-header p{font-size:9px;letter-spacing:2px;color:#c3a36c;margin:0 0 7px}.hmce-mockup-header h3{font-family:Georgia,serif;font-size:24px;font-weight:400;line-height:1.3;margin:0}.hmce-mockup-header button{width:42px;height:42px;padding:0;flex-shrink:0;font-size:20px}.hmce-mockup-stage{position:relative;display:grid;place-items:center;min-width:0;min-height:0;perspective:1100px;overflow:hidden;background:radial-gradient(ellipse at 50% 40%,#34402c 0,#20271b 34%,#11140f 76%)}.hmce-book{--book-w:250px;--book-h:364.7px;--book-d:30.9px;position:relative;width:var(--book-w);height:var(--book-h);transform-style:preserve-3d;transform:rotateX(-8deg) rotateY(28deg);transition:transform .5s cubic-bezier(.2,.7,.3,1);user-select:none}.hmce-book-face{position:absolute;top:0;height:var(--book-h);backface-visibility:hidden;box-sizing:border-box;background:#eee9df;overflow:hidden}.hmce-book-face img{display:block;width:100%;height:100%;object-fit:fill;filter:none;pointer-events:none}.hmce-book-front{left:0;width:var(--book-w);transform:translateZ(calc(var(--book-d) / 2));border-radius:2px 5px 5px 2px;box-shadow:inset 0 0 0 1px #0005}.hmce-book-back{left:0;width:var(--book-w);transform:rotateY(180deg) translateZ(calc(var(--book-d) / 2));border-radius:2px 5px 5px 2px}.hmce-book-front:after,.hmce-book-back:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#0005 0,transparent 4%,#ffffff0a 40%,transparent 85%,#0002 100%);box-shadow:inset 0 0 0 1px #ffffff12}.hmce-book-spine{left:0;width:var(--book-d);transform-origin:0 50%;transform:rotateY(-90deg) translateX(calc(var(--book-d) / -2));background:#242b1f}.hmce-book-spine:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#0004,#ffffff16 42%,#0003);pointer-events:none}.hmce-book-pages{position:absolute;backface-visibility:hidden;background:repeating-linear-gradient(90deg,#e7e0cd 0,#e7e0cd .8px,#c0bba9 1.1px,#f1ead7 1.6px);box-shadow:inset 0 0 3px #645e47}.hmce-book-pages-right{right:3px;top:5px;width:calc(var(--book-d) - 4px);height:calc(var(--book-h) - 10px);transform-origin:100% 50%;transform:rotateY(90deg) translateX(calc((var(--book-d) - 4px) / 2))}.hmce-book-pages-top{left:4px;top:5px;width:calc(var(--book-w) - 8px);height:calc(var(--book-d) - 4px);transform-origin:50% 0;transform:rotateX(90deg) translateY(-50%);background:repeating-linear-gradient(0deg,#e7e0cd 0,#e7e0cd .8px,#b9b3a0 1.1px,#f1ead7 1.6px)}.hmce-book-pages-bottom{left:4px;bottom:5px;width:calc(var(--book-w) - 8px);height:calc(var(--book-d) - 4px);transform-origin:50% 100%;transform:rotateX(-90deg) translateY(50%)}.hmce-book-shadow{position:absolute;left:29%;right:29%;bottom:7%;height:26px;border-radius:50%;background:#000b;filter:blur(15px)}.hmce-mockup-controls{padding:14px 24px 18px;border-top:1px solid #c3a36c33;text-align:center}.hmce-mockup-controls .hmce-button-row{justify-content:center;margin:0 0 10px}.hmce-mockup-controls .hmce-button-row button{flex:0 1 140px;font-size:13px;padding:10px 18px}.hmce-mockup-controls>label{display:block;max-width:360px;margin:auto;color:#c3a36c;font-size:11px}.hmce-mockup input[type=range]{appearance:auto;padding:0;height:22px;border:0;margin-top:8px;accent-color:#c3a36c;background:none;cursor:ew-resize}.hmce-mockup-controls>p{font-size:10px;color:#a4ac9a;line-height:1.6;margin:8px auto 12px;max-width:680px}.hmce-mockup-controls>[data-ce-mockup-return]{font-size:11px;padding:8px 16px}
@media(max-width:600px){.hmce-mockup[open]{width:calc(100vw - 12px);height:calc(100vh - 12px);height:calc(100dvh - 12px)}.hmce-mockup-header{padding:12px 14px;gap:10px}.hmce-mockup-header h3{font-size:18px}.hmce-mockup-header p{font-size:8px;letter-spacing:1px}.hmce-mockup-controls{padding:12px}.hmce-mockup-controls .hmce-button-row button{flex:1;padding:9px 8px;font-size:12px}.hmce-mockup-controls>p{font-size:9px}}
@media(prefers-reduced-motion:reduce){.hmce-book{transition:none}}

.hmce-tool-section{border-top:1px solid #c3a36c33;border-bottom:1px solid #c3a36c33;padding-block:16px;margin-block:16px}.hmce-tool-section>button{width:100%;margin-block:6px}.hmce-align-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:10px 0 18px}.hmce-align-buttons button{font-size:10px;padding:8px 2px}.hmce-palette{display:flex;flex-wrap:wrap;gap:7px;margin-block:12px}.hmce-palette button{background:var(--swatch);width:25px;height:25px;padding:0;border:1px solid #c3a36c88;border-radius:50%}.hmce-palette button:hover{background:var(--swatch);outline:2px solid #c3a36c;outline-offset:2px}.hmce button[aria-pressed=true]{border-color:#dfc28f;background:#c3a36c24}.hmce-workbar{flex-wrap:wrap}.hmce-workbar .hmce-zoom-label{display:flex;gap:7px;margin:0}.hmce-workbar select{width:auto;font-size:12px;padding:6px}.hmce-art-area{max-height:780px}.hmce-tools input[type=checkbox]{width:auto;display:inline-block}.hmce-tool-section small{display:block;color:#a4ac9a;font-size:10px;line-height:1.6}.hmce-tools [data-ce-lock]{width:100%;margin-block:8px}.hmce input[aria-invalid=true]{border-color:#d37f72}

.hmce-spine-settings{display:flex;align-items:center;gap:28px;padding:20px;border:1px solid #c3a36c55;margin:24px 0;background:#191c17}.hmce-spine-settings>div{flex:0 0 220px}.hmce-spine-settings label{font-size:13px;color:#dfc28f;display:block;margin-bottom:8px}.hmce-spine-settings p{font-size:12px;line-height:1.8;color:#b6b6aa;margin:0}.hmce-spine-settings input[type=range]{padding:0;height:26px;margin-top:10px;accent-color:#c3a36c}.hmce-tools .hmce-layout-colors{font-size:11px;line-height:1.6}@media(max-width:600px){.hmce-spine-settings{flex-direction:column;align-items:stretch;gap:14px}.hmce-spine-settings>div{flex-basis:auto}}

.hmce-mockup-controls .hmce-spine-inline{display:flex;align-items:center;justify-content:center;gap:12px;margin:8px auto;max-width:340px}.hmce-spine-inline input{width:90px!important;padding:5px 8px!important}

.hmce-background-panel{border-block:1px solid #c3a36c44;margin-block:16px;padding-block:12px}.hmce-background-panel>summary{color:#dfc28f;cursor:pointer;font-size:13px;line-height:1.6}.hmce-bg-inner{padding-top:12px}.hmce-bg-inner>button{width:100%;margin:6px 0}.hmce-bg-swatches{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:12px 0}.hmce-bg-swatches button{background:var(--swatch);border:1px solid #c3a36c66;min-height:31px;padding:0}.hmce-bg-swatches button:hover{background:var(--swatch);outline:2px solid #c3a36c;outline-offset:1px}.hmce-bg-sample{height:48px;border:1px solid #c3a36c55;margin:14px 0}.hmce-cmyk-row>div{display:grid;grid-template-columns:minmax(0,1fr) 67px;gap:8px;align-items:center}.hmce-cmyk-row input[type=range],.hmce-bg-inner input[type=range]{padding:0;height:24px;accent-color:#c3a36c;border:0}.hmce-bg-caption{font-size:11px;color:#dfc28f;line-height:1.6}.hmce-bg-note,.hmce-bg-values{font-size:10px;line-height:1.7;color:#a9aea2;margin:10px 0}.hmce-bg-values{color:#dfc28f;font-variant-numeric:tabular-nums}.hmce-bg-inner input[aria-invalid=true]{border-color:#d37f72}

.hmce-format-settings {margin:1.5rem 0;padding:1.2rem;border:1px solid #6c5937;background:#181916;max-width:100%;}
.hmce-format-settings label {display:block;color:#d6bc8c;font-weight:600;margin-bottom:.6rem;}
.hmce-format-settings select {width:100%;max-width:36rem;padding:.7rem;background:#11120f;color:#eee9df;border:1px solid #8c754c;border-radius:3px;font:inherit;}
.hmce-format-settings p {margin:.7rem 0 0;font-size:.9rem;color:#c5c0b5;}

.hmce-print-options{margin:18px 0;padding:14px 18px;border:1px solid #c3a36c55;background:#171814;display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center;}
.hmce-print-options label{display:flex;align-items:center;gap:8px;color:#eee9df;font-size:14px;}
.hmce-print-options select{background:#11120f;color:#eee9df;border:1px solid #c3a36c77;padding:6px;font:inherit;max-width:100%;}
.hmce-print-options p{flex-basis:100%;font-size:12px;color:#bdbdb1;line-height:1.6;margin:0;overflow-wrap:anywhere;}

.hmce-guide-downloads{margin:18px 0;border:1px solid #c3a36c55;background:#171814;}
.hmce-guide-downloads summary{padding:16px 18px;cursor:pointer;color:#dfc28f;font-size:15px;}
.hmce-guide-downloads summary small{color:#aaa99f;font-size:11px;margin-left:8px;white-space:nowrap;}
.hmce-guide-content{padding:0 18px 18px;}
.hmce-guide-content>p{font-size:13px;color:#c4c4b7;line-height:1.7;}
.hmce-guide-content ul{list-style:none;margin:15px 0;padding:0;}
.hmce-guide-content li{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 0;border-top:1px solid #c3a36c22;}
.hmce-guide-content li strong{display:block;color:#eee9df;font-size:14px;font-weight:500;}
.hmce-guide-content li span{display:block;font-size:11px;color:#b7b7aa;margin-top:4px;}
.hmce-guide-content a{display:inline-flex;align-items:center;justify-content:center;padding:7px 11px;border:1px solid #c3a36c66;color:#dfc28f;text-decoration:none;font-size:12px;white-space:nowrap;}
.hmce-guide-content a:hover{background:#c3a36c;color:#10110f;}
.hmce-guide-content a:focus-visible{outline:2px solid #dfc28f;outline-offset:3px;}
.hmce-guide-content .hmce-guide-note{font-size:11px;margin-bottom:0;}
@media(max-width:500px){.hmce-guide-downloads summary small{display:block;margin:5px 0 0 16px;}.hmce-guide-content li{align-items:flex-start;}.hmce-guide-content li>div{min-width:0;}.hmce-guide-content li a{flex-shrink:0;}.hmce-guide-content li span{line-height:1.6;}}

.hmce-guide-file-actions{display:flex;flex-wrap:wrap;gap:6px;flex-shrink:0;align-items:center;}
@media(max-width:500px){.hmce-guide-content li{flex-wrap:wrap;}.hmce-guide-file-actions{width:100%;}.hmce-guide-file-actions a{font-size:11px;padding:6px 9px;}}
