/* Development chrome is outside the preserved v9 device viewport. */
.dev-toolbar{position:relative;z-index:100;display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:10px 16px;background:#f5f4f0;color:#303431;font:13px system-ui;border-bottom:1px solid #ddd}
.dev-toolbar button,.dev-toolbar a{font:inherit;color:inherit;background:transparent;border:1px solid #ccc;border-radius:7px;padding:5px 8px;text-decoration:none}
#dev-status[data-state="error"],#dev-status[data-state="conflict"]{color:#8b3429}
.login-shell,.test-shell{max-width:620px;margin:10vh auto;padding:28px;color:#303431;background:#fbfaf7;border:1px solid #e6e7e2;border-radius:16px;font:16px system-ui}
.login-shell form,.test-shell form{display:grid;gap:12px}.login-shell input,.login-shell button,.test-shell input,.test-shell select,.test-shell button{font:inherit;padding:10px;border:1px solid #cfcfc8;border-radius:8px;background:white}
.login-shell h1,.test-shell h1{font-size:23px}.login-shell p,.test-shell p{line-height:1.5}.test-shell pre{white-space:pre-wrap;overflow-wrap:anywhere;font:13px monospace}

.conflict-paper{background:#fffefa;padding:18px;margin:16px 0;border:1px solid #e6e4df;border-radius:18px}.conflict-paper button{margin:6px}.conflict-paper h3{font:600 16px system-ui}

.version-panel{padding:12px;border-top:1px solid #e7e5df;white-space:pre-wrap}.version-panel h4{margin:3px 0 10px}.version-panel p{margin:6px 0;font-size:14px}.version-panel blockquote{border-left:2px solid #bbb;padding-left:12px}.version-panel img{aspect-ratio:1 / 1.4142;object-fit:fill;border-radius:5px}

.c5-draft-exit { max-width: min(28rem, 86vw); max-height: 80vh; overflow: auto; padding: 1.25rem; border: 1px solid #bbb; border-radius: 12px; background: #fffdf9; color: #333; }
.c5-draft-exit button { margin: .25rem; }
.c5-draft-exit::backdrop { background: #0005; }
