.catalog-viewer{min-width:0;width:100%;color:#202626;font-family:Arial,sans-serif}.cv-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:7px;background:#fff;padding:10px;border:1px solid #d9dddd;border-radius:5px}.cv-find{flex:1;min-width:145px}.cv-find input{box-sizing:border-box;width:100%;min-height:36px;padding:7px 10px;border:1px solid #bfc8c8;border-radius:3px;font:14px Arial;color:#171c1c;background:#fff}.cv-find-controls,.cv-tools{display:flex;align-items:center;gap:5px}.cv-tools{flex-wrap:wrap}.cv-toolbar button,.cv-toolbar a{box-sizing:border-box;min-width:33px;min-height:34px;padding:7px;border:1px solid #d5dbdb;background:#f6f7f7;color:#202626;border-radius:3px;font:13px Arial;text-align:center;cursor:pointer;text-decoration:none}.cv-toolbar button:hover,.cv-toolbar a:hover{border-color:#a38b23;background:#fff6cc}.cv-toolbar button:disabled{opacity:.45;cursor:default}.cv-toolbar :focus-visible{outline:2px solid #8a7419;outline-offset:2px}.cv-count{font-size:12px;white-space:nowrap}.cv-help{font-size:12px!important;color:#576161!important;margin:8px 0!important}.cv-scroll{overflow:auto;max-width:100%;background:#e3e6e6;scrollbar-gutter:stable}.cv-stage{position:relative;min-width:100%;isolation:isolate;background:white}.cv-stage>img{display:block!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:fill!important;pointer-events:none;user-select:none}.cv-text{position:absolute;inset:0;overflow:hidden;text-align:left;line-height:1;user-select:text;cursor:text}.cv-text>span{position:absolute;display:block;white-space:pre;line-height:1.12;color:transparent;transform-origin:0 0;user-select:text}.cv-text>span>span{position:absolute;display:inline-block;transform-origin:0 0;height:100%;color:transparent}.cv-text ::selection{background:rgba(48,119,226,.36);color:transparent}.cv-text>span.cv-match{background:rgba(255,218,0,.4);outline:1px solid #caa91e}.cv-text>span.cv-current{background:rgba(255,146,0,.5);outline:2px solid #a35c00}.cv-message{font-size:12px!important;min-height:16px;margin:6px 0!important;color:#315f38!important}.cv-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.detail-image:has(.catalog-viewer){display:block;padding:25px}.detail-image .cv-toolbar a{display:inline-block;cursor:pointer}.detail-copy pre{white-space:pre-wrap;word-break:break-word;max-height:400px;overflow:auto;user-select:text}.reader-page{margin:0;background:#e8ebeb;color:#182020;font-family:Arial,sans-serif}.reader-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 4%;background:#191d1e;color:white}.reader-header img{width:230px;max-width:48vw}.reader-header a{color:inherit;font-size:14px}.reader-shell{max-width:1450px;margin:auto;padding:24px}.reader-title{font-size:24px;margin:0 0 12px}.reader-nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:16px}.reader-nav button,.reader-nav input{min-height:38px;border:1px solid #b5bebe;border-radius:4px;padding:8px;background:white;box-sizing:border-box;font-size:14px}.reader-nav input[type=number]{width:76px}.reader-global{margin-left:auto;display:flex;gap:8px}.reader-global input{width:300px;max-width:60vw}.reader-results{padding:0;list-style:none;max-height:350px;overflow:auto;background:#fff;margin:0 0 16px;border-radius:5px}.reader-results button{display:block;text-align:left;width:100%;padding:12px 16px;background:#fff;border:0;border-bottom:1px solid #ddd;cursor:pointer}.reader-results button:hover{background:#fff7cf}.reader-results small{display:block;color:#5d6666;margin-top:5px}.reader-results p{padding:15px}.reader-shell>.catalog-viewer{max-width:1000px;margin:auto}.reader-shell .cv-scroll{max-height:78vh}.reader-shell .cv-toolbar{position:sticky;top:0;z-index:2}.reader-shell .cv-stage{max-width:none}@media(max-width:600px){.detail-image:has(.catalog-viewer){padding:58px 12px 12px}.cv-toolbar{gap:5px;padding:7px}.cv-tools{width:100%}.cv-help{line-height:1.5}.reader-shell{padding:16px 10px}.reader-header{padding:14px}.reader-global{margin-left:0;width:100%}.reader-global input{flex:1;max-width:none;width:100px}.reader-title{font-size:20px}}

.detail-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.detail-image:has(.catalog-viewer){min-width:0}.cv-scroll{width:100%;min-width:0;box-sizing:border-box}.cv-stage{min-width:0}@media(max-width:600px){.detail-layout{grid-template-columns:minmax(0,1fr)}}

.detail-image .cv-scroll{max-height:74vh}

.cv-toolbar button[aria-pressed="true"]{background:#fff1af;border-color:#bca03d;color:#3d3518}
.cv-scroll:focus-visible{outline:2px solid #9b8122;outline-offset:2px}
.cv-scroll.cv-pan,.cv-scroll.cv-pan .cv-text,.cv-scroll.cv-pan .cv-text *{cursor:grab;user-select:none;-webkit-user-select:none;touch-action:none}
.cv-scroll.cv-dragging,.cv-scroll.cv-dragging .cv-text,.cv-scroll.cv-dragging .cv-text *{cursor:grabbing}
