/* ════════════════════════════════════════════════════════════════════
   REFACTOR 2026 — Comunitate — DESIGN SYSTEM (cmt.css)
   Rescris curat: TOKENS → RESET → ICONS → LAYOUT → COMPONENTE → RESPONSIVE.
   Reguli:
   - Template-urile au DOAR clase semantice. Spatierile sunt aici, in clase.
   - Mobil: spatiere verticala din flex-gap (.cmt-mobile-body). Desktop: margini de sectiune.
   - Tag-urile H = doar SEO (font: inherit); marimea vine din clasa, nu din tag.
   - Fara px fractionar, fara letter-spacing negativ.
   Scara fonturi:  hero 26/34 | h1 20/26 | h2 17/19 | h3 16/17 | body 14/15 | sm 13 | meta 12 | micro 11
   ════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

/* ════════════════ TOKENS ════════════════ */
.cmt-page {
	--cmt-red: #D8232A; --cmt-red-dark: #B01821; --cmt-red-soft: #FFECEC;
	--cmt-accent: #41709F; --cmt-accent-dark: #2F5479; --cmt-accent-soft: #EBF1F7; --cmt-accent-softer: #F4F7FB;
	--cmt-text: #16191F; --cmt-text2: #566070; --cmt-text3: #8A93A0;
	--cmt-bg: #F1F3F7; --cmt-card: #FFFFFF; --cmt-border: #E6EAF1; --cmt-border-strong: #D2D9E3;
	--cmt-blue: #1A5FB4; --cmt-blue-soft: #EAF1FB; --cmt-amber: #B47100;

	--cmt-fs-hero: 26px; --cmt-fs-h1: 20px; --cmt-fs-h2: 17px; --cmt-fs-h3: 16px;
	--cmt-fs-body: 14px; --cmt-fs-sm: 13px; --cmt-fs-meta: 12px; --cmt-fs-micro: 11px;

	/* spatieri verticale intre blocuri (desktop; pe mobil = flex gap) */
	--cmt-gap-block: 26px;
	--cmt-gap-section: 34px;

	font-family: 'Manrope', -apple-system, system-ui, sans-serif;
	color: var(--cmt-text); background: var(--cmt-bg);
	-webkit-font-smoothing: antialiased; line-height: 1.5;
}
@media (min-width: 768px) {
	.cmt-page { --cmt-fs-hero: 34px; --cmt-fs-h1: 26px; --cmt-fs-h2: 19px; --cmt-fs-h3: 17px; --cmt-fs-body: 15px; }
}

/* ════════════════ RESET ════════════════ */
.cmt-page *, .cmt-page *::before, .cmt-page *::after { box-sizing: border-box; font-family: inherit; }
.cmt-page :where(p, h1, h2, h3, h4, ul, ol) { margin: 0; padding: 0; background: none; }
.cmt-page :where(h1, h2, h3, h4) { font: inherit; }       /* H = doar semantica; marimea din clasa */
/* neutralizeaza regula toxica globala `span,p,font{font-size:1.8rem;padding-bottom:20px;color:#000}` din style_gen.css
   pe span/p/font FARA clasa; (0,1,0) bate regula globala (0,0,1), dar clasele componentelor (0,1,0) castiga prin ordine */
.cmt-page :where(span, p, font) { font-size: inherit; line-height: inherit; color: inherit; padding-bottom: 0; }
/* neutralizeaza pozitionarea globala a site-ului pe elemente semantice (ex: style_gen.css pune `header`/`nav` pe absolute pt meniul mobil) */
.cmt-page :where(header, nav, main, aside, section, footer, figure) { position: static; margin: 0; padding: 0; float: none; }
.cmt-page :where(ul, ol) { list-style: none; }
.cmt-page a { text-decoration: none; color: inherit; }
.cmt-page button { font-family: inherit; }
.cmt-page img { max-width: 100%; }
.cmt-page .fa, .cmt-page .fas, .cmt-page .far, .cmt-page .fab,
.cmt-page [class^="fa-"], .cmt-page [class*=" fa-"] { font-family: 'Font Awesome 5 Free', 'FontAwesome' !important; }

/* ════════════════ ICONS ════════════════ */
.cmt-ico { vertical-align: middle; flex-shrink: 0; width: 16px; height: 16px; }
.cmt-ico--search { width: 20px; height: 20px; }
.cmt-ico--path { width: 26px; height: 26px; }

