#work-tier .sample-reader{box-sizing:border-box;width:min(920px,calc(100vw - 24px));max-width:none;height:min(900px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);padding:0;border:1px solid #b9ad9c;border-radius:2px;background:#fffdf8;color:#302b26;box-shadow:0 10px 48px #241b1640;overflow:hidden}
#work-tier .sample-reader[open]{display:flex;flex-direction:column}
#work-tier .sample-reader::backdrop{background:#201b17a8}
#work-tier .sample-reader-head{display:flex;align-items:center;gap:14px;flex:none;padding:9px 14px;border-bottom:1px solid #e0d7ca}
#work-tier .sample-reader-head h2{flex:1;min-width:0;margin:0;font-size:14px;line-height:1.6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#work-tier .sample-reader-close{flex:none;min-width:44px;min-height:44px;padding:4px;border:0;background:transparent;color:#746456;font-size:26px;line-height:1}
#work-tier .sample-reader-stage{position:relative;flex:1;min-height:0;display:flex;align-items:center;justify-content:center;background:#f2eee7;overflow:auto;padding:10px}
#work-tier .sample-reader-page{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;background:#fff}
#work-tier .sample-reader-page[hidden]{display:none}
#work-tier .sample-reader-message{position:absolute;inset:auto 12px 8px;margin:0;text-align:center;font-size:12px;color:#776a5c;pointer-events:none}
#work-tier .sample-reader-retry{position:absolute;top:53%;max-width:90%;min-height:44px;border:1px solid #b9ad9c;background:#fffdf8;color:#54483c}
#work-tier .sample-reader-foot{display:flex;align-items:center;justify-content:center;gap:22px;flex:none;padding:7px 12px;border-top:1px solid #e0d7ca}
#work-tier .sample-reader-foot button{width:68px;min-height:44px;border:1px solid #b9ad9c;border-radius:2px;background:#fff;color:#604c3d;font-size:20px}
#work-tier .sample-reader-foot button:disabled{opacity:.35;cursor:default}
#work-tier .sample-reader-count{min-width:64px;text-align:center;font-size:12px}
#work-tier .sample-reader button:focus-visible{outline:2px solid #4b6884;outline-offset:-3px}
@media(max-width:740px){#work-tier .sample-reader{width:calc(100% - 12px);height:calc(100dvh - 12px);max-height:calc(100dvh - 12px)}#work-tier .sample-reader-head{padding:5px 9px;gap:6px}#work-tier .sample-reader-head h2{font-size:12px}#work-tier .sample-reader-stage{padding:4px}#work-tier .sample-reader-foot{padding:4px 8px}}
#work-tier .sample-reader-image{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-width:0;min-height:0}
