.sc-project-viewer{position:fixed;inset:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:18px 24px;border:0;background:#09151f;color:#fff;z-index:100000;box-sizing:border-box}
.sc-project-viewer::backdrop{background:#09151f}
.sc-project-viewer:not([open]){display:none}
.sc-project-viewer[open]{display:flex;flex-direction:column}
.sc-project-viewer *{box-sizing:border-box}
.sc-project-viewer__toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;flex:none;font-family:Arial,sans-serif;font-size:14px}
.sc-project-viewer button{position:relative;z-index:2;min-height:46px;min-width:84px;padding:11px 18px;color:#fff;border:1px solid #6c7982;border-radius:3px;background:#132b3c;font-family:Arial,sans-serif;font-size:14px;font-weight:700;line-height:1.4;cursor:pointer;touch-action:manipulation}
.sc-project-viewer button:hover{background:#28485e}
.sc-project-viewer button:focus-visible{outline:3px solid #db9c65;outline-offset:4px}
.sc-project-viewer button:disabled{opacity:.4;cursor:default}
.sc-project-viewer__stage{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:20px;flex:1;min-height:0;padding-top:18px}
.sc-project-viewer__stage figure{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;width:100%;height:100%;max-height:100%;min-height:0;margin:0}
.sc-project-viewer__stage img{display:block;width:auto;height:auto;max-width:100%;max-height:calc(100dvh - 180px);object-fit:contain;background:transparent;touch-action:pan-y}
.sc-project-viewer__stage figcaption{max-width:900px;font-family:Arial,sans-serif;font-size:14px;line-height:1.6;color:#d7e0e7;text-align:center;padding:0;margin:0}
@media(max-width:760px){.sc-project-viewer{padding:12px}.sc-project-viewer__stage{grid-template-columns:1fr 1fr;grid-template-rows:minmax(0,1fr) auto;gap:14px}.sc-project-viewer__stage figure{grid-row:1;grid-column:1/-1}.sc-project-viewer__prev{grid-row:2;grid-column:1}.sc-project-viewer__next{grid-row:2;grid-column:2}.sc-project-viewer__stage img{max-height:calc(100dvh - 240px)}.sc-project-viewer__stage figcaption{font-size:12px}}
