/* Portal-only additions to the shared base.css. */
.portal-name { font-weight: 700; font-size: 1.2rem; flex: 1; }
#app { max-width: 48rem; }
.org { margin-bottom: var(--space-6); }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: var(--space-2) var(--space-4); margin: 0 0 var(--space-5); }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; word-break: break-all; }
button.danger { background: var(--color-danger); border-color: var(--color-danger); color: var(--color-on-danger); }
button.danger:hover { filter: brightness(0.9); }
button[disabled] { opacity: 0.6; cursor: progress; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.95em; background: var(--color-surface-muted); padding: 0.1em 0.3em; border-radius: 4px; }
#client-secret { background: var(--color-warning-surface); color: var(--color-on-warning-surface); font-weight: 700; padding: 0.2em 0.4em; }
.panel h2:first-child, .panel h3:first-child { margin-top: 0; }
button.link { background: none; border: 0; padding: 0; min-height: 0; color: var(--color-link); font-weight: 400; text-decoration: underline; cursor: pointer; }
button.link:hover { background: none; }

/* the conversation with the reviewers */
.thread { list-style: none; margin: 0 0 var(--space-5); padding: 0; }
.thread .comment { padding: var(--space-3) var(--space-4); border-left: 4px solid var(--color-surface-muted); margin-bottom: var(--space-3); }
.thread .comment.mine { border-left-color: var(--color-primary); }
.thread .body { margin: var(--space-2) 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }

/* "Test your integration": the commands and values are long, so they scroll instead of widening the page */
#selftest pre { overflow-x: auto; padding: 0.75rem; background: var(--surface-muted, #f3f4f6); border: 1px solid var(--border, #767676); border-radius: 4px; white-space: pre; }
#selftest code { overflow-wrap: anywhere; }
label.inline { margin-right: 1rem; display: inline-block; }
.qr { display: block; width: 200px; height: 200px; padding: 10px; background: #fff; border-radius: 8px; }
