.tlc-book-sample-link button{cursor:pointer;font:inherit}
.tlc-sample-dialog{width:96vw;height:96dvh;max-width:100vw;max-height:100dvh;padding:0;border:0;border-radius:14px;background:#f4f1e8;color:#103f30;box-shadow:0 20px 80px #0006;overflow:hidden}
.tlc-sample-dialog[open]{display:flex;flex-direction:column}
.tlc-sample-dialog::backdrop{background:#001c18cf}
.tlc-sample-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px;background:#073f2e;color:#fff;flex-shrink:0}
.tlc-sample-header h2{font-size:18px;line-height:1.3;max-height:2.6em;overflow:auto;margin:0;color:inherit}
.tlc-sample-dialog button{cursor:pointer;min-height:44px;border-radius:8px;padding:8px 14px;font:inherit}
.tlc-sample-close{white-space:nowrap;background:#ffda4a;color:#073f2e;border:0}
.tlc-sample-toolbar{display:flex;justify-content:center;align-items:center;gap:14px;padding:8px;background:#fff;flex-shrink:0}
.tlc-sample-toolbar button{border:1px solid #245e49;background:#fff;color:#103f30}
.tlc-sample-toolbar button:disabled{opacity:.4;cursor:default}
.tlc-sample-dialog button:focus-visible{outline:3px solid #c68b00;outline-offset:3px}
.tlc-sample-status{margin:0;text-align:center;padding:8px;font-size:13px;line-height:18px;height:34px;box-sizing:border-box;flex-shrink:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tlc-sample-status:empty{display:none}
.tlc-sample-pages{flex:1;min-height:0;overflow:hidden;padding:16px;overscroll-behavior:contain;display:flex;justify-content:center;align-items:center;gap:4px;touch-action:pan-y}
.tlc-sample-pages canvas{display:block;flex:none;margin:0;background:white;box-shadow:0 3px 15px #0002}
.tlc-sample-pages canvas[hidden]{display:none}
html.tlc-sample-open{overflow:hidden}
@media(max-width:600px){.tlc-sample-dialog{width:100vw;height:100dvh;border-radius:0;margin:0}.tlc-sample-header{padding:10px 12px}.tlc-sample-header h2{font-size:16px}.tlc-sample-toolbar{gap:8px;font-size:13px}.tlc-sample-pages{padding:8px}}
