/* Compact Circle graph: small type, clear hierarchy, generous hit areas. */
.cg{max-width:1000px;margin:0 auto;color:#302a3b;font-size:13px;line-height:1.55;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans SC",sans-serif;-webkit-font-smoothing:antialiased}
.cg *{box-sizing:border-box}.cg button,.cg select,.cg-dialog button,.cg-dialog input{font-family:inherit}.cg button{cursor:pointer;border:0;touch-action:manipulation}.cg button:focus-visible,.cg select:focus-visible,.cg summary:focus-visible{outline:2px solid #7655ac;outline-offset:3px}.cg [tabindex="-1"]:focus{outline:none}
.cg-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}.cg h1{font-size:29px;font-weight:800;line-height:1.22;letter-spacing:-.8px;margin:6px 0 8px;color:#282033}.cg-heading p{max-width:760px;font-size:14px;line-height:1.65;margin:0;color:#675d73;font-weight:520}.cg-kicker{font-size:10px;letter-spacing:1.6px;color:#7b658f;font-weight:650}.cg-demo{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;border:1px solid #e6dfec;border-radius:20px;padding:4px 8px;font-size:10px;color:#807388;background:#ffffff90}.cg-demo i{width:4px;height:4px;background:#a28abf;border-radius:50%}
.cg-build{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:17px 0 14px}.cg-build label{display:flex;align-items:center;gap:8px;font-size:11px;color:#75687f}.cg-build select{font-size:12px;color:#44364f;min-height:38px;margin:0;padding:7px 25px 7px 10px;border:1px solid #ded6e8;border-radius:8px;background:white;width:auto}.cg-build small{flex-basis:100%;font-size:10px;color:#807687;line-height:1.5}.cg-primary,.cg-dialog .cg-primary{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:9px 15px;background:#7653ad;color:#fff;border:1px solid #7653ad;border-radius:8px;font-size:12px;font-weight:550;box-shadow:0 2px 3px #5b3b8020;cursor:pointer}.cg-primary:hover{background:#654599}
.cg-map{background:radial-gradient(ellipse at 50% 0,#f1eaf9,transparent 70%),#fcfbfd;border:1px solid #e5deec;border-radius:14px;padding:12px 18px 15px;overflow:hidden}.cg-map-top{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:12px;font-size:10px;color:#8c7d96}.cg-role-count{font-variant-numeric:tabular-nums}.cg-core{margin:0 auto;display:flex;gap:2px;flex-direction:column;border:1px solid #cbc2d5;background:#fff;box-shadow:0 3px 10px #523d7010;border-radius:12px;padding:8px 14px 10px;width:178px;position:relative;overflow:hidden}.cg-core-photo{width:calc(100% + 28px);height:82px;margin:-8px -14px 8px;object-fit:cover;display:block;background:#f0eaf6;color:#725b84}.cg-core-photo-placeholder{display:grid;place-items:center;font-size:22px;font-weight:700}.cg-core-photo[hidden]{display:none}.cg-core span{font-size:9px;letter-spacing:1px;color:#7a6d89}.cg-core strong{font-size:15px;font-weight:650}.cg-core small{font-size:10px;color:#81758e}.cg-map{text-align:center}.cg-branches{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;padding-top:21px;position:relative}.cg-branches:before{content:'';height:21px;width:1px;background:#cec3da;position:absolute;top:0;left:50%}.cg-branches button{display:flex;gap:6px;align-items:center;justify-content:center;color:var(--slot);border:1px solid color-mix(in srgb,var(--slot) 33%,white);border-radius:7px;padding:6px 11px;background:color-mix(in srgb,var(--slot) 5%,white);font-size:11px;font-weight:550;min-height:32px;box-shadow:0 2px 3px #4d355705}.cg-branches i,.cg-dot{width:5px;height:5px;background:var(--slot);border-radius:50%;display:inline-block;flex-shrink:0}.cg-map p{font-size:11px;line-height:1.5;margin:11px 0 0;color:#81738d}
.cg-rule{display:flex;gap:16px;align-items:center;margin:12px 0 17px;padding:0 2px;font-size:11px;line-height:1.7}.cg-rule strong{white-space:nowrap;font-weight:600;color:#675274}.cg-rule span{color:#7e7385;font-size:10px}.cg-section-title{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:9px}.cg-section-title h2{font-size:14px;font-weight:650;margin:0}.cg-section-title>span{font-size:10px;color:#807487}.cg-section-title-major{margin:24px 0 12px;align-items:flex-end}.cg-section-title-major h2{font-size:24px;line-height:1.25;font-weight:800;letter-spacing:-.35px;color:#30263f}.cg-section-title-major>span{font-size:12px;line-height:1.45;color:#796a88;font-weight:650;text-align:end}.cg-section-title-major+.cg-familiar-invite{margin-top:10px}.cg-section-title-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.cg-section-title-actions>span{font-size:12px;line-height:1.45;color:#796a88;font-weight:650;text-align:end}.cg-title-refresh{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 12px;border-radius:9px;background:#7653ad;color:#fff;font-size:12px;font-weight:700;box-shadow:0 2px 6px #5b3b8026}.cg-title-refresh:hover{background:#654599}
.cg-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:start}.cg-slot{border:1px solid #e6e0eb;border-top:2px solid var(--slot);border-radius:10px;background:#fff;padding:0 11px;scroll-margin-top:85px;overflow:hidden;box-shadow:0 2px 5px #45324c04}.cg-slot header{display:flex;align-items:center;gap:6px;min-height:40px}.cg-role-number{font-size:9px;color:var(--slot);font-variant-numeric:tabular-nums;font-weight:600;letter-spacing:.5px}.cg-slot h3{font-size:13px;font-weight:650;margin:0;line-height:1.4}.cg-seat{font-size:9px;white-space:nowrap;margin-left:auto;color:var(--slot);background:color-mix(in srgb,var(--slot) 8%,white);padding:2px 5px;border-radius:4px}.cg-icon{display:inline-flex;align-items:center;justify-content:center;height:36px;min-width:36px;flex-shrink:0;background:transparent;color:#91839c;border-radius:6px;font-size:17px;font-weight:400;padding:0;line-height:1}.cg-icon:hover{background:#fbeded;color:#a43e51}.cg-slot header .cg-icon{margin-right:-6px}.cg-slot-meta{display:flex;justify-content:space-between;font-size:10px;color:#7f7388}.cg-reason{font-size:11px;line-height:1.5;margin:3px 0 8px;color:#6f657a}
.cg-smb{display:flex;align-items:flex-start;min-height:74px;border-top:1px solid #f0edf3;padding:8px 0;gap:9px}.cg-smb-photo{width:62px;height:62px;border-radius:10px;object-fit:cover;display:block;flex-shrink:0;background:#f1edf5;color:#725b84}.cg-smb-photo-placeholder{display:grid;place-items:center;font-size:12px;font-weight:800;letter-spacing:.04em}.cg-smb-photo[hidden]{display:none}.cg-smb-info{flex:1;min-width:0}.cg-smb-name{display:block;font-size:14px;font-weight:800;line-height:1.45;overflow-wrap:anywhere;color:#123d7a}.cg-smb small{display:block;font-size:10px;color:#7e7388;line-height:1.5;overflow-wrap:anywhere}.cg-smb .cg-icon{margin-right:-6px}.cg-slot footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eee8f2;padding:2px 0;gap:4px}.cg-slot footer>div{display:flex;align-items:center;gap:3px}.cg-slot footer button{font-size:10px;font-weight:500;background:transparent;color:var(--slot);min-height:36px;padding:4px 3px;white-space:nowrap}.cg-slot footer .cg-replace{position:relative;padding-left:9px}.cg-replace:before{content:'';position:absolute;left:1px;top:13px;height:10px;width:1px;background:#e5deeb}.cg-friend strong{color:var(--slot)}
.cg-hint{font-size:10px;color:#807487;margin:10px 0 0;line-height:1.7}.cg-empty{padding:24px;border:1px dashed #d2c5df;border-radius:10px;text-align:center;background:#fff;font-size:12px}.cg-empty p{font-size:11px;margin-bottom:0;color:#81728e}.cg-notice{font-size:11px;min-height:24px;margin:7px 0;display:flex;gap:10px;align-items:center;color:#557561}.cg-notice button{font-size:11px;background:transparent;color:#705093;text-decoration:underline;padding:5px;min-height:36px;flex-shrink:0}.cg-detail{font-size:11px;border-top:1px solid #e6deed;margin-top:8px;padding:0 2px;color:#796b85}.cg-detail summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center;min-height:42px;font-size:11px;list-style:none;color:#685875}.cg-detail summary::-webkit-details-marker{display:none}.cg-detail summary span{font-size:15px}.cg-detail[open] summary span{transform:rotate(45deg)}.cg-detail p{font-size:11px;line-height:1.8;margin:3px 0 12px}.cg-before{padding:30px 14px;border:1px dashed #d7cae1;border-radius:12px;color:#887696;text-align:center;font-size:12px}.cg-before i{font-style:normal;margin:0 12px;color:#b3a0c5}.cg-before p{font-size:11px;margin-bottom:0}
.cg-slot-review{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 13px}.cg-slot-review label{display:grid;grid-template-columns:18px 1fr;gap:3px 5px;background:#fff;padding:9px;border:1px solid #e8e0ee;border-inline-start:2px solid var(--slot);border-radius:8px;cursor:pointer;scroll-margin-top:85px}.cg-slot-review input{grid-row:span 2;width:14px;height:14px;margin:2px 0 0;accent-color:var(--slot)}.cg-slot-review strong{font-size:12px;font-weight:600}.cg-slot-review small{font-size:10px;color:#81738c}.cg-slot-review label:has(input:not(:checked)){opacity:.55}
#modal.cg-modal{border:1px solid #e2d9eb;border-radius:16px;padding:24px;max-width:430px;background:#fdfbff}#modal.cg-modal h2{font-size:17px;line-height:1.4;margin:0 0 12px;font-weight:650}.cg-dialog p{font-size:12px;line-height:1.8;color:#786b85;margin:0 0 18px}.cg-dialog label{display:block;font-size:12px;color:#554362;margin-bottom:6px}.cg-dialog input{width:100%;min-width:0;border:1px solid #cfc1dd;border-radius:8px;background:#fff;padding:10px 12px;font-size:16px;line-height:1.5}.cg-dialog .cg-primary{margin-top:12px;min-height:44px;width:100%}.cg-dialog small{display:block;font-size:10px;color:#84748f;line-height:1.7;margin-top:12px}#modal.cg-modal .row{margin-top:5px}#modal.cg-modal .row .btn{font-size:12px;min-height:40px;background:transparent;padding:7px 0;color:#80708e}
@media(max-width:1000px){.cg-grid,.cg-slot-review{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.cg-heading{display:block}.cg h1{font-size:22px;letter-spacing:-.2px;margin:4px 0 6px}.cg-heading p{font-size:12px}.cg-demo{margin-top:8px}.cg-build{gap:8px;margin-top:13px}.cg-build label{font-size:11px;gap:6px}.cg-build select{max-width:132px;min-height:40px}.cg-primary{min-height:40px;font-size:11px;padding:8px 12px}.cg-build small{font-size:10px}.cg-map{padding:10px 12px 13px}.cg-map-top{font-size:10px;margin-bottom:10px}.cg-core{padding:7px 12px}.cg-branches{gap:6px;padding-top:17px}.cg-branches:before{height:17px}.cg-branches button{font-size:11px;min-height:36px;padding:5px 10px}.cg-rule{display:block;margin:11px 0 15px}.cg-rule strong{display:block;font-size:11px;margin-bottom:3px}.cg-rule span{font-size:10px}.cg-section-title h2{font-size:13px}.cg-section-title>span{font-size:9px}.cg-section-title-major{display:block;margin:20px 0 10px}.cg-section-title-major h2{font-size:20px}.cg-section-title-major>span{display:block;margin-top:4px;text-align:start;font-size:11px}.cg-section-title-actions{justify-content:flex-start;margin-top:6px}.cg-section-title-actions>span{font-size:11px;text-align:start}.cg-title-refresh{min-height:38px;font-size:11px}.cg-grid{grid-template-columns:1fr;gap:9px}.cg-slot-review{gap:7px}.cg-slot-review label{padding:9px 7px}.cg-slot-review strong{font-size:12px}.cg-slot-review small{font-size:10px}.cg-slot{padding:0 11px}.cg-slot h3{font-size:13px}.cg-smb strong{font-size:12px}.cg-smb small{font-size:10px}.cg-icon{height:40px;min-width:40px}.cg-slot footer button{min-height:40px;font-size:11px}.cg-slot footer>div{gap:5px}.cg-replace:before{top:15px}.cg-before{font-size:11px}.cg-before i{margin:0 6px}}
@media(prefers-reduced-motion:reduce){.cg *{scroll-behavior:auto!important}}

.cg-knowledge{display:flex;align-items:center;gap:12px;margin:15px 0 13px;padding:12px;border:1px solid #e9e2ed;border-radius:14px;background:#fff}.cg-knowledge-check{display:grid;place-items:center;width:25px;height:25px;border-radius:7px;background:#e8f0ec;color:#4e7c69;font-size:12px}.cg-knowledge-photo{width:116px;height:76px;border-radius:12px;object-fit:cover;display:block;flex-shrink:0;background:#f1edf5;color:#725b84}.cg-knowledge-photo-placeholder{display:grid;place-items:center;font-size:22px;font-weight:700}.cg-knowledge-photo[hidden]{display:none}.cg-knowledge>div{min-width:0;flex:1}.cg-knowledge small{display:block;font-size:10px;color:#8b7d95}.cg-knowledge strong{display:block;font-size:12px;font-weight:600;overflow-wrap:anywhere}.cg-knowledge strong span{font-size:10px;font-weight:400;color:#84758f;margin-left:8px}.cg-auto-status{font-size:10px;color:#648071;flex-shrink:0}.cg-prototype-note{font-size:10px;color:#8b7c96;margin:0;line-height:1.7}.cg-empty .cg-primary{margin-top:12px}
@media(max-width:560px){.cg-knowledge{gap:7px;padding:9px 0;margin:12px 0}.cg-auto-status{font-size:9px}.cg-knowledge strong span{margin-left:5px}}
/* Invitation controls: clear labels without enlarging merchant cards. */
.cg-remove-role{min-height:40px;padding:3px 0 3px 7px;background:transparent;color:#8b7b98;font-size:10px;white-space:nowrap}.cg-remove-role:hover{color:#a43e51}.cg-send-one{display:inline-flex;align-items:center;justify-content:center;min-width:43px;min-height:36px;padding:4px 7px;border-radius:6px;border:1px solid color-mix(in srgb,var(--slot) 22%,white)!important;background:color-mix(in srgb,var(--slot) 6%,white);color:var(--slot);font-size:11px;flex-shrink:0}.cg-send-one.cg-sent{font-size:10px;color:#788477;background:#f3f6f2;border-color:#e2e9df!important}.cg-send-slot{display:block;width:100%;min-height:38px;border-top:1px solid #ece5f1!important;background:transparent;color:var(--slot);font-size:11px;padding:7px 3px;line-height:1.5}.cg button:disabled{opacity:.45;cursor:default}.cg-invite-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0;padding:12px;border:1px solid #d8c7e8;background:#f5effc;border-radius:10px}.cg-invite-bar.cg-invite-ready{border-color:#b9d2ef;background:#eef6ff}.cg-invite-bar>div{min-width:0}.cg-invite-bar strong{font-size:12px;font-weight:600;display:block}.cg-invite-condition{flex:1;display:grid;gap:3px}.cg-invite-condition p{margin:0;font-size:11px;line-height:1.55;color:#5d5368}.cg-invite-reasons{margin:5px 0;padding:8px 10px;border-radius:8px;background:#fff8ea;border:1px solid #e4c88b;color:#604923;font-size:11px;line-height:1.55}.cg-invite-reasons b{display:block;margin-bottom:3px}.cg-invite-reasons ul{margin:0;padding-inline-start:18px}.cg-invite-reasons li{margin:2px 0}.cg-invite-bar small{display:block;font-size:10px;color:#80728b;line-height:1.5}.cg-invite-bar-actions{display:flex;gap:8px;align-items:center;flex-shrink:0}.cg-text-button{font-size:11px;background:transparent;color:#795797;min-height:40px;padding:3px}.cg-invite-bar .cg-primary{min-height:42px;font-size:12px;white-space:normal;line-height:1.4}.cg-invite-bar .cg-primary.cg-ready{background:#185fa5;border-color:#185fa5}.cg-invite-bar .cg-primary.cg-ready:hover{background:#0c447c;border-color:#0c447c}
.cg-invite-summary{display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid #eee5f4;padding-bottom:12px;margin-bottom:10px}.cg-invite-summary strong{font-size:12px;overflow-wrap:anywhere}.cg-invite-summary span{font-size:10px;color:#8a7d93}.cg-recipients{font-size:11px;margin:0 0 14px}.cg-recipients summary{cursor:pointer;min-height:36px;display:flex;align-items:center;color:#70528b}.cg-recipients ul{list-style:none;margin:0;padding:0;max-height:160px;overflow:auto}.cg-recipients li{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:33px;border-top:1px solid #eee6f3;font-size:11px}.cg-recipients li strong{font-weight:550;overflow-wrap:anywhere}.cg-recipients li span{font-size:10px;color:#8d7b98}.cg-dialog textarea{display:block;width:100%;resize:vertical;min-height:160px;font:12px/1.7 inherit;border:1px solid #d9cce6;background:white;color:#4b3c5b;border-radius:8px;padding:10px;overflow-wrap:anywhere}.cg-copy-actions{display:flex;gap:8px;margin-top:8px}.cg-copy-actions button{flex:1;min-height:40px;font-size:11px;background:#eee5f6;color:#6c478f;border:0;border-radius:7px;padding:7px;cursor:pointer}.cg-dialog .cg-share-note{font-size:11px;margin:10px 0 6px}.cg-invite-history{margin:0 0 12px;padding:0;list-style:none;max-height:360px;overflow:auto}.cg-invite-history li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid #eee6f3}.cg-invite-history strong{font-size:12px;font-weight:550;overflow-wrap:anywhere}.cg-invite-history small{margin:2px 0 0;font-size:10px}.cg-invite-history li>span{font-size:10px;color:#607965;white-space:nowrap}.cg-replace-choice{display:flex!important;align-items:flex-start;gap:9px;margin:16px 0 5px}.cg-replace-choice input{width:17px;min-height:17px;height:17px;flex-shrink:0;margin:3px 0 0;accent-color:#7653ad}.cg-replace-choice strong{font-size:12px;font-weight:600}.cg-replace-choice small{font-size:10px;margin-top:3px}.cg-replacement-note{font-size:11px;padding:16px 0;color:#7d6d89}
@media(max-width:560px){.cg-smb{gap:6px}.cg-send-one{min-height:40px;font-size:11px;min-width:42px;padding:4px}.cg-slot header{gap:5px}.cg-remove-role{font-size:10px}.cg-seat{font-size:9px}.cg-send-slot{min-height:40px}.cg-invite-bar{display:block;padding:12px}.cg-invite-bar-actions{margin-top:9px;justify-content:space-between;gap:10px}.cg-invite-bar .cg-primary{flex:1;max-width:230px}.cg-slot footer>div{min-width:0}.cg-slot footer button{white-space:normal;text-align:start;line-height:1.4}.cg-branches button{white-space:normal}.cg-familiar-invite{padding:17px;margin:16px 0 22px}.cg-familiar-invite h2{font-size:18px}.cg-rule-badge{font-size:11px}.cg-competition-rule{padding:12px}.cg-competition-rule strong{font-size:14px}.cg-competition-rule li{font-size:12px}.cg-familiar-invite p.cg-familiar-copy{font-size:12px}}
.cg[dir=rtl],.cg-dialog[dir=rtl]{direction:rtl;text-align:right}.cg[dir=rtl] .cg-map{text-align:center}.cg[dir=rtl] .cg-seat{margin-left:0;margin-right:auto}.cg[dir=rtl] .cg-remove-role{padding:3px 7px 3px 0}.cg[dir=rtl] .cg-smb .cg-icon{margin-right:0;margin-left:-6px}.cg[dir=rtl] .cg-knowledge strong span{margin-left:0;margin-right:8px}.cg[dir=rtl] .cg-primary{direction:rtl}.cg[lang=ar]{font-family:Arial,"Geeza Pro",sans-serif}.cg[lang=ar] h1{line-height:1.65;letter-spacing:0}.cg[lang=ar] .cg-kicker{letter-spacing:0}.cg [data-cg-literal]{unicode-bidi:plaintext}.cg-dialog textarea{font-family:inherit;font-size:12px;line-height:1.7;unicode-bidi:plaintext}

.cg-friend-first{display:grid;gap:8px;padding:12px 0 16px;border-bottom:1px solid #eee8f4}.cg-friend-first .cg-primary{justify-self:start;font-size:13px;padding:9px 13px}.cg-friend-first small{font-size:11px;line-height:1.5;color:#83788f}

.cg-invitation-status,.cg-familiar-invite{padding:22px;margin:20px 0 26px;border:2px solid #8b62bd;border-radius:18px;background:linear-gradient(135deg,#fff8ea 0%,#f4edff 72%);box-shadow:0 14px 34px #51306c18}.cg-familiar-header{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.cg-rule-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#a94435;color:#fff;font-size:12px;font-weight:800;letter-spacing:.4px;padding:6px 11px;box-shadow:0 2px 6px #7d332c24}.cg-familiar-invite h2{font-size:22px;line-height:1.28;margin:0;color:#3b2755;font-weight:800;letter-spacing:-.2px}.cg-competition-rule{margin:15px 0 13px;padding:15px 16px;border:1px solid #d5b375;border-radius:14px;background:#fffaf0;color:#3f3324}.cg-competition-rule strong{display:block;font-size:16px;line-height:1.45;color:#2f2419}.cg-competition-rule ul{margin:10px 0 0;padding-inline-start:20px}.cg-competition-rule li{font-size:14px;line-height:1.7;margin:6px 0}.cg-familiar-invite p.cg-familiar-copy{font-size:14px;line-height:1.65;font-weight:650;color:#4f3d61;margin:10px 0 12px}.cg-familiar-invite textarea{box-sizing:border-box;width:100%;resize:vertical;border:1px solid #ded5ee;border-radius:10px;padding:12px;background:white;color:#352d43;font:12px/1.65 inherit;margin:8px 0 12px}.cg-familiar-invite small{display:block;margin-top:8px;font-size:12px}.cg-smb .cg-icon{background:#fff7f7;border:1px solid #efcbd1;color:#a43e51;font-size:20px;font-weight:800}.cg-smb .cg-icon:hover{background:#fae1e5;color:#8e263b}

.cg-familiar-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:18px;align-items:center}.cg-familiar-panel{min-width:0}.cg-familiar-art{width:100%;max-width:280px;justify-self:center;filter:drop-shadow(0 16px 20px #51306c20)}.cg-friend-person{transform-box:fill-box;transform-origin:center;animation:cg-friend-nod 3.8s ease-in-out infinite}.cg-friend-person:nth-of-type(2){animation-delay:.35s}.cg-friend-person:nth-of-type(3){animation-delay:.7s}@keyframes cg-friend-nod{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}@media(max-width:720px){.cg-familiar-layout{grid-template-columns:1fr}.cg-familiar-art{max-width:240px;order:-1}}
.cg-evaluation{display:grid;gap:6px;margin-block:8px;font-size:12px;line-height:1.5}.cg-metrics{display:flex;gap:7px;align-items:baseline;flex-wrap:wrap}.cg-metrics span{display:inline-flex;gap:3px;align-items:baseline}.cg-evaluation b{font-size:11px;white-space:nowrap;color:#e5532d;font-weight:800}.cg-evaluation span{overflow-wrap:anywhere}.cg-evaluation small{color:#8c5d19}.cg-hot{color:#e5532d!important;font-weight:800}.cg-email-signal{font-weight:700;color:#5a4e65}.cg-email-signal .cg-hot{font-size:12px}.cg-smb-summary{margin:0;font-size:10px;line-height:1.55;color:#756a83;overflow-wrap:anywhere}.cg-complementarity{flex-direction:column;align-items:stretch!important;gap:4px!important}.cg-complementarity-body{display:grid;gap:3px}.cg-complementarity-body strong{font-size:12px;color:#4a3f5c}.cg-complementarity-body p{margin:0;font-size:11px;line-height:1.55;color:#756a83}

.cg-macro{padding:16px;margin-block:16px;border:1px solid #ddd2ef;border-radius:14px;background:#f6f2fb;overflow-wrap:anywhere}.cg-macro strong{font-size:15px}.cg-macro small{display:block;margin-top:6px;font-size:12px;line-height:1.6;color:#756a83}

/* Manual-add fallback for when no qualifying candidate is found. */
.cg-invite-bar .cg-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 15px;background:#fff;color:#7653ad;border:1px solid #cfc1dd;border-radius:8px;font-size:12px;font-weight:550;cursor:pointer;white-space:normal;line-height:1.4}.cg-invite-bar .cg-secondary:hover{background:#f5effc;border-color:#b5a3ca}
.cg-invite-bar-actions{flex-wrap:wrap}
.cg-manual-add{margin-top:12px;padding:14px;border:1px solid #d8c7e8;border-radius:10px;background:#fff}.cg-manual-add strong{font-size:13px;font-weight:600;display:block;margin-bottom:6px}.cg-manual-add p{font-size:11px;line-height:1.5;color:#80728b;margin:0 0 10px}.cg-manual-add label{display:block;font-size:11px;color:#554362;margin-bottom:8px}.cg-manual-add input{display:block;width:100%;min-width:0;border:1px solid #cfc1dd;border-radius:8px;background:#fff;padding:9px 11px;font-size:14px;line-height:1.5;margin-top:3px}.cg-manual-error{font-size:11px;color:#a43e51;margin:6px 0 0}
.cg-manual-added{margin-top:12px;padding:12px 14px;border:1px solid #d4e6d8;border-radius:10px;background:#f0f7f2;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.cg-manual-added strong{font-size:12px;font-weight:600;color:#4e7c69}.cg-manual-added div{min-width:0;flex:1}.cg-manual-added span{display:block;font-size:12px;color:#3b3245;overflow-wrap:anywhere}.cg-manual-added small{display:block;font-size:10px;color:#7e7388;overflow-wrap:anywhere}.cg-manual-added button{font-size:11px;background:transparent;color:#a43e51;min-height:36px;padding:3px 6px}
@media(max-width:560px){.cg-invite-bar-actions{flex-direction:column;align-items:stretch;gap:8px}.cg-invite-bar .cg-secondary{width:100%}.cg-manual-add input{font-size:16px}}
.cg-next-bar{display:flex;gap:12px;justify-content:flex-end;align-items:center;margin:18px 0 8px;padding:14px 16px;border:1px solid #e2d8ee;border-radius:14px;background:#fbf9fd}
.cg-next-bar .cg-primary,.cg-next-bar .cg-secondary{min-height:46px;padding:0 22px;border-radius:12px;font-weight:650}
@media(max-width:560px){.cg-next-bar{flex-direction:column-reverse;align-items:stretch}.cg-next-bar button{width:100%}}
.cg-next-note{margin:18px 0 0;padding:13px 16px;border:1px solid #d8cbea;border-left:4px solid #8a63b8;border-radius:12px;background:#f6f1fb;color:#463a58;font-size:14px;font-weight:650;line-height:1.5}
.cg-next-spacer{flex:1}
@media(max-width:560px){.cg-next-bar{flex-wrap:wrap}.cg-next-bar .cg-next-spacer{display:none}.cg-next-bar button{flex:1 1 100%}}
.cg-thinking{display:flex;align-items:center;gap:14px;margin:14px 0 0;padding:14px 16px;border:1px solid #d8cbea;border-radius:14px;background:#f6f1fb;color:#463a58;font-size:14px}
.cg-thinking strong{font-weight:650}
.cg-beads{display:inline-block;width:132px;height:10px;overflow:hidden;flex:0 0 auto;-webkit-mask-image:linear-gradient(90deg,transparent,#000 16%,#000 84%,transparent);mask-image:linear-gradient(90deg,transparent,#000 16%,#000 84%,transparent)}
.cg-beads-track{display:flex;gap:8px;width:max-content;animation:cg-beads 1.8s linear infinite}
.cg-beads-track i{width:6px;height:6px;border-radius:50%;background:#221d28;flex:0 0 auto}
@keyframes cg-beads{from{transform:translate3d(0,0,0)}to{transform:translate3d(-126px,0,0)}}
.cg-role-loading{display:flex;align-items:center;gap:10px}
@media(prefers-reduced-motion:reduce){.cg-beads-track{animation:none}}
