.portfolio-strip{display:grid;grid-auto-flow:column;grid-auto-columns:min(82vw,520px);gap:16px;overflow-x:auto;scroll-snap-type:x proximity;padding:10px 4px 20px;max-width:100%;overscroll-behavior-x:contain}.portfolio-figure{margin:0;min-width:0;scroll-snap-align:start}.portfolio-photo{display:block;width:100%;padding:0;border:1px solid #5b6b7e;border-radius:14px;overflow:hidden;background:#07111f;cursor:zoom-in;min-height:48px}.portfolio-photo img{display:block;width:100%;height:340px;object-fit:contain;background:#07111f}.portfolio-figure figcaption{padding:12px 4px;line-height:1.5;overflow-wrap:anywhere}.portfolio-count{font-size:.95rem;color:#b9c6d6}.portfolio-dialog{width:min(1100px,96vw);max-width:96vw;height:min(90vh,950px);max-height:94vh;padding:12px;background:#06101e;color:#f4f7fb;border:1px solid #bd9d63;border-radius:16px;overflow:auto}.portfolio-dialog::backdrop{background:#000d}.portfolio-dialog-controls{display:flex;flex-wrap:wrap;gap:8px;position:sticky;top:0;z-index:1;padding-bottom:10px;background:#06101e}.portfolio-dialog-controls button{min-height:48px;flex:1;white-space:normal;padding:10px;min-width:110px}.portfolio-dialog-frame{height:calc(100% - 140px);min-height:240px;overflow:auto;touch-action:pan-y pinch-zoom}.portfolio-dialog-frame img{display:block;max-width:100%;width:auto;height:100%;max-height:100%;object-fit:contain;margin:auto}.portfolio-dialog.portfolio-zoomed .portfolio-dialog-frame img{max-width:none;max-height:none;width:200vw;height:auto}.portfolio-dialog-caption{line-height:1.5;padding:8px;overflow-wrap:anywhere}.portfolio-collaborate{padding:24px}.portfolio-story{line-height:1.8;max-width:75ch;white-space:normal}.portfolio-card{padding:20px;min-width:0;overflow-wrap:anywhere}.portfolio-card>img{display:block;width:100%;height:260px;object-fit:contain;border-radius:12px}.portfolio-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.portfolio-editor{padding:20px}.portfolio-editor label{display:block;margin-top:12px}.portfolio-editor input:not([type=checkbox]),.portfolio-editor textarea,.portfolio-editor select{display:block;width:100%;box-sizing:border-box;background:#0c192b;color:#edf5ff;border:1px solid #60708a;border-radius:8px;padding:12px;min-height:48px;font:inherit}.portfolio-editor .portfolio-check{display:flex;align-items:center;gap:12px;min-height:44px}.portfolio-check input{width:24px;height:24px;flex:none}.portfolio-admin-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:20px}.portfolio-admin-photo{padding:16px;min-width:0;overflow-wrap:anywhere}.portfolio-admin-photo>a>img{display:block;width:100%;height:260px;object-fit:contain;background:#07111f}.portfolio-admin-photo summary{cursor:pointer;min-height:44px;display:flex;align-items:center}.portfolio-admin-photo fieldset{min-width:0;border:1px solid #60708a;border-radius:10px;padding:10px}.portfolio-proof-warning{color:#eccb7c;line-height:1.5}.portfolio-blockers{padding:16px;line-height:1.6}.portfolio-editor .cta{gap:10px}@media(max-width:650px){.portfolio-list,.portfolio-admin-photos{grid-template-columns:1fr}.portfolio-photo img{height:310px}.portfolio-editor,.portfolio-collaborate{padding:16px}.portfolio-dialog-controls{gap:6px}.portfolio-dialog-controls button{font-size:13px;min-width:90px}.portfolio-dialog{padding:10px}.portfolio-dialog-frame{height:65vh}}
