#reflections-dialog{width:min(720px,calc(100vw - 32px));max-width:720px;max-height:calc(100dvh - 32px);box-sizing:border-box;padding:28px;color:var(--cream,#f5edda);background:#10252a;border:1px solid #65716a;border-radius:22px}
#reflections-dialog .dialog-top{gap:16px;align-items:flex-start}
#reflections-title{font-size:clamp(24px,4vw,32px);margin:0}
#reflections-dialog p{line-height:1.55}
#reflections-intro{margin:12px 0 20px;color:#cad4ce}
#reflections-state{font-size:13px;color:#e3c78f;min-height:20px}
#reflections-stale{padding:10px 14px;border-left:2px solid #e3c78f;background:#e3c78f0d}
#reflections-editor label{display:block;margin:18px 0;color:#f0d49c;font-size:14px;font-weight:600}
#reflections-editor textarea{display:block;box-sizing:border-box;width:100%;min-height:116px;resize:none;overflow:hidden;margin-top:8px;padding:14px;border:1px solid #58685e;border-radius:12px;background:#081b20;color:#f5edda;font:400 16px/1.6 system-ui,sans-serif}
#reflections-editor textarea:focus{outline:2px solid #dfc48e;outline-offset:2px}
#reflections-dialog .reflection-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:20px}
#reflections-dialog .reflection-actions button{white-space:normal;line-height:1.4}
#reflections-free,#reflections-storage,#reflections-notice{font-size:13px;color:#b7c7c3}
#reflections-decision{border:1px solid #9d895d;background:#1d3336;border-radius:12px;padding:16px;margin-top:16px}
#reflections-decision p{margin-top:0}
#reflections-error:empty,#reflections-notice:empty{display:none}
#open-reflections{white-space:normal}
@media(max-width:520px){#reflections-dialog{padding:20px;width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}#reflections-dialog .reflection-actions{align-items:stretch}#reflections-dialog .reflection-actions button{flex:1 1 180px}#reflections-editor textarea{min-height:132px}}
