/* ConnectingCrowd community page */
.ccc{padding-top:24px;padding-bottom:48px}
.ccc-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ccc-muted{color:#5b6475;font-size:.95rem}
.ccc-topics{display:flex;gap:8px;overflow-x:auto;padding:4px 0 12px;margin:0 0 20px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.ccc-topics button{flex:0 0 auto;padding:9px 16px;border:1px solid #d5dce6;border-radius:999px;background:#fff;color:#0D1428;font:600 .95rem/1.2 var(--font-body,Inter,sans-serif);cursor:pointer;white-space:nowrap}
.ccc-topics button:hover{border-color:#1A6FD4;color:#1A6FD4}
.ccc-topics button[aria-selected="true"]{background:#1A6FD4;border-color:#1A6FD4;color:#fff}

/* Ambika */
.ccc-ambika{background:#fff;border:1px solid #e3e8ef;border-radius:20px;box-shadow:0 4px 24px rgba(13,20,40,.08);padding:24px;margin:0 0 40px}
.ccc-ambika__intro{display:flex;gap:18px;align-items:center;margin-bottom:16px}
.ccc-avatar{width:84px;height:84px;flex:0 0 84px;border-radius:50%;box-shadow:0 6px 18px rgba(26,111,212,.25)}
.ccc-ambika h2{margin:0 0 4px;font-size:1.6rem;color:#0D1428}
.ccc-ambika__intro p{margin:0;color:#3b4456;line-height:1.5}
.ccc-log{display:flex;flex-direction:column;gap:12px;max-height:520px;overflow-y:auto;padding:16px;background:#F7F9FC;border-radius:14px;margin-bottom:12px}
.ccc-msg{max-width:88%;padding:12px 16px;border-radius:16px;line-height:1.55;font-size:1rem;overflow-wrap:anywhere}
.ccc-msg p{margin:0 0 8px}.ccc-msg p:last-child{margin-bottom:0}
.ccc-msg--bot{align-self:flex-start;background:#fff;border:1px solid #e3e8ef;border-top-left-radius:4px;color:#1d2433}
.ccc-msg--me{align-self:flex-end;background:#1A6FD4;color:#fff;border-top-right-radius:4px}
.ccc-msg--me p{color:#fff}
.ccc-suggest{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.ccc-sugg{padding:8px 12px;border:1px solid #bcd3f2;background:#eef5ff;color:#1256A8;border-radius:12px;font:500 .92rem/1.3 var(--font-body,Inter,sans-serif);cursor:pointer;text-align:left}
.ccc-sugg:hover{background:#dcebff}
.ccc-pass{border-left:3px solid #0EC4A4;padding:6px 0 6px 12px;margin:10px 0}
.ccc-pass__t{display:block;font-weight:700;color:#0D1428;text-decoration:none}
.ccc-pass__t:hover{color:#1A6FD4;text-decoration:underline}
.ccc-pass__s{display:block;font-size:.85rem;color:#5b6475;margin:2px 0 4px}
.ccc-pass p{margin:4px 0}
.ccc-pass__more{font-weight:600;color:#1A6FD4;text-decoration:none;font-size:.92rem}
.ccc-src{margin-top:10px;padding-top:8px;border-top:1px solid #eef1f5;font-size:.92rem}
.ccc-src span{font-weight:600;color:#3b4456}
.ccc-src ul{margin:4px 0 0;padding-left:18px}
.ccc-src a{color:#1A6FD4}
.ccc-warn{background:#fff6e5;border:1px solid #f3d38a;border-radius:8px;padding:8px 10px;font-size:.92rem}
.ccc-typing span{display:inline-block;width:8px;height:8px;margin-right:4px;border-radius:50%;background:#9aa6bd;animation:cccdot 1s infinite alternate}
.ccc-typing span:nth-child(2){animation-delay:.2s}.ccc-typing span:nth-child(3){animation-delay:.4s}
@keyframes cccdot{to{opacity:.25;transform:translateY(-3px)}}
.ccc-chatform{display:flex;gap:10px}
.ccc-chatform input{flex:1;min-width:0;padding:13px 16px;border:1px solid #c9d3e0;border-radius:12px;font:1rem var(--font-body,Inter,sans-serif)}
.ccc-chatform input:focus,.ccc-filter:focus,.ccc-askform input:focus,.ccc-askform textarea:focus,.ccc-askform select:focus{outline:2px solid #1A6FD4;outline-offset:1px;border-color:#1A6FD4}
.ccc-fine{margin:10px 0 0;font-size:12px;line-height:1.5;color:#6b7280}

/* sections */
.ccc-sec{padding:28px 0;border-top:1px solid #e3e8ef}
.ccc-sec__head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.ccc-sec h2{margin:0;font-size:1.5rem;color:#0D1428}
.ccc-filter{width:100%;max-width:460px;padding:11px 14px;border:1px solid #c9d3e0;border-radius:10px;font:1rem var(--font-body,Inter,sans-serif);margin-bottom:16px}
.ccc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ccc-card{display:flex;flex-direction:column;gap:6px;padding:16px;border:1px solid #e3e8ef;border-radius:14px;background:#fff;text-decoration:none;color:#0D1428;transition:box-shadow .2s,border-color .2s}
.ccc-card:hover{border-color:#1A6FD4;box-shadow:0 8px 24px rgba(26,111,212,.12)}
.ccc-card strong{font-size:1.02rem;line-height:1.35}
.ccc-card__d{color:#5b6475;font-size:.9rem;line-height:1.45;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.ccc-card__tag{align-self:flex-start;font-size:.75rem;font-weight:700;letter-spacing:.02em;text-transform:uppercase;color:#0A9C83;background:#e6faf6;padding:3px 8px;border-radius:6px}
.ccc-more{margin-top:16px}

/* questions */
.ccc-qwrap{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:24px;align-items:start}
.ccc-q{border:1px solid #e3e8ef;border-radius:12px;background:#fff;margin-bottom:10px}
.ccc-q summary{list-style:none;cursor:pointer;padding:14px 16px;display:flex;flex-direction:column;gap:6px}
.ccc-q summary::-webkit-details-marker{display:none}
.ccc-q__t{font-weight:700;color:#0D1428;line-height:1.35}
.ccc-q__by{font-size:.85rem;color:#5b6475}
.ccc-q__body,.ccc-q__ans{padding:0 16px 14px;line-height:1.55}
.ccc-q__ans{background:#F7F9FC;margin:0 12px 12px;padding:12px 14px;border-radius:10px}
.ccc-q__ans p{margin:6px 0}
.ccc-askform{background:#fff;border:1px solid #e3e8ef;border-radius:16px;padding:20px;display:flex;flex-direction:column;gap:12px}
.ccc-askform h3{margin:0;font-size:1.2rem;color:#0D1428}
.ccc-askform p{margin:0}
.ccc-askform label{display:flex;flex-direction:column;gap:6px;font-weight:600;color:#1d2433;font-size:.95rem}
.ccc-askform input[type=text],.ccc-askform textarea,.ccc-askform select{padding:10px 12px;border:1px solid #c9d3e0;border-radius:10px;font:400 1rem var(--font-body,Inter,sans-serif);background:#fff;color:#0D1428;width:100%;box-sizing:border-box}
.ccc-askform .ccc-check{flex-direction:row;align-items:flex-start;font-weight:400;font-size:.9rem;gap:8px}
.ccc-check input{margin-top:3px;flex:0 0 auto}
.ccc-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.ccc-formmsg{font-size:.95rem;min-height:1em}
.ccc-formmsg.good{color:#0A7C68}.ccc-formmsg.bad{color:#B42318}
.ccc-rules{margin-top:20px;border:1px solid #e3e8ef;border-radius:12px;padding:12px 16px;background:#fff}
.ccc-rules summary{cursor:pointer;font-weight:700;color:#0D1428}
.ccc-rules ul{margin:10px 0 0;padding-left:20px;line-height:1.6;color:#3b4456}
.ccc-legal{margin-top:28px}
.ccc-legal p{font-size:12px;line-height:1.5;color:#6b7280;margin:0}

@media (max-width:900px){.ccc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ccc-qwrap{grid-template-columns:1fr}}
@media (max-width:600px){
  .ccc-ambika{padding:16px;border-radius:16px}
  .ccc-ambika__intro{gap:12px;align-items:flex-start}
  .ccc-avatar{width:60px;height:60px;flex-basis:60px}
  .ccc-ambika h2{font-size:1.3rem}
  .ccc-log{padding:10px;max-height:460px}
  .ccc-msg{max-width:100%}
  .ccc-chatform{flex-direction:column}
  .ccc-chatform .btn{width:100%}
  .ccc-grid{grid-template-columns:1fr}
  .ccc-sec h2{font-size:1.3rem}
}

/* dark mode */
[data-theme="dark"] .ccc-ambika,[data-theme="dark"] .ccc-card,[data-theme="dark"] .ccc-q,[data-theme="dark"] .ccc-askform,[data-theme="dark"] .ccc-rules,[data-theme="dark"] .ccc-msg--bot,[data-theme="dark"] .ccc-topics button{background:#141b2d;border-color:#2a3550;color:#e8ecf3}
[data-theme="dark"] .ccc-log,[data-theme="dark"] .ccc-q__ans{background:#0f1524}
[data-theme="dark"] .ccc-ambika h2,[data-theme="dark"] .ccc-sec h2,[data-theme="dark"] .ccc-card,[data-theme="dark"] .ccc-q__t,[data-theme="dark"] .ccc-askform h3,[data-theme="dark"] .ccc-askform label,[data-theme="dark"] .ccc-rules summary,[data-theme="dark"] .ccc-pass__t{color:#e8ecf3}
[data-theme="dark"] .ccc-ambika__intro p,[data-theme="dark"] .ccc-muted,[data-theme="dark"] .ccc-card__d,[data-theme="dark"] .ccc-q__by,[data-theme="dark"] .ccc-rules ul{color:#9aa6bd}
[data-theme="dark"] .ccc-topics button[aria-selected="true"]{background:#1A6FD4;border-color:#1A6FD4;color:#fff}
[data-theme="dark"] .ccc-sugg{background:#16233d;border-color:#2a3f66;color:#9cc3ff}
[data-theme="dark"] .ccc-chatform input,[data-theme="dark"] .ccc-filter,[data-theme="dark"] .ccc-askform input[type=text],[data-theme="dark"] .ccc-askform textarea,[data-theme="dark"] .ccc-askform select{background:#0f1524;border-color:#2a3550;color:#e8ecf3}
[data-theme="dark"] .ccc-sec{border-color:#2a3550}
