/* Fit the complete approved illustration into the available screen; keep a readable zoom view. */
#tree-more>.le-detail-content{padding:6px 0 10px}
#tree-more .locked-tree{padding:0;margin:0}
#tree-more .luce-tree-open{display:block;width:100%;padding:0;border:0;background:#fffaf5;cursor:zoom-in;border-radius:5px}
#tree-more .locked-tree .luce-tree-open img{display:block;width:auto;height:auto;max-width:100%;max-height:var(--tree-fit-height,calc(100dvh - 230px));object-fit:contain;margin:0 auto;float:none}
#tree-more .luce-tree-tools{display:flex;align-items:center;justify-content:center;gap:12px 25px;flex-wrap:wrap;margin-top:6px}
#tree-more .luce-tree-tools button,#tree-more .luce-tree-tools a{display:inline-flex;align-items:center;min-height:44px;padding:5px 0;border:0;background:transparent;font:400 14px/1.7 'Noto Sans JP',sans-serif;color:#795259;text-decoration:underline;text-underline-offset:4px;cursor:pointer;margin:0}
.luce-tree-dialog{width:min(1200px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);padding:0;border:1px solid #b9978e;border-radius:6px;background:#fffaf5;color:#453935}
.luce-tree-dialog::backdrop{background:#292b28c9}
.luce-tree-dialog .tree-view-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 12px;border-bottom:1px solid #dfcdc5}
.tree-view-controls strong{font:500 14px/1.7 'Noto Sans JP',sans-serif;margin-right:auto}
.tree-view-controls button{min-height:44px;min-width:44px;padding:7px 11px;border:1px solid #d8c6bd;border-radius:3px;background:#fffaf5;color:#795259;font:400 14px/1.7 'Noto Sans JP',sans-serif;cursor:pointer}
.luce-tree-dialog .tree-view-scroll{height:min(76dvh,850px);overflow:auto;overscroll-behavior:contain;background:#fffaf5;touch-action:pan-x pan-y pinch-zoom}
.luce-tree-dialog .tree-view-stage{min-width:100%;min-height:100%;display:grid;place-items:center}
.luce-tree-dialog .tree-view-stage img{display:block;max-width:none;margin:0;float:none;mix-blend-mode:normal}
.luce-tree-dialog .tree-view-help{font:400 12px/1.8 'Noto Sans JP',sans-serif;padding:7px 12px;margin:0;color:#70615d}
.luce-tree-open:focus-visible,.luce-tree-tools button:focus-visible,.tree-view-controls button:focus-visible{outline:2px solid #946b70;outline-offset:3px}
@media(max-width:680px){#tree-more .luce-tree-tools{gap:0 16px}#tree-more .luce-tree-tools button,#tree-more .luce-tree-tools a{font-size:13px}.luce-tree-dialog{width:calc(100vw - 12px);max-height:calc(100dvh - 12px)}.tree-view-controls strong{font-size:13px}.luce-tree-dialog .tree-view-controls{gap:6px;padding:6px 8px}}
