/* Phase 6: Knowledge Base, Community, new Setup pages, public rating page. */

/* ---------- module side navigation (Community / KB) ---------- */
.cm-nav {
    width: 220px; flex-shrink: 0; background: var(--zd-nav); color: var(--zd-nav-text); display: flex; flex-direction: column;
    padding-top: 6px; overflow-y: auto; transition: width .15s;
}
.cm-link {
    display: flex; align-items: center; gap: 12px; padding: 12px 18px; color: #fff; font-size: 14px; font-weight: 600;
    text-decoration: none !important; border-left: 3px solid transparent;
}
.cm-link.sm { padding: 9px 18px; font-size: 13px; font-weight: 500; color: var(--zd-nav-text); }
.cm-link i { font-size: 15px; color: var(--zd-nav-muted); width: 16px; text-align: center; }
.cm-link em, .cm-forum em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--zd-nav-muted); }
.cm-link:hover { background: var(--zd-nav-2); }
.cm-link.active { background: var(--zd-nav-active); border-left-color: #fff; color: #fff; }
.cm-link.active i { color: #fff; }
.cm-tree { padding: 4px 0 8px; }
.cm-cat, .cm-forum { display: flex; align-items: center; gap: 8px; padding: 7px 18px 7px 20px; color: #6db3ff; font-size: 13.5px; text-decoration: none !important; }
.cm-cat { font-weight: 600; }
.cm-forum { color: var(--zd-nav-text); padding-left: 30px; }
.kb-nav .cm-forum { padding-left: 20px; }
.kb-nav .cm-forum.sub { padding-left: 40px; }
.cm-forum span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cm-cat:hover, .cm-forum:hover { background: var(--zd-nav-2); }
.cm-cat.active, .cm-forum.active { background: var(--zd-nav-active); color: #fff; }
.cm-group { display: flex; align-items: center; padding: 14px 18px 4px; font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--zd-nav-muted); }
.cm-group a { margin-left: auto; color: var(--zd-nav-muted); }
.cm-group a:hover { color: #fff; }
.cm-empty-nav { padding: 6px 20px; color: var(--zd-nav-muted); font-size: 12px; }
.cm-spacer { flex: 1; min-height: 20px; }
.cm-collapse { background: #2b3242; border: 0; color: var(--zd-nav-muted); text-align: right; padding: 12px 18px; font-size: 16px; cursor: pointer; }
.cm-collapse:hover { color: #fff; }
.cm-nav.collapsed { width: 56px; }
.cm-nav.collapsed span:not(.cm-spacer), .cm-nav.collapsed em, .cm-nav.collapsed .cm-tree, .cm-nav.collapsed .cm-group { display: none; }
.cm-nav.collapsed .cm-collapse i { transform: scaleX(-1); display: inline-block; }

/* ---------- page shells ---------- */
.cm-page { flex: 1; overflow: auto; background: #fff; padding: 30px 44px 50px; }
.cm-page.narrow > form { max-width: 1060px; margin: 0 auto; }
.cm-section-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.cm-section-head h2, .cm-h { font-size: 16px; font-weight: 500; margin: 0; color: var(--zd-text); }
.cm-h { margin: 44px 0 18px; }
.cm-range { font-size: 12px; }
.cm-card { background: #fff; border-radius: 3px; box-shadow: 0 1px 6px rgba(20, 30, 50, .12); }

/* period switch: WEEK | MONTH | YEAR | CUSTOM */
.cm-seg { display: inline-flex; border: 1px solid var(--zd-border-2); border-radius: 3px; overflow: hidden; }
.cm-seg a { padding: 5px 13px; font-size: 11.5px; color: var(--zd-text-2); text-decoration: none !important; border-left: 1px solid var(--zd-border-2); background: #fff; }
.cm-seg a:first-child { border-left: 0; }
.cm-seg a.on { background: var(--zd-blue); color: #fff; font-weight: 700; }
.cm-custom { display: flex; align-items: center; gap: 8px; justify-content: flex-end; margin: -6px 0 16px; }
.cm-custom.hidden { display: none; }
.cm-custom .input { width: 160px; }

/* KPI strip */
.cm-stats { display: flex; justify-content: space-around; padding: 52px 30px; flex-wrap: wrap; gap: 24px; }
.cm-stat { display: flex; align-items: flex-start; gap: 22px; }
.cm-stat > i { font-size: 40px; color: #2d3a4f; line-height: 1; }
.cm-stat-l { font-size: 13px; font-weight: 600; color: var(--zd-text-2); }
.cm-stat-v { font-size: 22px; margin-top: 6px; color: var(--zd-text); }
.cm-stat-v.sm { font-size: 15px; font-weight: 700; margin-top: 14px; }

/* gauges */
.cm-gauges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.cm-gauge { text-align: center; padding: 36px 10px 26px; }
.cm-gauge .g-title { font-size: 13px; color: var(--zd-text-2); font-weight: 600; }
.cm-gauge .g-count { font-size: 22px; margin: 8px 0 14px; }

/* stats by type */
.cm-types { padding: 0 30px 30px; }
.cm-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--zd-border); margin: 0 -30px 24px; padding: 0 40px; }
.cm-tabs a { padding: 16px 20px 14px; font-size: 15px; color: var(--zd-text-2); text-decoration: none !important; border-bottom: 2px solid transparent; }
.cm-tabs a.active { color: var(--zd-text); border-bottom-color: var(--zd-blue); }
.cm-page > .cm-tabs { margin: 0 0 14px; padding: 0; }
.cm-two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 30px; }
.cm-two h3 { font-size: 14px; font-weight: 600; color: var(--zd-text-2); margin: 10px 0 14px; }
.cm-nodata { min-height: 160px; display: flex; align-items: center; justify-content: center; color: var(--zd-text-2); font-size: 14px; }

/* top contributors */
.cm-contrib { display: grid; grid-template-columns: minmax(260px, 510px) 1fr; gap: 40px; align-items: start; }
.cm-people { display: flex; flex-direction: column; gap: 12px; }
.cm-person { display: flex; align-items: center; gap: 22px; padding: 20px 18px; text-decoration: none !important; color: var(--zd-text); border-left: 3px solid transparent; }
.cm-person.active { border-left-color: var(--zd-blue); }
.cm-person:hover { background: var(--zd-row-hover); }
.cm-avatar.avatar, .cm-avatar { width: 44px; height: 44px; font-size: 17px; }
.cm-pname { font-size: 14px; }
.cm-pnums { display: grid; grid-template-columns: repeat(3, 1fr); margin: 30px 0 30px 16px; }

/* ---------- topic / article list ---------- */
.cm-list { flex: 1; display: flex; flex-direction: column; min-height: 0; background: #fff; }
.cm-toolbar { display: flex; align-items: center; gap: 10px; padding: 12px 28px; border-bottom: 1px solid var(--zd-border); }
.cm-title-btn { background: none; border: 0; font-size: 16px; color: var(--zd-text); display: inline-flex; align-items: center; gap: 8px; cursor: pointer; padding: 4px 2px; font-family: inherit; }
.cm-title-btn .bi-caret-down-fill { font-size: 9px; color: var(--zd-muted); }
.cm-title-btn.static { cursor: default; }
.cm-chip {
    border: 1px solid var(--zd-border-2); background: #fff; border-radius: 3px; padding: 5px 10px; font-size: 13px; color: var(--zd-text);
    display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-family: inherit;
}
.cm-chip .bi-caret-down-fill { font-size: 8px; color: var(--zd-muted); }
.cm-chip.on { background: var(--zd-blue-soft); border-color: #b9d3f7; }
.cm-chip:disabled { color: #a3a9b4; cursor: default; }
.cm-chip.static { cursor: default; }
.cm-head-row { display: flex; align-items: center; background: #f6f7f9; border-bottom: 1px solid var(--zd-border); padding: 0 28px; }
.cm-search { flex: 1; display: flex; align-items: center; gap: 10px; color: var(--zd-muted); }
.cm-search input { flex: 1; border: 0; background: transparent; padding: 12px 0; font-size: 14px; outline: none; font-family: inherit; }
.cm-cols { display: grid; grid-template-columns: repeat(3, 96px); text-align: center; font-size: 14px; color: var(--zd-text-2); flex-shrink: 0; }
.cm-cols.kb-cols { grid-template-columns: 110px 70px 70px 100px; font-size: 13px; }
.cm-head-row .cm-cols { padding: 12px 0; }
.cm-rows { flex: 1; overflow: auto; }
.cm-row { display: flex; align-items: flex-start; gap: 18px; padding: 20px 28px 18px; border-bottom: 1px solid var(--zd-border); cursor: pointer; }
.cm-row:hover { background: var(--zd-row-hover); }
.cm-row .cm-cols { align-self: center; color: var(--zd-text-2); }
.cm-initials { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--zd-border-2); display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; background: #fff; }
.kb-doc { width: 40px; height: 40px; border-radius: 6px; background: var(--zd-blue-soft); color: var(--zd-blue); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.cm-main { flex: 1; min-width: 0; }
.cm-ttl { display: block; font-size: 16px; color: var(--zd-text); font-weight: 500; text-decoration: none !important; }
.cm-ttl i { color: var(--zd-orange); margin-right: 6px; font-size: 13px; }
.cm-ttl:hover { color: var(--zd-blue); }
.cm-excerpt { margin-top: 8px; color: var(--zd-text-2); font-size: 14px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cm-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 10px; font-size: 12.5px; color: var(--zd-text-2); }
.cm-meta .pill { font-size: 11px; padding: 0 7px; }
.cm-type-announcement { color: #e07a3f; }
.cm-type-question { color: var(--zd-blue); }
.cm-type-idea { color: #d6a100; }
.cm-type-problem { color: var(--zd-red); }
.cm-type-discussion { color: #14a5b8; }
.cm-footer { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 10px 28px; border-top: 1px solid var(--zd-border); font-size: 14px; }
.cm-total { margin-right: 18px; }
.cm-pg { color: var(--zd-text-2); padding: 0 2px; }
.cm-pg.off { color: #c4c9d2; }

/* ---------- topic / article detail ---------- */
.cm-topic { flex: 1; display: flex; min-height: 0; background: #fff; }
.cm-topic-main { flex: 1; min-width: 0; overflow: auto; padding: 22px 44px 50px; }
.cm-topic-side { width: 300px; flex-shrink: 0; border-left: 1px solid var(--zd-border); background: #fafbfc; overflow: auto; padding: 18px; }
.cm-crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--zd-muted); margin-bottom: 14px; }
.cm-topic-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cm-topic-head form { display: inline; }
.cm-type-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
.cm-topic-title { font-size: 24px; font-weight: 500; margin: 12px 0 16px; line-height: 1.3; }
.cm-author { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--zd-border); }
.cm-topic-body { padding: 20px 0; font-size: 14.5px; line-height: 1.75; color: var(--zd-text); overflow-x: auto; }
.rich img { max-width: 100%; height: auto; }
.rich pre { background: #f5f7fa; padding: 10px 12px; border-radius: 4px; overflow-x: auto; }
.rich blockquote { border-left: 3px solid var(--zd-border-2); margin: 8px 0; padding: 2px 12px; color: var(--zd-text-2); }
.cm-topic-actions { display: flex; align-items: center; gap: 8px; padding: 12px 0 22px; border-bottom: 1px solid var(--zd-border); }
.cm-topic-actions form { display: inline; }
.btn.btn-liked { color: var(--zd-blue); border-color: #b9d3f7; background: var(--zd-blue-soft); }
.btn.btn-disliked { color: var(--zd-red); border-color: #f2b8bb; background: var(--zd-red-soft); }
.cm-comments-title { font-size: 15px; font-weight: 600; margin: 22px 0 12px; }
.cm-comment { border: 1px solid var(--zd-border); border-radius: 4px; padding: 12px 16px; margin-bottom: 12px; background: #fff; }
.cm-comment.reply { margin-left: 46px; }
.cm-comment.best { border-color: #a9dfbd; background: #f6fcf8; }
.cm-comment-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cm-comment-head form { display: inline; }
.cm-comment-head .avatar { width: 28px; height: 28px; font-size: 11px; }
.cm-comment-body { padding: 8px 0 2px 36px; line-height: 1.65; overflow-x: auto; }
.cm-reply-chip { padding: 6px 14px; background: var(--zd-blue-soft); font-size: 12px; display: flex; gap: 8px; align-items: center; }
.cm-reply-chip.hidden { display: none; }
.cm-side-card { background: #fff; border: 1px solid var(--zd-border); border-radius: 4px; padding: 14px 16px; margin-bottom: 14px; }
.cm-side-card h4 { margin: 0 0 12px; font-size: 13px; font-weight: 700; color: var(--zd-text-2); text-transform: uppercase; letter-spacing: .4px; }
.cm-side-card .prop { margin-bottom: 10px; }
.cm-side-card .pl { font-size: 11.5px; color: var(--zd-muted); margin-bottom: 2px; }
.cm-side-nums { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; margin-top: 6px; }
.cm-side-nums b { display: block; font-size: 18px; font-weight: 600; }
.cm-side-nums span { font-size: 11px; color: var(--zd-muted); }
.cm-side-btn { width: 100%; justify-content: flex-start; margin-top: 8px; }
.cm-label { display: block; font-size: 12.5px; color: var(--zd-text-2); margin-bottom: 8px; }
.cm-type-pick { display: flex; gap: 10px; flex-wrap: wrap; }
.cm-type-pick label { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 1px solid var(--zd-border-2); border-radius: 4px; cursor: pointer; }
.cm-type-pick label.on { border-color: var(--zd-blue); background: var(--zd-blue-soft); color: var(--zd-blue); }
.cm-type-pick input { display: none; }

/* moderation */
.cm-mod { padding: 14px 18px; margin-bottom: 12px; }
.cm-mod-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.cm-mod-head form { display: inline; }
.cm-mod-body { margin-top: 10px; max-height: 160px; overflow: auto; color: var(--zd-text-2); line-height: 1.6; }

/* ---------- knowledge base ---------- */
.pill.kb-st-published { color: var(--zd-green); border-color: #a9dfbd; background: var(--zd-green-soft); }
.pill.kb-st-review { color: #8e5ce6; border-color: #d6c5f6; background: #f5f0fe; }
.pill.kb-st-draft { color: var(--zd-text-2); }
.pill.kb-st-expired { color: var(--zd-orange); border-color: #f6d0a4; background: var(--zd-orange-soft); }
.kb-body h2, .kb-body h3 { margin: 18px 0 8px; }
.kb-vote { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 16px 18px; border: 1px solid var(--zd-border); border-radius: 4px; background: #fafbfc; margin: 10px 0 14px; }
.kb-vote form { display: inline; }
.kb-vote > span { font-weight: 600; margin-right: 6px; }
.kb-title-input { font-size: 17px; }
.kb-suggest { display: flex; align-items: flex-start; gap: 8px; padding: 6px 0; color: var(--zd-text); font-size: 12.5px; line-height: 1.4; text-decoration: none !important; }
.kb-suggest i { color: var(--zd-blue); margin-top: 1px; }
.kb-suggest:hover span { color: var(--zd-blue); text-decoration: underline; }
.text-red { color: var(--zd-red); }

/* ---------- setup extras ---------- */
.section-title { font-size: 14px; font-weight: 700; margin: 24px 0 8px; color: var(--zd-text-2); }
.pill-blue { color: var(--zd-blue); border-color: #b9d3f7; background: var(--zd-blue-soft); }
.ph-chip { display: inline-block; margin: 0 6px 6px 0; padding: 2px 7px; background: #f1f4f8; border: 1px solid var(--zd-border); border-radius: 3px; font-size: 12px; }
.code-block { background: #f6f8fa; border: 1px solid var(--zd-border); border-radius: 4px; padding: 10px 12px; font-size: 12.5px; white-space: pre-wrap; word-break: break-all; margin: 0; max-height: 320px; overflow: auto; }
.textarea.mono, .mono { font-family: Consolas, "SFMono-Regular", Menlo, monospace; font-size: 12.5px; }
.happy-preview { border-top: 1px solid var(--zd-border); padding-top: 12px; font-family: Arial, sans-serif; }
.happy-preview p { margin: 0 0 8px; color: var(--zd-text-2); }
.happy-preview .hp { display: inline-block; margin-right: 16px; font-weight: 700; }
.hp.good { color: #20a456; } .hp.okay { color: #c99200; } .hp.bad { color: #e0434b; }
.cf-cat { margin-bottom: 18px; }
.cf-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--zd-border); }
.cf-head > i { font-size: 18px; color: var(--zd-muted); }
.cf-head form { display: inline; }
.cf-edit { display: flex; align-items: center; gap: 8px; padding: 10px 14px; flex-wrap: wrap; }
.cf-edit .input { max-width: 240px; }

/* ---------- public rating page ---------- */
.rate-card { max-width: 560px; min-height: 0; padding: 36px 40px; display: block; text-align: center; }
.rate-card h1 { font-size: 22px; font-weight: 500; margin: 10px 0 6px; }
.rate-card .sub { color: var(--zd-text-2); margin-bottom: 22px; }
.rate-org { font-size: 13px; font-weight: 700; color: var(--zd-muted); text-transform: uppercase; letter-spacing: .6px; }
.rate-options { display: flex; justify-content: center; gap: 16px; margin-bottom: 20px; }
.rate-opt { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 110px; padding: 16px 0 12px; border: 2px solid var(--zd-border); border-radius: 8px; cursor: pointer; font-weight: 700; transition: .12s; }
.rate-opt input { position: absolute; opacity: 0; pointer-events: none; }
.rate-emoji { font-size: 38px; line-height: 1; }
.rate-opt.good:has(input:checked) { border-color: #20a456; background: #e6f6ec; color: #20a456; }
.rate-opt.okay:has(input:checked) { border-color: #f0b400; background: #fff8e1; color: #a77a00; }
.rate-opt.bad:has(input:checked) { border-color: #e0434b; background: #fdecec; color: #e0434b; }
.rate-opt:hover { border-color: var(--zd-border-2); }
.rate-card .textarea { width: 100%; text-align: left; }
.rate-submit { margin-top: 16px; min-width: 140px; }
.rate-big { font-size: 56px; margin-top: 10px; }
.rate-done a { display: inline-block; margin-top: 8px; }

@media (max-width: 1100px) {
    .cm-gauges { grid-template-columns: repeat(2, 1fr); }
    .cm-two, .cm-contrib { grid-template-columns: 1fr; }
    .cm-topic-side { display: none; }
}

/* ---------- global search ---------- */
.gs-overlay { position: fixed; inset: 0; z-index: 1000; }
.gs-overlay[hidden] { display: none; }
.gs-backdrop { position: absolute; inset: 0; background: rgba(28, 33, 45, .62); }
.gs-box { position: absolute; top: 0; left: 0; right: 0; }
.gs-bar { height: var(--zd-topbar-h); background: var(--zd-nav); display: flex; align-items: center; gap: 14px; padding: 0 calc(50% - 420px); }
.gs-modsel > button { background: none; border: 0; color: #fff; font-size: 20px; display: inline-flex; align-items: flex-end; gap: 2px; cursor: pointer; padding: 4px; }
.gs-modsel .gs-caret { font-size: 8px; margin-bottom: 2px; }
.gs-modsel .dd-menu { top: 40px; min-width: 200px; }
#gs-input { flex: 1; background: transparent; border: 0; outline: none; color: #fff; font-size: 18px; font-weight: 600; font-family: inherit; }
#gs-input::placeholder { color: #fff; opacity: 1; }
.gs-close { background: none; border: 0; color: #fff; display: flex; flex-direction: column; align-items: center; cursor: pointer; line-height: 1; font-size: 15px; }
.gs-close span { font-size: 9px; font-weight: 700; }
.gs-panel { width: 840px; max-width: calc(100% - 24px); margin: 0 auto; background: #fff; box-shadow: var(--zd-shadow-lg); max-height: calc(100vh - 120px); display: flex; flex-direction: column; }
.gs-panel[hidden] { display: none; }
.gs-tabs { display: flex; gap: 2px; padding: 0 22px; border-bottom: 1px solid var(--zd-border); overflow-x: auto; flex-shrink: 0; }
.gs-tabs a { padding: 13px 12px 11px; font-size: 11.5px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--zd-text-2); white-space: nowrap; text-decoration: none !important; border-bottom: 2px solid transparent; }
.gs-tabs a.active { color: var(--zd-text); border-bottom-color: var(--zd-text); }
.gs-list { overflow-y: auto; padding: 0 30px; }
.gs-hit { display: flex; align-items: center; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--zd-border); color: var(--zd-text); text-decoration: none !important; }
.gs-hit:hover, .gs-hit.active { background: var(--zd-row-hover); margin: 0 -30px; padding-left: 30px; padding-right: 30px; }
.gs-icon { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--zd-border-2); display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--zd-text-2); flex-shrink: 0; background: #fff; }
.gs-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.gs-title { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gs-title mark, .gs-meta mark { background: #fdf0b8; color: inherit; padding: 0; }
.gs-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12.5px; color: var(--zd-text-2); }
.gs-meta .gs-mod { color: var(--zd-blue); font-weight: 600; }
.gs-status { font-size: 12.5px; padding: 2px 12px; border: 1px solid; border-radius: 2px; white-space: nowrap; }
.gs-status.open { color: var(--zd-red); border-color: #f2b8bb; background: var(--zd-red-soft); }
.gs-status.hold { color: var(--zd-orange); border-color: #f6d0a4; background: var(--zd-orange-soft); }
.gs-status.closed { color: var(--zd-green); border-color: #a9dfbd; background: var(--zd-green-soft); }
.gs-owner { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--zd-border-2); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; flex-shrink: 0; }
.gs-empty { padding: 30px 0; text-align: center; color: var(--zd-text-2); }
.gs-more { display: block; padding: 14px 42px 18px; font-size: 14.5px; color: var(--zd-blue); flex-shrink: 0; }
body.gs-open { overflow: hidden; }

/* results page */
.gs-side { width: 175px; flex-shrink: 0; background: var(--zd-nav); color: var(--zd-nav-text); display: flex; flex-direction: column; padding: 10px 0 0; }
.gs-choose > button { background: none; border: 0; color: #fff; text-align: left; padding: 2px 16px 8px; cursor: pointer; font-family: inherit; display: flex; flex-direction: column; }
.gs-choose-l { font-size: 10.5px; color: var(--zd-nav-muted); }
.gs-choose-v { font-size: 12px; font-weight: 700; }
.gs-choose-v i { font-size: 8px; }
.gs-choose .dd-menu { top: 44px; min-width: 190px; }
.gs-total { display: flex; justify-content: space-between; margin: 6px 16px 0; padding: 10px 0; border-bottom: 1px dashed #4b5568; font-size: 12px; font-weight: 600; }
.gs-count { display: flex; justify-content: space-between; padding: 8px 16px; font-size: 12.5px; color: var(--zd-nav-text); text-decoration: none !important; }
.gs-count em { font-style: normal; color: var(--zd-nav-muted); }
.gs-count:hover { background: var(--zd-nav-2); }
.gs-adv { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #2f3747; color: #fff; font-size: 13px; font-weight: 600; text-decoration: none !important; }
.gs-adv.off { color: var(--zd-nav-muted); cursor: not-allowed; }
.gs-page { flex: 1; min-width: 0; display: flex; flex-direction: column; background: #fff; }
.gs-pagebar { display: flex; align-items: center; gap: 12px; background: var(--zd-nav); padding: 0 24px; height: 44px; color: #fff; font-size: 17px; }
.gs-pagebar input { flex: 1; background: transparent; border: 0; outline: none; color: #fff; font-size: 15px; font-weight: 600; font-family: inherit; }
.gs-head { display: flex; align-items: center; padding: 12px 32px; border-bottom: 1px solid var(--zd-border); }
.gs-head h2 { font-size: 14px; font-weight: 600; margin: 0; }
.gs-results { flex: 1; overflow: auto; padding: 0 32px 30px; }
.gs-results .gs-hit:hover { margin: 0 -32px; padding-left: 32px; padding-right: 32px; }
.gs-group-head { display: flex; align-items: center; gap: 6px; padding: 18px 0 6px; font-size: 13px; border-bottom: 1px solid var(--zd-border); }
.gs-group-foot { padding: 12px 0; color: var(--zd-text-2); font-size: 12.5px; }
.gs-none { text-align: center; padding: 30px 0; }
.gs-none-art { width: 110px; height: 110px; margin: 0 auto 10px; border-radius: 50%; background: var(--zd-blue-soft); display: flex; align-items: center; justify-content: center; font-size: 46px; color: var(--zd-blue); }
.gs-none h4 { font-size: 17px; font-weight: 500; margin: 8px 0; }

/* "Powered by Assistra" under the public rating card */
.rate-powered { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; color: var(--zd-muted); font-size: 12px; text-decoration: none !important; }
.rate-powered img { height: 26px; }
