/* NACA Community (/community and /community/admin), as in the approved
   mockups (26 Nov 2026). Uses the NACA theme tokens from /shared/naca-wa.css
   and its shared pieces (.naca-notice, .naca-back, .naca-table). */

.cm-main { width: var(--naca-page-column, calc(100% - 20px)); max-width: 1240px; margin: 0 auto; padding: 28px 0 64px; color: var(--naca-text); font-size: 15px; line-height: 1.5; }
.cm-main a { color: var(--naca-navy); }
.cm-main a:hover { color: var(--naca-navy-soft); }
.cm-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cm-dim { color: var(--naca-muted); font-size: 13px; }
.cm-narrow { max-width: 780px; }
.cm-main .naca-notice { margin: 14px 0; }

/* Headings */
.naca-scope .cm-title { margin: 0; text-align: center; color: var(--naca-gold); font-size: 30px; font-weight: 700; letter-spacing: normal; text-transform: uppercase; }
.naca-scope .cm-title.cm-left, .cm-lead.cm-left { text-align: left; }
.cm-lead { margin: 8px 0 0; color: var(--naca-text-secondary); font-size: 16px; }
.naca-scope .cm-h2 { margin: 30px 0 12px; font-size: 20px; font-weight: 800; color: var(--naca-heading); }
.naca-scope .cm-dtitle { margin: 6px 0 12px; font-size: 26px; line-height: 1.25; font-weight: 800; color: var(--naca-heading); text-transform: none; text-align: left; }
.cm-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; margin: 10px 0 18px; }
.cm-headbtns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* The links across the top, and the committee's menu */
.cm-top, .cm-adminnav { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; padding: 10px 14px; margin-bottom: 14px; border: 1px solid var(--naca-border); border-radius: 10px; background: var(--naca-tint-100); font-size: 14px; }
.cm-who { margin-right: auto; color: var(--naca-text-meta); font-weight: 600; }
.cm-top a, .cm-adminnav a { font-weight: 600; text-decoration: none; padding: 4px 2px; border-bottom: 2px solid transparent; }
.cm-top a[aria-current], .cm-adminnav a[aria-current] { border-bottom-color: var(--naca-gold); }
.cm-adminnav { background: var(--naca-navy); border-color: var(--naca-navy); }
.cm-main .cm-adminnav a, .cm-adminnav .cm-who { color: #fff; }
.cm-main .cm-adminnav a:hover { color: var(--naca-blue-light); }
.cm-adminnav .cm-open { margin-left: 12px; padding: 4px 12px; border: 1px solid rgba(255, 255, 255, .6); border-radius: 6px; }
.cm-count { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 999px; background: var(--naca-gold); color: var(--naca-on-gold, #1a2233); font-size: 12px; font-weight: 700; text-align: center; }

/* Buttons */
.cm-main .cm-btn, .cm-act { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1px solid var(--naca-border-strong); border-radius: 6px; background: #fff; color: var(--naca-navy); font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; box-sizing: border-box; }
.cm-main .cm-btn:hover, .cm-act:hover { background: var(--naca-tint-100); }
.cm-main .cm-btn.cm-primary { background: var(--naca-navy); border-color: var(--naca-navy); color: #fff; }
.cm-main .cm-btn.cm-primary:hover { background: var(--naca-navy-deep, #152a47); color: #fff; }
.cm-main .cm-btn.cm-on, .cm-act.cm-on { background: var(--naca-tint-200, #e9eff9); border-color: var(--naca-navy); }
.cm-main .cm-btn.cm-danger { border-color: #b3261e; color: #b3261e; }
.cm-main .cm-act { min-height: 34px; padding: 0 10px; border-color: transparent; font-size: 13px; }
.cm-main .cm-act.cm-warn { color: #8a5a00; background: var(--naca-warn-bg); }
.cm-link { background: none; border: 0; padding: 0; color: var(--naca-navy); font: inherit; font-size: 13px; font-weight: 600; text-decoration: underline; cursor: pointer; }
.cm-inline { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; }
.cm-arrow { width: 30px; height: 30px; border: 1px solid var(--naca-border-strong); border-radius: 6px; background: #fff; color: var(--naca-navy); cursor: pointer; }
.cm-arrows { display: flex; flex-direction: column; gap: 4px; }

/* Two columns: the page and its side cards */
.cm-cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.cm-colmain { min-width: 0; }
.cm-side { display: flex; flex-direction: column; gap: 16px; }
.cm-side-card { padding: 16px 18px; border: 1px solid var(--naca-border); border-radius: 10px; background: #fff; }
.naca-scope .cm-side-card h2 { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 8px; font-size: 16px; font-weight: 800; color: var(--naca-heading); }
.cm-side-card p { margin: 0 0 8px; font-size: 14px; }
/* A side card that opens as a whole (Training and events): an icon beside its heading and first line, like a Hub tile
   (.ad-ico, in the FAQ icons' tint so it shows on white). The heading's link covers the card; links and buttons inside stay on top. */
.cm-tilehead { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.cm-tilehead p { margin: 0; }
.cm-ico { flex: none; width: 56px; height: 56px; border-radius: 10px; background: var(--naca-tint-200); color: var(--naca-navy); display: flex; align-items: center; justify-content: center; }
.cm-ico svg { width: 32px; height: 32px; }
.cm-clickable { position: relative; transition: border-color .15s, box-shadow .15s; }
.cm-clickable:hover { border-color: var(--naca-border-strong); box-shadow: 0 2px 10px rgba(30, 57, 94, .1); }
.cm-main .cm-cardlink, .cm-main .cm-cardlink:hover { color: inherit; text-decoration: none; }
.cm-clickable:hover .cm-cardlink { text-decoration: underline; }
.cm-cardlink::after { content: ""; position: absolute; inset: 0; border-radius: 10px; }
.cm-cardlink:focus-visible { outline: none; }
.cm-cardlink:focus-visible::after { outline: 2px solid var(--naca-navy); outline-offset: 2px; }
.cm-clickable .cm-feed a, .cm-clickable .cm-btn { position: relative; z-index: 1; }
.cm-topics > summary { cursor: pointer; list-style: none; }
.cm-topics > summary::-webkit-details-marker { display: none; }
.cm-topics > summary h2::after { content: "▾"; font-size: 14px; color: var(--naca-muted); }
.cm-topics:not([open]) > summary h2::after { content: "▸"; }
.cm-topics ul, .cm-feed, .cm-res, .cm-tips, .cm-notices, .cm-list, .cm-caselog, .cm-bars, .cm-attached { list-style: none; margin: 0; padding: 0; }
.cm-topics li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; font-size: 14px; }
.cm-topics li a { font-weight: 600; text-decoration: none; }
.cm-feed li, .cm-res li { padding: 8px 0; border-top: 1px solid var(--naca-tint-200, #e9eff9); }
.cm-feed li:first-child, .cm-res li:first-child { border-top: 0; }
.cm-feed a, .cm-res a, .cm-feed li > span { display: flex; flex-direction: column; gap: 2px; text-decoration: none; }
.cm-feed span, .cm-res span { font-size: 13px; color: var(--naca-text-meta); font-weight: 400; }
.cm-reslabel { font-size: 11px !important; font-weight: 700 !important; letter-spacing: .06em; text-transform: uppercase; color: var(--naca-muted) !important; }
.cm-tips li { padding: 4px 0 4px 18px; position: relative; font-size: 14px; }
.cm-tips li::before { content: "✓"; position: absolute; left: 0; color: var(--naca-navy); font-weight: 700; }
.cm-facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; font-size: 14px; }
.cm-facts dt { color: var(--naca-text-meta); }
.cm-facts dd { margin: 0; font-weight: 600; }

/* Welcome card, tabs, search */
/* Info bars (Jim, 27 Nov 2026): light baby blue for information and next
   steps, very light green for "done" and "saved". */
.cm-main { --cm-info-bg: #eaf4fd; --cm-info-border: #bcdcf5; --cm-ok-bg: #edf8ef; --cm-ok-border: #bfe3c7; }
.cm-main .naca-notice-info { background: var(--cm-info-bg); border-color: var(--cm-info-border); color: var(--naca-heading); }
.cm-main .naca-notice-ok { background: var(--cm-ok-bg); border-color: var(--cm-ok-border); }
.cm-welcome { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; padding: 16px 18px; margin-bottom: 16px; border: 1px solid var(--cm-info-border); border-radius: 10px; background: var(--cm-info-bg); }
.naca-scope .cm-welcome h2 { margin: 0; font-size: 17px; font-weight: 800; color: var(--naca-heading); }
.cm-welcome p { margin: 0; font-size: 14px; }
/* The steps, numbered in circles: (1) Read the guidelines (2) … A done step's circle is a green tick. */
.cm-welcome ol.cm-steps { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0 auto 0 0; padding: 0; font-weight: 600; counter-reset: cm-step; }
.cm-steps li { display: inline-flex; align-items: center; gap: 8px; margin: 0; counter-increment: cm-step; }
.cm-steps li::before { content: counter(cm-step); display: inline-flex; align-items: center; justify-content: center; flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--naca-navy); color: var(--naca-navy); background: #fff; font-size: 13px; font-weight: 800; line-height: 1; box-sizing: border-box; }
.cm-welcome .cm-done { color: var(--naca-ok-text, #1c6b33); }
.cm-steps li.cm-done::before { content: '\2713'; border-color: var(--naca-ok-text, #1c6b33); background: var(--naca-ok-text, #1c6b33); color: #fff; }
.cm-tabs { display: flex; flex-wrap: wrap; gap: 4px 4px; border-bottom: 2px solid var(--naca-border); margin: 0 0 14px; }
.cm-main .cm-tabs a { padding: 9px 14px; margin-bottom: -2px; border-bottom: 3px solid transparent; font-weight: 600; text-decoration: none; color: var(--naca-text-meta); }
.cm-main .cm-tabs a[aria-current] { border-bottom-color: var(--naca-gold); color: var(--naca-navy); }
.cm-search { display: flex; flex-direction: column; gap: 10px; margin: 0 0 14px; }
.cm-box { display: flex; align-items: center; height: 46px; padding: 0 4px 0 14px; border: 2px solid var(--naca-border-strong); border-radius: 8px; background: #fff; color: var(--naca-text-meta); }
.cm-box:focus-within { border-color: var(--naca-navy); }
/* The box draws the only border: the input inside has none (beats the shared form-box styles). */
.naca-scope.wa-app .cm-box input[type="search"] { flex: 1; min-width: 0; height: 40px; margin: 0; border: 0; border-radius: 0; outline: none; box-shadow: none; padding: 0; font: inherit; font-size: 16px; background: transparent; }
/* Magnifying glass at the right end; clicking it runs the search. */
.cm-go { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 38px; height: 38px; margin: 0; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--naca-text-meta); cursor: pointer; }
.cm-go:hover { background: var(--naca-surface-alt, #eef2f7); color: var(--naca-navy); }
.cm-go:focus-visible { outline: 2px solid var(--naca-navy); outline-offset: 1px; }
.cm-filters { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; font-size: 14px; }
.cm-flabel { font-weight: 700; color: var(--naca-text-meta); }
.naca-scope .cm-filters select, .naca-scope .cm-filters input:not([type=checkbox]), .naca-scope .cm-inline select, .naca-scope .cm-inline input:not([type=checkbox]) { height: 38px; padding: 0 8px; border: 1px solid var(--naca-border-strong); border-radius: 6px; font: inherit; font-size: 14px; background: #fff; max-width: 100%; }
.cm-filters label, .cm-inline label { display: inline-flex; align-items: center; gap: 6px; }
.cm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cm-main .cm-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border: 1px solid var(--naca-border-strong); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 600; text-decoration: none; }
.cm-main .cm-chip.cm-on { background: var(--naca-navy); border-color: var(--naca-navy); color: #fff; }
.cm-chip span { opacity: .75; font-weight: 500; }

/* A list of discussions */
.cm-list { border-top: 1px solid var(--naca-border); }
.cm-row { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--naca-border); }
.cm-rowmain { min-width: 0; flex: 1; }
.cm-rowside { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: flex-end; font-size: 13px; color: var(--naca-text-meta); white-space: nowrap; }
.cm-meta { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin: 0 0 4px; font-size: 13px; }
.cm-main .cm-topic { font-weight: 700; text-decoration: none; color: var(--naca-text-meta); }
.cm-main .cm-rtitle { display: block; font-size: 17px; font-weight: 700; line-height: 1.3; text-decoration: none; overflow-wrap: anywhere; }
.cm-main .cm-rtitle:hover { text-decoration: underline; }
.cm-by { margin: 4px 0 0; font-size: 13px; color: var(--naca-text-meta); overflow-wrap: anywhere; }
.cm-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--naca-tint-200, #e9eff9); color: var(--naca-navy); }
.cm-b-ok { background: var(--naca-ok-bg); color: var(--naca-ok-text, #1c6b33); }
.cm-b-need { background: var(--naca-warn-bg); color: #8a5a00; }
.cm-b-wait { background: #fdecea; color: #8f1d15; }
.cm-b-pin { background: var(--naca-navy); color: #fff; }
.cm-main .cm-tag { display: inline-block; padding: 2px 8px; margin-right: 4px; border: 1px solid var(--naca-border-strong); border-radius: 6px; font-size: 12px; font-weight: 600; color: var(--naca-text-meta); text-decoration: none; background: #fff; }
.cm-new { font-size: 12px; font-weight: 700; color: #8a5a00; }
.cm-helpn { display: inline-flex; align-items: center; gap: 3px; font-weight: 700; color: var(--naca-navy); }
.cm-empty { padding: 28px 12px; text-align: center; color: var(--naca-muted); border: 1px dashed var(--naca-border-strong); border-radius: 10px; }
.cm-pager { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin: 16px 0 0; font-size: 14px; color: var(--naca-text-meta); }
.cm-files { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; }
.cm-main .cm-file { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--naca-border-strong); border-radius: 6px; font-size: 13px; font-weight: 600; text-decoration: none; background: var(--naca-tint-100); max-width: 100%; overflow-wrap: anywhere; }

/* A discussion */
.cm-threadbtns, .cm-modtools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 14px; }
.cm-modtools { padding: 10px 12px; border: 1px dashed var(--naca-border-strong); border-radius: 8px; background: var(--naca-tint-100); font-size: 13px; }
.cm-post { padding: 16px 18px; margin: 0 0 12px; border: 1px solid var(--naca-border); border-radius: 10px; background: #fff; }
.cm-post.cm-first { border-color: var(--naca-border-strong); }
.cm-post.cm-best { border: 2px solid var(--naca-ok-border, #9bd0a8); background: var(--naca-ok-bg); }
.cm-post.cm-child { margin-left: 44px; }
.cm-post.cm-gone { padding: 10px 18px; background: var(--naca-tint-100); }
.cm-post.cm-notshown { border-style: dashed; }
.cm-bestline { margin: 0 0 8px; font-size: 13px; font-weight: 800; color: var(--naca-ok-text, #1c6b33); }
.cm-status { margin: 0 0 8px; padding: 6px 10px; border-radius: 6px; background: var(--naca-warn-bg); font-size: 13px; font-weight: 600; }
.cm-posthead { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; }
.cm-avatar { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--naca-navy); color: #fff; font-size: 14px; font-weight: 700; }
.cm-card { display: inline-block; position: relative; }
.cm-card > summary { list-style: none; cursor: pointer; font-weight: 700; color: var(--naca-navy); display: inline; margin-right: 6px; }
.cm-card > summary::-webkit-details-marker { display: none; }
.cm-cardbody { position: absolute; z-index: 5; top: 26px; left: 0; width: 280px; display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1px solid var(--naca-border-strong); border-radius: 10px; background: #fff; box-shadow: 0 10px 28px rgba(0, 0, 0, .14); font-size: 13px; }
.cm-body { font-size: 15.5px; line-height: 1.6; overflow-wrap: anywhere; }
.cm-body p { margin: 0 0 12px; }
.cm-body .cm-bh { margin: 20px 0 8px; line-height: 1.3; font-weight: 700; color: var(--naca-navy); }
.cm-body h2.cm-bh { font-size: 20px; }
.cm-body h3.cm-bh { font-size: 17px; }
.cm-body h4.cm-bh { font-size: 15.5px; }
.cm-body .cm-bh:first-child { margin-top: 4px; }
.cm-body ul { margin: 0 0 12px; padding-left: 22px; list-style: disc; }
.cm-body code, .cm-code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13.5px; background: var(--naca-tint-100); border-radius: 4px; }
.cm-body code { padding: 1px 4px; }
.cm-code { display: block; margin: 0 0 12px; padding: 12px 14px; border: 1px solid var(--naca-border); overflow-x: auto; white-space: pre; }
.cm-code code { padding: 0; background: none; }
.cm-body mark { background: #fbd7d3; color: #8f1d15; padding: 0 2px; border-radius: 3px; }
.cm-at { font-weight: 700; color: var(--naca-navy); }
.cm-original { padding: 10px 12px; margin-top: 8px; border-left: 3px solid var(--naca-border-strong); background: var(--naca-tint-100); }
.cm-shot { margin: 0 0 12px; }
.cm-shot img { display: block; max-width: 100%; max-height: 520px; border: 1px solid var(--naca-border); border-radius: 8px; }
.cm-shot figcaption { margin-top: 4px; font-size: 12px; color: var(--naca-muted); }
.cm-actions { display: flex; flex-wrap: wrap; gap: 2px 4px; align-items: center; margin-top: 8px; }
.cm-helpful { display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; font-size: 13px; font-weight: 600; color: var(--naca-text-meta); }
.cm-more { display: inline-block; position: relative; }
.cm-more > summary { list-style: none; }
.cm-more > summary::-webkit-details-marker { display: none; }
.cm-pop { position: absolute; z-index: 6; top: 40px; left: 0; width: 300px; display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 1px solid var(--naca-border-strong); border-radius: 10px; background: #fff; box-shadow: 0 10px 28px rgba(0, 0, 0, .14); font-size: 14px; white-space: normal; }
.cm-pop.cm-wide { width: min(460px, 86vw); right: 0; left: auto; }
.cm-pop label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 13px; }
.cm-pop p { margin: 0; }
.cm-closed { padding: 14px 16px; border-radius: 8px; background: var(--naca-tint-100); font-weight: 600; }

/* Polls and bars */
.cm-poll { padding: 16px 18px; margin: 0 0 12px; border: 1px solid var(--naca-border-strong); border-radius: 10px; background: var(--naca-tint-100); }
.cm-vote { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; margin: 10px 0; }
.cm-vote label { display: flex; gap: 8px; align-items: center; font-size: 15px; }
.cm-bars { display: flex; flex-direction: column; gap: 8px; margin: 10px 0; }
.cm-bars li { display: grid; grid-template-columns: minmax(120px, 220px) 1fr 44px; gap: 10px; align-items: center; font-size: 14px; }
.cm-bar { height: 18px; border-radius: 4px; background: #fff; border: 1px solid var(--naca-border); overflow: hidden; }
.cm-bar span { display: block; height: 100%; background: var(--naca-navy); }
.cm-bars .cm-mine .cm-bar span { background: var(--naca-gold); }
.cm-bars .cm-mine .cm-barlabel { font-weight: 700; }
.cm-pct { text-align: right; font-weight: 700; }

/* Forms */
.cm-form { display: flex; flex-direction: column; gap: 14px; }
.cm-field { display: flex; flex-direction: column; gap: 5px; font-weight: 600; font-size: 14px; }
.cm-field > .cm-dim { font-weight: 400; }
.naca-scope .cm-form input:not([type=checkbox]):not([type=radio]):not([type=file]), .naca-scope .cm-form select, .naca-scope .cm-form textarea, .naca-scope .cm-pop input, .naca-scope .cm-pop select, .naca-scope .cm-pop textarea {
  width: 100%; box-sizing: border-box; padding: 9px 10px; border: 1px solid var(--naca-border-strong); border-radius: 6px; font: inherit; font-size: 15px; font-weight: 400; background: #fff; color: var(--naca-text); }
.naca-scope .cm-form textarea, .naca-scope .cm-pop textarea { line-height: 1.5; resize: vertical; }
.naca-scope .cm-form input:focus-visible, .naca-scope .cm-form select:focus-visible, .naca-scope .cm-form textarea:focus-visible { outline: 2px solid var(--naca-navy); outline-offset: 1px; }
.naca-scope .cm-form input[type=date], .naca-scope .cm-form input[size] { width: auto; }
.cm-kinds { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 0; padding: 0; border: 0; }
.cm-kinds.cm-stack { grid-template-columns: 1fr; }
.cm-kinds legend, .cm-tagpick legend, .cm-choices legend { padding: 0; margin-bottom: 6px; font-weight: 700; font-size: 14px; }
.cm-kind { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; padding: 12px 14px; border: 1px solid var(--naca-border-strong); border-radius: 8px; background: #fff; cursor: pointer; }
.cm-kind.cm-on, .cm-kind:has(input:checked) { border-color: var(--naca-navy); background: var(--naca-tint-100); }
.cm-kind input { grid-row: span 2; margin-top: 4px; }
.cm-kind span { grid-column: 2; font-size: 13px; color: var(--naca-text-meta); }
.cm-tagpick, .cm-choices { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0; padding: 12px 14px; border: 1px solid var(--naca-border); border-radius: 8px; }
.cm-tagpick.cm-stack { flex-direction: column; }
.cm-tagpick label { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 14px; }
.cm-tagpick p { flex-basis: 100%; margin: 0; }
.cm-choices input { flex: 1 1 240px; }
.cm-check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.cm-check input { margin-top: 3px; flex: none; }
.cm-row3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; align-items: end; }
.cm-toolbar { display: flex; gap: 4px; }
.cm-toolbar button { min-width: 36px; height: 32px; border: 1px solid var(--naca-border-strong); border-radius: 6px; background: #fff; cursor: pointer; font-size: 13px; }
.cm-formend { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: flex-end; margin-top: 4px; }
.cm-formend [data-cm-saved] { margin-right: auto; }
.cm-attach { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; padding: 12px 14px; border: 1px dashed var(--naca-border-strong); border-radius: 8px; }
.cm-attached { flex-basis: 100%; display: flex; flex-direction: column; gap: 6px; }
.cm-attached li { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; }
.cm-attachmsg { flex-basis: 100%; margin: 0; font-size: 13px; font-weight: 600; color: #8f1d15; }
.cm-attachmsg:empty { display: none; }
.cm-similar { padding: 10px 14px; border-radius: 8px; background: var(--naca-tint-100); font-size: 14px; }
.cm-similar strong { display: block; margin-bottom: 4px; }
.cm-suggest { display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: 8px; background: var(--naca-warn-bg); }
.cm-suggest p { margin: 0; }
.cm-setrow { display: grid; grid-template-columns: 1fr minmax(160px, 240px); gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--naca-border); font-size: 14px; }
.cm-setrow span { display: flex; flex-direction: column; color: var(--naca-text-meta); }
.cm-setrow strong { color: var(--naca-text); }
.cm-preview { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--naca-border); border-radius: 8px; }
.cm-preview div { display: flex; flex-direction: column; }
.cm-preview span:not(.cm-avatar) { font-size: 13px; color: var(--naca-text-meta); }

/* Notifications, messages */
.cm-notices li { display: flex; gap: 12px; justify-content: space-between; padding: 12px 4px; border-bottom: 1px solid var(--naca-border); }
.cm-notices li.cm-unread { background: var(--naca-tint-100); }
.cm-notices li.cm-unread a { font-weight: 700; }
.cm-message { max-width: 620px; margin: 40px auto; padding: 28px 30px; border: 1px solid var(--naca-border); border-radius: 12px; background: #fff; text-align: center; }
.cm-message p { margin: 14px 0 0; }

/* The committee's pages */
.cm-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 0 0 18px; }
.cm-stat { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1px solid var(--naca-border); border-radius: 10px; background: #fff; }
.cm-stat span { font-size: 13px; color: var(--naca-text-meta); }
.cm-stat strong { font-size: 26px; font-weight: 800; color: var(--naca-navy); }
.cm-stat em { font-style: normal; font-size: 12px; color: var(--naca-muted); }
.cm-tablewrap { overflow-x: auto; }
.cm-table { width: 100%; font-size: 14px; }
.cm-table td { vertical-align: middle; }
.cm-editor { margin-top: 28px; padding: 18px 20px; border: 1px solid var(--naca-border-strong); border-radius: 10px; background: var(--naca-tint-100); }
.cm-editor .cm-h2 { margin-top: 0; }
.cm-danger-zone { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--naca-border-strong); }
.cm-danger-zone p { flex-basis: 100%; margin: 0; }
.cm-caselog li { padding: 6px 0; border-bottom: 1px solid var(--naca-tint-200, #e9eff9); font-size: 13px; }
.cm-waiting { padding: 12px 14px; margin-top: 12px; border-left: 3px solid var(--naca-gold); background: var(--naca-tint-100); }
.cm-askbox { padding: 12px; border: 1px solid var(--naca-border-strong); border-radius: 8px; background: #fff; white-space: normal; min-width: 280px; }
.cm-gap { background: var(--naca-warn-bg); }

@media (max-width: 900px) {
  .cm-cols { grid-template-columns: 1fr; }
  .cm-post.cm-child { margin-left: 18px; }
  .cm-row { flex-direction: column; align-items: stretch; }
  .cm-rowside { justify-content: flex-start; white-space: normal; }
  .cm-setrow { grid-template-columns: 1fr; }
  .cm-bars li { grid-template-columns: 1fr 44px; }
  .cm-bars .cm-barlabel { grid-column: 1 / -1; }
  .cm-pop, .cm-cardbody { width: min(300px, 84vw); }
}

/* ── The landing page (/community for visitors and Affiliate members) ─────────
   Two full-width navy bands (the headline, Join NACA) with the page column
   between them. .cm-l-in is the column. */
.cm-landing .cm-main { width: auto; max-width: none; padding: 0; font-size: 16px; }
.cm-l-in { width: var(--naca-page-column, calc(100% - 20px)); max-width: 1120px; margin: 0 auto; }
.cm-l-hero { background: var(--naca-navy-deep); color: #fff; padding: 64px 0 68px; }
.cm-l-join { background: var(--naca-navy); color: #fff; padding: 56px 0 60px; }
.cm-l-split { display: flex; flex-wrap: wrap; gap: 36px 56px; align-items: center; }
.cm-l-words { flex: 999 1 460px; min-width: 0; }
.naca-scope .cm-l-eyebrow { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-align: left; color: var(--naca-muted); }
.cm-l-hero .cm-l-eyebrow { color: var(--naca-blue-light); }
.naca-scope .cm-l-h1 { margin: 14px 0 0; font-size: clamp(38px, 6vw, 60px); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; text-transform: none; text-align: left; color: #fff; }
.naca-scope .cm-l-h2 { margin: 0; font-size: 34px; line-height: 1.15; font-weight: 800; letter-spacing: normal; text-transform: none; text-align: left; color: #fff; }
.naca-scope .cm-l-lead { margin: 18px 0 28px; max-width: 32em; font-size: 20px; line-height: 1.5; color: #dbe4f0; }
.naca-scope .cm-l-join .cm-l-lead { margin: 12px 0 0; font-size: 18px; }
.cm-main a.cm-l-cta { display: inline-block; padding: 14px 28px; border-radius: 6px; background: var(--naca-gold); color: var(--naca-on-gold, #1a2233); font-size: 18px; font-weight: 700; text-decoration: none; }
.cm-main a.cm-l-cta:hover { background: var(--naca-gold-hover); color: var(--naca-on-gold, #1a2233); }
.naca-scope .cm-l-also { margin: 18px 0 0; font-size: 15px; color: #dbe4f0; }
.cm-main .cm-l-also a, .cm-main .cm-l-do a:not(.cm-l-cta) { color: var(--naca-blue-light); font-weight: 600; }
.cm-main .cm-l-do a:not(.cm-l-cta) { color: #fff; font-size: 15px; }
.cm-l-do { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

/* The drawing beside the headline: a post and two replies, as shapes */
.cm-l-talk { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.cm-l-post { display: flex; gap: 14px; padding: 18px 20px; border-radius: 10px; background: #fff; }
.cm-l-post > b { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--naca-blue); }
.cm-l-post > b.cm-l-b2 { background: var(--naca-navy); }
.cm-l-post > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 9px; align-items: flex-start; }
.cm-l-post i { display: block; height: 10px; border-radius: 3px; background: #d5dce8; }
.cm-l-dark i { height: 12px; background: var(--naca-navy); }
.cm-l-in1 { margin-left: 40px; }
.cm-l-quiet { background: var(--naca-navy); align-items: center; padding: 16px 20px; }
.cm-l-quiet > b { width: 28px; height: 28px; background: #4a6a96; }
.cm-l-quiet i { height: 9px; background: #4a6a96; }
.cm-l-pill { padding: 3px 10px; border-radius: 10px; background: var(--naca-gold); color: var(--naca-on-gold, #1a2233); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* Numbers, the chart, and the "Ready on day one" row */
.cm-l-sec { padding: 56px 0 0; }
.cm-l-sec:last-child { padding-bottom: 64px; }
.cm-l-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 20px; }
.cm-l-cards { flex: 1 1 420px; min-width: 0; display: flex; flex-wrap: wrap; gap: 16px; }
.cm-l-card { flex: 1 1 180px; min-width: 0; box-sizing: border-box; padding: 22px; border: 1px solid var(--naca-border); border-radius: 10px; background: #fff; }
.cm-l-num { font-size: 46px; line-height: 1; font-weight: 800; color: var(--naca-navy); }
.cm-l-big { font-size: 64px; }
.cm-l-label { margin-top: 10px; font-weight: 600; color: var(--naca-heading); }
.cm-l-chart, .cm-l-week { flex: 1 1 420px; display: flex; flex-direction: column; }
.cm-l-one { flex: 0 1 240px; }
.cm-l-charttitle { font-weight: 700; color: var(--naca-heading); }
.cm-l-bars { flex: 1 1 170px; min-height: 170px; display: flex; align-items: flex-end; gap: 8px; margin-top: 16px; border-bottom: 1px solid var(--naca-border-strong); }
.cm-l-bars i { flex: 1 1 0; min-width: 0; border-radius: 3px 3px 0 0; background: var(--naca-navy); }
.cm-l-bars i:last-child { background: var(--naca-gold); }
.cm-l-axis { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12px; color: var(--naca-muted); }
.cm-l-days { display: flex; gap: 8px; margin-top: 14px; }
.cm-l-days span { flex: 1 1 0; min-width: 0; height: 52px; display: flex; align-items: center; justify-content: center; border-radius: 6px; background: var(--naca-tint-100, #f4f7fb); color: var(--naca-muted); font-size: 14px; font-weight: 700; }
.cm-l-days span:nth-child(1) { background: var(--naca-gold); color: var(--naca-on-gold, #1a2233); }
.naca-scope .cm-l-key { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; }
.naca-scope .cm-l-key li { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; }
.cm-l-key i { flex: none; width: 14px; height: 14px; border-radius: 3px; }
.cm-l-gold { background: var(--naca-gold); }
.cm-l-plain { background: var(--naca-tint-100, #f4f7fb); border: 1px solid var(--naca-muted); }

/* "What members want to know": a drawing and an example question */
.cm-l-asks { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 20px; }
.cm-l-ask { flex: 1 1 220px; min-width: 0; border: 1px solid var(--naca-border); border-radius: 10px; background: #fff; }
.cm-l-ask > div { padding: 16px 18px 18px; }
.cm-l-art { display: block; width: 100%; height: auto; border-radius: 10px 10px 0 0; background: var(--naca-tint-100, #f4f7fb); }
.naca-scope .cm-l-q { margin: 0; font-size: 17px; line-height: 1.35; font-weight: 700; color: var(--naca-heading); }
.naca-scope .cm-l-topic { margin: 8px 0 0; font-size: 13px; font-weight: 600; color: var(--naca-muted); }
.naca-scope .cm-l-note { margin: 18px 0 0; font-size: 14px; color: var(--naca-muted); }

/* ── Training and events (/community/events): the month's own look is /shared/calendar.css ── */
.cm-page .cal-side { max-width: 320px; }
.cm-ev-key { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 4px 0 0; font-size: 12.5px; color: var(--naca-text-meta); }
.cm-ev-key span { display: inline-flex; align-items: center; gap: 6px; }
.cm-ev-sub { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; padding-top: 8px; border-top: 1px solid var(--naca-border); }
.cm-ev-sub span { flex: 1 1 100%; }
.cm-ev-sub strong { display: block; }
.cm-ev-facts { margin: 16px 0; font-size: 16px; }
.cm-ev-notes { margin: 0 0 18px; line-height: 1.55; overflow-wrap: anywhere; }
.cm-ev-by { margin-top: 22px; }
.cm-ev-remove { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--naca-border); }
.cm-form [hidden] { display: none; }