/* ════════════════ LAYOUT ════════════════ */
.cmt-container { max-width: 1100px; margin: 0 auto; padding: 22px 20px 48px; }
.cmt-grid { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
.cmt-grid__main { min-width: 0; }
.cmt-grid__side { display: flex; flex-direction: column; gap: 18px; }
.cmt-mobile-body { padding: 16px; display: flex; flex-direction: column; gap: 14px; background: var(--cmt-bg); }
.cmt-mobile-body--tight { padding: 14px; }
.cmt-stack { display: flex; flex-direction: column; gap: 11px; }

.cmt-breadcrumb { max-width: 1100px; margin: 0 auto; padding: 18px 20px 0; display: flex; align-items: center; flex-wrap: wrap; gap: 9px; font-size: var(--cmt-fs-meta); color: var(--cmt-text3); font-weight: 600; }
.cmt-breadcrumb__sep { color: var(--cmt-border-strong); }
.cmt-breadcrumb a { color: var(--cmt-text3); }
.cmt-breadcrumb a:hover { color: var(--cmt-text2); }
.cmt-breadcrumb__last { color: var(--cmt-text); }
@media (max-width: 767px) { .cmt-breadcrumb { padding: 8px 8px; } }

/* blocuri principale: pe desktop au margine jos; pe mobil = flex gap (deci 0) */
.cmt-hero, .cmt-main-search, .cmt-section { margin-bottom: 0; }
/* pe mobil, spatiu suplimentar dupa cardurile de cai (peste flex-gap), inainte de "Grupuri populare" */
.cmt-paths { margin-bottom: 16px; }
/* pe mobil, spatiu suplimentar dupa lista de grupuri, inainte de "Ultimele intrebari" */
.cmt-section--groups { margin-bottom: 16px; }
@media (min-width: 768px) {
	.cmt-hero { margin-bottom: var(--cmt-gap-block); }
	.cmt-main-search { margin-bottom: var(--cmt-gap-block); }
	.cmt-paths { margin-bottom: var(--cmt-gap-section); }
	.cmt-section { margin-bottom: var(--cmt-gap-section); }
}

/* ════════════════ HERO ════════════════ */
.cmt-hero__badge { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; padding: 5px 11px; border-radius: 999px; background: var(--cmt-accent-soft); color: var(--cmt-accent-dark); font-size: var(--cmt-fs-micro); font-weight: 800; }
.cmt-hero__title { font-size: var(--cmt-fs-hero); font-weight: 800; line-height: 1.1; color: var(--cmt-text); }
.cmt-hero__lead { font-size: var(--cmt-fs-body); color: var(--cmt-text2); line-height: 1.5; margin-top: 10px; }
.cmt-hero__lead strong { color: var(--cmt-red); }
@media (min-width: 768px) {
	.cmt-hero__title { line-height: 1.08; }
	.cmt-hero__lead { line-height: 1.55; margin-top: 14px; max-width: 600px; }
}

/* ════════════════ SEARCH ════════════════ */
.cmt-main-search { position: relative; }
.cmt-search { display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 48px; border-radius: 13px; background: var(--cmt-card); border: 1px solid var(--cmt-border); }
.cmt-search input[type="text"] { flex: 1; border: none !important; outline: none; background: transparent !important; font-size: var(--cmt-fs-body); color: var(--cmt-text); font-weight: 500; padding: 0 !important; margin: 0 !important; height: auto !important; box-shadow: none !important; }
.cmt-search input[type="text"]::placeholder { color: var(--cmt-text3); }
.cmt-search .cmt-ico--search { color: var(--cmt-text3); }
.cmt-search__btn { padding: 10px 20px; border-radius: 11px; border: none; background: var(--cmt-accent); color: #fff; font-size: var(--cmt-fs-body); font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; }
.cmt-search__btn:hover { background: var(--cmt-accent-dark); }
.cmt-search__btn--icon { padding: 8px 12px; }
.cmt-input-error { box-shadow: 0 0 0 2px rgba(216,35,42,0.35) !important; }
@media (min-width: 768px) { .cmt-search { height: 56px; border-radius: 15px; padding: 0 20px; gap: 12px; } }
/* type-ahead dropdown */
.cmt-typeahead { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 40; background: var(--cmt-card); border: 1px solid var(--cmt-border); border-radius: 12px; box-shadow: 0 6px 24px rgba(22,25,31,0.1); overflow-y: auto; max-height: 320px; }
.cmt-typeahead[style*="block"] { display: block; }
.cmt-typeahead__item { display: block; padding: 11px 15px; font-size: var(--cmt-fs-body); color: var(--cmt-text) !important; border-bottom: 1px solid var(--cmt-border); cursor: pointer; }
.cmt-typeahead__item:last-child { border-bottom: none; }
.cmt-typeahead__item:hover, .cmt-typeahead__item--active { background: var(--cmt-accent-softer); }
.cmt-typeahead__count { float: right; color: var(--cmt-text3); font-weight: 700; font-size: var(--cmt-fs-sm); }
.cmt-typeahead__empty { padding: 11px 15px; font-size: var(--cmt-fs-body); color: var(--cmt-text3); }

/* ════════════════ DOUA CAI (paths) ════════════════ */
.cmt-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.cmt-path { border-radius: 16px; padding: 15px 14px; display: block; }
.cmt-path--ask { background: var(--cmt-accent); color: #fff; }
.cmt-path--ask:hover { background: var(--cmt-accent-dark); color: #fff; }
.cmt-path--ask .cmt-ico { color: #fff; }
.cmt-path--help { background: var(--cmt-card); border: 1px solid var(--cmt-border); color: var(--cmt-text); }
.cmt-path--help .cmt-ico { color: var(--cmt-accent-dark); }
.cmt-path__title { display: block; color: inherit; font-weight: 800; font-size: var(--cmt-fs-h3); margin-top: 9px; }
.cmt-path__sub { color: inherit; font-size: var(--cmt-fs-meta); margin-top: 3px; line-height: 1.35; }
.cmt-path--ask .cmt-path__title { color: #fff; }   /* bate resetul global .cmt-page a (specificitate) */
.cmt-path--ask .cmt-path__sub { color: #fff; opacity: 0.92; }
.cmt-path--help .cmt-path__sub { color: var(--cmt-text2); }
@media (min-width: 768px) {
	.cmt-paths { gap: 16px; }
	.cmt-path { padding: 22px; }
	.cmt-path__title { margin-top: 12px; }
	.cmt-path__sub { margin-top: 5px; line-height: 1.4; }
}

/* ════════════════ SECTIUNI ════════════════ */
.cmt-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; }
.cmt-section-head__title { font-size: var(--cmt-fs-h2); font-weight: 800; }
.cmt-section-head__link { font-size: var(--cmt-fs-sm); font-weight: 700; color: var(--cmt-accent-dark) !important; white-space: nowrap; }

/* ════════════════ GRUPURI ════════════════ */
.cmt-groups-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.cmt-groups-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cmt-group-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 13px; background: var(--cmt-card); border: 1px solid var(--cmt-border); cursor: pointer; }
.cmt-group-card:hover { border-color: var(--cmt-border-strong); box-shadow: 0 1px 6px rgba(22,25,31,0.05); }
.cmt-group-card__sq { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cmt-group-card__dot { width: 12px; height: 12px; border-radius: 99px; }
.cmt-group-card__name { font-size: var(--cmt-fs-h3); font-weight: 800; color: var(--cmt-text); flex: 1; line-height: 1.2; }
.cmt-group-card__count { font-size: var(--cmt-fs-sm); font-weight: 800; color: var(--cmt-text3); }
/* chip grup (mobil) */
.cmt-chip { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px; background: var(--cmt-bg); color: var(--cmt-text2); border: 1px solid var(--cmt-border); font-size: var(--cmt-fs-meta); font-weight: 700; }
.cmt-chip--group { gap: 7px; padding: 8px 13px; background: var(--cmt-card); font-size: var(--cmt-fs-sm); color: var(--cmt-text); }
.cmt-chip--group:hover { border-color: var(--cmt-border-strong); }
.cmt-chip__dot { width: 8px; height: 8px; border-radius: 99px; display: inline-block; flex-shrink: 0; }
.cmt-chip__name { font-weight: 700; }            /* mosteneste marimea chip-ului (sm) */
.cmt-chip__count { font-size: var(--cmt-fs-meta); font-weight: 700; color: var(--cmt-text3); }

/* ════════════════ LISTA INTREBARI ════════════════ */
/* DQRow (desktop) */
.cmt-qlist { background: var(--cmt-card); border: 1px solid var(--cmt-border); border-radius: 16px; padding: 4px 22px; }
.cmt-qrow { display: block; position: relative; padding: 18px 26px 18px 0; border-bottom: 1px solid var(--cmt-border); }
.cmt-qrow:last-child { border-bottom: none; }
/* intrebare cu raspuns medic: fara border lateral; semnalata DOAR de tag-ul "Raspuns medic" sub titlu */
.cmt-qrow:hover .cmt-qrow__title { color: var(--cmt-red-dark); }
/* sageata "mergi la intrebare" — unitara pe listele de intrebari (grup) si pe raspunsurile din profil */
.cmt-qrow__arrow { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: flex; color: var(--cmt-text3); }
.cmt-qrow:hover .cmt-qrow__arrow { color: var(--cmt-accent); }
.cmt-qrow__head { display: flex; align-items: center; gap: 11px; margin-bottom: 7px; flex-wrap: wrap; }
.cmt-qrow__title { font-size: var(--cmt-fs-h3); font-weight: 800; color: var(--cmt-text); line-height: 1.2; }
.cmt-qrow__excerpt { font-size: var(--cmt-fs-body); color: var(--cmt-text2); line-height: 1.55; margin-bottom: 11px; max-width: 660px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cmt-qrow__meta { display: flex; align-items: center; justify-content: space-between; }
.cmt-qrow__author { display: flex; align-items: center; gap: 8px; font-size: var(--cmt-fs-sm); color: var(--cmt-text3); font-weight: 600; }
.cmt-qrow__stats { display: flex; align-items: center; gap: 18px; color: var(--cmt-text3); }
.cmt-qrow__stat { display: inline-flex; align-items: center; gap: 6px; font-size: var(--cmt-fs-sm); font-weight: 700; }
.cmt-stat-answers .cmt-ico { color: var(--cmt-accent); }
/* QCard (mobil) */
.cmt-qcard { display: block; position: relative; background: var(--cmt-card); border: 1px solid var(--cmt-border); border-radius: 16px; padding: 16px 32px 16px 16px; }
/* fara border lateral rosu pe medic — ramane doar tag-ul "Raspuns medic" sub titlu */
.cmt-qcard:hover { border-color: var(--cmt-border-strong); }
.cmt-qcard__arrow { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); display: flex; color: var(--cmt-text3); }
.cmt-qcard:hover .cmt-qcard__arrow { color: var(--cmt-accent); }
.cmt-qcard__title { display: block; font-size: var(--cmt-fs-h3); font-weight: 800; line-height: 1.25; color: var(--cmt-text); margin-bottom: 7px; }
.cmt-qcard__badge { display: block; margin-bottom: 8px; }
.cmt-qcard__excerpt { display: -webkit-box; font-size: var(--cmt-fs-body); color: var(--cmt-text2); line-height: 1.5; margin-bottom: 11px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cmt-qcard__meta { display: flex; align-items: center; justify-content: space-between; }
.cmt-qcard__author { display: flex; align-items: center; gap: 7px; font-size: var(--cmt-fs-meta); color: var(--cmt-text3); font-weight: 600; min-width: 0; }
.cmt-qcard__stats { display: flex; align-items: center; gap: 13px; color: var(--cmt-text3); flex-shrink: 0; }
.cmt-qcard__stat { display: inline-flex; align-items: center; gap: 4px; font-size: var(--cmt-fs-sm); font-weight: 700; }

/* ════════════════ BADGE MEDIC + AVATAR ════════════════ */
.cmt-badge-medic { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px 3px 7px; border-radius: 999px; background: var(--cmt-red-soft); color: var(--cmt-red); font-size: var(--cmt-fs-micro); font-weight: 800; white-space: nowrap; }
.cmt-avatar { border-radius: 50%; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; background: var(--cmt-accent-soft); color: var(--cmt-accent-dark); overflow: hidden; }
.cmt-avatar--anon { background: var(--cmt-bg); color: var(--cmt-text3); }
.cmt-avatar--medic { background: var(--cmt-red-soft); color: var(--cmt-red); border: 2px solid var(--cmt-red); }
.cmt-avatar--22 { width: 22px; height: 22px; font-size: 9px; }
.cmt-avatar--24 { width: 24px; height: 24px; font-size: 10px; }
.cmt-avatar--26 { width: 26px; height: 26px; font-size: 10px; }
.cmt-avatar--30 { width: 30px; height: 30px; font-size: 12px; }
.cmt-avatar--40 { width: 40px; height: 40px; font-size: 15px; }
.cmt-avatar--42 { width: 42px; height: 42px; font-size: 15px; }
.cmt-avatar--48 { width: 48px; height: 48px; font-size: 17px; }
.cmt-avatar--76 { width: 76px; height: 76px; font-size: 27px; }
.cmt-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* ════════════════ BUTOANE ════════════════ */
.cmt-btn-green { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 18px; border: none; border-radius: 13px; background: var(--cmt-accent); color: #fff !important; font-weight: 800; font-size: var(--cmt-fs-body); cursor: pointer; box-shadow: 0 2px 8px rgba(65,112,159,0.14); text-align: center; }
.cmt-btn-green:hover { background: var(--cmt-accent-dark); color: #fff; }
.cmt-btn-green--sm { padding: 11px 18px; font-size: var(--cmt-fs-sm); border-radius: 12px; }
.cmt-btn-green--full { width: 100%; }
.cmt-ask-form { margin: 0; }
.cmt-btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 16px; border-radius: 11px; border: 1px solid var(--cmt-border); background: var(--cmt-card); color: var(--cmt-text); font-size: var(--cmt-fs-sm); font-weight: 800; cursor: pointer; }
.cmt-btn-outline:hover { border-color: var(--cmt-border-strong); }
.cmt-btn--block { width: 100%; margin-top: 12px; }

/* ════════════════ SIDEBAR (desktop) ════════════════ */
.cmt-side-login { background: var(--cmt-card); border: 1px solid var(--cmt-border); border-radius: 16px; padding: 16px 18px; font-size: var(--cmt-fs-body); color: var(--cmt-text2); line-height: 1.5; }
.cmt-side-login a { color: var(--cmt-accent-dark) !important; font-weight: 800; cursor: pointer; }
.cmt-side-ask { background: var(--cmt-accent-softer); border: 1px solid rgba(65,112,159,0.15); border-radius: 16px; padding: 18px; }
.cmt-side-ask__title { font-size: var(--cmt-fs-h3); font-weight: 800; color: var(--cmt-text); }
.cmt-side-ask__text { font-size: var(--cmt-fs-sm); color: var(--cmt-text2); line-height: 1.5; margin: 7px 0 14px; }
.cmt-side-doctors { background: var(--cmt-card); border: 1px solid var(--cmt-border); border-radius: 16px; padding: 16px 18px; }
.cmt-side-doctors__title { font-size: var(--cmt-fs-h3); font-weight: 800; margin-bottom: 13px; }
.cmt-side-doc { display: flex; align-items: center; gap: 11px; margin-bottom: 13px; }
.cmt-side-doc:last-of-type { margin-bottom: 0; }
.cmt-side-doc__body { min-width: 0; flex: 1; }
.cmt-side-doc__name { font-size: var(--cmt-fs-body); font-weight: 800; color: var(--cmt-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmt-side-doc__meta { font-size: var(--cmt-fs-meta); color: var(--cmt-text3); font-weight: 600; }
.cmt-side-doctors .cmt-btn-outline { width: 100%; margin-top: 14px; padding: 10px; }
.cmt-side-info { background: var(--cmt-card); border: 1px solid var(--cmt-border); border-radius: 16px; overflow: hidden; }
.cmt-side-info__head { padding: 13px 18px; font-size: var(--cmt-fs-sm); font-weight: 800; letter-spacing: 1px; color: var(--cmt-text); text-transform: uppercase; border-bottom: 1px solid var(--cmt-border); }
.cmt-side-info__link { display: block; padding: 12px 18px; font-size: var(--cmt-fs-body); color: var(--cmt-text2) !important; font-weight: 600; border-bottom: 1px solid var(--cmt-border); line-height: 1.4; }
.cmt-side-info__link:last-child { border-bottom: none; }
.cmt-side-info__link:hover { color: var(--cmt-text) !important; background: var(--cmt-accent-softer); }

/* ════════════════ AD / SPONSORIZAT ════════════════ */
.cmt-adslot { border-radius: 14px; overflow: hidden; }
.cmt-adslot__label { display: block; font-size: var(--cmt-fs-micro); font-weight: 800; letter-spacing: 1px; color: var(--cmt-text3); margin-bottom: 6px; }

/* ════════════════ PAGINARE ════════════════ */
/* paginare: pe mobil centrata, pe desktop aliniata dreapta */
.cmt-pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 18px 0 4px; }
.cmt-pagination a, .cmt-pagination span, .cmt-pagination strong { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 8px; border-radius: 10px; border: 1px solid var(--cmt-border); background: var(--cmt-card); color: var(--cmt-text2) !important; font-size: var(--cmt-fs-sm); font-weight: 700; }
.cmt-pagination a:hover { border-color: var(--cmt-border-strong); }
.cmt-pagination strong, .cmt-pagination .current { background: var(--cmt-accent); color: #fff !important; border-color: var(--cmt-accent); }
@media (min-width: 768px) { .cmt-pagination { justify-content: flex-end; } }

/* ════════════════ FORUMS (toate grupurile: index A-Z + lista) ════════════════ */
.cmt-group-titlebar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.cmt-group-titlebar h1 { font-size: var(--cmt-fs-h1); font-weight: 800; color: var(--cmt-text); }
.cmt-forums-title { font-size: var(--cmt-fs-h1); font-weight: 800; color: var(--cmt-text); }
.cmt-search-form { position: relative; margin-bottom: 14px; }
.cmt-filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.cmt-filter-bar select { flex: 1 1 auto; min-width: 120px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--cmt-border); background: var(--cmt-card); color: var(--cmt-text); font: inherit; font-size: var(--cmt-fs-sm); font-weight: 600; cursor: pointer; }
.cmt-filter-bar select:focus { outline: none; border-color: var(--cmt-accent); }

/* index alfabetic: grila cu wrap (aranjare ca la dictionare), stil cu tokenii nostri */
.cmt-az { display: flex; flex-wrap: wrap; gap: 7px; margin: 2px 0 16px; }
.cmt-az__item { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--cmt-border); background: var(--cmt-card); color: var(--cmt-text2); font-size: var(--cmt-fs-sm); font-weight: 800; text-transform: uppercase; }
.cmt-az__item:hover { border-color: var(--cmt-border-strong); color: var(--cmt-text); }
.cmt-az__item--active { background: var(--cmt-accent); border-color: var(--cmt-accent); color: #fff; }
@media (min-width: 768px) { .cmt-az__item { width: 38px; height: 38px; border-radius: 10px; font-size: var(--cmt-fs-body); } }

.cmt-forums-count { font-size: var(--cmt-fs-sm); color: var(--cmt-text3); font-weight: 600; margin-bottom: 12px; }
.cmt-forums-count strong { color: var(--cmt-accent-dark); font-weight: 800; }
.cmt-forums-empty { padding: 28px 16px; text-align: center; color: var(--cmt-text2); }

/* lista grupuri compacta — font/dimensiune apropiate de chip-urile din main */
.cmt-forums-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.cmt-group-card--sm { padding: 9px 12px; gap: 10px; border-radius: 11px; }
.cmt-group-card--sm .cmt-group-card__sq { width: 28px; height: 28px; border-radius: 8px; }
.cmt-group-card--sm .cmt-group-card__dot { width: 10px; height: 10px; }
.cmt-group-card--sm .cmt-group-card__name { font-size: var(--cmt-fs-body); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmt-group-card--sm .cmt-group-card__count { font-size: var(--cmt-fs-sm); }

/* bara CTA fixa jos (mobil) */
.cmt-bottom-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 14px 18px; background: var(--cmt-card); border-top: 1px solid var(--cmt-border); }
.cmt-bottom-bar--reply { display: flex; gap: 10px; }
.cmt-has-bottom-bar { padding-bottom: 96px !important; }

/* card generic (stari goale etc.) */
.cmt-card { background: var(--cmt-card); border: 1px solid var(--cmt-border); border-radius: 16px; }
.cmt-card--pad { padding: 16px 18px; }

/* ════════════════ GROUP (pagina grup: taburi + filtru medic + lista) ════════════════ */
/* taburi = segmented control unitar (desktop + mobil); activ = plin accent, foarte vizibil */
.cmt-tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--cmt-bg); border: 1px solid var(--cmt-border); border-radius: 12px; margin-bottom: 18px; }
.cmt-tab { display: inline-flex; align-items: center; gap: 7px; padding: 9px 18px; border-radius: 9px; font-size: var(--cmt-fs-body); font-weight: 700; color: var(--cmt-text2); }
.cmt-tab:hover { color: var(--cmt-text); }
.cmt-tab--active { background: var(--cmt-accent); color: #fff !important; font-weight: 800; box-shadow: 0 1px 3px rgba(65,112,159,0.3); }
.cmt-tab--active:hover { color: #fff; }
.cmt-tab__count { color: var(--cmt-text3); font-weight: 800; }
.cmt-tab--active .cmt-tab__count { color: rgba(255,255,255,0.8); }
/* varianta full-width (mobil): cele doua taburi umplu randul egal */
.cmt-tabs--full { display: flex; }
.cmt-tabs--full .cmt-tab { flex: 1; justify-content: center; }

/* header grup desktop: panou alb (ca pe mobil) -> taburi vizibile + spatiu fata de lista */
.cmt-group-head { background: var(--cmt-card); border: 1px solid var(--cmt-border); border-radius: 16px; padding: 18px 22px 16px; margin-bottom: 18px; }
.cmt-group-head .cmt-group-titlebar { margin-bottom: 14px; }
.cmt-group-head .cmt-tabs { margin-bottom: 14px; }
.cmt-group-head .cmt-filter-row { margin-bottom: 0; }

/* header grup mobil */
.cmt-mgroup-head { background: var(--cmt-card); border-bottom: 1px solid var(--cmt-border); padding: 12px 16px 13px; }
.cmt-mgroup-head__title { font-size: var(--cmt-fs-h2); font-weight: 800; margin-bottom: 12px; }
.cmt-mgroup-head .cmt-tabs { margin-bottom: 12px; }
.cmt-mgroup-filter { margin-top: 12px; }

/* filtru "doar cu raspuns medic" */
.cmt-filter-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; flex-wrap: wrap; }
.cmt-list-note { font-size: var(--cmt-fs-sm); color: var(--cmt-text3); font-weight: 600; }
.cmt-toggle-medic { display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border-radius: 999px; background: var(--cmt-red-soft); color: var(--cmt-red) !important; font-size: var(--cmt-fs-sm); font-weight: 800; cursor: pointer; }
.cmt-toggle-medic--off { background: var(--cmt-bg); color: var(--cmt-text2) !important; }
.cmt-toggle-medic__switch { width: 34px; height: 19px; border-radius: 99px; background: var(--cmt-red); position: relative; display: inline-block; flex-shrink: 0; }
.cmt-toggle-medic__switch::after { content: ''; position: absolute; top: 2px; right: 2px; width: 15px; height: 15px; border-radius: 99px; background: #fff; }
.cmt-toggle-medic--off .cmt-toggle-medic__switch { background: var(--cmt-border-strong); }
.cmt-toggle-medic--off .cmt-toggle-medic__switch::after { right: auto; left: 2px; }

/* rand de reclama in interiorul listei de intrebari (desktop), pe ritmul randurilor */
.cmt-qad { padding: 16px 0; border-bottom: 1px solid var(--cmt-border); text-align: center; }
.cmt-qad .cmt-adslot__label { display: block; margin-bottom: 8px; }

/* utilitare grup */
.cmt-empty-note { margin-top: 14px; text-align: center; color: var(--cmt-text2); }
.cmt-adslot--block { margin-top: 22px; }
.cmt-similar { margin-top: 24px; }
.cmt-hidden { display: none; }

/* disclaimer legal (warning-msg) — nu avea nicio spatiere; il distantam si il facem text marunt discret */
.cmt-page .warning-msg { margin-top: 24px; font-size: var(--cmt-fs-sm); color: var(--cmt-text3); line-height: 1.55; }
.cmt-page .warning-msg a { color: var(--cmt-accent-dark); font-weight: 700; }
.cmt-page .warning-msg--short { font-size: var(--cmt-fs-meta); }

/* ════════════════ PROFILE (profil medic/pacient) ════════════════ */
.cmt-profile-head { background: var(--cmt-card); border: 1px solid var(--cmt-border); border-radius: 18px; padding: 20px 18px; text-align: center; }
.cmt-profile-head .cmt-avatar { margin: 0 auto; }
.cmt-profile-head__name { font-size: var(--cmt-fs-h1); font-weight: 800; margin-top: 12px; color: var(--cmt-text); }
.cmt-profile-head__badge { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 4px 11px; border-radius: 999px; background: var(--cmt-red-soft); color: var(--cmt-red); font-size: var(--cmt-fs-meta); font-weight: 800; }
.cmt-profile-head__badge--pacient { background: var(--cmt-accent-soft); color: var(--cmt-accent-dark); }
.cmt-profile-stats { display: flex; margin-top: 18px; border-top: 1px solid var(--cmt-border); padding-top: 16px; }
.cmt-profile-stats__item { flex: 1; }
.cmt-profile-stats__num { font-size: var(--cmt-fs-h1); font-weight: 800; color: var(--cmt-text); }
.cmt-profile-stats__label { font-size: var(--cmt-fs-micro); color: var(--cmt-text3); font-weight: 700; margin-top: 1px; }
.cmt-profile-cta { margin: 16px 0; }
/* titlu sectiune: mai distantat de caseta de sus (24) decat de continutul pe care-l detaliaza dedesubt (11) */
.cmt-profile-section-title { font-size: var(--cmt-fs-h2); font-weight: 800; margin-top: 24px; }
.cmt-profile-about { background: var(--cmt-card); border: 1px solid var(--cmt-border); border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; gap: 16px; }
.cmt-profile-about__name { font-size: var(--cmt-fs-h3); font-weight: 800; color: var(--cmt-text); margin-bottom: 5px; }
.cmt-profile-about__txt { font-size: var(--cmt-fs-body); color: var(--cmt-text2); line-height: 1.6; }

/* ════════════════ MEMBERS (medicii unui grup) ════════════════ */
.cmt-docs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cmt-doc-card { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border-radius: 14px; background: var(--cmt-card); border: 1px solid var(--cmt-border); }
.cmt-doc-card:hover { border-color: var(--cmt-border-strong); box-shadow: 0 1px 6px rgba(22,25,31,0.05); }
.cmt-doc-card__av { width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--cmt-red-soft); color: var(--cmt-red); border: 2px solid var(--cmt-red); font-weight: 800; font-size: 18px; }
.cmt-doc-card__av img { width: 100%; height: 100%; object-fit: cover; }
.cmt-doc-card__body { min-width: 0; flex: 1; }
.cmt-doc-card__name { font-size: var(--cmt-fs-h3); font-weight: 800; color: var(--cmt-text); line-height: 1.25; }
.cmt-doc-card__name a { color: var(--cmt-text) !important; }
.cmt-doc-card__name a:hover { color: var(--cmt-red) !important; }
.cmt-doc-card__spec { font-size: var(--cmt-fs-sm); color: var(--cmt-text2); font-weight: 600; margin-top: 3px; line-height: 1.4; }
.cmt-doc-card__ans { display: inline-flex; align-items: center; gap: 5px; font-size: var(--cmt-fs-meta); color: var(--cmt-text3); font-weight: 700; margin-top: 7px; }
.cmt-doc-card__sig { font-size: var(--cmt-fs-meta); color: var(--cmt-text3); margin-top: 8px; line-height: 1.45; border-top: 1px solid var(--cmt-border); padding-top: 8px; }
.cmt-doc-card__sig a { color: var(--cmt-accent-dark) !important; }

/* ════════════════ QUESTION VIEW (detaliu intrebare + raspunsuri) ════════════════ */
/* card-ul intrebarii initiale */
.cmt-q { background: var(--cmt-card); border: 1px solid var(--cmt-border); border-radius: 16px; padding: 18px 20px; }
.cmt-q__chip { margin-bottom: 9px; }
.cmt-q__title { font-size: var(--cmt-fs-h1); font-weight: 800; line-height: 1.2; color: var(--cmt-text); }
.cmt-q__meta { display: flex; align-items: center; gap: 8px; margin: 11px 0; font-size: var(--cmt-fs-meta); color: var(--cmt-text3); font-weight: 600; }
.cmt-q__body { font-size: var(--cmt-fs-body); color: var(--cmt-text); line-height: 1.58; word-wrap: break-word; max-width: 680px; }

/* foot card intrebare: CTA "Raspunde" + raportare */
.cmt-q__foot { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--cmt-border); }
.cmt-q__cta { display: inline-flex; align-items: center; gap: 7px; padding: 9px 18px; border-radius: 999px; background: var(--cmt-accent); color: #fff !important; font-size: var(--cmt-fs-sm); font-weight: 800; cursor: pointer; }
.cmt-q__cta:hover { background: var(--cmt-accent-dark); color: #fff; }
.cmt-notify { position: relative; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; padding: 5px; cursor: pointer; line-height: 0; }
.cmt-notify--on { color: #2e9e5b; }
.cmt-notify--off { color: #d23b3b; }
.cmt-notify__slash { display: none; }
.cmt-notify--off .cmt-notify__slash { display: inline; }
.cmt-notify__tip { position: absolute; bottom: calc(100% + 9px); left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--cmt-text); color: #fff; font-size: var(--cmt-fs-sm); font-weight: 600; line-height: 1.3; padding: 6px 11px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .15s; z-index: 6; }
.cmt-notify__tip::after { content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 5px solid transparent; border-top-color: var(--cmt-text); }
.cmt-notify:hover .cmt-notify__tip, .cmt-notify--tip-show .cmt-notify__tip { opacity: 1; }
.cmt-admin { position: relative; display: inline-flex; }
.cmt-admin__btn { background: none; border: 0; padding: 5px; cursor: pointer; color: var(--cmt-text2); line-height: 0; border-radius: 6px; }
.cmt-admin__btn:hover, .cmt-admin--open .cmt-admin__btn { color: var(--cmt-text); background: var(--cmt-accent-softer); }
.cmt-admin__menu { position: absolute; top: calc(100% + 6px); right: 0; min-width: 180px; background: var(--cmt-card); border: 1px solid var(--cmt-border); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.13); padding: 6px; display: none; z-index: 20; }
.cmt-admin--open .cmt-admin__menu { display: block; }
.cmt-admin__head { font-size: var(--cmt-fs-micro); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--cmt-text3); padding: 6px 12px 4px; }
.cmt-admin__item { display: block; padding: 9px 12px; border-radius: 8px; font-size: var(--cmt-fs-sm); color: var(--cmt-text); font-weight: 600; }
.cmt-admin__item:hover { background: var(--cmt-bg); }
.cmt-admin__item--danger { color: #d23b3b; }
.cmt-admin__item--danger:hover { background: rgba(210,59,59,.08); }

/* control raportare (intrebare + raspunsuri) */
.cmt-report { position: relative; margin-left: auto; }
.cmt-report__btn { display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; border-radius: 8px; border: none; background: none; color: var(--cmt-text3); font-size: var(--cmt-fs-meta); font-weight: 700; cursor: pointer; }
.cmt-report__btn:hover { color: var(--cmt-text2); }
.cmt-report__menu { display: none; position: absolute; right: 0; top: calc(100% + 4px); z-index: 30; min-width: 168px; background: var(--cmt-card); border: 1px solid var(--cmt-border); border-radius: 10px; box-shadow: 0 6px 24px rgba(22,25,31,0.12); overflow: hidden; }
.cmt-report__menu--open { display: block; }
.cmt-report__opt { display: block; width: 100%; text-align: left; padding: 10px 14px; border: none; background: none; font-size: var(--cmt-fs-sm); color: var(--cmt-text); cursor: pointer; }
.cmt-report__opt:hover { background: var(--cmt-accent-softer); }
.cmt-report__done { font-size: var(--cmt-fs-meta); color: var(--cmt-text3); font-weight: 600; }

/* lista de raspunsuri (flux cronologic) */
.cmt-replies-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.cmt-replies-head__title { font-size: var(--cmt-fs-h2); font-weight: 800; color: var(--cmt-text); }
.cmt-replies-head__count { font-size: var(--cmt-fs-meta); color: var(--cmt-text3); font-weight: 700; }
.cmt-answers__list { display: flex; flex-direction: column; gap: 12px; }

/* raspuns MEDIC (evidentiat, in pozitie cronologica) */
.cmt-medic-card { background: var(--cmt-red-soft); border: 2px solid rgba(216,35,42,0.2); border-radius: 16px; padding: 15px 16px; }
.cmt-medic-card__head { display: flex; align-items: center; gap: 11px; margin-bottom: 11px; }
.cmt-medic-card__who { min-width: 0; }
.cmt-medic-card__name { font-size: var(--cmt-fs-h3); font-weight: 800; color: var(--cmt-text); }
.cmt-medic-card__name a { color: inherit; }
.cmt-medic-card__role { font-size: var(--cmt-fs-meta); color: var(--cmt-text2); font-weight: 600; }
.cmt-medic-card__text { font-size: var(--cmt-fs-body); color: var(--cmt-text); line-height: 1.56; word-wrap: break-word; max-width: 640px; }
.cmt-medic-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 13px; padding-top: 12px; border-top: 1px solid rgba(216,35,42,0.12); }
.cmt-medic-verified { display: inline-flex; align-items: center; gap: 5px; font-size: var(--cmt-fs-meta); color: var(--cmt-text3); font-weight: 600; }
.cmt-medic-card__head .cmt-medic-verified { margin-left: auto; }
.cmt-btn-util { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; border: 1px solid rgba(216,35,42,0.25); background: var(--cmt-card); color: var(--cmt-red) !important; font-size: var(--cmt-fs-sm); font-weight: 800; cursor: pointer; }
.cmt-btn-util:hover { border-color: var(--cmt-red); }
.cmt-btn-util.cmt-voted { background: var(--cmt-red); color: #fff !important; border-color: var(--cmt-red); }
.cmt-reply__action.cmt-voted { color: var(--cmt-accent); font-weight: 800; }
.cmt-reply__action.cmt-voted .cmt-ico { stroke: var(--cmt-accent); }

/* raspuns COMUNITATE */
.cmt-reply { background: var(--cmt-card); border: 1px solid var(--cmt-border); border-radius: 14px; padding: 13px 14px; }
.cmt-reply--nested { margin-left: 26px; }
.cmt-reply__head { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.cmt-reply__name { font-size: var(--cmt-fs-sm); font-weight: 800; color: var(--cmt-text); }
.cmt-reply__age { font-size: var(--cmt-fs-micro); color: var(--cmt-text3); font-weight: 600; margin-left: auto; }
.cmt-reply__text { font-size: var(--cmt-fs-body); color: var(--cmt-text); line-height: 1.5; word-wrap: break-word; max-width: 640px; }
.cmt-reply__actions { display: flex; align-items: center; gap: 16px; margin-top: 10px; color: var(--cmt-text3); }
.cmt-reply__action { display: inline-flex; align-items: center; gap: 5px; font-size: var(--cmt-fs-meta); font-weight: 700; color: var(--cmt-text3) !important; cursor: pointer; }
.cmt-reply__action:hover { color: var(--cmt-text2) !important; }
.cmt-reply__action--right { margin-left: auto; }

/* formular raspuns (desktop) */
.cmt-replybox { margin-top: 28px; background: var(--cmt-card); border: 1px solid var(--cmt-border); border-radius: 16px; padding: 20px; }
.cmt-replybox__title { font-size: var(--cmt-fs-h3); font-weight: 800; margin-bottom: 12px; }
.cmt-replybox textarea { width: 100%; min-height: 90px; border-radius: 12px; background: var(--cmt-bg); border: 1px solid var(--cmt-border); padding: 13px 15px; font-size: var(--cmt-fs-body); color: var(--cmt-text); font-family: inherit; resize: vertical; }
.cmt-replybox textarea::placeholder { color: var(--cmt-text3); }
.cmt-replybox--collapsed { display: none; }
.cmt-reply-open { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; padding: 12px 20px; border-radius: 12px; border: 1px solid var(--cmt-accent); background: var(--cmt-accent); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.cmt-reply-open:hover { background: var(--cmt-accent-dark); border-color: var(--cmt-accent-dark); }
.cmt-reply-open .cmt-ico { stroke: #fff; }
.cmt-replybox__submit { margin-top: 14px; display: flex; gap: 12px; align-items: center; }
.cmt-replybox__cancel { background: none; border: 0; color: var(--cmt-text2); font: inherit; font-weight: 700; cursor: pointer; padding: 6px 4px; }
.cmt-replybox__cancel:hover { color: var(--cmt-text); text-decoration: underline; }
.cmt-replybox__login { font-size: var(--cmt-fs-body); color: var(--cmt-text2); line-height: 1.5; }
.cmt-replybox__login a { color: var(--cmt-accent-dark); font-weight: 800; }
.cmt-replybox__hint { margin-top: 10px; font-size: var(--cmt-fs-sm); color: var(--cmt-text3); }

/* bara raspuns fixa jos (mobil) — base .cmt-bottom-bar e in sectiunea FORUMS */
.cmt-bottom-bar__input { flex: 1; display: flex; align-items: center; padding: 0 14px; height: 46px; border-radius: 12px; background: var(--cmt-bg); border: 1px solid var(--cmt-border); font-size: var(--cmt-fs-body); color: var(--cmt-text3); font-weight: 500; }
.cmt-bottom-bar__send { width: 46px; height: 46px; border-radius: 12px; border: none; background: var(--cmt-accent); display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }

@media (min-width: 768px) {
	.cmt-q { padding: 24px 26px; }
	.cmt-answers { margin-top: 30px; }
	.cmt-q__title { line-height: 1.18; }
	.cmt-q__meta { gap: 9px; margin: 14px 0; }
	.cmt-q__body { line-height: 1.6; }
	.cmt-medic-card { border-radius: 18px; padding: 22px 24px; }
	.cmt-medic-card__text { line-height: 1.62; }
	.cmt-medic-card__foot { margin-top: 18px; padding-top: 16px; }
	.cmt-reply { padding: 16px 18px; }
	.cmt-reply__text { line-height: 1.55; }
	.cmt-btn-util { padding: 9px 16px; }
}

/* ════════════════ ADD QUESTION (formular adauga intrebare) ════════════════ */
.cmt-form { background: var(--cmt-card); border: 1px solid var(--cmt-border); border-radius: 16px; padding: 20px; }
.cmt-form__title { font-size: var(--cmt-fs-h1); font-weight: 800; color: var(--cmt-text); }
.cmt-form__intro { font-size: var(--cmt-fs-body); color: var(--cmt-text2); margin-top: 6px; line-height: 1.5; }
.cmt-form__intro b { color: var(--cmt-text); }
.cmt-field { margin-top: 18px; }
.cmt-field__label { font-size: var(--cmt-fs-h3); font-weight: 800; color: var(--cmt-text); margin-bottom: 4px; }
.cmt-field__hint { font-size: var(--cmt-fs-sm); color: var(--cmt-text3); margin-top: 6px; line-height: 1.45; }
.cmt-field__hint strong { color: var(--cmt-red); }
.cmt-input, .cmt-textarea { width: 100%; border-radius: 12px; background: var(--cmt-bg); border: 1px solid var(--cmt-border); padding: 12px 15px; font-size: var(--cmt-fs-body); color: var(--cmt-text); font-family: inherit; }
.cmt-input:focus, .cmt-textarea:focus { outline: none; border-color: var(--cmt-accent); background: var(--cmt-card); }
.cmt-input::placeholder, .cmt-textarea::placeholder { color: var(--cmt-text3); }
.cmt-textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
/* selectie grup */
.cmt-grp-results { margin-top: 10px; max-height: 280px; overflow-y: auto; border: 1px solid var(--cmt-border); border-radius: 12px; padding: 6px; }
.cmt-grp-results ul { columns: 2; column-gap: 8px; }
.cmt-grp-results li { break-inside: avoid; }
.cmt-grp-results label { display: flex; align-items: center; gap: 7px; padding: 7px 9px; border-radius: 8px; font-size: var(--cmt-fs-sm); color: var(--cmt-text); cursor: pointer; }
.cmt-grp-results label:hover { background: var(--cmt-accent-softer); }
.cmt-grp-results input[type="radio"] { width: 15px; height: 15px; accent-color: var(--cmt-accent); margin: 0; }
.cmt-grp-selected { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; padding: 8px 8px 8px 14px; border-radius: 999px; background: var(--cmt-accent-soft); color: var(--cmt-accent-dark); font-size: var(--cmt-fs-sm); font-weight: 800; }
.cmt-grp-selected__x { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--cmt-accent); color: #fff; cursor: pointer; font-weight: 800; }
.cmt-check-row { display: flex; align-items: flex-start; gap: 9px; margin-top: 16px; font-size: var(--cmt-fs-body); color: var(--cmt-text2); line-height: 1.45; cursor: pointer; }
.cmt-check-row--sm { margin-top: 12px; font-size: var(--cmt-fs-sm); }
.cmt-check-row input[type="checkbox"] { width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--cmt-accent); flex-shrink: 0; }
.cmt-form__recaptcha { margin-top: 18px; }
.cmt-form__submit { margin-top: 20px; }
.cmt-alert { background: var(--cmt-red-soft); border: 1px solid rgba(216,35,42,0.3); border-radius: 12px; padding: 13px 16px; margin-bottom: 16px; font-size: var(--cmt-fs-sm); color: var(--cmt-red-dark); line-height: 1.5; }
.cmt-alert span { display: block; }

/* ════════════════ RESPONSIVE ════════════════ */
@media (max-width: 960px) {
	.cmt-grid { grid-template-columns: 1fr; }
	.cmt-grid__side { order: 2; }
	.cmt-groups-grid { grid-template-columns: 1fr; }
	.cmt-docs-grid { grid-template-columns: 1fr; }
	.cmt-qlist { padding: 4px 16px; }
}

@media (prefers-reduced-motion: reduce) { .cmt-page * { transition: none !important; animation: none !important; } }
