.open-wrap{position:relative}
#new-presentation{display:inline-block}
#new-presentation[hidden]{display:none}
@media(max-width:900px){#new-presentation span{display:none}}
.open-wrap .dropdown{left:0;right:auto;min-width:270px}
.projects-dialog{width:760px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 48px);padding:28px;background:var(--ui-paper);color:var(--ui-ink)}
.projects-dialog .dialog-heading p{color:var(--ui-muted);line-height:1.5}
.projects-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;color:var(--ui-muted);font-size:12px;margin-bottom:16px}
#projects-message{font-size:13px;line-height:1.7;color:var(--ui-muted)}
#projects-message:empty{display:none}
#projects-message.error{color:#be5771}
.saved-projects-list{display:grid;gap:10px}
.saved-project{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid var(--ui-line);border-radius:10px;padding:18px}
.saved-project-info{min-width:0}
.saved-project h3{font-size:15px;line-height:1.4;margin:0 0 8px;overflow-wrap:anywhere}
.saved-project-info p{font-size:11px;color:var(--ui-muted);margin:0;line-height:1.6}
.project-active{display:inline-block;font-size:10px;color:var(--ui-accent);background:var(--ui-accent-soft);border-radius:4px;padding:3px 7px;margin-top:8px}
.saved-project-actions{display:flex;align-items:center;gap:7px;flex-shrink:0}
.saved-project-actions .small-button{font-size:11px}
.project-action-dialog{width:440px;max-width:calc(100vw - 32px);padding:28px;background:var(--ui-paper);color:var(--ui-ink)}
.project-action-dialog h2{font:26px Georgia,serif;margin:0 0 22px}
.project-action-dialog p{font-size:13px;line-height:1.6;color:var(--ui-muted)}
.project-delete-name{font-weight:600;overflow-wrap:anywhere;color:var(--ui-ink)!important}
.project-dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:24px}
.project-dialog-actions .button.danger{background:#a44159;border-color:#a44159;color:white}
.saved-project-actions .danger{color:#a44159}
html[data-ui-theme="dark"] .saved-project-actions .danger{color:#e79aad}
html[data-ui-theme="dark"] #projects-message.error{color:#e79aad}
@media(max-width:670px){.projects-dialog{padding:20px}.projects-dialog .dialog-heading h2{font-size:24px}.saved-project{align-items:stretch;flex-direction:column;gap:14px;padding:15px}.saved-project-actions{flex-wrap:wrap}.open-wrap .dropdown{left:auto;right:-60px;min-width:250px;max-width:calc(100vw - 30px)}}
