.cd-dialog{border:0;border-radius:22px;padding:0;width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 28px);color:#173c40;box-shadow:0 22px 80px #092f4240}.cd-dialog::backdrop{background:#102f3c88;backdrop-filter:blur(3px)}.cd-shell{display:flex;flex-direction:column;max-height:calc(100dvh - 28px)}.cd-head{display:flex;justify-content:space-between;gap:12px;padding:18px 20px;background:linear-gradient(115deg,#ecfaf5,#f0f7ff);border-bottom:1px solid #dcece8}.cd-head small{color:#57817a}.cd-head h2{font-size:20px;margin:4px 0}.cd-close{border:0;background:transparent;font-size:28px;align-self:flex-start;cursor:pointer}.cd-body{padding:16px 20px;overflow-y:auto;min-height:100px;flex:1}.cd-context{background:#f4f8fa;border:1px solid #e0e9ef;border-radius:14px;padding:12px;margin-bottom:14px}.cd-context b,.cd-context small{display:block}.cd-context details{margin-top:10px}.cd-preserve{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.7;margin:8px 0}.cd-message{padding:12px 14px;margin:10px 0;border:1px solid #dcebe8;border-radius:14px}.cd-message small{color:#658079;font-size:12px}.cd-reviewer{background:#f0f8ff;border-color:#dce9f4}.cd-contributor{background:#eef9f4}.cd-files{display:flex;flex-wrap:wrap;gap:10px}.cd-files a{max-width:100%;font-size:13px;overflow-wrap:anywhere;color:#247a6b}.cd-files img{display:block;width:112px;height:90px;object-fit:contain;border-radius:9px;background:#fff}.cd-files span{display:block;max-width:150px}.cd-foot{padding:14px 20px;border-top:1px solid #dcebe8;max-height:51dvh;overflow-y:auto;background:#fff}.cd-form{display:grid;gap:10px}.cd-form label{display:grid;gap:5px;font-size:14px;font-weight:600}.cd-form textarea{box-sizing:border-box;width:100%;resize:vertical;border:1px solid #b9d3cb;border-radius:10px;padding:10px;font:inherit;font-size:16px;line-height:1.5}.cd-form input[type=file]{max-width:100%;font-size:13px}.cd-form .cd-privacy{display:flex;align-items:flex-start;font-size:12px;font-weight:400}.cd-primary{border:0;background:#147965;color:#fff;border-radius:11px;padding:11px 14px;font-size:15px;cursor:pointer}.cd-primary:disabled{opacity:.55}.cd-status,.cd-hint{font-size:12px;line-height:1.6;color:#5a7972;margin:0}.cd-status{color:#155e50}.cd-entry{cursor:pointer;border:1px solid #afd4c8;border-radius:9px;padding:8px 11px;background:#eff9f4;color:#176b58;margin:6px 5px 6px 0;font-size:14px}@media(prefers-reduced-motion:no-preference){.cd-dialog[open]{animation:cd-in .18s ease-out}@keyframes cd-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}@media(max-width:480px){.cd-head,.cd-body{padding:13px}.cd-foot{padding:12px 13px;max-height:53dvh}.cd-head h2{font-size:18px}}
/* Explicit centering overrides the app-wide margin reset. */
.cd-dialog{position:fixed;inset:0;margin:auto;box-sizing:border-box;max-height:calc(100dvh - 32px)}.cd-shell{height:min(880px,calc(100dvh - 32px));max-height:calc(100dvh - 32px)}.cd-head{flex-shrink:0}.cd-foot{flex-shrink:0;box-sizing:border-box;max-height:52dvh}.cd-form label{margin:0}.cd-form textarea{height:78px;min-height:68px}
