.alert{background:#fde8e6;border:1px solid #e3a8a3;color:#7a1c14;padding:10px 14px;border-radius:10px;margin:10px 0}
.alert.ok{background:#e4f3ec;border-color:#9fcdb8;color:#1d4d3c}
.alert.warn{background:#fff4d6;border-color:#e6cd85;color:#5c4400}
input[type=password]{width:100%;max-width:520px;min-height:44px;padding:8px 10px;border:2px solid var(--bd);border-radius:10px;font-size:1rem;font-family:inherit;display:block}
code{background:#eee;padding:1px 6px;border-radius:5px}
.menu form{margin:0}
.menu button{width:100%;text-align:left;background:none;border:0;padding:12px 16px;font-size:1rem;font-family:inherit;color:var(--tx);cursor:pointer}
.menu a:hover,.menu button:hover{background:#eef3f0}
.inline{display:inline-flex;gap:6px;align-items:center;margin:0}
.inline input[type=password]{max-width:210px;min-height:34px}
.tile{padding:0;overflow:hidden}
.tile img{width:100%;height:100%;object-fit:cover;display:block}
.prose img{max-width:100%;border-radius:10px}
.prose table td,.prose table th{border:1px solid var(--bd)}
#body{min-height:360px;max-width:100%;font-family:ui-monospace,Menlo,Consolas,monospace}
dialog form label{display:block;font-weight:600;margin:10px 0 4px}
dialog input[type=text]{max-width:100%}
