#forge-modal[open]:has(.workspace-backup){display:flex;flex-direction:column;top:12px;bottom:auto;margin:0 auto;max-height:calc(min(var(--forge-viewport-height,100dvh),100dvh) - 24px);overflow:hidden}
#forge-modal:has(.workspace-backup) .forge-modal-heading{flex-shrink:0}
#forge-modal:has(.workspace-backup) #forge-modal-body{min-height:0;max-height:none;overflow-x:hidden;overflow-y:auto}
.workspace-notice{position:fixed;z-index:40;bottom:12px;left:12px;right:12px;display:flex;align-items:center;gap:9px;padding:10px 13px;background:#1c2434;border:1px solid #7e6e44;border-radius:9px;font-size:12px;box-shadow:0 4px 20px #0008}
.workspace-notice[hidden]{display:none}.workspace-notice span{flex:1}.workspace-notice button{padding:6px 9px;border:1px solid #6e7c93;border-radius:5px;white-space:nowrap}.workspace-notice[data-status="saving"],.workspace-notice[data-status="loading"]{pointer-events:none}
.protected-workspace{padding:20px;max-width:650px;margin:auto}.protected-workspace h1{font-size:19px}.protected-workspace p{line-height:1.8}.forge-is-crafting .protected-workspace{overflow-y:auto;max-height:100%}
.workspace-backup{font-size:13px;line-height:1.75}.workspace-backup dl{margin:15px 0}.workspace-backup dl>div{display:flex;justify-content:space-between;gap:12px;padding:6px 0;border-bottom:1px solid #30394a}.workspace-backup dt{color:#a7b2c5}.workspace-backup dd{margin:0;text-align:right}.workspace-backup small{display:block;color:#a4b1c9}.backup-free-note{color:#b6d9c2}
.backup-controls{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.backup-controls button{font-size:12px}.backup-limits{color:#a4b1c9;border-top:1px solid #30394a;padding-top:14px}.backup-restore-preview{margin:14px 0;padding:13px;border:1px solid #9a7947;border-radius:7px}.backup-restore-preview h3{font-size:15px}.backup-restore-preview button{margin:5px 4px 0 0}
.saved-backup-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:12px;font-size:11px;color:#a4b1c9}.saved-backup-tools button{font-size:12px;padding:6px 10px}
@media(max-width:760px){.workspace-notice{flex-wrap:wrap;gap:5px;padding:8px;font-size:11px}.workspace-notice strong{width:100%}.workspace-notice span{min-width:150px}.workspace-backup dl>div{display:block}.workspace-backup dd{text-align:left}.backup-controls button{flex:1 1 140px;font-size:11px;padding:8px 10px;white-space:nowrap}.protected-workspace{padding:12px}.workspace-backup{font-size:12px}}
