/* One original portfolio, reached through either its index or the room. */
.room-return{display:inline-flex;align-items:center;min-height:44px;color:var(--blue);font-size:.8rem;white-space:nowrap;text-decoration:none}
.room-return:hover{text-decoration:underline;text-underline-offset:5px}
body.from-room #project-dialog{width:100%;max-width:none;height:100dvh;max-height:none;margin:0;border:0;border-radius:0}
body.from-room #project-dialog .dialog-topbar{padding-left:max(28px,calc((100vw - 1200px)/2));padding-right:max(28px,calc((100vw - 1200px)/2))}
body.from-room #dialog-category{margin-right:auto}
body.from-room #dialog-content{max-width:1200px;margin:auto}
#room-all-work{font-size:.8rem}
.room-materials{margin:50px 0}
.room-materials-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.room-materials-grid>a{display:block;border:1px solid var(--line);border-radius:5px;padding:20px;background:var(--story-tint);text-decoration:none;color:var(--ink)}
.room-materials-grid img{display:block;width:100%;height:250px;object-fit:contain;margin-bottom:22px;background:#e8e3d7}
.room-materials-grid h4{margin:0 0 12px;font-size:1rem}
.room-materials-grid p,.room-materials-note{font-size:.8rem;line-height:1.8;color:var(--muted)}
.room-materials-note{margin-top:18px}
@media(max-width:760px){body.from-room #project-dialog .dialog-topbar{padding:10px 18px;gap:10px;flex-wrap:wrap}body.from-room #dialog-category{display:none}body.from-room .story-toolbar-actions{margin-left:auto}.room-return{font-size:.72rem}.room-materials-grid{grid-template-columns:1fr;gap:18px}.room-materials-grid img{height:auto;max-height:320px}.room-materials{margin-top:35px}}
@media(max-width:390px){body.from-room .story-toolbar-actions{gap:3px}body.from-room #project-dialog .dialog-topbar button{padding-left:8px;font-size:.65rem}body.from-room #project-dialog .dialog-topbar .language-toggle{padding:4px 7px}.room-return{font-size:.66rem}}
