/* Venturoo member portal (challenges and live sessions). Uses the site's tokens, so it follows light/dark. */

.pt-root { padding: 56px 0 24px; min-height: 60vh; }
.pt-loading { color: var(--muted); padding: 40px 0; }
.pt-lede { margin-bottom: 28px; }
.pt-hint { color: var(--muted); font-size: 15px; margin: 0 0 14px; }
.pt-small { color: var(--muted); font-size: 14px; margin-top: 14px; }

button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }

/* ── sign-in ── */
.pt-login { max-width: 460px; margin: 0 auto; padding: 8px 0 32px; }
.pt-login h1 { font-size: clamp(34px, 5vw, 48px); margin: 14px 0 14px; }
.pt-login .lede { margin-bottom: 26px; font-size: 18px; }
.pt-login .btn { width: 100%; text-align: center; }
.pt-login form { display: grid; gap: 8px; }
.pt-login label { font-size: 14px; font-weight: 600; margin-top: 6px; }
.pt-login input {
  font: 400 16px var(--sans); color: var(--ink); background: var(--paper);
  border: 1px solid var(--border-input); border-radius: 14px; padding: 13px 16px; width: 100%;
}
.pt-login form .btn { margin-top: 10px; }
.pt-login button[disabled] { opacity: .55; cursor: progress; }
.pt-or { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 14px; margin: 22px 0 14px; }
.pt-or::before, .pt-or::after { content: ''; flex: 1; height: 1px; background: var(--rule); }
.pt-error { color: #b42318; font-size: 15px; margin-top: 14px; min-height: 1.2em; }
[data-theme="dark"] .pt-error { color: #ff8a80; }
.pt-info { color: var(--violet); font-size: 15px; margin-top: 8px; }
.pt-linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.pt-linkbtn:hover { color: var(--accent-text); }

/* ── member area: left sidebar + content (like a community app) ── */
.pt-shell { display: grid; grid-template-columns: 270px minmax(0, 1fr); align-items: start; }
.pt-side { position: sticky; top: 16px; display: flex; flex-direction: column; padding: 4px 28px 8px 0; min-height: min(70vh, 640px); }
.pt-sidenav { display: grid; gap: 2px; }
.pt-grouplabel { font-family: var(--serif); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; margin: 26px 0 8px 14px; }
.pt-sidenav > .pt-grouplabel:first-child { margin-top: 6px; }
.pt-nav { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px; text-decoration: none; color: var(--muted); font-weight: 500; font-size: 16px; }
.pt-nav:hover { color: var(--ink); background: var(--paper-2); }
.pt-nav.on { color: var(--ink); background: var(--paper-2); font-weight: 600; }
.pt-ico { flex: none; }
.pt-nav em { margin-left: auto; font-style: normal; font-size: 13px; font-weight: 600; color: var(--muted); background: var(--paper); border: 1px solid var(--rule); border-radius: 999px; padding: 1px 9px; }
.pt-nav.on em { color: var(--ink); }
.pt-sidefoot { margin-top: auto; padding-top: 18px; display: grid; gap: 14px; }
.pt-user { display: flex; align-items: center; gap: 12px; padding: 0 6px; min-width: 0; }
.pt-user > div { min-width: 0; }
.pt-user strong { display: block; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-user .pt-linkbtn { font-size: 13px; color: var(--muted); }
.pt-getapp { width: 100%; text-align: center; padding: 12px 20px; font-size: 15px; }
.pt-main { min-width: 0; border-left: 1px solid var(--rule); padding-left: 44px; min-height: min(70vh, 640px); }
.pt-pagehead { display: flex; align-items: center; gap: 14px; padding: 4px 0 22px; margin-bottom: 28px; border-bottom: 1px solid var(--rule); }
.pt-pagehead h1 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.1; margin: 0; }
.pt-pagecount { margin-left: auto; color: var(--muted); font-size: 14px; font-weight: 600; border: 1px solid var(--rule); border-radius: 999px; padding: 3px 12px; }
.pt-sidebtn { display: none; align-items: center; gap: 10px; font: 600 15px var(--sans); color: var(--ink); background: var(--paper-2); border: 1px solid var(--rule); border-radius: 999px; padding: 10px 18px; cursor: pointer; margin-bottom: 22px; }


/* ── pills (live sessions) ── */
.pt-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pt-pill { display: inline-block; font-size: 13px; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: var(--paper); border: 1px solid var(--rule); color: var(--ink); }
.pt-t-workshop { color: #6d28d9; } .pt-t-hot_seat { color: #c2410c; } .pt-t-build_hour { color: #0369a1; }
[data-theme="dark"] .pt-t-workshop { color: #c4b5fd; } [data-theme="dark"] .pt-t-hot_seat { color: #fdba74; } [data-theme="dark"] .pt-t-build_hour { color: #7dd3fc; }
.pt-summary { color: var(--muted); font-size: 16px; line-height: 1.5; }
.pt-checks { padding-left: 0; list-style: none; display: grid; gap: 12px; }
.pt-checks li { position: relative; padding-left: 32px; }
.pt-checks li::before { content: '\2713'; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb, #10b981 18%, transparent); color: #0b7a55; font-size: 13px; font-weight: 700; display: grid; place-items: center; }

/* ── live sessions ── */
.pt-list { display: grid; gap: 20px; }
.pt-session { background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px 28px; }
.pt-session.past { opacity: .92; }
.pt-session h3 { font-size: 26px; margin: 4px 0 6px; }
.pt-when-line { color: var(--muted); font-size: 16px; margin-bottom: 10px; }
.pt-spots { font-weight: 600; margin: 8px 0; }
.pt-session details { margin: 14px 0; border-top: 1px solid var(--rule); padding-top: 12px; }
.pt-session summary { cursor: pointer; font-weight: 600; }
.pt-session h4 { margin: 16px 0 6px; font-size: 15px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.pt-agenda { padding-left: 22px; display: grid; gap: 6px; }

/* ── notices ── */
.pt-notice { background: var(--paper-2); border: 1px dashed var(--border-input); border-radius: var(--radius); padding: 28px; text-align: center; }
.pt-notice h3 { font-size: 22px; margin-bottom: 8px; }
.pt-notice p { color: var(--muted); }
.pt-notice .btn { margin-top: 14px; }

@media (max-width: 860px) {
  .pt-root { padding: 28px 0 12px; }
  .pt-shell { grid-template-columns: minmax(0, 1fr); }
  .pt-side { display: none; position: static; min-height: 0; padding: 12px; margin-bottom: 22px; border: 1px solid var(--rule); border-radius: 20px; background: var(--paper); }
  .pt-side.open { display: flex; }
  .pt-sidebtn { display: inline-flex; }
  .pt-main { border-left: 0; padding-left: 0; min-height: 0; }
  .pt-session { padding: 20px; }
}

/* ═════════ community, profile, interactive challenges ═════════ */
.pt-sr { position: absolute; width: 1px !important; height: 1px !important; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }   /* !important: the form-field rule (width: 100%) would otherwise stretch a hidden file input past the screen */
.pt-center { text-align: center; justify-content: center; }
.pt-muted { color: var(--muted); }
.pt-push { margin-left: auto; }
.pt-small-btn { padding: 8px 16px; font-size: 14px; }
.pt-pageactions { margin-left: auto; display: inline-flex; gap: 10px; }
.pt-pagecount + .pt-pageactions { margin-left: 12px; }
.pt-pagehead-col { display: block; }
.pt-pagehead-col .pt-pagehead-row { display: flex; align-items: center; gap: 14px; }
.pt-pagehead-col h1 { margin: 0; }
.pt-pagehead-col .pt-small-btn { margin-left: auto; }
.pt-tagline { color: var(--muted); margin: 10px 0 0 28px; }
.pt-countline { color: var(--muted); font-weight: 600; font-size: 14px; margin: 8px 0 0 28px; }

/* chips, search */
.pt-chips { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 8px; margin: 0 0 14px; scrollbar-width: thin; }
.pt-chip { flex: none; font: 600 14px var(--sans); color: var(--muted); background: var(--paper); border: 1px solid var(--rule); border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.pt-chip:hover { color: var(--ink); border-color: var(--ink); }
.pt-chip.on { color: #fff; background: var(--violet); border-color: var(--violet); }
.pt-chip[hidden] { display: none; }
.pt-search { margin: 4px 0 14px; }
.pt-search input, .pt-form input, .pt-form select, .pt-form textarea, .pt-dlg textarea, .pt-dlg input[type=text], .pt-dlg input:not([type]), .pt-linkrow select {
  font: 400 16px var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--border-input); border-radius: 14px; padding: 12px 16px; width: 100%;
}
.pt-form textarea, .pt-dlg textarea { resize: vertical; line-height: 1.45; }

/* member cards */
.pt-members { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; margin-top: 8px; }
.pt-member { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--radius); padding: 20px; transition: border-color .15s, transform .15s; }
.pt-member:hover { border-color: var(--ink); transform: translateY(-2px); }
.pt-member-top { display: flex; gap: 14px; align-items: center; }
.pt-member-id { min-width: 0; }
.pt-member-id strong { display: block; font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-member-id span { color: var(--muted); font-size: 14px; }
.pt-verified { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #0ea5e9; color: #fff; font-size: 11px; vertical-align: 2px; }
.pt-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.pt-tag { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.pt-tag.new { color: #0b7a55; background: #10b98122; } .pt-tag.industry { color: #6d28d9; background: #7c3aed22; } .pt-tag.nearby { color: #0369a1; background: #0ea5e922; }
[data-theme="dark"] .pt-tag.new { color: #5ee0b0; } [data-theme="dark"] .pt-tag.industry { color: #c4b5fd; } [data-theme="dark"] .pt-tag.nearby { color: #7dd3fc; }
.pt-member-venture { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pt-stage { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--rule); color: var(--muted); background: var(--paper); }
.pt-member-tag { color: var(--muted); font-size: 15px; margin: 0; line-height: 1.45; }
.pt-traction { font-size: 14px; font-weight: 600; margin: 0; }

/* profile view */
.pt-profile { max-width: 760px; }
.pt-phero { text-align: center; background: linear-gradient(160deg, #1b1240, #3b1a6e 60%, #6d28d9); color: #fff; border-radius: var(--radius); padding: 34px 24px 26px; margin: 12px 0 16px; }
.pt-phero-ring { display: inline-block; padding: 3px; border-radius: 50%; background: linear-gradient(135deg, var(--violet), #ec4899); }
.pt-phero-ring .pt-avatar { border: 2px solid #0d0820; }
.pt-phero h1 { color: #fff; font-size: clamp(26px, 4vw, 34px); margin: 14px 0 4px; }
.pt-ploc { color: rgba(255,255,255,.7); margin: 0 0 12px; font-size: 14px; }
.pt-herobadge { display: inline-block; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 3px 12px; font-size: 13px; }
.pt-pstats { display: flex; gap: 0; justify-content: center; margin-top: 18px; }
.pt-pstats > div { padding: 0 24px; } .pt-pstats > div + div { border-left: 1px solid rgba(255,255,255,.2); }
.pt-pstats strong { display: block; font-size: 22px; } .pt-pstats span { font-size: 12px; opacity: .7; }
.pt-membership { font-weight: 600; font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.pt-pcard { background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 16px; }
.pt-pcard-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.pt-pcard-head h2 { font-size: 20px; margin: 0; }
.pt-pico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--violet) 14%, transparent); }
.pt-editlink { margin-left: auto; font-weight: 600; color: var(--violet); text-decoration: none; }
.pt-info-rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin: 14px 0 0; }
.pt-info-rows dt { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.pt-info-rows dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.pt-tagrow { display: flex; flex-wrap: wrap; gap: 8px; }
.pt-tagchip { background: var(--paper); border: 1px solid var(--rule); border-radius: 999px; padding: 5px 13px; font-size: 14px; }
.pt-sub { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 12px 0 8px; }
.pt-goal { border-left: 3px solid var(--violet); padding: 2px 0 2px 14px; margin: 12px 0; }
.pt-goal.short { border-color: #10b981; } .pt-goal.long { border-color: #0ea5e9; }
.pt-goal h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 4px; }
.pt-goal p { margin: 0; }
.pt-vname { font-size: 24px; margin: 0 0 6px; }
.pt-linkpill { display: inline-flex; gap: 8px; align-items: center; border: 1px solid var(--rule); background: var(--paper); border-radius: 999px; padding: 6px 14px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14px; }
.pt-linkpill:hover { border-color: var(--ink); }
.pt-links { margin-top: 12px; }

/* profile form */
.pt-form fieldset { border: 1px solid var(--rule); border-radius: var(--radius); padding: 18px 22px 8px; margin: 0 0 20px; background: var(--paper-2); min-width: 0; }
.pt-form legend { font-family: var(--serif); font-weight: 600; font-size: 18px; padding: 0 8px; }
.pt-field { margin-bottom: 16px; min-width: 0; }
.pt-field > label, .pt-label { display: block; font-size: 14px; font-weight: 600; margin: 8px 0 6px; }
.pt-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pt-hint { color: var(--muted); font-size: 14px; margin: 4px 0 8px; }
.pt-count { color: var(--muted); font-size: 13px; margin: 6px 0 0; }
.pt-field-error { color: #b42318; font-size: 14px; margin: 6px 0 0; min-height: 0; } .pt-field-error:empty { display: none; }
[data-theme="dark"] .pt-field-error { color: #ff8a80; }
.pt-formerror:empty { display: none; }
.pt-multi { display: flex; flex-wrap: wrap; gap: 8px; max-height: 260px; overflow: auto; padding: 4px 2px; }
.pt-ms-filter { margin: 4px 0 8px; }
.pt-photo { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.pt-formbar { position: sticky; bottom: 0; display: flex; gap: 12px; justify-content: flex-end; padding: 14px 0; background: linear-gradient(to top, var(--paper) 70%, transparent); }
.pt-linkrow { display: grid; grid-template-columns: 150px 1fr auto; gap: 10px; margin-bottom: 10px; align-items: center; }
.pt-iconbtn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; }
.pt-iconbtn:hover { border-color: var(--ink); }
.pt-switch { display: flex; gap: 14px; align-items: flex-start; margin: 12px 0; cursor: pointer; }
.pt-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pt-switch-ui { flex: none; width: 46px; height: 28px; border-radius: 999px; background: var(--rule); position: relative; transition: background .15s; margin-top: 2px; }
.pt-switch-ui::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .15s; }
.pt-switch input:checked + .pt-switch-ui { background: var(--violet); }
.pt-switch input:checked + .pt-switch-ui::after { transform: translateX(18px); }
.pt-switch input:focus-visible + .pt-switch-ui { outline: 2px solid var(--violet); outline-offset: 3px; }
.pt-switch-text strong { display: block; } .pt-switch-text small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }

/* dialog */
.pt-dialog { border: 0; padding: 0; background: transparent; width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 32px); color: var(--ink); overflow: visible; }
.pt-dialog::backdrop { background: rgba(10, 8, 24, .6); }
.pt-dlg { background: var(--paper); border: 1px solid var(--rule); border-radius: 16px; display: flex; flex-direction: column; max-height: calc(100vh - 32px); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.pt-dlg-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px 8px; } .pt-dlg-head h2 { font-size: 22px; margin: 0; }
.pt-dlg-body { padding: 8px 22px 16px; overflow-y: auto; }
.pt-dlg-foot { display: flex; gap: 12px; justify-content: flex-end; padding: 14px 22px 20px; border-top: 1px solid var(--rule); }
label.btn.disabled { opacity: .5; pointer-events: none; }
.pt-reasons { display: grid; gap: 8px; }
.pt-reason { text-align: left; font: 600 15px var(--sans); background: var(--paper-2); border: 1px solid var(--rule); border-radius: 12px; padding: 13px 16px; color: var(--ink); cursor: pointer; } .pt-reason:hover { border-color: var(--ink); }

/* toast */
.pt-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 24px); background: #1e293b; color: #fff; padding: 12px 20px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.35); display: flex; gap: 14px; align-items: center; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 2000; max-width: calc(100vw - 32px); }
.pt-toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; } .pt-toast.error { background: #b42318; }
.pt-toast .pt-linkbtn { color: #c4b5fd; }

@media (max-width: 860px) {
  .pt-two { grid-template-columns: 1fr; }
  .pt-linkrow { grid-template-columns: 1fr auto; } .pt-linkrow select { grid-column: 1 / -1; }
  .pt-tagline, .pt-countline { margin-left: 0; }
  .pt-pagehead { flex-wrap: wrap; }
  .pt-dialog { width: calc(100vw - 16px); }
}
@media (prefers-reduced-motion: reduce) { .pt-member, .pt-toast, .pt-switch-ui, .pt-switch-ui::after { transition: none; } .pt-member:hover { transform: none; } }

/* avatars (community and profile) */
.pt-avatar { border-radius: 50%; object-fit: cover; flex: none; background: var(--rule); }
.pt-avatar-fallback { display: inline-grid; place-items: center; background: linear-gradient(135deg, var(--violet), var(--accent)); color: #fff; font-weight: 700; }

/* ═════════ Challenges: professional assignments ═════════
   Neutral surfaces, 1px borders, restrained radii. Venturoo orange is the only accent: primary button,
   active tab underline and the "action needed" chip. */
:root {
  --ch-accent: #c84a0c; --ch-accent-ink: #ffffff; --ch-accent-soft: rgba(200, 74, 12, .08);
  --ch-danger: #b42318; --ch-r: 12px;
}
[data-theme="dark"] {
  --ch-accent: #ff7a45; --ch-accent-ink: #14120f; --ch-accent-soft: rgba(255, 122, 69, .12);
  --ch-danger: #ff8a80;
}

/* buttons and small controls */
.ch-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px var(--sans); text-decoration: none; text-align: center; color: var(--ink); background: var(--paper); border: 1px solid var(--border-input); border-radius: 10px; padding: 10px 18px; cursor: pointer; transition: border-color .15s, background .15s; }
.ch-btn:hover { border-color: var(--ink); }
.ch-btn-primary { color: var(--ch-accent-ink); background: var(--ch-accent); border-color: var(--ch-accent); }
.ch-btn-primary:hover { border-color: var(--ch-accent); filter: brightness(.94); }
.ch-btn-small { padding: 7px 14px; font-size: 14px; }
.ch-btn-block { display: flex; width: 100%; }
.ch-btn-danger { color: #fff; background: #b42318; border-color: #b42318; }
.ch-btn[disabled], .ch-btn.disabled { opacity: .55; cursor: not-allowed; pointer-events: none; }
.ch-btn:focus-visible, .ch-select:focus-visible, .ch-input:focus-visible, .ch-tab:focus-visible, .ch-linkbtn:focus-visible { outline: 2px solid var(--ch-accent); outline-offset: 2px; }
.ch-linkbtn { background: none; border: 0; padding: 4px 0; font: 600 14px var(--sans); color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: left; }
.ch-linkbtn:hover { color: var(--ch-accent); }
.ch-iconbtn { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border-input); background: var(--paper); color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; }
.ch-ico { flex: none; vertical-align: -3px; }
.ch-muted { color: var(--muted); font-size: 14px; }
.ch-note { color: var(--muted); font-size: 15px; margin: 0 0 14px; max-width: 46em; }
.ch-hint { color: var(--muted); font-size: 14px; margin: 4px 0 10px; }

.ch-chip { display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 600; line-height: 1.2; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--border-input); color: var(--muted); background: transparent; white-space: nowrap; }
.ch-chip-enrolled, .ch-chip-completed { color: var(--ink); border-color: var(--ink); }
.ch-chip-revision_requested { color: var(--ch-accent); border-color: var(--ch-accent); background: var(--ch-accent-soft); }
.ch-cat { font-size: 13px; font-weight: 600; color: var(--muted); }
.ch-tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 1px 8px; border-radius: 6px; border: 1px solid var(--rule); color: var(--muted); vertical-align: 2px; }
.ch-tag-req { color: var(--ink); border-color: var(--border-input); }

/* lists */
.ch-toolbar { display: flex; justify-content: flex-end; margin: 0 0 18px; }
.ch-filter { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--muted); min-width: 0; max-width: 100%; }
.ch-select, .ch-input { font: 400 16px var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--border-input); border-radius: 10px; padding: 9px 14px; }
.ch-select { max-width: 100%; }
.ch-input { width: 100%; padding: 11px 14px; line-height: 1.5; }
textarea.ch-input { resize: vertical; }
.ch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.ch-card { display: flex; flex-direction: column; gap: 12px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--ch-r); padding: 20px; min-width: 0; }
.ch-card:hover { border-color: var(--border-input); }
.ch-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ch-card h3 { font-size: 20px; line-height: 1.25; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.ch-card h3 a { text-decoration: none; color: inherit; } .ch-card h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ch-card-summary { color: var(--muted); font-size: 15.5px; line-height: 1.55; margin: 0; overflow-wrap: anywhere; min-width: 0; }
.ch-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 0; }
.ch-facts dt, .ch-glance dt { font-size: 12.5px; color: var(--muted); }
.ch-facts dd { font-size: 15px; font-weight: 500; margin: 0; overflow-wrap: anywhere; }
.ch-card-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: auto; padding-top: 4px; }
.ch-card-progress { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); } .ch-card-progress strong { color: var(--ink); }
.ch-bar { height: 6px; border-radius: 999px; background: var(--rule); overflow: hidden; }
.ch-bar span { display: block; height: 100%; background: var(--ink); border-radius: 999px; transition: width .2s; }

/* challenge page */
.ch-page { min-width: 0; }
.ch-back { display: inline-block; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; margin-bottom: 14px; } .ch-back:hover { color: var(--ink); }
.ch-head-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 10px; }
.ch-head h1 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -0.03em; margin: 0 0 10px; overflow-wrap: anywhere; }
.ch-lede { color: var(--muted); font-size: 18px; line-height: 1.55; max-width: 46em; margin: 0; }
.ch-tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--rule); margin: 22px 0 28px; overflow-x: auto; }
.ch-tab { padding: 10px 0; text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.ch-tab:hover { color: var(--ink); } .ch-tab.on { color: var(--ink); border-bottom-color: var(--ch-accent); }
.ch-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.ch-main { min-width: 0; max-width: 780px; } .ch-narrow { max-width: 780px; }
.ch-rail { position: sticky; top: 16px; min-width: 0; }
.ch-section { margin-top: 34px; } .ch-main > .ch-section:first-child, .ch-narrow > .ch-section:first-child { margin-top: 0; }
.ch-section h2 { font-size: 20px; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 12px; }
.ch-prose { max-width: 42em; overflow-wrap: anywhere; }
.ch-bullets { padding-left: 20px; display: grid; gap: 8px; }
.ch-steps { padding-left: 24px; display: grid; gap: 10px; } .ch-steps li::marker { font-weight: 600; color: var(--muted); }
.ch-deliverables { list-style: none; display: grid; gap: 10px; padding: 0; }
.ch-deliverables li { border: 1px solid var(--rule); border-radius: 10px; padding: 14px 16px; }
.ch-deliv-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; } .ch-deliv-head strong { margin-right: 4px; }
.ch-deliverables p { margin: 6px 0 0; color: var(--muted); font-size: 15px; } .ch-deliv-meta { font-size: 14px !important; }
.ch-panel { border: 1px solid var(--rule); border-radius: var(--ch-r); padding: 20px; background: var(--paper); }
.ch-panel-title { font: 600 13px var(--sans); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.ch-glance { display: grid; gap: 10px; margin: 0 0 16px; }
.ch-glance > div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.ch-glance dd { margin: 0; text-align: right; font-weight: 500; font-size: 15px; overflow-wrap: anywhere; }
.ch-actions { display: grid; gap: 10px; margin-top: 16px; }
.ch-statusline { margin: 0 0 14px; }
.ch-savestate { color: var(--muted); font-size: 14px; margin: 14px 0 0; min-height: 1.3em; }


/* workspace */
.ch-banner { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--rule); border-radius: 10px; padding: 14px 16px; margin-bottom: 18px; background: var(--paper-2); }
.ch-banner p { margin: 0; } .ch-banner > .ch-ico { margin-top: 4px; }
.ch-banner-action { display: block; border-color: var(--ch-accent); background: var(--ch-accent-soft); }
.ch-banner-action h2 { font-size: 17px; margin: 0 0 6px; display: flex; align-items: center; gap: 8px; color: var(--ch-accent); }
.ch-banner-sub { font-weight: 600; margin: 10px 0 4px; font-size: 14px; }
.ch-banner-action .ch-linkbtn { display: inline-block; margin-top: 8px; }
.ch-workspace { display: grid; gap: 18px; }
.ch-deliverable { border: 1px solid var(--rule); border-radius: var(--ch-r); padding: 16px 20px 18px; min-width: 0; margin: 0; }
.ch-deliverable legend { font: 600 17px var(--sans); padding: 0 8px; margin-left: -8px; }
.ch-count { text-align: right; color: var(--muted); font-size: 13px; margin: 6px 0 0; }
.ch-links { display: grid; gap: 10px; margin-bottom: 10px; }
.ch-linkrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; } .ch-linkrow .ch-fielderror { grid-column: 1 / -1; }
.ch-fielderror { color: var(--ch-danger); font-size: 14px; margin: 6px 0 0; } .ch-fielderror:empty { display: none; }
.ch-filelist { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 4px; }
.ch-filelist li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--rule); min-width: 0; }
.ch-filelist li > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.ch-filelist a { overflow-wrap: anywhere; }
.ch-uploading progress { width: 140px; height: 8px; accent-color: var(--ink); }
.ch-fileadd { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; } .ch-fileadd .ch-hint { margin: 0; }
/* the real file input is visually hidden (.pt-sr): its "Add file" label shows the keyboard focus instead */
.ch-fileadd:has(.pt-sr:focus-visible) .ch-btn { outline: 2px solid var(--ch-accent); outline-offset: 2px; border-color: var(--ink); }
@supports not selector(:has(*)) { .ch-fileadd:focus-within .ch-btn { outline: 2px solid var(--ch-accent); outline-offset: 2px; } }
.ch-mobile-status { display: none; }
.ch-answers { display: grid; gap: 16px; }
.ch-answer h3 { font: 600 15px var(--sans); margin-bottom: 6px; }
.ch-answer-text { border-left: 2px solid var(--rule); padding-left: 14px; overflow-wrap: anywhere; }
.ch-history { display: grid; gap: 10px; }
.ch-history-item { border: 1px solid var(--rule); border-radius: 10px; }
.ch-history-item summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 12px 16px; cursor: pointer; }
.ch-history-item .ch-answers { padding: 4px 16px 16px; }


