/* CLL Courses 2.2 — account chip + menu (site-wide when signed in). */
.cllacc { position: relative; display: inline-block; font-family: inherit; vertical-align: middle; line-height: 1.2; }
.cllacc *, .cllacc *::before, .cllacc *::after { box-sizing: border-box; }
.cllacc-chip { display: inline-flex; align-items: center; gap: 9px; padding: 5px 12px 5px 5px; border-radius: 999px; border: 1px solid #dfe3ea; background: #fff; color: #0b1220; font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; min-height: 40px; transition: box-shadow .15s, border-color .15s; }
.cllacc-chip:hover, .cllacc[data-open] .cllacc-chip { border-color: var(--cllc-primary, #1E5BFF); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cllc-primary, #1E5BFF) 18%, transparent); }
.cllacc-avatar, .cllacc-chip img { width: 28px !important; height: 28px !important; border-radius: 50% !important; object-fit: cover; display: block; }
.cllacc-name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cllacc-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
.cllacc-caret { opacity: .6; transition: transform .15s; }
.cllacc[data-open] .cllacc-caret { transform: rotate(180deg); }
.cllacc.tone-dark .cllacc-chip { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #fff; }
.cllacc.tone-dark .cllacc-chip:hover { background: rgba(255,255,255,.14); }
.cllacc-menu { position: absolute; right: 0; top: calc(100% + 8px); width: 300px; background: #fff; color: #0b1220; border: 1px solid #e6e9f0; border-radius: 16px; box-shadow: 0 24px 60px rgba(10,20,50,.18); padding: 8px; z-index: 100000; text-align: left; }
.cllacc-menu[hidden] { display: none; }
.cllacc-head { display: flex; gap: 12px; align-items: center; padding: 10px 10px 12px; border-bottom: 1px solid #eef0f4; margin-bottom: 6px; }
.cllacc-head img { width: 40px !important; height: 40px !important; border-radius: 50% !important; }
.cllacc-head div { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cllacc-head strong { font-size: .95rem; }
.cllacc-head small { color: #6b7280; font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cllacc-head code { font-size: .72rem; background: #f3f5f9; border-radius: 6px; padding: 2px 6px; width: max-content; color: #0A2A8A; }
.cllacc-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: #0b1220 !important; text-decoration: none !important; font-size: .92rem; font-weight: 500; }
.cllacc-item:hover { background: #f3f5f9; }
.cllacc-item svg { color: #6b7280; flex: none; }
.cllacc-item span { flex: 1; }
.cllacc-item em { font-style: normal; font-size: .75rem; color: #6b7280; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.cllacc-item b { font-size: .72rem; background: var(--cllc-primary, #1E5BFF); color: #fff; border-radius: 999px; padding: 2px 7px; }
.cllacc-item.cllacc-logout { border-top: 1px solid #eef0f4; margin-top: 6px; border-radius: 0 0 10px 10px; color: #b91c1c !important; }
.cllacc-item.cllacc-logout svg { color: #b91c1c; }
.cllacc-item.copied em { color: #15803d; }
body.cllacc-signed-in .cllacc-hide { display: none !important; }
@media (max-width: 640px) { .cllacc-name { display: none; } .cllacc-chip { padding: 4px 8px 4px 4px; } .cllacc-menu { position: fixed; left: 12px; right: 12px; top: auto; bottom: 12px; width: auto; } }
.cllacc-rewards-line { font-size: .75rem; color: #15803d; font-weight: 600; }
.cllacc-item.cllacc-rewards svg { color: #b7791f; }
.cllacc-item.cllacc-rewards em { color: #15803d; }
