/* The Segora Community page (community.html): on top of about.css, the public pages' look. */
.cm-hero { padding: 48px 0 76px; }
.cm-hero h1 { max-width: 820px; }
main.cm { margin-top: -44px; padding-bottom: 60px; }
.cm [hidden] { display: none !important; }

.cm-card { background: #fff; border-radius: 14px; padding: 26px 28px; box-shadow: 0 6px 20px rgba(13,27,42,.10); }
.cm-card h2 { margin: 0 0 6px; font-size: 22px; letter-spacing: -.3px; }
.cm-card h3 { margin: 0 0 4px; font-size: 16px; }
.cm-dim { color: var(--dim); font-size: 14.5px; margin: 0 0 14px; }
.cm-card hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }

.cm-gate { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 860px) { .cm-gate { grid-template-columns: 1fr; } }

.cm-gate form label { display: block; font-size: 12.5px; font-weight: 700; color: var(--text); margin: 12px 0 5px; }
.cm-gate form input:not([type=checkbox]) { width: 100%; box-sizing: border-box; padding: 10px 12px; font: inherit; font-size: 14.5px;
  border: 1.5px solid var(--line); border-radius: 9px; background: #fff; color: var(--text); }
.cm-gate form input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(25,195,177,.18); }
.cm-opt { font-weight: 500; color: var(--dim); }
.cm-hint { margin: 5px 0 0; font-size: 12.5px; color: var(--dim); }
.cm-gate form label.cm-check { display: flex; gap: 9px; align-items: flex-start; font-weight: 500; font-size: 13.5px; line-height: 1.45; margin: 16px 0 4px; }
.cm-check input { margin-top: 3px; flex: none; }
.cm-error { min-height: 18px; color: #b42318; font-size: 13.5px; margin: 8px 0 6px; }
.cm-gate form .btn { border: 0; cursor: pointer; }
.cm-gate form .btn[disabled] { opacity: .6; cursor: progress; }
.cm-switch { margin: 14px 0 0; font-size: 14px; color: var(--dim); }
.cm-sent-icon { font-size: 34px; color: var(--teal-dark); }

.cm-steps { margin: 6px 0 14px; padding-left: 20px; }
.cm-steps li { margin: 0 0 10px; color: var(--dim); font-size: 14.5px; }
.cm-steps b { color: var(--text); }

.cm-notice { background: #fff; border-left: 4px solid var(--teal); border-radius: 10px; padding: 14px 18px; margin: 0 0 18px;
  box-shadow: 0 6px 20px rgba(13,27,42,.08); font-size: 14.5px; }
.cm-notice.error { border-left-color: #d64545; }

/* Header: who is signed in */
.top nav .cm-who { color: #9fb3c8; font-size: 13.5px; }
.top nav button.cm-link { background: none; border: 0; color: #cfe; font: inherit; font-size: 14px; cursor: pointer; padding: 0; }

/* Browse */
.cm-toolbar { display: flex; gap: 10px; background: #fff; border-radius: 14px; padding: 14px; box-shadow: 0 6px 20px rgba(13,27,42,.10); margin-bottom: 14px; }
.cm-toolbar input, .cm-toolbar select { font: inherit; font-size: 14.5px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 9px; background: #fff; color: var(--text); }
.cm-toolbar input { flex: 1; min-width: 0; }
.cm-list { display: block; }
.cm-meta { font-size: 13px; color: var(--dim); margin: 0 0 10px; }
.cm-tag { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #e7f6f4; color: #0b6b62; }
.cm-tag.std { background: #eef1fb; color: #2c3f8c; }
.cm-empty { background: #fff; border-radius: 14px; padding: 30px; text-align: center; color: var(--dim); box-shadow: 0 6px 20px rgba(13,27,42,.08); }

/* One publication */
/* Back to the list: it sits on the dark hero, so the same outlined pill as the hero's own (white border, amber arrow). */
.cm-back { display: inline-flex; align-items: center; gap: 8px; height: 32px; box-sizing: border-box; margin: 0 0 12px; padding: 0 14px 0 11px; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.55); background: rgba(13,27,42,.25); color: #fff; font-size: 13.5px; font-weight: 700; letter-spacing: .02em; text-decoration: none; }
.cm-back svg { width: 14px; height: 14px; color: var(--amber); transition: transform .15s; }
.cm-back:hover, .cm-back:focus-visible { border-color: #fff; background: rgba(255,255,255,.08); outline: none; }
.cm-back:hover svg, .cm-back:focus-visible svg { transform: translateX(-3px); }
.cm-pubhead { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: flex-start; }
.cm-pubhead h2 { font-size: 26px; }
.cm-ver { font: inherit; font-size: 14px; padding: 7px 10px; border: 1.5px solid var(--line); border-radius: 9px; }
.cm-licence { font-size: 13px; color: var(--dim); }
.cm-mapping { margin-top: 10px; padding: 12px 20px; }
.cm-mapping[open] { padding-bottom: 20px; }
.cm-mapping > summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.cm-mapping > summary::-webkit-details-marker { display: none; }
.cm-mapping > summary h3 { font-size: 15px; margin: 0 0 2px; }
.cm-mapping > summary .cm-meta { font-size: 12.5px; margin: 0; }
.cm-mapping[open] > summary { margin-bottom: 14px; }
.cm-mapping[open] > summary .cm-chev { transform: rotate(90deg); }
.cm-mdesc { margin: 12px 0 0; }
/* Source and target: the dark brand panel of the public pages, with teal for FHIR®, amber for Legacy. */
.cm-ends { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: start; margin: 16px 0 22px; padding: 16px;
  border-radius: 14px; background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%); color: #e6edf5; }
.cm-end { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10); border-radius: 11px; padding: 12px 14px; min-width: 0; }
.cm-end-head { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin-bottom: 10px; }
.cm-end-k { font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: #9fb3c8; margin-right: 4px; }
.cm-std { font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 1.5px solid; }
.cm-std.fhir { border-color: rgba(25,195,177,.7); background: rgba(25,195,177,.14); color: #7fe6da; }
.cm-std.legacy { border-color: rgba(255,181,71,.7); background: rgba(255,181,71,.12); color: #ffd08a; }
.cm-std.omrs { border-color: rgba(160,170,255,.7); background: rgba(160,170,255,.12); color: #c9cfff; }
.cm-std.bundle { border-color: rgba(255,255,255,.35); color: #dbe4ee; text-transform: capitalize; }
.cm-res-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.cm-res { display: flex; gap: 10px; align-items: center; justify-content: space-between; background: rgba(255,255,255,.04); border-radius: 8px; padding: 8px 10px; }
.cm-res-main { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cm-url { font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace; font-size: 12px; color: #e6edf5; overflow-wrap: anywhere; text-decoration: none; }
a.cm-url:hover { color: var(--teal); text-decoration: underline; }
.cm-res-sub { font-size: 11.5px; color: #9fb3c8; }
.cm-res-name { font-weight: 600; font-size: 14px; color: #fff; }
.cm-res-none { margin: 0; color: #9fb3c8; font-size: 13.5px; }
.cm-type { flex: none; font-size: 12px; font-weight: 800; padding: 4px 11px; border-radius: 999px; background: var(--teal); color: var(--ink); }
.cm-arrow { align-self: center; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--amber); color: var(--ink); font-size: 18px; font-weight: 800; }
@media (max-width: 760px) { .cm-ends { grid-template-columns: 1fr; } .cm-arrow { transform: rotate(90deg); justify-self: center; } }

/* Each part of a mapping in its own box, its name on the border like a legend. */
.cm-sec { position: relative; border: 1.5px solid var(--line); border-radius: 12px; padding: 18px 14px 10px; margin: 22px 0 0; }
.cm-legend { position: absolute; top: 0; left: 14px; transform: translateY(-50%); margin: 0; padding: 0 8px; background: #fff;
  font-size: 12px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--teal-dark); display: flex; gap: 7px; align-items: center; }
.cm-count { font-size: 11px; font-weight: 800; letter-spacing: 0; padding: 1px 8px; border-radius: 999px; background: #e7f6f4; color: #0b6b62; }
.cm-sec .cm-table tr:last-child td { border-bottom: 0; }
.cm-side { font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.cm-side.source { background: #fff4e0; color: #8a5a00; }
.cm-side.target { background: #e7f6f4; color: #0b6b62; }
.cm-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.cm-table th { text-align: left; font-size: 11.5px; letter-spacing: .6px; text-transform: uppercase; color: var(--dim); padding: 8px 10px; border-bottom: 1.5px solid var(--line); }
.cm-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cm-table td.mono, .cm-mono { font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace; font-size: 12.5px; word-break: break-word; }
.cm-note { max-width: 100%; box-sizing: border-box; overflow-wrap: anywhere; display: inline-block; font-size: 11.5px; padding: 2px 8px; border-radius: 999px; background: #fff4e5; color: #8a5a00; margin: 2px 4px 0 0; }

/* ---- Reviews, comments and suggestions ---- */
.cm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cm-reviews { margin-top: 16px; }
.cm-rev-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.cm-rev-head h3 { margin: 0; font-size: 18px; }
.cm-rev-sum { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.cm-verdict { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; padding: 4px 11px 4px 5px; border-radius: 999px; border: 1.5px solid; }
.cm-verdict i { font-style: normal; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; color: #fff; }
.cm-verdict.ok { border-color: #9bdcd3; background: #e7f6f4; color: #0b6b62; } .cm-verdict.ok i { background: var(--teal-dark); }
.cm-verdict.warn { border-color: #ffd08a; background: #fff4e0; color: #8a5a00; } .cm-verdict.warn i { background: #e69512; }
.cm-verdict.bad { border-color: #f1b5ae; background: #fff1ef; color: #a5281b; } .cm-verdict.bad i { background: #d64545; }
.cm-verdict b { font-weight: 800; }
.cm-openfb { font-size: 12.5px; font-weight: 700; color: #8a5a00; }
.cm-pubnote { margin: 14px 0 0; padding: 10px 14px; border-radius: 10px; background: #f6f8fb; border-left: 4px solid var(--amber); font-size: 13.5px; color: var(--text); }
.cm-review { padding: 14px 0; border-top: 1px solid var(--line); }
.cm-review:first-of-type { margin-top: 12px; }
.cm-review p { margin: 8px 0 0; font-size: 14.5px; }
.cm-by { display: inline; margin-left: 8px; font-size: 13px; color: var(--dim); }
.cm-by b { color: var(--text); }
.cm-role { font-size: 10.5px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; padding: 1px 7px; border-radius: 999px; background: #eef1fb; color: #2c3f8c; }
.cm-role.publisher { background: #fff4e0; color: #8a5a00; }
.cm-role.reviewer { background: #e7f6f4; color: #0b6b62; }
.cm-onver { font-weight: 700; color: #8a5a00; }

.cm-revform { margin-top: 16px; padding: 16px 18px; border-radius: 12px; background: #f6f8fb; border: 1.5px solid var(--line); }
.cm-revform h4 { margin: 0 0 4px; font-size: 15px; }
.cm-verdicts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0; }
@media (max-width: 600px) { .cm-verdicts { grid-template-columns: 1fr; } }
.cm-vopt { position: relative; cursor: pointer; }
.cm-vopt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.cm-vopt span { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: 14px; transition: border-color .12s, background .12s; }
.cm-vopt i { font-style: normal; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; color: #fff; background: #b8c2d1; }
.cm-vopt.ok input:checked + span { border-color: var(--teal-dark); background: #e7f6f4; } .cm-vopt.ok input:checked + span i { background: var(--teal-dark); }
.cm-vopt.warn input:checked + span { border-color: #e69512; background: #fff4e0; } .cm-vopt.warn input:checked + span i { background: #e69512; }
.cm-vopt.bad input:checked + span { border-color: #d64545; background: #fff1ef; } .cm-vopt.bad input:checked + span i { background: #d64545; }
.cm-vopt input:focus-visible + span { box-shadow: 0 0 0 3px rgba(25,195,177,.25); }
.cm-revform textarea, .cm-thread textarea, .cm-thread input[type=text], .cm-thread input:not([type]) {
  width: 100%; box-sizing: border-box; padding: 9px 11px; font: inherit; font-size: 14px; border: 1.5px solid var(--line); border-radius: 9px; background: #fff; color: var(--text); resize: vertical; }
.cm-revform textarea:focus, .cm-thread textarea:focus, .cm-thread input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(25,195,177,.18); }
.cm-formrow { display: flex; gap: 12px; align-items: center; margin-top: 10px; }
.cm .btn { border: 0; cursor: pointer; }
.cm .btn.small { padding: 7px 14px; font-size: 13.5px; }
.cm .btn[disabled] { opacity: .6; cursor: progress; }
.cm-act { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; font-weight: 600; color: var(--dim); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.cm-act:hover { color: var(--text); }
.cm-act.ok { color: var(--teal-dark); }
.cm-earlier { margin-top: 14px; }
.cm-earlier > summary { cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--teal-dark); }

/* The feedback button at the end of every row */
.cm-fbcol { width: 1%; }
.cm-fbcell { width: 1%; white-space: nowrap; text-align: right; }
.cm-fb-btn { position: relative; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  font: inherit; font-size: 12px; font-weight: 700; color: var(--dim); cursor: pointer; transition: border-color .12s, color .12s; }
.cm-fb-btn svg { width: 14px; height: 14px; }
.cm-fb-btn:hover, .cm-fb-btn.on { border-color: var(--teal); color: var(--teal-dark); }
.cm-fb-btn.has { border-color: #9bdcd3; background: #e7f6f4; color: #0b6b62; }
.cm-dot { position: absolute; top: -3px; right: -3px; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); border: 2px solid #fff; }
tr:has(+ .cm-thread-row) td { border-bottom-color: transparent; }
.cm-thread-row > td { padding: 0 10px 12px; }
.cm-thread { background: #f6f8fb; border-radius: 10px; padding: 12px 14px; display: grid; gap: 10px; }
.cm-thread > .cm-dim { margin: 0; }
.cm-item { background: #fff; border-radius: 9px; padding: 11px 13px; border-left: 3px solid var(--teal); box-shadow: 0 1px 3px rgba(13,27,42,.06); }
.cm-item.accepted { border-left-color: var(--teal-dark); } .cm-item.declined { border-left-color: #b8c2d1; } .cm-item.resolved { border-left-color: #b8c2d1; }
.cm-item-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.cm-item-head .cm-by { margin-left: 2px; }
.cm-item p { margin: 7px 0 0; font-size: 14px; }
.cm-kind { font-size: 11px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--teal-dark); }
.cm-kind.sug { color: #8a5a00; }
.cm-status { font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: #fff4e0; color: #8a5a00; }
.cm-status.accepted { background: #e7f6f4; color: #0b6b62; } .cm-status.declined, .cm-status.resolved { background: #eef1f5; color: #5d6b82; }
.cm-sugbox { margin-top: 8px; display: flex; gap: 10px; align-items: baseline; padding: 7px 10px; border-radius: 8px; background: #fff8ec; border: 1px dashed #ffd08a; }
.cm-sugbox .k { flex: none; font-size: 11px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: #8a5a00; }
.cm-statusby { font-size: 12.5px !important; color: var(--dim); }
.cm-reply { margin: 10px 0 0 14px; padding-left: 12px; border-left: 2px solid var(--line); }
.cm-reply .cm-by { margin-left: 0; }
.cm-reply p { margin: 4px 0 0; }
.cm-acts { display: flex; gap: 14px; margin-top: 8px; }
.cm-acts:empty { display: none; }
.cm-replyform { margin-top: 10px; }
.cm-replyrow { display: flex; gap: 8px; align-items: flex-start; }
.cm-replyform textarea { min-height: 38px; }
.cm-newitem { display: grid; gap: 8px; padding-top: 4px; }
.cm-kindpick { display: flex; gap: 16px; font-size: 13.5px; font-weight: 600; }
.cm-kindpick label { display: flex; gap: 6px; align-items: center; cursor: pointer; }
.cm-sugfield label { display: block; font-size: 12px; font-weight: 700; margin: 0 0 4px; }
.cm-newitem .btn { justify-self: start; }
.cm-fbsum { color: #8a5a00; font-weight: 600; }
.cm-othervers .cm-otheritem { margin-top: 14px; }
.cm-onitem { margin: 0 0 6px; font-size: 13.5px; }

/* On the list of publications: how each has been received */
.cm-chip { font-size: 11.5px; font-weight: 800; padding: 2px 8px; border-radius: 999px; }
.cm-chip.ok { background: #e7f6f4; color: #0b6b62; } .cm-chip.warn { background: #fff4e0; color: #8a5a00; } .cm-chip.bad { background: #fff1ef; color: #a5281b; }
.cm-chip.open { background: #eef1fb; color: #2c3f8c; }


/* Your own words, with the bin to their right */
.cm-textline { display: flex; gap: 6px; align-items: flex-start; }
.cm-textline-main { flex: 0 1 auto; min-width: 0; }
.cm-trash { flex: none; margin-top: 6px; width: 26px; height: 26px; display: grid; place-items: center; border: 0; border-radius: 7px; background: transparent; color: #8a97ab; cursor: pointer; }
.cm-trash svg { width: 15px; height: 15px; }
.cm-trash:hover, .cm-trash:focus-visible { background: #fff1ef; color: #b42318; outline: none; }
.cm-formrow .cm-trash { margin-top: 0; }
.cm-removed { font-style: italic; color: var(--dim); }
.cm-closed { display: flex; align-items: center; gap: 6px; margin: 10px 0 0 !important; font-size: 12.5px !important; color: var(--dim); }
.cm-closed svg { width: 14px; height: 14px; flex: none; }

/* One way in: reviewers sign in, Segora administrators continue with their Segora account */
.cm-or { display: flex; align-items: center; gap: 12px; margin: 18px 0 14px; color: var(--dim); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cm-or::before, .cm-or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.cm-segora { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 11px; border: 1.5px solid var(--line); background: #fff;
  color: var(--text); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.cm-segora img { width: 30px; height: 30px; flex: none; }
.cm-segora span { display: flex; flex-direction: column; gap: 2px; }
.cm-segora b { font-size: 14.5px; }
.cm-segora small { font-size: 12.5px; color: var(--dim); }
.cm-segora:hover, .cm-segora:focus-visible { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(25,195,177,.15); outline: none; }
#cmSignInBox .cm-switch { margin-top: 16px; }

/* The publisher's way back to the project */
.cm-pubside { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cm-opensegora { font-size: 13.5px; font-weight: 700; text-decoration: none; }
.cm-opensegora::after { content: " →"; }
@media (max-width: 600px) { .cm-pubside { align-items: flex-start; } }

/* Always current */
.cm-livenote { display: flex; align-items: center; gap: 7px; margin: 6px 0 0; font-size: 12.5px; color: #0b6b62; font-weight: 600; }
.cm-livedot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px rgba(25,195,177,.2); }
.cm-before { font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: #eef1f5; color: #5d6b82; margin-left: 4px; }
.cm-changed { font-size: 10.5px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; padding: 1px 7px; border-radius: 999px; background: #fff4e0; color: #8a5a00; }

/* Who published it, and when: one pill per fact, one under the other */

/* Export (Excel, CSV) on the top-right of a section's border, opposite its name */
.cm-sec-tools { position: absolute; top: 0; right: 14px; transform: translateY(-50%); display: flex; align-items: center; gap: 6px; padding: 0 6px; background: #fff; }
.cm-sec-tools-k { font-size: 11px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--dim); margin-right: 2px; }
.cm-export { display: inline-flex; align-items: center; gap: 5px; padding: 3px 11px; border-radius: 999px; border: 1.5px solid var(--teal); background: #fff;
  font: inherit; font-size: 12px; font-weight: 700; color: var(--teal-dark); cursor: pointer; }
.cm-export::before { content: ""; width: 11px; height: 11px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 2v8M4.5 6.5 8 10l3.5-3.5M3 13h10' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 2v8M4.5 6.5 8 10l3.5-3.5M3 13h10' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.cm-export:hover, .cm-export:focus-visible { background: #e7f6f4; outline: none; }

/* Link details as plain text, one per line */
.cm-details { font-size: 13px; color: var(--text); }
.cm-detail { overflow-wrap: anywhere; }
.cm-detail + .cm-detail { margin-top: 3px; }

/* A mapping's sample: a bar that opens to the source and target side by side */
.cm-sample { margin: 0 0 6px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; }
.cm-sample.none { display: flex; align-items: center; gap: 12px; padding: 11px 16px; background: #fbfcfd; }
.cm-sample > summary { display: flex; align-items: center; gap: 12px; padding: 11px 16px; cursor: pointer; list-style: none; }
.cm-sample > summary::-webkit-details-marker { display: none; }
.cm-sample > summary:hover { background: #f6faf9; border-radius: 12px; }
.cm-sample-k { font-size: 12px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--teal-dark); }
.cm-sample-what { flex: 1; font-size: 13.5px; color: var(--text); }
.cm-sample[open] > summary .cm-chev { transform: rotate(90deg); }
.cm-sample-note { margin: 0 16px 10px; padding: 8px 12px; border-radius: 8px; background: #fff4e0; color: #6e4700; font-size: 13px; }
.cm-sample-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 16px 16px; }
@media (max-width: 760px) { .cm-sample-grid { grid-template-columns: 1fr; } }
.cm-sample-side { min-width: 0; border-radius: 10px; overflow: hidden; border: 1px solid #1b2b45; display: flex; flex-direction: column; background: #0f1d2e; }
.cm-sample-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #fff; font-size: 12.5px; font-weight: 700; }
.cm-sample-head em { font-style: normal; font-size: 11px; font-weight: 700; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: rgba(25,195,177,.18); color: #7fe6da; }
.cm-copy { background: none; border: 1.5px solid rgba(255,255,255,.4); border-radius: 999px; color: #fff; font: inherit; font-size: 11.5px; font-weight: 700; padding: 2px 10px; cursor: pointer; }
.cm-copy:hover { border-color: #fff; }
.cm-sample-code { margin: 0; max-height: 460px; overflow: auto; padding: 12px 14px; background: #0f1d2e; color: #dbe4ee;
  font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace; font-size: 12px; line-height: 1.5; white-space: pre; }

/* Maximise the sample: the button in its bar, and the near-full-window view (the size of a maximised dialog) */
.cm-sample-max { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; border: 1.5px solid var(--line); background: #fff; color: var(--teal-dark); cursor: pointer; }
.cm-sample-max svg { width: 15px; height: 15px; }
.cm-sample-max:hover, .cm-sample-max:focus-visible { border-color: var(--teal); background: #e7f6f4; outline: none; }
body.cm-noscroll { overflow: hidden; }
.cm-max-overlay { position: fixed; inset: 0; z-index: 9500; background: rgba(13,27,42,.55); display: grid; place-items: center; }
.cm-max-panel { width: calc(100vw - 32px); height: calc(100vh - 32px); display: flex; flex-direction: column; background: #fff; border-radius: 14px; box-shadow: 0 20px 60px rgba(13,27,42,.35); overflow: hidden; }
.cm-max-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--text); }
.cm-max-close { width: 32px; height: 32px; border: 0; border-radius: 8px; background: none; font-size: 24px; line-height: 1; color: var(--dim); cursor: pointer; }
.cm-max-close:hover { background: #f1f4f8; color: var(--text); }
.cm-max-panel .cm-sample-grid { flex: 1 1 auto; min-height: 0; padding: 14px 16px 16px; }
.cm-max-panel .cm-sample-side { min-height: 0; }
.cm-max-panel .cm-sample-code { flex: 1 1 auto; max-height: none; font-size: 12.5px; }

/* Linked highlighting in a sample: the clicked element (teal) and what it maps to on the other side (amber) */
.cm-sample-code .ln { display: block; padding: 0 6px; margin: 0 -6px; border-radius: 4px; }
.cm-sample-code .ln.el { cursor: pointer; }
.cm-sample-code .ln.el:hover { background: rgba(255,255,255,.05); }
.cm-sample-code .ln.sel { background: rgba(25,195,177,.28); box-shadow: inset 3px 0 0 #19c3b1; }
.cm-sample-code .ln.hit { background: rgba(255,181,71,.26); box-shadow: inset 3px 0 0 #ffb547; }
.cm-sample-code .j-k { color: #9fd8ff; }
.cm-sample-code .j-s { color: #c6f1d6; }
.cm-sample-code .j-n { color: #ffd08a; }
.cm-sample-code .j-p { color: #8da1b8; }
.cm-sample-side { position: relative; }
.cm-sample-tip { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); padding: 7px 12px; border-radius: 8px; background: #fff; color: var(--text);
  font-size: 12.5px; font-weight: 600; box-shadow: 0 6px 18px rgba(0,0,0,.3); max-width: calc(100% - 28px); text-align: center; }

/* Attachments: adding them to a post, and showing them on one */
.cm-attach { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 6px; }
.cm-attach-btn { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  font-size: 12.5px; font-weight: 700; color: var(--teal-dark); cursor: pointer; }
.cm-attach-btn svg { width: 14px; height: 14px; }
.cm-attach-btn:hover { border-color: var(--teal); background: #e7f6f4; }
.cm-chips { display: flex; flex-wrap: wrap; gap: 6px; width: 100%; }
.cm-chips:empty { display: none; }
.cm-chip-file { display: inline-flex; align-items: center; gap: 6px; padding: 3px 4px 3px 10px; border-radius: 999px; background: #eef1f5; font-size: 12.5px; }
.cm-chip-file em { font-style: normal; color: var(--dim); }
.cm-chip-file button { border: 0; background: none; width: 20px; height: 20px; border-radius: 50%; cursor: pointer; color: var(--dim); font-size: 15px; line-height: 1; }
.cm-chip-file button:hover { background: #dfe5ec; color: var(--text); }
.cm-attach-note { width: 100%; font-size: 12.5px; color: #8a5a00; background: #fff4e0; border-radius: 8px; padding: 6px 10px; }
.cm-atts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.cm-att { position: relative; }
.cm-att.img a { display: block; width: 120px; height: 84px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: #f6f8fb; }
.cm-att.img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cm-att.img a:hover { border-color: var(--teal); }
.cm-att.pdf a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--text); font-size: 13px; max-width: 280px; }
.cm-att.pdf a:hover { border-color: var(--teal); }
.cm-att.pdf b { font-size: 10.5px; font-weight: 800; padding: 2px 6px; border-radius: 4px; background: #fde4e1; color: #a5281b; }
.cm-att.pdf span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cm-att.pdf em { font-style: normal; color: var(--dim); font-size: 12px; white-space: nowrap; }
.cm-att-del { position: absolute; top: -7px; right: -7px; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--dim);
  font-size: 14px; line-height: 1; cursor: pointer; box-shadow: 0 1px 3px rgba(13,27,42,.15); }
.cm-att-del:hover { color: #b42318; border-color: #f1b5ae; }
.cm-img-overlay .cm-max-head > span:last-child { display: flex; align-items: center; gap: 12px; }
.cm-img-dl { font-size: 13px; font-weight: 700; }
.cm-img-wrap { flex: 1 1 auto; min-height: 0; display: grid; place-items: center; padding: 16px; background: #0f1d2e; }
.cm-img-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; background: #fff; }

/* The two parts of the Community: Publications and Discussions */
.cm-tabs { display: flex; gap: 8px; margin: 22px 0 0; }
.cm-tabs[hidden] { display: none; }
.cm-tabs a { padding: 7px 16px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.4); color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; }
.cm-tabs a:hover, .cm-tabs a:focus-visible { border-color: #fff; background: rgba(255,255,255,.08); outline: none; }
.cm-tabs a.on { background: #fff; border-color: #fff; color: var(--text); }

/* Header: the account menu */
.cm-acct { position: relative; display: inline-flex; margin-left: 10px; }
.cm-acct-btn { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.4); background: none; color: #fff; cursor: pointer;
  display: grid; place-items: center; padding: 0; }
.cm-acct-btn svg { width: 19px; height: 19px; }
.cm-acct-btn:hover, .cm-acct-btn:focus-visible, .cm-acct-btn[aria-expanded="true"] { border-color: #fff; background: rgba(255,255,255,.1); outline: none; }
.cm-acct-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 50; width: 290px; background: #fff; color: var(--text); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(13,27,42,.22); padding: 6px; text-align: left; }
.cm-acct-head { padding: 10px 12px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.cm-acct-head b { display: block; font-size: 14px; }
.cm-acct-head span { display: block; font-size: 12.5px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; }
.cm-acct-menu > button { display: block; width: 100%; box-sizing: border-box; text-align: left; border: 0; background: none; padding: 9px 12px;
  border-radius: 8px; font: inherit; font-size: 14px; color: var(--text); text-decoration: none; cursor: pointer; }
.cm-acct-menu > button:hover { background: #f2f5f9; }
.cm-acct-menu small { color: var(--dim); font-size: 12px; }
/* The menu sits in the dark header: its text keeps the menu's own colours, not the header's. */
.top nav .cm-acct-menu { color: var(--text); font-size: 14px; }
.cm-acct-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 8px; cursor: pointer; font-size: 14px; }
.cm-acct-toggle:hover { background: #f2f5f9; }
.cm-acct-toggle small { display: block; margin-top: 2px; line-height: 1.35; }
.cm-acct-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.cm-acct-toggle i { flex: none; width: 36px; height: 20px; border-radius: 999px; background: #c9d2dd; position: relative; transition: background .15s; }
.cm-acct-toggle i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; }
.cm-acct-toggle input:checked + i { background: var(--teal); }
.cm-acct-toggle input:checked + i::after { transform: translateX(16px); }
.cm-acct-toggle input:focus-visible + i { box-shadow: 0 0 0 3px rgba(25,195,177,.3); }

/* Forgot your password */
.cm-forgot-link { margin: 10px 0 0; font-size: 13.5px; }

/* A small dialog (changing the password) */
.cm-dialog-overlay { padding: 16px; }
.cm-dialog { width: min(440px, 100%); box-sizing: border-box; }
.cm-dialog label { display: block; font-size: 12.5px; font-weight: 700; margin: 12px 0 5px; }
.cm-dialog input { width: 100%; box-sizing: border-box; padding: 10px 12px; font: inherit; font-size: 14.5px; border: 1.5px solid var(--line); border-radius: 9px; }
.cm-dialog input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(25,195,177,.18); }
.cm-dialog .btn, .cm-discform .btn { border: 0; cursor: pointer; }
.cm-dialog .btn.ghost, .cm-discform .btn.ghost { border: 1.5px solid var(--teal); }

/* A value set's codes, expanded under its row */
.cm-vs-toggle { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.cm-vs-toggle:disabled { cursor: default; }
.cm-vs-toggle:disabled .cm-chev { visibility: hidden; }
.cm-vs-toggle[aria-expanded="true"] .cm-chev { transform: rotate(90deg); }
.cm-vs-toggle:hover:not(:disabled) { color: var(--teal-dark); }
tr.cm-vs-codes > td { background: #f7f9fc; padding: 8px 12px 12px 30px; }
.cm-codes-wrap { max-height: 360px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
table.cm-codes { width: 100%; border-collapse: collapse; font-size: 13px; }
table.cm-codes th { position: sticky; top: 0; background: #eef2f7; text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .4px; color: var(--dim); padding: 6px 10px; }
table.cm-codes td { padding: 5px 10px; border-top: 1px solid var(--line); vertical-align: top; }
table.cm-codes td.mono { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 12.5px; }

/* General discussions */
.cm-discform { margin: 0 0 16px; }
.cm-discform label { display: block; font-size: 12.5px; font-weight: 700; margin: 12px 0 5px; }
.cm-discform input, .cm-discform textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; font: inherit; font-size: 14.5px; border: 1.5px solid var(--line); border-radius: 9px; }
.cm-discform input:focus, .cm-discform textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(25,195,177,.18); }
.cm-disc-thread { margin: 0 0 16px; }
.cm-disc-thread > .cm-textline p { white-space: normal; font-size: 15px; }
.cm-disc-replies h3 { margin-bottom: 12px; }
.cm-disc-replies .cm-replyform { margin-top: 14px; }
.cm-disc-replies .cm-replyrow textarea { flex: 1 1 auto; min-width: 0; box-sizing: border-box; padding: 9px 11px; font: inherit; font-size: 14px;
  border: 1.5px solid var(--line); border-radius: 9px; resize: vertical; }
.cm-disc-replies .cm-replyrow textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(25,195,177,.18); }

/* The lists: compact rows, a header line, small type. Publications are a tree (one collapsible branch per organization),
   discussions a single table. On a narrow screen each row wraps into two lines. */
.cm-listbar { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; margin: 0 2px 8px; font-size: 13px; }
.cm-listbar p { margin: 0; }
.cm-treectl { display: inline-flex; gap: 14px; font-size: 13px; }
.cm-treectl a { color: var(--teal-dark); font-weight: 600; }
.cm-treectl[hidden] { display: none; }
.cm-table { background: #fff; border-radius: 14px; box-shadow: 0 6px 20px rgba(13,27,42,.08); overflow: hidden; }
.cm-pubtable { --cols: minmax(0, 1fr) 170px 92px 160px 104px; }
.cm-disctable { --cols: minmax(0, 1fr) 210px 80px 112px; }
.cm-thead, .cm-row { display: grid; grid-template-columns: var(--cols); gap: 14px; align-items: center; padding: 0 18px; }
.cm-thead { padding-top: 10px; padding-bottom: 9px; background: #f6f8fb; border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 800;
  letter-spacing: .6px; text-transform: uppercase; color: var(--dim); }
.cm-rows { list-style: none; margin: 0; padding: 0; }
.cm-rows li + li .cm-row { border-top: 1px solid #eef1f5; }
.cm-row { padding-top: 9px; padding-bottom: 9px; text-decoration: none; color: inherit; font-size: 13px; }
.cm-row:hover, .cm-row:focus-visible { background: #f3fbfa; outline: none; }
.cm-row:focus-visible { box-shadow: inset 3px 0 0 var(--teal); }
.cm-c-main { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.cm-c-main b { font-size: 14px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cm-c-sub { font-size: 12.5px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cm-c-tags, .cm-c-recv { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; min-width: 0; }
.cm-c-tags .cm-tag { font-size: 10.5px; padding: 2px 7px; }
.cm-c-recv .cm-chip { font-size: 11px; padding: 1px 7px; }
.cm-c-recv .cm-dim { font-size: 12px; }
.cm-c-num { font-weight: 700; color: var(--text); }
.cm-c-num small, .cm-c-date { font-weight: 400; color: var(--dim); font-size: 12.5px; }
.cm-c-by { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.cm-c-by .cm-role { font-size: 9.5px; margin-left: 2px; vertical-align: 1px; }
.cm-clip { display: inline-flex; align-items: center; gap: 2px; margin-left: 4px; font-size: 11.5px; font-weight: 700; color: var(--dim); vertical-align: middle; }
.cm-clip svg { width: 13px; height: 13px; }

/* A publication tree's branch: its organization, opened and closed from its line */
.cm-branch + .cm-branch { border-top: 1px solid var(--line); }
.cm-branch > summary { display: flex; align-items: center; gap: 8px; padding: 9px 18px; cursor: pointer; list-style: none; font-size: 13.5px;
  background: #fbfcfd; color: var(--text); }
.cm-branch > summary::-webkit-details-marker { display: none; }
.cm-branch > summary:hover { background: #f3f6fa; }
.cm-branch > summary:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }
.cm-branch[open] > summary { border-bottom: 1px solid #eef1f5; }
/* The one arrow used everywhere on this page: a small grey triangle, turned down when its part is open */
.cm-chev { flex: none; display: inline-block; width: 0; height: 0; border-left: 5px solid var(--dim); border-top: 4px solid transparent; border-bottom: 4px solid transparent; transition: transform .15s; }
.cm-branch[open] .cm-chev { transform: rotate(90deg); }
.cm-branch .cm-row { padding-left: 38px; }

/* Discussions: the search and "Start a discussion" share one bar */
.cm-toolbar .btn { flex: none; border: 0; cursor: pointer; }

@media (max-width: 760px) {
  .cm-thead { display: none; }
  .cm-row { display: flex; flex-wrap: wrap; gap: 4px 12px; }
  .cm-c-main { flex: 1 1 100%; }
  .cm-branch .cm-row { padding-left: 18px; }
  .cm-toolbar { flex-wrap: wrap; }
  .cm-toolbar input { flex: 1 1 100%; }
}

/* One discussion: the topic and its replies, compact */
.cm-disc-thread, .cm-disc-replies { padding: 16px 22px; }
.cm-disc-thread { margin-top: 16px; margin-bottom: 12px; }
.cm-card.cm-disc-thread h2 { font-size: 18px; margin-bottom: 2px; }
.cm-disc-thread .cm-meta { font-size: 12.5px; margin-bottom: 8px; }
.cm-disc-thread > .cm-textline p { font-size: 14px; }
.cm-card.cm-disc-replies h3 { font-size: 14px; margin-bottom: 4px; }
.cm-disc-replies .cm-reply { margin-top: 8px; }
.cm-disc-replies .cm-reply p { font-size: 14px; }

/* A publication's heading card: two lines (title, organization, publisher and date; then the licence) */
.cm-card.cm-pubcard { padding: 16px 22px; margin-top: 16px; }   /* a gap below the dark banner */
.cm-pubcard .cm-pubhead { align-items: center; }
.cm-publine { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 0; min-width: 0; }
.cm-card.cm-pubcard h2 { margin: 0; font-size: 19px; letter-spacing: -.2px; }
.cm-pubfacts { display: inline-flex; flex-wrap: wrap; align-items: baseline; row-gap: 2px; font-size: 13.5px; color: var(--dim); }
.cm-pubfacts > * { white-space: nowrap; }
.cm-pubfacts > *::before { content: "\00b7"; margin: 0 8px; color: #b6c0cd; font-weight: 700; }
.cm-pubfacts b { color: #0b6b62; font-weight: 700; }
.cm-pubcard .cm-licence { margin: 4px 0 0; font-size: 12.5px; }
.cm-pubcard .cm-pubdesc { margin: 8px 0 0; font-size: 13.5px; color: var(--text); }
.cm-pubcard .cm-notice { margin: 8px 0 0; }

/* The new topic's title: what it may be, and how long it is so far */
.cm-discform .cm-titlehint { display: flex; justify-content: space-between; gap: 12px; margin: 5px 0 0; font-size: 12px; color: var(--dim); }
.cm-titlecount { flex: none; font-variant-numeric: tabular-nums; }
.cm-titlecount.over { color: #a5281b; font-weight: 700; }

/* A screenshot pasted into a post, shown where it was pasted */
.cm-inline-img { display: block; width: fit-content; max-width: 100%; margin: 8px 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #f6f8fb; }
.cm-inline-img img { display: block; max-width: 100%; max-height: 420px; height: auto; }
.cm-inline-img:hover, .cm-inline-img:focus-visible { border-color: var(--teal); outline: none; }

/* The review form's last row: Attach on the left, Delete and Post/Update on the right */
.cm-revfoot { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; margin-top: 10px; }
.cm-revfoot .cm-attach { flex: 1 1 260px; min-width: 0; margin-top: 0; }
.cm-revactions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.cm-textbtn { border: 0; background: none; padding: 4px 2px; font: inherit; font-size: 13px; font-weight: 600; color: var(--dim); cursor: pointer; border-radius: 6px; }
.cm-textbtn.danger:hover, .cm-textbtn.danger:focus-visible { color: #b42318; text-decoration: underline; outline: none; }

/* What the email switch just did, said under its description */
.cm-acct-toggle .cm-acct-status { display: block; font-style: normal; font-size: 12px; font-weight: 600; color: #0b6b62; }
.cm-acct-toggle .cm-acct-status:not(:empty) { margin-top: 6px; }
.cm-acct-toggle .cm-acct-status.bad { color: #b42318; }