/* community */
.ch-posts { display: grid; gap: 14px; }
.ch-post { border: 1px solid var(--rule); border-radius: var(--ch-r); padding: 18px 20px; display: grid; gap: 10px; }
.ch-post header { display: flex; align-items: center; gap: 12px; } .ch-post header > div { display: grid; line-height: 1.3; }
.ch-post h3 { font-size: 18px; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.ch-shared { margin-top: 10px; }
.ch-label { display: block; font-size: 14px; font-weight: 600; margin: 14px 0 6px; }
.ch-subtitle { font-size: 16px; margin: 20px 0 8px; }
.ch-comments { list-style: none; padding: 0; display: grid; gap: 14px; margin: 0 0 14px; }
.ch-comments li { display: flex; gap: 12px; } .ch-comments p { margin: 0 0 2px; overflow-wrap: anywhere; } .ch-comment-head { display: flex; gap: 10px; align-items: baseline; }
.ch-feedback-form .ch-btn { margin-top: 10px; }
.ch-page .pt-avatar-fallback, .ch-post .pt-avatar-fallback, .ch-comments .pt-avatar-fallback { background: var(--paper-2); color: var(--ink); border: 1px solid var(--rule); }

@media (max-width: 860px) {
  .ch-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .ch-rail { position: static; order: -1; }
  .ch-layout-work > .ch-rail { order: 1; }
  .ch-mobile-status { display: block; margin-bottom: 14px; }
  .ch-tabs { gap: 22px; }
  .ch-toolbar { justify-content: flex-start; }
  .ch-grid { grid-template-columns: minmax(0, 1fr); }
  .ch-deliverable { padding: 14px 14px 16px; }
}
@media (prefers-reduced-motion: reduce) { .ch-btn, .ch-bar span { transition: none; } }
/* the member's challenge tabs share the row on a phone instead of scrolling off */
@media (max-width: 520px) {
  .ch-tabs[aria-label="Challenge sections"] { gap: 12px; overflow-x: visible; }
  .ch-tabs[aria-label="Challenge sections"] .ch-tab { flex: 1 1 auto; text-align: center; font-size: 14px; padding-left: 2px; padding-right: 2px; }
}

/* ═════════ Administration (reviewers only): submissions, review, challenge management, moderation ═════════
   Same language as the member screens: neutral surfaces, 1px borders; orange only for the primary button, the active
   tab underline and the "needs a reviewer" chip. */
.adm-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 0 0 20px; }
.adm-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.adm-row { margin: 0; }
.adm-row-link { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--rule); border-radius: var(--ch-r); background: var(--paper); text-decoration: none; color: inherit; }
.adm-row-link:hover { border-color: var(--border-input); }
.adm-row-link:focus-visible { outline: 2px solid var(--ch-accent); outline-offset: 2px; }
.adm-row-main { display: grid; gap: 2px; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.adm-row-main .ch-muted { font-size: 13.5px; }
.ch-chip-submitted { color: var(--ch-accent); border-color: var(--ch-accent); background: var(--ch-accent-soft); }
.ch-chip-under_review { color: var(--ink); border-color: var(--ink); }
.ch-chip-status-published { color: var(--ink); border-color: var(--ink); }
button.ch-tab { background: none; border: 0; border-bottom: 2px solid transparent; font-family: var(--sans); cursor: pointer; }
button.ch-tab.on { border-bottom-color: var(--ch-accent); }
.adm-count { font-size: 12.5px; color: var(--muted); font-weight: 600; margin-left: 4px; }
.adm-library { margin: 0 0 26px; max-width: 780px; }
.adm-result { color: var(--muted); font-size: 15px; margin: 0; min-height: 1.3em; }
.adm-hint { margin: 0; font-size: 13.5px; }
.adm-issues { padding-left: 20px; display: grid; gap: 6px; margin: 10px 0 14px; }
.adm-quote { border-left: 2px solid var(--rule); padding: 2px 0 2px 14px; overflow-wrap: anywhere; }
.adm-submission { max-width: 820px; }
.adm-submission-head h1 { margin-bottom: 6px; overflow-wrap: anywhere; }
.adm-pickrow { margin: 0 0 12px; }
.adm-text { white-space: normal; }
@media (max-width: 860px) {
  .adm-row-link { flex-wrap: wrap; }
}
/* admin: pickers, long member strings, paging notices, the publish dialog */
.adm-filters .ch-select { width: 100%; min-width: 0; }
.adm-chips-end { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 6px; min-width: 0; }
.ch-chip-test { color: var(--muted); border-style: dashed; }
.adm-reason { white-space: normal; overflow-wrap: anywhere; max-width: 100%; text-align: left; }
.adm-report .ch-card-top { min-width: 0; }
.adm-report-title, .adm-wrap, .adm-post-head, .adm-submission-head .ch-lede { overflow-wrap: anywhere; min-width: 0; }
.adm-report-title { margin: 0; }
.adm-dlg-title { min-width: 0; overflow-wrap: anywhere; }
.adm-dlg-title + .pt-iconbtn { flex: none; }
.adm-more { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 16px 0 0; }
.adm-more p { margin: 0; color: var(--muted); font-size: 15px; }
.adm-facts { display: grid; gap: 6px; margin: 12px 0; }
.adm-facts > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 4px 12px; }
.adm-facts dt { color: var(--muted); font-weight: 600; font-size: 14px; }
.adm-facts dd { margin: 0; overflow-wrap: anywhere; }
.adm-check { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0 6px; font-weight: 600; cursor: pointer; }
.adm-check input { margin-top: 4px; }
.adm-audience { margin: 0 0 12px; }
.adm-warn { margin: 0; }
.adm-removed { border-left: 2px solid var(--rule); padding-left: 14px; }

/* ═════════ Administration: the challenge editor (#/admin/challenges/new, #/admin/challenges/edit/<id>) ═════════ */
.adme { max-width: 820px; min-width: 0; }
.adme-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin: 0 0 6px; }
.adme-title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; min-width: 0; }
.adme-title h1 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.1; margin: 0; overflow-wrap: anywhere; }
.adme-headtools { display: flex; flex-wrap: wrap; gap: 8px; }
.adme-statusline { margin: 0 0 16px; }
.adme-summary { border: 1px solid var(--ch-danger); border-radius: var(--ch-r); padding: 12px 16px; margin: 0 0 16px; background: var(--paper); }
.adme-summary[hidden] { display: none; }
.adme-summary .adm-issues { margin: 8px 0 4px; }
.adme-lock { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 18px; }
.adme-lock[disabled] { opacity: .7; }
.adme-sec { display: grid; gap: 4px; min-width: 0; }
.adme-sec > .ch-panel-title { margin-bottom: 6px; }
.adme-note { margin: 0 0 8px; }
.adme-field { margin-bottom: 12px; }
.adme-field .ch-input, .adme-field .ch-select { max-width: 100%; }
.adme-select { width: 100%; }
.adme-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 4px; min-width: 0; }
.adme-meta .ch-hint { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.adme-count { flex: none; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.adme-count.over { color: var(--ch-danger); font-weight: 600; }
.adme-inline { display: flex; gap: 8px; align-items: center; }
.adme-inline .ch-input { flex: 1; min-width: 0; }
.adme-fs { border: 0; padding: 0; margin: 0 0 12px; min-width: 0; }
.adme-fs legend { font-size: 14px; font-weight: 600; padding: 0; margin: 0 0 6px; }
.adme-opts { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.adme-opt { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; cursor: pointer; min-height: 32px; }
.adme-opt input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.adme-row { display: grid; gap: 4px; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid var(--rule); min-width: 0; }
.adme-row:last-of-type { border-bottom: 0; }
.adme-tools { display: flex; flex-wrap: wrap; gap: 6px; }
.adme-card { border: 1px solid var(--rule); border-radius: 10px; padding: 14px 16px 6px; margin: 0 0 14px; background: var(--paper-2); min-width: 0; }
.adme-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin: 0 0 10px; }
.adme-card-head h3 { font-size: 16px; margin: 0; }
.adme-id { overflow-wrap: anywhere; min-width: 0; flex: 1 1 140px; }
.adme-subhead { font: 600 15px var(--sans); margin: 14px 0 10px; }
.adme-sum { margin: 10px 0 0; font-size: 15px; }
.adme-sum.off { color: var(--ch-danger); }
.adme-bar { position: sticky; bottom: 0; z-index: 20; margin-top: 18px; background: var(--paper); border-top: 1px solid var(--rule); }
.adme-bar-in { padding: 10px 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.adme-typed-title { margin: 0 0 8px; padding: 8px 12px; border: 1px solid var(--rule); border-radius: 8px; background: var(--paper-2); overflow-wrap: anywhere; font-weight: 600; }
.adme-preview { min-width: 0; overflow-wrap: anywhere; }
.adme-preview-title { font-size: 24px; margin: 8px 0; }
.adme input[type="text"], .adme textarea, .adme select, .adme input[type="datetime-local"] { max-width: 100%; }
.adm-content-actions { padding-top: 0; margin-top: 0; }
.adm-challenge, .adm-challenge .ch-card-summary, .adm-challenge .ch-facts dd, .adm-challenge .ch-cat { overflow-wrap: anywhere; min-width: 0; }
@media (max-width: 520px) {
  .adme-bar-in { justify-content: stretch; }
  .adme-bar-in .ch-btn { flex: 1 1 calc(50% - 8px); padding-left: 10px; padding-right: 10px; }
  .adme-card { padding: 12px 12px 4px; }
  .adme-tools .ch-btn { flex: 1 1 0; }
}
/* admin v2: the form is a few text boxes, each with a label, a grey hint and an example */
.ch-chip-live { color: var(--ch-accent-ink); background: var(--ch-accent); border-color: var(--ch-accent); }
.ch-chip-reason { color: var(--ch-accent); border-color: var(--ch-accent); background: var(--ch-accent-soft); }
.adme-hint { margin: 2px 0 8px; }
.adme-req { color: var(--ch-danger); font-weight: 600; }
.adme-lines { font-family: var(--sans); line-height: 1.5; resize: vertical; min-height: 5.5em; }
.adme-listcount { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.adme-lineerrors { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 2px; }
.adme-lineerrors:empty { display: none; }
.adme-breakdown-wrap { margin: 8px 0 0; }
.adme-breakdown-title { margin: 0 0 4px; }
.adme-breakdown { list-style: decimal; padding-left: 22px; margin: 0; display: grid; gap: 4px; font-size: 14.5px; }
.adme-breakdown:empty, .adme-breakdown-wrap:has(.adme-breakdown:empty) { display: none; }
.adme-breakdown li { overflow-wrap: anywhere; min-width: 0; }
.adme-kind { display: inline-block; font-size: 12px; font-weight: 600; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--border-input); color: var(--muted); margin-right: 4px; }
.adme-kind-link, .adme-kind-file { color: var(--ink); border-color: var(--ink); }
.adme-radios { display: grid; gap: 8px; }
.adme-radio { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 10px; cursor: pointer; min-width: 0; }
.adme-radio:has(input:checked) { border-color: var(--ink); background: var(--paper-2); }
.adme-radio input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.adme-radio span { display: grid; gap: 1px; min-width: 0; overflow-wrap: anywhere; }
.adme-radio small { color: var(--muted); font-size: 14px; }
.adme-radio:focus-within, .adme-chip:focus-within { outline: 2px solid var(--ch-accent); outline-offset: 2px; }
.adme-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.adme-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid var(--border-input); border-radius: 999px; cursor: pointer; font-size: 15px; background: var(--paper); }
.adme-chip:has(input:checked) { border-color: var(--ink); background: var(--paper-2); font-weight: 600; }
.adme-chip input { width: 16px; height: 16px; margin: 0; accent-color: var(--ink); }
.adme-cover-preview { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 10px; }
.adme-cover-preview img { display: block; max-width: min(100%, 360px); max-height: 160px; border-radius: 10px; border: 1px solid var(--rule); object-fit: cover; }
.adme-days { display: inline-flex; gap: 6px; flex: none; }
.adme-inline { flex-wrap: wrap; }
.adme-noend { margin: 10px 0 4px; font-weight: 500; }
.adme-noend-note[hidden], #adm-noend-note[hidden] { display: none; }
.adme-fixed-dates { margin: 6px 0 12px; }
.adme-legacy { border: 1px solid var(--ch-accent); background: var(--ch-accent-soft); border-radius: var(--ch-r); padding: 12px 16px; margin: 0 0 16px; overflow-wrap: anywhere; }
.adme-legacy-text { margin-top: 8px; }
.adme-fallback h2 { font-size: 22px; }
.adme-preview img, .adme-preview video { max-width: 100%; height: auto; }
.adme input[type="file"] { max-width: 100%; }
.adm-links { padding-top: 0; margin-top: 0; border-top: 0; gap: 4px 18px; }
.adm-facts-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.adm-conflicts { list-style: none; padding: 0; margin: 8px 0 12px; display: grid; gap: 8px; }
.adm-conflicts li { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 10px; overflow-wrap: anywhere; min-width: 0; }
.adm-when { font-size: 14px; }
.adm-conflict-tags { display: inline-flex; flex-wrap: wrap; gap: 4px 6px; margin-left: 4px; vertical-align: middle; }
.adm-testmode-hint { margin: 0 0 6px 28px; }
.adm-zone { margin: 0 0 10px; }
.adm-comments { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 10px; }
.adm-comment { padding: 10px 12px; border: 1px solid var(--rule); border-radius: 10px; min-width: 0; overflow-wrap: anywhere; }
.adm-comment-head { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.adm-comment p { margin: 4px 0 0; }
.adm-replies-wrap { list-style: none; padding: 0 0 0 18px; margin: -4px 0 0; border-left: 2px solid var(--rule); }
.adm-replies { margin-top: 6px; }
.adm-thread { margin-top: 12px; padding-top: 4px; border-top: 1px solid var(--rule); }
.adm-post-counts { margin: 4px 0 0; font-size: 14px; }
.adm-post, .adm-post-head { min-width: 0; overflow-wrap: anywhere; }
.adm-text { overflow-wrap: anywhere; }
@media (max-width: 520px) {
  .adme-days .ch-btn { flex: 1 1 0; }
  .adme-inline .adme-days { width: 100%; }
  .adm-facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
