.cgr-tabs{display:flex;gap:8px;padding:16px 28px 0;border-bottom:1px solid #e4e9f5;background:var(--card,#fff)}.cgr-tabs button{border:0;border-bottom:3px solid transparent;background:none;color:#68768d;font:inherit;font-weight:750;padding:12px 17px;cursor:pointer}.cgr-tabs button[aria-selected=true]{color:#515be8;border-bottom-color:#5963ef}.cgr-panel{padding:26px 32px;background:var(--card,#fff);color:var(--text,#223653)}.cgr-panel[hidden],.cgl-body[hidden],#cogoGroupContent[hidden],.cogo-g-actions[hidden]{display:none!important}.cgr-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.cgr-head h3{font-size:24px;letter-spacing:-.8px;margin:7px 0}.cgr-head p{margin:0;color:#718199;font-size:13px}.cgr-head>div>span{color:#6570dd;font-size:10px;letter-spacing:1.8px;font-weight:800}.cgr-panel button{border:1px solid #dce3f1;border-radius:11px;background:var(--card,#fff);color:inherit;font:inherit;font-size:12px;padding:9px 13px;cursor:pointer;transition:transform .15s,background .15s}.cgr-panel button:active{transform:scale(.97)}.cgr-panel button:disabled{opacity:.4;cursor:default}.cgr-panel button:focus-visible,.cgr-tabs button:focus-visible{outline:3px solid #aeb4ff;outline-offset:2px}.cgr-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:21px 0 18px}.cgr-toolbar>div{display:flex;gap:4px;padding:4px;border-radius:13px;background:#f0f3fc}.cgr-toolbar button{border:0;background:transparent;min-width:75px}.cgr-toolbar button[aria-pressed=true]{background:#fff;color:#515be8;box-shadow:0 2px 6px #23385812}.cgr-toolbar>span{font-size:11px;color:#7a879d}.cgr-top{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}.cgr-podium{display:flex;align-items:center;flex-direction:column;padding:15px 12px;border:1px solid #e2e8f4;border-radius:18px;background:linear-gradient(150deg,#f7f8ff,#fff);animation:cgr-enter .35s both}.cgr-podium:nth-child(2){animation-delay:.08s}.cgr-podium:nth-child(3){animation-delay:.16s}.cgr-podium[data-place="1"]{border-color:#eadab0;background:linear-gradient(145deg,#fff5cb,#fffdf4)}.cgr-medal{font-size:12px;font-weight:800;color:#927139;margin-bottom:10px}.cgr-face{display:inline-grid;place-items:center;flex:0 0 auto;width:36px;height:36px;border-radius:13px;background:#e8ecff;color:#545ec9;font-weight:800;font-size:14px}.cgr-podium .cgr-face{width:45px;height:45px;font-size:21px;margin-bottom:8px}.cgr-podium>strong{font-size:14px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cgr-podium>b{font-size:23px;margin-top:5px}.cgr-panel small{font-size:11px;font-weight:400;margin-left:4px}.cgr-me{display:flex;align-items:center;gap:15px;padding:13px 17px;background:#f0f2ff;border-radius:13px;margin-bottom:15px;color:#535fcb;font-size:12px}.cgr-me>strong{font-size:21px}.cgr-me button{margin-left:auto;background:#fff}.cgr-table{border:1px solid #e4e9f3;border-radius:15px;overflow:hidden}.cgr-table-head,.cgr-row{display:grid;grid-template-columns:64px minmax(0,1fr) 96px;align-items:center;gap:10px;padding:11px 17px}.cgr-table-head{background:#f7f9fc;color:#8290a6;font-size:11px}.cgr-table-head>:last-child,.cgr-row>:last-child{text-align:right}.cgr-row{border-top:1px solid #edf0f6;font-size:14px}.cgr-row>span{display:flex;align-items:center;gap:10px;min-width:0}.cgr-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cgr-row.is-me{background:#f5f6ff}.cgr-row em{font-size:10px;font-style:normal;border-radius:5px;padding:3px 5px;background:#e4e7ff;color:#535dcf}.cgr-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:17px;font-size:11px;color:#7f8ca1}.cgr-footer>span small{display:block;margin:4px 0 0;font-size:10px}.cgr-footer>div{display:flex;gap:10px;align-items:center;white-space:nowrap}.cgr-empty,.cgr-loading{text-align:center;padding:50px 10px;color:#7d8ba2;font-size:13px}.cgr-empty h4{font-size:19px;color:inherit}.cgr-loading i{display:block;margin:0 auto 15px;width:23px;height:23px;border:3px solid #e1e5f8;border-top-color:#626aef;border-radius:50%;animation:cgr-spin .7s linear infinite}@keyframes cgr-spin{to{transform:rotate(360deg)}}@keyframes cgr-enter{from{transform:translateY(7px);opacity:0}to{transform:translateY(0);opacity:1}}@media(max-width:600px){.cgr-tabs{padding:8px 13px 0}.cgr-panel{padding:20px 14px}.cgr-head h3{font-size:20px}.cgr-head>button{font-size:0;padding:10px}.cgr-head>button:first-letter{font-size:18px}.cgr-toolbar{align-items:flex-start;flex-direction:column;margin:16px 0}.cgr-top{gap:7px}.cgr-podium{padding:12px 5px;border-radius:14px}.cgr-podium>strong{font-size:12px}.cgr-podium>b{font-size:21px}.cgr-me{gap:9px;padding:10px;font-size:10px}.cgr-me>strong{font-size:18px}.cgr-me button{font-size:10px;padding:8px}.cgr-table-head,.cgr-row{grid-template-columns:37px minmax(0,1fr) 64px;gap:6px;padding:10px}.cgr-row{font-size:12px}.cgr-row .cgr-face{width:28px;height:28px;border-radius:9px;font-size:12px}.cgr-row>span{gap:7px}.cgr-footer{align-items:flex-start;flex-direction:column}.cgr-footer>div{align-self:flex-end}}[data-theme="dark"] .cgr-panel,[data-theme="dark"] .cgr-tabs{background:#172136;color:#e0e8f8}[data-theme="dark"] .cgr-podium,[data-theme="dark"] .cgr-toolbar>div,[data-theme="dark"] .cgr-me,[data-theme="dark"] .cgr-table-head,[data-theme="dark"] .cgr-row.is-me{background:#222e49;color:#dde4ff}[data-theme="dark"] .cgr-panel button{background:#25314b;color:#e0e8f8;border-color:#3a4861}[data-theme="dark"] .cgr-podium,[data-theme="dark"] .cgr-row,[data-theme="dark"] .cgr-table,[data-theme="dark"] .cgr-tabs{border-color:#34415b}@media(prefers-reduced-motion:reduce){.cgr-podium,.cgr-loading i{animation:none}.cgr-panel button{transition:none}}

.cgl-shell.cgr-open .cgl-hero{min-height:0!important;padding:18px 32px!important}.cgl-shell.cgr-open .cgl-art,.cgl-shell.cgr-open .cgl-description,.cgl-shell.cgr-open .cgl-hero-pills{display:none!important}.cgl-shell.cgr-open .cgl-hero h2{font-size:23px;margin:7px 0 0}.cgl-shell.cgr-open .cgr-panel{padding-top:20px}.cgl-shell.cgr-open .cgr-row{padding-top:8px;padding-bottom:8px}@media(max-width:600px){.cgl-shell.cgr-open .cgl-hero{padding:16px 20px!important}.cgl-shell.cgr-open .cgl-hero h2{font-size:20px}}

/* Group avatars use the same layered renderer and portrait framing as site rankings. */
.cgr-panel .cgr-face{--cgr-face-size:40px;position:relative;display:block;width:var(--cgr-face-size);height:var(--cgr-face-size);overflow:hidden;isolation:isolate;border-radius:14px;background:#edf0ff;flex:none}
.cgr-panel .cgr-podium .cgr-face{--cgr-face-size:70px;border-radius:22px;margin-bottom:8px}
.cgr-panel .cgr-face>.cogo-avatar{position:absolute!important;inset:auto!important;left:50%!important;top:calc(var(--cgr-face-size) * -.1)!important;width:calc(var(--cgr-face-size) * 2.4)!important;height:calc(var(--cgr-face-size) * 2.4)!important;min-width:0!important;max-width:none!important;min-height:0!important;max-height:none!important;aspect-ratio:1!important;transform:translateX(-50%)!important;transform-origin:center!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;overflow:visible!important;pointer-events:none}
.cgr-panel .cgr-face .cogo-avatar>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;object-position:center!important;transform:none!important;margin:0!important;border-radius:0!important}
.cgr-panel .cgr-face .cae-skin-r1{display:none!important}
.cgr-panel .member-link283{display:inline-block!important;max-width:100%;min-width:0;min-height:0;margin:0;padding:2px 0!important;border:0!important;border-radius:3px;background:transparent!important;box-shadow:none!important;color:inherit!important;font:inherit!important;font-weight:750!important;line-height:1.5;text-align:inherit;vertical-align:middle;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}
.cgr-panel .member-link283:hover{text-decoration:underline;text-underline-offset:3px}
.cgr-panel .member-link283:focus-visible{outline:3px solid #9ca6ff!important;outline-offset:-1px}
.cgr-panel .cgr-row>span>strong{min-width:0;flex:0 1 auto}
.cgr-panel .cgr-row em{flex:none}
[data-theme="dark"] .cgr-panel .cgr-face{background:#334263}
@media(max-width:600px){.cgr-panel .cgr-row .cgr-face{--cgr-face-size:34px;border-radius:11px}.cgr-panel .cgr-podium .cgr-face{--cgr-face-size:58px;border-radius:19px}}

/* Group avatars use the same layered renderer and portrait framing as site rankings. */
.cgr-panel .cgr-face{--cgr-face-size:40px;position:relative;display:block;width:var(--cgr-face-size);height:var(--cgr-face-size);overflow:hidden;isolation:isolate;border-radius:14px;background:#edf0ff;flex:none}
.cgr-panel .cgr-podium .cgr-face{--cgr-face-size:70px;border-radius:22px;margin-bottom:8px}
.cgr-panel .cgr-face>.cogo-avatar{position:absolute!important;inset:auto!important;left:50%!important;top:calc(var(--cgr-face-size) * -.1)!important;width:calc(var(--cgr-face-size) * 2.4)!important;height:calc(var(--cgr-face-size) * 2.4)!important;min-width:0!important;max-width:none!important;min-height:0!important;max-height:none!important;aspect-ratio:1!important;transform:translateX(-50%)!important;transform-origin:center!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;overflow:visible!important;pointer-events:none}
.cgr-panel .cgr-face .cogo-avatar>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;object-position:center!important;transform:none!important;margin:0!important;border-radius:0!important}
.cgr-panel .cgr-face .cae-skin-r1{display:none!important}
.cgr-panel .member-link283{display:inline-block!important;max-width:100%;min-width:0;min-height:0;margin:0;padding:2px 0!important;border:0!important;border-radius:3px;background:transparent!important;box-shadow:none!important;color:inherit!important;font:inherit!important;font-weight:750!important;line-height:1.5;text-align:inherit;vertical-align:middle;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}
.cgr-panel .member-link283:hover{text-decoration:underline;text-underline-offset:3px}
.cgr-panel .member-link283:focus-visible{outline:3px solid #9ca6ff!important;outline-offset:-1px}
.cgr-panel .cgr-row>span>strong{min-width:0;flex:0 1 auto}
.cgr-panel .cgr-row em{flex:none}
[data-theme="dark"] .cgr-panel .cgr-face{background:#334263}
@media(max-width:600px){.cgr-panel .cgr-row .cgr-face{--cgr-face-size:34px;border-radius:11px}.cgr-panel .cgr-podium .cgr-face{--cgr-face-size:58px;border-radius:19px}}

/* Compact group ranking. Keep overflow available on unusually short screens. */
html body #modal[open]:has(.cgr-active3){width:min(1100px,calc(100vw - 40px))!important;max-width:1100px!important;max-height:calc(100dvh - 32px)!important;padding:0!important;overflow:hidden!important}
html body #modal:has(.cgr-active3)>.dialog-head{min-height:0!important;height:54px!important;padding:12px 24px!important;display:flex!important;align-items:center!important}
html body #modal:has(.cgr-active3) #modalContent{padding:0!important;max-height:calc(100dvh - 98px)!important;overflow:auto!important}
html body #cogoGroupsPanel.cgr-active3{padding:0!important;max-width:none!important}
.cgr-active3 .cgl-hero,.cgr-active3>.cogo-g-heading{display:none!important}
.cgr-active3 .cgr-tabs{padding:0 24px!important;gap:16px}
.cgr-active3 .cgr-tabs button{padding:11px 5px;font-size:13px}
.cgr-active3 .cgr-panel{width:100%;max-width:none!important;padding:15px 24px 12px!important}
.cgr-active3 .cgr-head{gap:12px;margin-bottom:13px}
.cgr-active3 .cgr-head>div:first-child{min-width:0}
.cgr-active3 .cgr-head h3{font-size:21px;line-height:1.3;letter-spacing:-.6px;margin:0 0 4px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.cgr-active3 .cgr-head p{font-size:11px;line-height:1.4;margin:0}
.cgr-active3 .cgr-head p span{color:#8d98ad}
.cgr-tools3{display:flex;gap:7px;align-items:center;flex:none}
.cgr-period3{display:flex;padding:3px;background:#f0f2fb;border-radius:11px;gap:3px}
.cgr-active3 .cgr-period3 button{border:0;background:transparent;padding:7px 14px;font-size:12px;white-space:nowrap}
.cgr-active3 .cgr-period3 button[aria-pressed=true]{background:#fff;color:#515be8;box-shadow:0 2px 5px #24385810}
.cgr-active3 [data-cgr-refresh]{font-size:19px!important;padding:4px 9px!important;line-height:1.4}
.cgr-active3 .cgr-top{gap:12px;margin:0 0 11px}
.cgr-active3 .cgr-podium{display:grid;grid-template-columns:minmax(100px,48%) minmax(0,1fr);height:154px;padding:0 14px 0 0;gap:2px;border-radius:17px;overflow:hidden;text-align:left}
.cgr-active3 .cgr-podium[data-place="2"]{background:linear-gradient(125deg,#edf4ff,#fcfdff)}
.cgr-active3 .cgr-podium[data-place="3"]{background:linear-gradient(125deg,#f2efff,#fff)}
.cgr-full3{display:block;position:relative;width:100%;height:100%;isolation:isolate;pointer-events:none}
.cgr-full3::before{content:"";position:absolute;left:13%;right:13%;bottom:14px;height:14px;border-radius:50%;background:#62699a13;filter:blur(2px)}
html body .cgr-panel .cgr-full3>.cogo-avatar{position:absolute!important;inset:auto!important;left:50%!important;top:50%!important;width:150px!important;height:150px!important;min-width:0!important;max-width:none!important;min-height:0!important;max-height:none!important;aspect-ratio:1!important;transform:translate(-50%,-50%)!important;transform-origin:center!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;overflow:visible!important;background:none!important}
html body .cgr-panel .cgr-full3 .cogo-avatar>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;object-position:center!important;transform:none!important;margin:0!important;border-radius:0!important}
.cgr-winner3{display:flex;flex-direction:column;align-items:flex-start;min-width:0;gap:7px;position:relative;z-index:1}
.cgr-winner3 .cgr-medal{margin:0;font-size:12px;line-height:1.4}
.cgr-winner3>strong{display:block;max-width:100%;min-width:0;font-size:14px}
.cgr-winner3>b{font-size:25px;line-height:1.25;letter-spacing:-.5px}
.cgr-active3 .cgr-me{padding:8px 13px;gap:12px;margin-bottom:11px;min-height:41px;font-size:11px}
.cgr-active3 .cgr-me>strong{font-size:19px}
.cgr-active3 .cgr-me button{padding:5px 9px;font-size:11px}
.cgr-active3 .cgr-table-head,.cgr-active3 .cgr-row{grid-template-columns:42px minmax(130px,1fr) minmax(120px,1.35fr) 90px;gap:12px;padding:7px 14px!important}
.cgr-active3 .cgr-table-head{min-height:30px;font-size:11px}
.cgr-active3 .cgr-row{min-height:44px;font-size:13px}
.cgr-active3 .cgr-row>span{min-width:0}
.cgr-active3 .cgr-row .cgr-face{--cgr-face-size:30px;border-radius:10px}
.cgr-active3 .cgr-row .cgr-student3{gap:8px}
.cgr-active3 .cgr-row .cgr-motto3{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.6;color:#64748d;font-weight:400}
.cgr-active3 .cgr-row .cgr-motto3.is-empty{color:#98a3b6;font-size:11px}
.cgr-active3 .cgr-footer{margin-top:9px;gap:8px;font-size:10px;flex-direction:row;align-items:center}
.cgr-active3 .cgr-footer>div{gap:8px}
.cgr-active3 .cgr-footer button{padding:5px 9px;font-size:11px;border-radius:8px}
.cgr-active3 .cgl-footer{padding:7px 24px!important;min-height:0!important;font-size:10px!important}
.cgr-active3 .cgl-footer button{padding:2px 0!important;font-size:10px!important}
[data-theme="dark"] .cgr-active3 .cgr-podium{background:linear-gradient(130deg,#28324a,#1c273e);border-color:#394660}
[data-theme="dark"] .cgr-active3 .cgr-podium[data-place="1"]{background:linear-gradient(130deg,#3d3626,#242938);border-color:#716247}
[data-theme="dark"] .cgr-period3{background:#222e49}
[data-theme="dark"] .cgr-active3 .cgr-period3 button[aria-pressed=true]{background:#3a4668;color:#eef0ff}
[data-theme="dark"] .cgr-active3 .cgr-row .cgr-motto3{color:#b3bfd7}
[data-theme="dark"] .cgr-active3 .cgr-row .cgr-motto3.is-empty{color:#7f8eaa}
@media(max-width:760px){.cgr-active3 .cgr-podium{grid-template-columns:minmax(74px,46%) minmax(0,1fr);padding-right:8px}.cgr-winner3>strong{font-size:12px}.cgr-winner3>b{font-size:22px}.cgr-active3 .cgr-table-head,.cgr-active3 .cgr-row{grid-template-columns:30px minmax(115px,1fr) minmax(85px,1fr) 70px;gap:8px}}
@media(max-width:600px){
html body #modal[open]:has(.cgr-active3){width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important;border-radius:20px!important}
html body #modal:has(.cgr-active3)>.dialog-head{padding:12px 15px!important}
html body #modal:has(.cgr-active3) #modalContent{max-height:calc(100dvh - 72px)!important}
.cgr-active3 .cgr-tabs{padding:0 14px!important}.cgr-active3 .cgr-tabs button{padding:9px 3px;font-size:12px}
.cgr-active3 .cgr-panel{padding:12px 12px 10px!important}
.cgr-active3 .cgr-head{gap:9px;margin-bottom:10px;align-items:center}
.cgr-active3 .cgr-head h3{font-size:16px}.cgr-active3 .cgr-head p{font-size:10px}.cgr-active3 .cgr-head p span{display:none}
.cgr-tools3{gap:4px}.cgr-active3 .cgr-period3 button{padding:7px 8px;font-size:10px}.cgr-active3 [data-cgr-refresh]{padding:3px 6px!important;font-size:17px!important}
.cgr-active3 .cgr-top{gap:7px;margin-bottom:9px}.cgr-active3 .cgr-podium{display:flex;flex-direction:column;height:194px;padding:0 5px 10px;gap:0;text-align:center;border-radius:13px}
.cgr-active3 .cgr-full3{height:128px;flex:none}html body .cgr-panel .cgr-full3>.cogo-avatar{width:128px!important;height:128px!important}
.cgr-winner3{align-items:center;width:100%;gap:1px}.cgr-winner3 .cgr-medal{font-size:10px}.cgr-winner3>strong{font-size:11px;line-height:1.35}.cgr-winner3>b{font-size:20px}.cgr-winner3 small{font-size:9px}
.cgr-active3 .cgr-me{padding:7px 9px;gap:8px;font-size:10px;margin-bottom:9px;min-height:36px}.cgr-active3 .cgr-me>strong{font-size:17px}.cgr-active3 .cgr-me button{font-size:9px;padding:5px 6px;white-space:nowrap}
.cgr-active3 .cgr-table-head,.cgr-active3 .cgr-row{grid-template-columns:23px minmax(92px,1.05fr) minmax(64px,1fr) 57px;gap:6px;padding:6px 7px!important}
.cgr-active3 .cgr-table-head{font-size:9px;min-height:28px}.cgr-active3 .cgr-row{font-size:11px;min-height:49px}
.cgr-active3 .cgr-row .cgr-face{--cgr-face-size:25px;border-radius:8px}.cgr-active3 .cgr-row .cgr-student3{gap:5px}.cgr-active3 .cgr-row small{font-size:9px;margin-left:2px}
.cgr-active3 .cgr-row .cgr-motto3{font-size:10px;white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere;line-height:1.5}.cgr-active3 .cgr-row .cgr-motto3.is-empty{font-size:9px}
.cgr-active3 .cgr-row em{font-size:8px;padding:2px 3px}
.cgr-active3 .cgr-footer{font-size:9px;gap:6px}.cgr-active3 .cgr-footer>div{gap:5px}.cgr-active3 .cgr-footer button{font-size:10px;padding:5px 7px}.cgr-active3 .cgl-footer{padding:6px 15px!important}
}

html body #modal:has(.cgr-active3) #modalTitle{margin:0!important;padding:0!important;font-size:13px!important;line-height:1.5!important}

.cu1-dialog{--cu-bg:var(--surface,#fff);--cu-ink:var(--ink,#1a2442);--cu-soft:var(--blue-soft,#edf1ff);--cu-line:var(--line,#e6eaf2);--cu-muted:var(--muted,#758099);width:min(1080px,94vw);max-width:1080px;height:min(780px,92dvh);max-height:92dvh;padding:0;border:1px solid var(--cu-line);border-radius:24px;background:var(--cu-bg);color:var(--cu-ink);box-shadow:0 28px 100px #09292140;font-family:var(--ct-font,inherit);font-size:var(--ct-body,14px);line-height:1.5;overflow:hidden}.cu1-dialog[open]{display:flex;flex-direction:column}.cu1-dialog::backdrop{background:#102c2b78;backdrop-filter:blur(5px)}.cu1-dialog *{box-sizing:border-box}.cu1-dialog button,.cu1-dialog input,.cu1-dialog select{font:inherit;color:inherit}.cu1-head{display:flex;gap:20px;align-items:flex-start;justify-content:space-between;padding:24px 28px 18px;background:var(--cu-soft)}.cu1-eyebrow{font-size:11px;font-weight:850;letter-spacing:1.3px;color:var(--blue,#4161ef)}.cu1-head h2{margin:5px 0;font-size:27px;letter-spacing:-1px}.cu1-head p{margin:0;color:var(--cu-muted);font-size:13px}.cu1-dialog button{cursor:pointer;border:1px solid var(--cu-line);background:var(--cu-bg);border-radius:12px;padding:8px 12px;min-height:40px}.cu1-dialog button:hover{border-color:var(--blue,#4161ef);background:var(--cu-soft)}.cu1-dialog button:focus-visible,.cu1-dialog input:focus-visible,.cu1-dialog select:focus-visible,.cu1-trigger:focus-visible{outline:3px solid var(--blue,#3853d4);outline-offset:2px}.cu1-close{font-size:25px!important;width:42px;padding:0!important;flex-shrink:0}.cu1-filters{display:flex;gap:10px;flex-wrap:wrap;padding:16px 24px 8px}.cu1-filters label{font-size:11px;font-weight:700;display:flex;flex-direction:column;gap:4px;flex:1;min-width:105px}.cu1-search{flex:2.1!important;min-width:180px!important}.cu1-filters select,.cu1-filters input{width:100%;border:1px solid var(--cu-line);border-radius:10px;min-height:42px;background:var(--cu-bg);padding:8px;font-size:13px}.cu1-status{font-size:12px;color:var(--cu-muted);padding:4px 24px 12px}.cu1-columns{display:grid;grid-template-columns:236px 1fr;min-height:0;flex:1;border-block:1px solid var(--cu-line)}.cu1-majors{overflow:auto;padding:12px;background:var(--cu-soft);display:flex;flex-direction:column;gap:8px}.cu1-majors button{text-align:left;display:grid;gap:3px;flex-shrink:0;padding:11px 13px}.cu1-majors button[aria-pressed=true]{border-color:var(--blue,#4161ef);background:var(--blue,#4161ef);color:white}.cu1-majors span{font-size:10px;opacity:.8}.cu1-majors b{font-size:15px}.cu1-majors small{font-size:11px;opacity:.75}.cu1-leaves{overflow:auto;padding:20px}.cu1-leaves>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.cu1-leaves h3{margin:0;font-size:23px;letter-spacing:-.6px}.cu1-leaves header small{font-size:11px;color:var(--cu-muted)}.cu1-parent{font-size:12px!important;color:var(--blue,#4161ef)!important;border-color:var(--line,#e6eaf2)!important;flex-shrink:0}.cu1-middle{margin-top:20px}.cu1-middle>div:first-child{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;gap:10px}.cu1-middle h4{margin:0;font-size:13px}.cu1-middle>div:first-child>button{font-size:11px;border:0;min-height:30px;padding:4px 8px;color:var(--blue,#4161ef)}.cu1-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cu1-leaf{display:flex;align-items:center;justify-content:space-between;text-align:left;gap:8px;padding:12px!important;min-width:0;word-break:keep-all;overflow-wrap:anywhere}.cu1-leaf span{font-size:13px}.cu1-leaf small{font-size:11px;color:var(--cu-muted);white-space:nowrap}.cu1-leaf[aria-pressed=true]{background:var(--cu-soft);border-color:var(--blue,#4161ef)}.cu1-foot{display:flex;align-items:center;gap:10px;padding:16px 24px;background:var(--cu-bg)}.cu1-foot>div{flex:1;min-width:0;display:grid;gap:3px}.cu1-foot small{font-size:10px;color:var(--cu-muted)}.cu1-foot strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cu1-apply{background:var(--blue,#4161ef)!important;color:white!important;border:0!important;font-weight:750!important;padding-inline:22px!important}.cu1-dialog button:disabled{opacity:.45;cursor:default}.cu1-empty{text-align:center;padding:50px 15px;color:var(--cu-muted)}.cu1-note{font-size:12px;color:var(--cu-muted);background:var(--cu-soft);padding:10px;border-radius:9px}.cu1-pager{display:flex;justify-content:center;align-items:center;gap:14px;margin-top:18px;font-size:12px}.cu1-trigger{display:inline-flex;align-items:center;gap:9px;max-width:310px;min-height:40px;border-radius:11px;border:1px solid var(--line,#e6eaf2);background:var(--blue-soft,#edf1ff);color:var(--blue,#4161ef);font:inherit;font-size:13px;padding:8px 12px;cursor:pointer;vertical-align:middle}.cu1-trigger span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cu1-trigger b{flex-shrink:0}.cu1-filter-hidden{display:none!important}.cu1-course-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:10px 0}.cu1-course-bar small{color:#667873}.cu1-dialog{animation:cu1-enter .18s ease-out}@keyframes cu1-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(max-width:680px){.cu1-dialog{width:96vw;height:94dvh;max-height:94dvh;border-radius:18px}.cu1-head{padding:18px}.cu1-head h2{font-size:23px}.cu1-head p{font-size:11px}.cu1-filters{padding:10px 14px;gap:7px}.cu1-filters label{min-width:90px}.cu1-search{flex-basis:100%!important}.cu1-status{padding-inline:15px}.cu1-columns{grid-template-columns:136px 1fr}.cu1-majors{padding:8px;gap:6px}.cu1-majors button{padding:9px}.cu1-majors b{font-size:12px}.cu1-leaves{padding:12px}.cu1-leaves>header{align-items:stretch;flex-direction:column;gap:8px}.cu1-leaves h3{font-size:19px}.cu1-grid{grid-template-columns:1fr}.cu1-middle>div:first-child{align-items:flex-start;flex-direction:column;gap:2px}.cu1-foot{padding:12px;gap:7px}.cu1-foot button{font-size:12px;padding-inline:10px!important}.cu1-foot strong{font-size:11px}}@media(prefers-reduced-motion:reduce){.cu1-dialog{animation:none}}
/* Group avatars use the same layered renderer and portrait framing as site rankings. */
.cgr-panel .cgr-face{--cgr-face-size:40px;position:relative;display:block;width:var(--cgr-face-size);height:var(--cgr-face-size);overflow:hidden;isolation:isolate;border-radius:14px;background:#edf0ff;flex:none}
.cgr-panel .cgr-podium .cgr-face{--cgr-face-size:70px;border-radius:22px;margin-bottom:8px}
.cgr-panel .cgr-face>.cogo-avatar{position:absolute!important;inset:auto!important;left:50%!important;top:calc(var(--cgr-face-size) * -.1)!important;width:calc(var(--cgr-face-size) * 2.4)!important;height:calc(var(--cgr-face-size) * 2.4)!important;min-width:0!important;max-width:none!important;min-height:0!important;max-height:none!important;aspect-ratio:1!important;transform:translateX(-50%)!important;transform-origin:center!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;overflow:visible!important;pointer-events:none}
.cgr-panel .cgr-face .cogo-avatar>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;object-position:center!important;transform:none!important;margin:0!important;border-radius:0!important}
.cgr-panel .cgr-face .cae-skin-r1{display:none!important}
.cgr-panel .member-link283{display:inline-block!important;max-width:100%;min-width:0;min-height:0;margin:0;padding:2px 0!important;border:0!important;border-radius:3px;background:transparent!important;box-shadow:none!important;color:inherit!important;font:inherit!important;font-weight:750!important;line-height:1.5;text-align:inherit;vertical-align:middle;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}
.cgr-panel .member-link283:hover{text-decoration:underline;text-underline-offset:3px}
.cgr-panel .member-link283:focus-visible{outline:3px solid #9ca6ff!important;outline-offset:-1px}
.cgr-panel .cgr-row>span>strong{min-width:0;flex:0 1 auto}
.cgr-panel .cgr-row em{flex:none}
[data-theme="dark"] .cgr-panel .cgr-face{background:#334263}
@media(max-width:600px){.cgr-panel .cgr-row .cgr-face{--cgr-face-size:34px;border-radius:11px}.cgr-panel .cgr-podium .cgr-face{--cgr-face-size:58px;border-radius:19px}}

/* Compact group ranking. Keep overflow available on unusually short screens. */
html body #modal[open]:has(.cgr-active3){width:min(1100px,calc(100vw - 40px))!important;max-width:1100px!important;max-height:calc(100dvh - 32px)!important;padding:0!important;overflow:hidden!important}
html body #modal:has(.cgr-active3)>.dialog-head{min-height:0!important;height:54px!important;padding:12px 24px!important;display:flex!important;align-items:center!important}
html body #modal:has(.cgr-active3) #modalContent{padding:0!important;max-height:calc(100dvh - 98px)!important;overflow:auto!important}
html body #cogoGroupsPanel.cgr-active3{padding:0!important;max-width:none!important}
.cgr-active3 .cgl-hero,.cgr-active3>.cogo-g-heading{display:none!important}
.cgr-active3 .cgr-tabs{padding:0 24px!important;gap:16px}
.cgr-active3 .cgr-tabs button{padding:11px 5px;font-size:13px}
.cgr-active3 .cgr-panel{width:100%;max-width:none!important;padding:15px 24px 12px!important}
.cgr-active3 .cgr-head{gap:12px;margin-bottom:13px}
.cgr-active3 .cgr-head>div:first-child{min-width:0}
.cgr-active3 .cgr-head h3{font-size:21px;line-height:1.3;letter-spacing:-.6px;margin:0 0 4px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.cgr-active3 .cgr-head p{font-size:11px;line-height:1.4;margin:0}
.cgr-active3 .cgr-head p span{color:#8d98ad}
.cgr-tools3{display:flex;gap:7px;align-items:center;flex:none}
.cgr-period3{display:flex;padding:3px;background:#f0f2fb;border-radius:11px;gap:3px}
.cgr-active3 .cgr-period3 button{border:0;background:transparent;padding:7px 14px;font-size:12px;white-space:nowrap}
.cgr-active3 .cgr-period3 button[aria-pressed=true]{background:#fff;color:#515be8;box-shadow:0 2px 5px #24385810}
.cgr-active3 [data-cgr-refresh]{font-size:19px!important;padding:4px 9px!important;line-height:1.4}
.cgr-active3 .cgr-top{gap:12px;margin:0 0 11px}
.cgr-active3 .cgr-podium{display:grid;grid-template-columns:minmax(100px,48%) minmax(0,1fr);height:154px;padding:0 14px 0 0;gap:2px;border-radius:17px;overflow:hidden;text-align:left}
.cgr-active3 .cgr-podium[data-place="2"]{background:linear-gradient(125deg,#edf4ff,#fcfdff)}
.cgr-active3 .cgr-podium[data-place="3"]{background:linear-gradient(125deg,#f2efff,#fff)}
.cgr-full3{display:block;position:relative;width:100%;height:100%;isolation:isolate;pointer-events:none}
.cgr-full3::before{content:"";position:absolute;left:13%;right:13%;bottom:14px;height:14px;border-radius:50%;background:#62699a13;filter:blur(2px)}
html body .cgr-panel .cgr-full3>.cogo-avatar{position:absolute!important;inset:auto!important;left:50%!important;top:50%!important;width:150px!important;height:150px!important;min-width:0!important;max-width:none!important;min-height:0!important;max-height:none!important;aspect-ratio:1!important;transform:translate(-50%,-50%)!important;transform-origin:center!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;overflow:visible!important;background:none!important}
html body .cgr-panel .cgr-full3 .cogo-avatar>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;object-position:center!important;transform:none!important;margin:0!important;border-radius:0!important}
.cgr-winner3{display:flex;flex-direction:column;align-items:flex-start;min-width:0;gap:7px;position:relative;z-index:1}
.cgr-winner3 .cgr-medal{margin:0;font-size:12px;line-height:1.4}
.cgr-winner3>strong{display:block;max-width:100%;min-width:0;font-size:14px}
.cgr-winner3>b{font-size:25px;line-height:1.25;letter-spacing:-.5px}
.cgr-active3 .cgr-me{padding:8px 13px;gap:12px;margin-bottom:11px;min-height:41px;font-size:11px}
.cgr-active3 .cgr-me>strong{font-size:19px}
.cgr-active3 .cgr-me button{padding:5px 9px;font-size:11px}
.cgr-active3 .cgr-table-head,.cgr-active3 .cgr-row{grid-template-columns:42px minmax(130px,1fr) minmax(120px,1.35fr) 90px;gap:12px;padding:7px 14px!important}
.cgr-active3 .cgr-table-head{min-height:30px;font-size:11px}
.cgr-active3 .cgr-row{min-height:44px;font-size:13px}
.cgr-active3 .cgr-row>span{min-width:0}
.cgr-active3 .cgr-row .cgr-face{--cgr-face-size:30px;border-radius:10px}
.cgr-active3 .cgr-row .cgr-student3{gap:8px}
.cgr-active3 .cgr-row .cgr-motto3{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.6;color:#64748d;font-weight:400}
.cgr-active3 .cgr-row .cgr-motto3.is-empty{color:#98a3b6;font-size:11px}
.cgr-active3 .cgr-footer{margin-top:9px;gap:8px;font-size:10px;flex-direction:row;align-items:center}
.cgr-active3 .cgr-footer>div{gap:8px}
.cgr-active3 .cgr-footer button{padding:5px 9px;font-size:11px;border-radius:8px}
.cgr-active3 .cgl-footer{padding:7px 24px!important;min-height:0!important;font-size:10px!important}
.cgr-active3 .cgl-footer button{padding:2px 0!important;font-size:10px!important}
[data-theme="dark"] .cgr-active3 .cgr-podium{background:linear-gradient(130deg,#28324a,#1c273e);border-color:#394660}
[data-theme="dark"] .cgr-active3 .cgr-podium[data-place="1"]{background:linear-gradient(130deg,#3d3626,#242938);border-color:#716247}
[data-theme="dark"] .cgr-period3{background:#222e49}
[data-theme="dark"] .cgr-active3 .cgr-period3 button[aria-pressed=true]{background:#3a4668;color:#eef0ff}
[data-theme="dark"] .cgr-active3 .cgr-row .cgr-motto3{color:#b3bfd7}
[data-theme="dark"] .cgr-active3 .cgr-row .cgr-motto3.is-empty{color:#7f8eaa}
@media(max-width:760px){.cgr-active3 .cgr-podium{grid-template-columns:minmax(74px,46%) minmax(0,1fr);padding-right:8px}.cgr-winner3>strong{font-size:12px}.cgr-winner3>b{font-size:22px}.cgr-active3 .cgr-table-head,.cgr-active3 .cgr-row{grid-template-columns:30px minmax(115px,1fr) minmax(85px,1fr) 70px;gap:8px}}
@media(max-width:600px){
html body #modal[open]:has(.cgr-active3){width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important;border-radius:20px!important}
html body #modal:has(.cgr-active3)>.dialog-head{padding:12px 15px!important}
html body #modal:has(.cgr-active3) #modalContent{max-height:calc(100dvh - 72px)!important}
.cgr-active3 .cgr-tabs{padding:0 14px!important}.cgr-active3 .cgr-tabs button{padding:9px 3px;font-size:12px}
.cgr-active3 .cgr-panel{padding:12px 12px 10px!important}
.cgr-active3 .cgr-head{gap:9px;margin-bottom:10px;align-items:center}
.cgr-active3 .cgr-head h3{font-size:16px}.cgr-active3 .cgr-head p{font-size:10px}.cgr-active3 .cgr-head p span{display:none}
.cgr-tools3{gap:4px}.cgr-active3 .cgr-period3 button{padding:7px 8px;font-size:10px}.cgr-active3 [data-cgr-refresh]{padding:3px 6px!important;font-size:17px!important}
.cgr-active3 .cgr-top{gap:7px;margin-bottom:9px}.cgr-active3 .cgr-podium{display:flex;flex-direction:column;height:194px;padding:0 5px 10px;gap:0;text-align:center;border-radius:13px}
.cgr-active3 .cgr-full3{height:128px;flex:none}html body .cgr-panel .cgr-full3>.cogo-avatar{width:128px!important;height:128px!important}
.cgr-winner3{align-items:center;width:100%;gap:1px}.cgr-winner3 .cgr-medal{font-size:10px}.cgr-winner3>strong{font-size:11px;line-height:1.35}.cgr-winner3>b{font-size:20px}.cgr-winner3 small{font-size:9px}
.cgr-active3 .cgr-me{padding:7px 9px;gap:8px;font-size:10px;margin-bottom:9px;min-height:36px}.cgr-active3 .cgr-me>strong{font-size:17px}.cgr-active3 .cgr-me button{font-size:9px;padding:5px 6px;white-space:nowrap}
.cgr-active3 .cgr-table-head,.cgr-active3 .cgr-row{grid-template-columns:23px minmax(92px,1.05fr) minmax(64px,1fr) 57px;gap:6px;padding:6px 7px!important}
.cgr-active3 .cgr-table-head{font-size:9px;min-height:28px}.cgr-active3 .cgr-row{font-size:11px;min-height:49px}
.cgr-active3 .cgr-row .cgr-face{--cgr-face-size:25px;border-radius:8px}.cgr-active3 .cgr-row .cgr-student3{gap:5px}.cgr-active3 .cgr-row small{font-size:9px;margin-left:2px}
.cgr-active3 .cgr-row .cgr-motto3{font-size:10px;white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere;line-height:1.5}.cgr-active3 .cgr-row .cgr-motto3.is-empty{font-size:9px}
.cgr-active3 .cgr-row em{font-size:8px;padding:2px 3px}
.cgr-active3 .cgr-footer{font-size:9px;gap:6px}.cgr-active3 .cgr-footer>div{gap:5px}.cgr-active3 .cgr-footer button{font-size:10px;padding:5px 7px}.cgr-active3 .cgl-footer{padding:6px 15px!important}
}

html body #modal:has(.cgr-active3) #modalTitle{margin:0!important;padding:0!important;font-size:13px!important;line-height:1.5!important}

.cgr-xp-label4{display:inline-block;padding:7px 11px;border-radius:10px;background:#f0f2ff;color:#626adb;font-size:11px;white-space:nowrap}
.cgr-active3 .cgr-winner3{gap:3px}.cgr-level4{font-size:11px;font-weight:700;color:#7e899f;line-height:1.4}
.cgr-active3 .cgr-winner3>b{font-size:23px;white-space:nowrap;letter-spacing:-.5px}
.cgr-active3 .cgr-table-head,.cgr-active3 .cgr-row{grid-template-columns:42px minmax(130px,1fr) minmax(100px,1.3fr) 125px}
.cgr-active3 .cgr-row .cgr-score4{display:flex;flex-direction:column;gap:1px;align-items:flex-end;line-height:1.25;white-space:nowrap}
.cgr-active3 .cgr-score4>small{font-size:10px;color:#8994aa;margin:0;line-height:1.3}.cgr-active3 .cgr-score4>b{font-size:13px}.cgr-active3 .cgr-score4>b>small{font-size:9px;margin-left:3px;color:#8592a8}
[data-theme="dark"] .cgr-xp-label4{background:#2a3652;color:#c1c8ff}[data-theme="dark"] .cgr-level4{color:#b6c2da}
@media(max-width:760px){.cgr-active3 .cgr-table-head,.cgr-active3 .cgr-row{grid-template-columns:30px minmax(105px,1fr) minmax(80px,1fr) 100px}}
@media(max-width:600px){.cgr-xp-label4{font-size:9px;padding:6px}.cgr-active3 .cgr-podium{height:199px}.cgr-active3 .cgr-full3{height:121px}.cgr-active3 .cgr-winner3{gap:0}.cgr-active3 .cgr-winner3>b{font-size:17px;letter-spacing:-.5px}.cgr-active3 .cgr-winner3>b>small{font-size:8px;margin-left:2px}.cgr-level4{font-size:9px}.cgr-active3 .cgr-table-head,.cgr-active3 .cgr-row{grid-template-columns:22px minmax(83px,1.1fr) minmax(48px,1fr) 79px;gap:5px}.cgr-active3 .cgr-score4>b{font-size:10px}.cgr-active3 .cgr-score4>small{font-size:9px}.cgr-active3 .cgr-score4>b>small{font-size:8px;margin-left:2px}.cgr-active3 .cgr-me{gap:7px}.cgr-active3 .cgr-me>span:nth-of-type(2){font-size:9px}.cgr-active3 .cgr-me button{padding:5px;font-size:9px}}

@media(max-width:600px){html body .cgr-panel .cgr-full3>.cogo-avatar{width:121px!important;height:121px!important}}

/* Scoped to search controls and the common curriculum picker. */
.cu1-dialog{--cu-bg:var(--surface,#fff);--cu-ink:var(--ink,#1a2442);--cu-soft:var(--blue-soft,#edf1ff);--cu-line:var(--line,#e1e7f2);--cu-muted:var(--muted,#6c7892);--cu-accent:var(--blue,#4059dc);width:min(1120px,95vw);max-width:1120px;height:min(840px,94dvh);max-height:94dvh;margin:auto;padding:0;border:1px solid var(--cu-line);border-radius:26px;background:var(--cu-bg);color:var(--cu-ink);box-shadow:0 32px 100px #10234a38;font-family:var(--ct-font,inherit);font-size:14px;line-height:1.5;overflow:hidden;animation:cu1-enter .22s ease-out}
.cu1-dialog[open]{display:flex;flex-direction:column}.cu1-dialog::backdrop{background:#14244064;backdrop-filter:blur(5px)}.cu1-dialog *{box-sizing:border-box}.cu1-dialog button,.cu1-dialog input,.cu1-dialog select{font:inherit;color:inherit}.cu1-dialog button{cursor:pointer;min-height:36px;border:1px solid var(--cu-line);background:var(--cu-bg);border-radius:11px;padding:8px 12px;transition:background .16s,border-color .16s,transform .16s}.cu1-dialog button:hover{border-color:var(--cu-accent);background:var(--cu-soft)}.cu1-dialog button:active,.cu1-trigger:active{transform:scale(.98)}.cu1-dialog button:focus-visible,.cu1-dialog input:focus-visible,.cu1-dialog select:focus-visible,.cu1-trigger:focus-visible{outline:3px solid var(--cu-accent);outline-offset:2px}.cu1-dialog button:disabled{opacity:.4;cursor:default;transform:none}.cu1-dialog svg{width:20px;height:20px;flex:none}.cu1-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:24px 28px 18px;background:linear-gradient(120deg,var(--cu-soft),var(--cu-bg) 75%);flex:none}.cu1-eyebrow{font-size:10px;font-weight:800;letter-spacing:1.8px;color:var(--cu-accent)}.cu1-head h2{margin:5px 0;font-size:26px;letter-spacing:-.9px;font-weight:800}.cu1-head p{margin:0;font-size:12px;color:var(--cu-muted)}.cu1-dialog .cu1-close{width:38px;min-width:38px;height:38px;min-height:38px;padding:0;font-size:26px;line-height:1;border-radius:50%}
.cu1-subjects{display:flex;gap:6px;padding:0 26px 16px;flex:none}.cu1-subjects button{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;min-width:0;min-height:52px;padding:9px 8px;background:var(--cu-bg)}.cu1-subjects b{font-size:13px;white-space:nowrap}.cu1-subjects small{font-size:10px;color:var(--cu-muted);font-variant-numeric:tabular-nums}.cu1-subjects svg{width:17px;height:17px;color:var(--cu-accent)}.cu1-subjects button[aria-pressed=true]{color:var(--cu-accent);border-color:var(--cu-accent);background:var(--cu-soft);box-shadow:inset 0 0 0 1px var(--cu-accent)}
.cu1-filters{display:grid;grid-template-columns:minmax(230px,2.5fr) repeat(3,minmax(95px,1fr));gap:10px;padding:16px 26px 10px;border-top:1px solid var(--cu-line);flex:none}.cu1-filters:has([data-cu-grade]){grid-template-columns:minmax(210px,2.5fr) repeat(4,minmax(82px,1fr))}.cu1-filters label{font-size:10px;font-weight:700;display:flex;flex-direction:column;gap:6px;min-width:0;color:var(--cu-muted)}.cu1-filters input,.cu1-filters select{width:100%;min-width:0;min-height:44px;border:1px solid var(--cu-line);border-radius:11px;background:var(--cu-bg);padding:8px 10px;font-size:12px;font-weight:600;color:var(--cu-ink)}.cu1-search>div{display:flex;align-items:center;gap:9px;min-width:0;background:var(--cu-soft);border:1px solid transparent;border-radius:12px;padding:0 11px}.cu1-search>div:focus-within{border-color:var(--cu-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--cu-accent) 10%,transparent)}.cu1-search svg{color:var(--cu-accent);width:17px;height:17px}.cu1-search input{border:0;background:transparent;padding:8px 0;font-weight:500;outline:none!important}.cu1-search kbd{font-size:13px;color:var(--cu-muted);border:1px solid var(--cu-line);padding:0 5px;border-radius:4px}.cu1-status{font-size:11px;color:var(--cu-muted);padding:3px 26px 12px;flex:none}
.cu1-columns{display:grid;grid-template-columns:240px minmax(0,1fr);border-block:1px solid var(--cu-line);min-height:150px;flex:1;overflow:hidden}.cu1-major-pane{display:flex;flex-direction:column;min-height:0;min-width:0;background:color-mix(in srgb,var(--cu-soft) 45%,var(--cu-bg));border-right:1px solid var(--cu-line)}.cu1-column-head{display:flex;align-items:center;justify-content:space-between;padding:13px 18px 8px;font-size:12px;flex:none}.cu1-column-head span{font-size:10px;color:var(--cu-muted)}.cu1-majors{min-height:0;flex:1;overflow:auto;padding:4px 10px 8px;display:flex;flex-direction:column;gap:6px;scrollbar-width:thin}.cu1-majors button{text-align:left;display:grid;gap:1px;flex-shrink:0;padding:9px 12px;border-color:transparent;background:transparent;min-height:67px}.cu1-majors button[aria-pressed=true]{background:var(--cu-bg);border-color:var(--cu-line);box-shadow:0 3px 12px #26395909;border-left:3px solid var(--cu-accent);padding-left:10px}.cu1-majors button[aria-pressed=true] b{color:var(--cu-accent)}.cu1-majors span{font-size:9px;color:var(--cu-muted);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.cu1-majors b{font-size:14px;line-height:1.4;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.cu1-majors small{font-size:10px;color:var(--cu-muted);display:flex;justify-content:space-between;align-items:center}.cu1-majors i{font-size:17px;font-style:normal;line-height:1}.cu1-major-pager{display:flex;align-items:center;justify-content:center;gap:14px;min-height:38px;flex:none;padding:0 8px 6px;font-size:10px;color:var(--cu-muted)}.cu1-major-pager:empty{display:none}.cu1-major-pager button{min-height:29px;width:29px;padding:0;font-size:20px;background:transparent;border:0}
.cu1-leaves{min-width:0;min-height:0;overflow:auto;padding:20px 24px;scrollbar-width:thin}.cu1-leaves>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-bottom:14px;border-bottom:1px solid var(--cu-line)}.cu1-leaves h3{margin:3px 0 0;font-size:23px;letter-spacing:-.6px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.cu1-leaves h3 small{font-size:10px;font-weight:500;letter-spacing:0;border-radius:6px;padding:3px 7px;background:var(--cu-soft)}.cu1-leaves header small{font-size:10px;color:var(--cu-muted)}.cu1-parent{font-size:11px!important;color:var(--cu-accent)!important;flex-shrink:0;background:var(--cu-soft)!important;border:0!important}.cu1-parent[aria-pressed=true]{box-shadow:inset 0 0 0 1px var(--cu-accent)}.cu1-middle{margin-top:17px}.cu1-middle>div:first-child{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px;gap:8px}.cu1-middle h4{font-size:12px;margin:0}.cu1-middle>div:first-child>button{font-size:10px;min-height:24px;padding:2px 0;border:0;color:var(--cu-muted);background:transparent}.cu1-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.cu1-leaf{display:flex;align-items:center;text-align:left;min-width:0;gap:8px;padding:11px 12px!important;min-height:45px!important}.cu1-leaf>span{font-size:12px;flex:1;overflow-wrap:anywhere;line-height:1.45}.cu1-leaf small{font-size:10px;white-space:nowrap;color:var(--cu-muted)}.cu1-leaf i{font-size:16px;font-style:normal;color:var(--cu-muted);width:16px;text-align:center}.cu1-leaf[aria-pressed=true]{border-color:var(--cu-accent);background:var(--cu-soft)}.cu1-leaf[aria-pressed=true] i{color:var(--cu-accent)}.cu1-foot{display:flex;align-items:center;gap:10px;padding:16px 26px;background:var(--cu-bg);flex:none}.cu1-foot>div{display:grid;gap:3px;flex:1;min-width:0}.cu1-foot small{font-size:10px;color:var(--cu-muted)}.cu1-foot strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cu1-dialog .cu1-reset{font-size:12px;border:0;color:var(--cu-muted);background:transparent}.cu1-dialog .cu1-apply{background:var(--cu-accent);color:#fff;border:0;font-size:13px;font-weight:750;padding:12px 19px;display:flex;gap:18px;align-items:center;box-shadow:0 4px 10px #3f59df20}.cu1-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:35px 12px;gap:8px;color:var(--cu-muted)}.cu1-empty>svg{width:30px;height:30px;opacity:.6;margin-bottom:4px}.cu1-empty p{font-size:12px;margin:0 0 8px}.cu1-note{font-size:11px;color:var(--cu-muted);background:var(--cu-soft);padding:8px;border-radius:8px}.cu1-pager{display:flex;align-items:center;justify-content:center;gap:12px;font-size:11px;margin-top:16px}.cu1-pager button{font-size:11px;min-height:32px;padding:5px 10px}
.cu1-trigger{display:inline-flex;align-items:center;gap:10px;width:min(350px,100%);max-width:100%;min-height:44px;border-radius:12px;border:1px solid var(--line,#dce3f1);background:var(--surface,#fff);color:var(--ink,#1a2442);font:inherit;font-size:13px;padding:8px 12px;cursor:pointer;vertical-align:middle;box-shadow:0 2px 8px #23345604;transition:border-color .16s,box-shadow .16s,transform .16s}.cu1-trigger:hover{border-color:var(--blue,#4059dc);box-shadow:0 3px 12px #4059dc10}.cu1-trigger>svg{width:18px;height:18px;color:var(--blue,#4059dc);flex:none}.cu1-trigger>span{display:flex;flex-direction:column;align-items:flex-start;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0}.cu1-trigger b{font-size:12px;white-space:nowrap}.cu1-trigger small{font-size:10px;color:var(--muted,#6c7892);max-width:100%;overflow:hidden;text-overflow:ellipsis}.cu1-trigger i{font-style:normal;color:var(--muted,#6c7892)}.cu1-filter-hidden{display:none!important}.cu1-course-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:10px 0}.cu1-course-bar small{color:var(--muted,#6c7892)}
#main .problem-board.cu3-search-board .board-subjects{gap:6px;padding:4px 0 10px;border:0;flex-wrap:wrap}#main .problem-board.cu3-search-board .board-subjects>[data-filter]{min-height:43px;min-width:69px;display:inline-flex;justify-content:center;align-items:center;gap:7px;padding:9px 14px;border:1px solid var(--line,#dce3f1);border-radius:12px;background:var(--surface,#fff);color:var(--muted,#6c7892);font-size:13px;transition:background .16s,transform .16s,border-color .16s}#main .problem-board.cu3-search-board .board-subjects>[data-filter]:after{display:none}#main .problem-board.cu3-search-board .board-subjects>[data-filter]>svg{width:17px;height:17px;flex:none}#main .problem-board.cu3-search-board .board-subjects>[data-filter][aria-pressed=true],#main .problem-board.cu3-search-board .board-subjects>[data-filter].active{color:var(--blue,#4059dc);background:var(--blue-soft,#edf1ff);border-color:var(--blue,#4059dc)}#main .problem-board.cu3-search-board .board-search{min-height:46px;border:1px solid transparent;border-radius:12px;background:var(--blue-soft,#edf1ff)}#main .problem-board.cu3-search-board .board-search:focus-within{border-color:var(--blue,#4059dc);box-shadow:0 0 0 3px #4059dc0d}#main .problem-board.cu3-search-board .board-search input{font-size:13px;background:transparent}#main .problem-board.cu3-search-board .curriculum-bar291{align-items:end}#main .cogo-catalog-inline-r2.is-error{padding:9px 13px;box-shadow:none}#main .cogo-catalog-inline-r2 small{font-size:11px}
@keyframes cu1-enter{from{opacity:0;transform:translateY(10px) scale(.99)}to{opacity:1;transform:none}}
@media(max-width:850px){.cu1-subjects{gap:5px;padding-inline:18px}.cu1-subjects button{flex-direction:column;gap:2px;min-height:63px}.cu1-subjects small{display:none}.cu1-subjects b{font-size:11px}.cu1-filters,.cu1-filters:has([data-cu-grade]){grid-template-columns:repeat(4,minmax(0,1fr));padding-inline:18px}.cu1-search{grid-column:1/-1}.cu1-columns{grid-template-columns:192px minmax(0,1fr)}.cu1-leaves{padding:15px}.cu1-grid{gap:6px}}
@media(max-width:580px){.cu1-dialog{width:97vw;height:96dvh;max-height:96dvh;border-radius:19px}.cu1-head{padding:14px 15px 12px}.cu1-head h2{font-size:21px;margin:3px 0}.cu1-head p{display:none}.cu1-eyebrow{font-size:8px}.cu1-subjects{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0 12px 10px;gap:5px}.cu1-subjects button{flex-direction:row;min-height:34px;gap:5px;padding:5px}.cu1-subjects svg{width:14px;height:14px}.cu1-subjects b{font-size:11px}.cu1-filters,.cu1-filters:has([data-cu-grade]){grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:10px 12px 7px}.cu1-filters:has([data-cu-grade]){grid-template-columns:repeat(4,minmax(0,1fr))}.cu1-filters label{font-size:9px;gap:3px}.cu1-filters select{font-size:10px;padding:6px;min-height:34px}.cu1-search input{min-height:38px;font-size:11px}.cu1-status{padding:2px 12px 8px;font-size:9px}.cu1-columns{grid-template-columns:119px minmax(0,1fr);min-height:130px}.cu1-column-head{padding:8px 9px 4px;font-size:10px}.cu1-majors{padding:3px 5px;gap:4px}.cu1-majors button{padding:7px!important;min-height:62px}.cu1-majors b{font-size:11px}.cu1-majors span,.cu1-majors small{font-size:8px}.cu1-majors button[aria-pressed=true]{padding-left:5px!important}.cu1-major-pager{min-height:30px;gap:7px;font-size:9px;padding-bottom:3px}.cu1-leaves{padding:10px}.cu1-leaves>header{align-items:stretch;flex-direction:column;gap:7px;padding-bottom:9px}.cu1-leaves h3{font-size:17px;gap:5px}.cu1-leaves h3 small{font-size:8px}.cu1-parent{font-size:10px!important;min-height:30px!important;padding:5px!important}.cu1-grid{grid-template-columns:1fr;gap:5px}.cu1-middle{margin-top:12px}.cu1-middle>div:first-child{align-items:flex-start;flex-direction:column;gap:3px;margin-bottom:5px}.cu1-middle h4{font-size:10px}.cu1-middle>div:first-child>button{font-size:9px;min-height:20px}.cu1-leaf{min-height:40px!important;padding:8px!important;gap:5px}.cu1-leaf>span{font-size:10px}.cu1-leaf small{font-size:8px}.cu1-leaf i{font-size:12px;width:10px}.cu1-foot{padding:10px 12px;gap:5px}.cu1-foot small{font-size:8px}.cu1-foot strong{font-size:10px}.cu1-dialog .cu1-reset{font-size:10px;padding:7px}.cu1-dialog .cu1-apply{font-size:11px;padding:10px;gap:6px}.cu1-empty{padding:22px 0}.cu1-empty b{font-size:12px}.cu1-empty p{font-size:10px}.cu1-empty button{font-size:10px;padding:7px}.cu1-trigger{min-height:42px}#main .problem-board.cu3-search-board .board-subjects>[data-filter]{min-width:55px;min-height:36px;padding:7px 9px;font-size:11px}#main .problem-board.cu3-search-board .board-subjects>[data-filter]>svg{width:14px;height:14px}}
@media(max-height:700px) and (min-width:851px){.cu1-head{padding:12px 24px}.cu1-head h2{font-size:22px}.cu1-head p{display:none}.cu1-subjects{padding-bottom:10px}.cu1-subjects button{min-height:40px}.cu1-filters{padding-top:10px}.cu1-foot{padding-block:10px}}
@media(prefers-reduced-motion:reduce){.cu1-dialog{animation:none}.cu1-dialog button,.cu1-trigger,#main .problem-board.cu3-search-board .board-subjects>[data-filter]{transition:none}}
.cu1-head>div{min-width:0}.cu1-head h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-height:710px) and (max-width:580px){.cu1-head{padding-top:10px;padding-bottom:9px}.cu1-head h2{font-size:18px}.cu1-subjects{padding-bottom:7px;gap:4px}.cu1-subjects button{min-height:31px}.cu1-filters{padding-block:7px 5px}.cu1-status{padding-bottom:6px}.cu1-leaves>header>div>small{display:none}.cu1-leaves h3{font-size:15px}.cu1-leaves h3 small{display:none}.cu1-leaves>header{gap:5px;padding-bottom:7px}.cu1-dialog .cu1-parent{min-height:25px!important}.cu1-middle{margin-top:9px}.cu1-middle>div:first-child{flex-direction:row;align-items:center}.cu1-middle>div:first-child>button{font-size:8px}.cu1-pager{margin-top:9px;gap:8px}.cu1-pager button{min-height:27px;padding:3px 7px}.cu1-foot{padding-block:8px}}

/* COGO search usability r4. Existing colors, hooks and page structure are retained. */
#main .problem-board.cu3-search-board{container-type:inline-size}
#main .problem-board.cu3-search-board .board-subjects{padding:4px 0 0;margin:0;gap:6px}
#main .problem-board.cu3-search-board .board-subjects>[data-filter]{min-height:42px;padding:8px 13px;border-radius:11px;flex:0 0 auto}
#main .problem-board.cu3-search-board .bank-toolbar293{margin:2px 0 4px;gap:10px 14px;min-height:0}
#main .problem-board.cu3-search-board .subject-subtypes9{margin:0;padding:0;gap:6px}
#main .problem-board.cu3-search-board .coding-choices17{gap:6px}
#main .problem-board.cu3-search-board .subtype-check9{min-width:0;min-height:38px;padding:8px 13px;border-radius:10px;gap:8px;cursor:pointer}
#main .problem-board.cu3-search-board .subtype-check9:has(input:checked){background:var(--blue-soft,#edf1ff);color:var(--blue,#4059dc);border-color:var(--blue,#4059dc)}
#main .problem-board.cu3-search-board .course-pills292{gap:6px}
#main .problem-board.cu3-search-board .course-pills292 button,#main .problem-board.cu3-search-board [data-curriculum292]{min-height:38px;padding:8px 11px;border-radius:10px}
#main .problem-board.cu3-search-board .board-tools{margin:2px 0 0;padding:10px;gap:8px!important;border-radius:13px}
#main .problem-board.cu3-search-board .board-search{min-height:44px;height:44px;border-radius:10px}
#main .problem-board.cu3-search-board .board-search input{height:42px;min-height:0;padding-block:0;line-height:1.5}
#main .problem-board.cu3-search-board #boardFilters{gap:8px;justify-content:flex-start;flex:0 0 auto}
#main .problem-board.cu3-search-board #boardFilters label{min-width:0;flex:0 1 auto}
#main .problem-board.cu3-search-board #boardFilters select{height:44px;border-radius:10px;font-weight:500}
#main .problem-board.cu3-search-board .curriculum-bar291{display:grid;grid-template-columns:124px 132px minmax(200px,340px);gap:10px;margin:4px 0 8px;align-items:end;min-width:0}
#main .problem-board.cu3-search-board .curriculum-bar291>label{display:flex;flex-direction:column;gap:6px;margin:0;min-width:0;font-size:11px;font-weight:600;line-height:16px}
#main .problem-board.cu3-search-board .curriculum-bar291>label>select{box-sizing:border-box;min-width:0;width:100%;height:44px;margin:0;border-radius:10px;font:inherit;font-size:13px;font-weight:500;padding:8px 30px 8px 12px;color:var(--ink,#1a2442)}
/* The old curriculum small-label rule added a 10px bottom margin inside the button. */
.cu1-trigger{box-sizing:border-box;height:44px;min-height:44px;padding:9px 12px;border-radius:10px;box-shadow:none}
.cu1-trigger>span{flex-direction:row;align-items:center;gap:8px;line-height:20px}
.cu1-trigger>span>b{flex:0 0 auto;font-size:12px;line-height:20px}
.cu1-trigger>span>small{display:block;flex:1 1 auto;min-width:0;margin:0;font-size:12px;font-weight:500;line-height:20px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#main .problem-board.cu3-search-board .curriculum-unit291 .cu1-trigger{width:100%;max-width:none;height:44px;min-height:44px;margin:0}
#main .problem-board.cu3-search-board .curriculum-unit291 .cu1-trigger b{display:none}
#main .problem-board.cu3-search-board .curriculum-unit291 .cu1-trigger small{margin:0;font-size:13px;color:var(--ink,#1a2442)}
#main .problem-board.cu3-search-board .board-refine24{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;width:auto;max-width:100%;margin:0;padding:0;min-height:44px;grid-column:1/-1}
#main .problem-board.cu3-search-board .board-refine24>label{margin:0;flex:0 0 auto}
#main .problem-board.cu3-search-board .board-refine24 .bank-size300{display:flex;align-items:center}
#main .problem-board.cu3-search-board .board-refine24 .bank-size300 select{box-sizing:border-box;width:auto;min-width:112px;max-width:100%;height:44px;margin:0;padding:8px 28px 8px 11px;border:1px solid var(--line,#dce3f1);border-radius:10px;background:var(--surface,#fff);color:var(--ink,#1a2442);font-family:inherit;font-size:12px;font-weight:500}
#main .problem-board.cu3-search-board .board-refine24 .hide-solved21,#main .problem-board.cu3-search-board .board-refine24 .board-saved,#main .problem-board.cu3-search-board .board-refine24 .board-reset{display:flex;box-sizing:border-box;align-items:center;justify-content:center;height:44px;min-height:44px;gap:7px;margin:0;padding:0 11px;border:1px solid var(--line,#dce3f1);border-radius:10px;background:var(--surface,#fff);font-family:inherit;font-size:12px;font-weight:500;white-space:nowrap;cursor:pointer}
#main .problem-board.cu3-search-board .board-refine24 .board-reset{color:var(--muted,#6c7892);border-color:transparent;background:transparent}
#main .problem-board.cu3-search-board .board-refine24 .board-reset span{display:inline}
#main .problem-board.cu3-search-board .board-refine24 .board-saved[aria-pressed=true],#main .problem-board.cu3-search-board .hide-solved21:has(input:checked){background:var(--blue-soft,#edf1ff);border-color:var(--blue,#4059dc);color:var(--blue,#4059dc)}
#main .problem-board.cu3-search-board .board-refine24 button:hover,#main .problem-board.cu3-search-board .subtype-check9:hover{background:var(--blue-soft,#edf1ff)}
#main .problem-board.cu3-search-board .cu3-unit-fallback{margin:2px 0 6px}
#main .problem-board.cu3-search-board :is(button,select,input):focus-visible{outline:2px solid var(--blue,#4059dc);outline-offset:3px}
#main .problem-board.cu3-search-board :is(.hide-solved21,.subtype-check9):has(input:focus-visible){outline:2px solid var(--blue,#4059dc);outline-offset:3px}
@container(min-width:1040px){
 #main .problem-board.cu3-search-board .curriculum-bar291{grid-template-columns:124px 132px minmax(220px,1fr) max-content}
 #main .problem-board.cu3-search-board .curriculum-bar291 .board-refine24{grid-column:auto;flex-wrap:nowrap}
 #main .problem-board.cu3-search-board .curriculum-unit291{max-width:340px}
}
@container(max-width:700px){
 #main .problem-board.cu3-search-board .curriculum-bar291{grid-template-columns:1fr 1fr;gap:10px}
 #main .problem-board.cu3-search-board .curriculum-unit291{grid-column:1/-1}
 #main .problem-board.cu3-search-board .board-refine24{justify-content:flex-start;margin-left:0;gap:6px}
 #main .problem-board.cu3-search-board .bank-toolbar293 .board-refine24{flex-basis:100%}
}
@media(max-width:760px){
 #main .problem-board.cu3-search-board .board-subjects{gap:6px}
 #main .problem-board.cu3-search-board .board-subjects>[data-filter]{min-height:40px;min-width:60px;padding:8px 10px;font-size:12px;flex:1 0 calc(25% - 6px)}
 #main .problem-board.cu3-search-board .board-subjects>.recommend-inline9{margin:0 0 0 auto;flex:0 0 auto}
 #main .problem-board.cu3-search-board .board-tools{padding:8px;gap:7px!important}
 #main .problem-board.cu3-search-board #boardFilters{gap:10px}
 #main .problem-board.cu3-search-board #boardFilters select{width:100%;max-width:100%;min-width:0}
 #main .problem-board.cu3-search-board .subtype-check9{min-height:40px;padding:8px 10px;font-size:12px}
 #main .problem-board.cu3-search-board .board-refine24 .hide-solved21,#main .problem-board.cu3-search-board .board-refine24 .board-saved,#main .problem-board.cu3-search-board .board-refine24 .board-reset{font-size:11px;padding-inline:9px}
}
/* Shared navigator: less header space, readable labels, continuously scrollable majors. */
.cu1-dialog{height:min(740px,94dvh);border-radius:22px}
.cu1-head{padding:19px 24px 14px}
.cu1-head h2{font-size:24px;margin:3px 0 4px}
.cu1-head p{font-size:12px}
.cu1-subjects{padding:0 24px 12px;gap:6px}
.cu1-subjects button{min-height:46px;padding:8px}
.cu1-filters{padding:13px 24px 8px}
.cu1-filters label{font-size:11px;gap:5px}
.cu1-filters input,.cu1-filters select{font-size:13px;font-weight:500}
.cu1-status{padding:2px 24px 10px}
.cu1-columns{grid-template-columns:228px minmax(0,1fr)}
.cu1-column-head{padding:12px 15px 8px}
.cu1-majors{gap:4px;padding:2px 8px 10px;overscroll-behavior:contain;scrollbar-gutter:stable}
.cu1-majors button{min-height:64px;padding:8px 10px}
.cu1-majors button[aria-pressed=true]{padding-left:8px}
.cu1-majors span{font-size:10px}
.cu1-majors b{font-size:13px}
.cu1-leaves{padding:17px 20px;overscroll-behavior:contain}
.cu1-leaves h3{font-size:21px}
.cu1-foot{padding:12px 24px}
@media(max-width:850px){.cu1-subjects{padding-inline:18px}.cu1-filters{padding-inline:18px}.cu1-columns{grid-template-columns:190px minmax(0,1fr)}}
@media(max-width:580px){
 .cu1-dialog{height:96dvh;max-height:96dvh;border-radius:18px}
 .cu1-head{padding:13px 14px 10px}.cu1-head h2{font-size:21px}.cu1-head p{display:none}
 .cu1-subjects{padding:0 12px 9px;gap:5px}.cu1-subjects button{min-height:36px;padding:6px}.cu1-subjects b{font-size:11px}
 .cu1-filters{padding:10px 12px 6px;gap:7px}.cu1-filters label{font-size:10px;gap:4px}.cu1-filters input{font-size:12px}.cu1-filters select{font-size:11px;min-height:36px}
 .cu1-status{padding:2px 12px 8px;font-size:10px}
 .cu1-columns{grid-template-columns:124px minmax(0,1fr)}.cu1-column-head{padding:8px;font-size:11px}
 .cu1-majors{gap:3px;padding:2px 4px 8px;scrollbar-gutter:auto}.cu1-majors button{min-height:60px}.cu1-majors b{font-size:12px}.cu1-majors span,.cu1-majors small{font-size:9px}
 .cu1-leaves{padding:10px}.cu1-leaves h3{font-size:17px}.cu1-leaf>span{font-size:11px}.cu1-leaf small{font-size:9px}.cu1-middle h4{font-size:11px}
 .cu1-foot{padding:10px 12px}.cu1-foot strong{font-size:11px}.cu1-foot small{font-size:9px}.cu1-leaf{min-height:44px!important}.cu1-dialog .cu1-apply{min-height:42px}.cu1-dialog .cu1-reset{min-height:42px}
}
@media(max-height:710px) and (max-width:580px){
 .cu1-head{padding-block:9px 7px}.cu1-head h2{font-size:18px}.cu1-eyebrow{display:none}.cu1-subjects{padding-bottom:7px}.cu1-subjects button{min-height:32px}.cu1-filters{padding-block:7px 5px}.cu1-filters select{min-height:32px;font-size:10px}.cu1-status{font-size:9px;padding-bottom:6px}.cu1-foot{padding-block:8px}
}

/* COGO r5: one focus boundary, and a visible grade filter on every unit picker. */
#cogo-unit-dialog-r1.cu1-dialog .cu1-search input,
#cogo-unit-dialog-r1.cu1-dialog .cu1-search input:focus,
#cogo-unit-dialog-r1.cu1-dialog .cu1-search input:focus-visible{
 appearance:none!important;-webkit-appearance:none!important;outline:0!important;box-shadow:none!important;border:0!important;border-radius:0!important;background:transparent!important;min-width:0;margin:0;padding:8px 0;font-weight:500;
}
#cogo-unit-dialog-r1.cu1-dialog .cu1-search>div{border:1px solid transparent;outline:0!important;box-shadow:none}
#cogo-unit-dialog-r1.cu1-dialog .cu1-search>div:focus-within{border-color:var(--cu-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--cu-accent) 12%,transparent)}
#cogo-unit-dialog-r1.cu1-dialog .cu1-filters{grid-template-columns:minmax(220px,2.3fr) repeat(3,minmax(105px,1fr))}
#cogo-unit-dialog-r1.cu1-dialog [data-cu-grade]:disabled{opacity:1;background:var(--cu-soft);color:var(--cu-muted);cursor:default}
@media(max-width:850px){#cogo-unit-dialog-r1.cu1-dialog .cu1-filters{grid-template-columns:repeat(3,minmax(0,1fr))}#cogo-unit-dialog-r1.cu1-dialog .cu1-search{grid-column:1/-1}}
@media(max-width:580px){#cogo-unit-dialog-r1.cu1-dialog .cu1-search input{padding:7px 0;font-size:12px}#cogo-unit-dialog-r1.cu1-dialog .cu1-filters select{padding-inline:6px}}

/* COGO r6: the shared native dialog lifecycle owns its one enter/exit animation. */
#cogo-unit-dialog-r1.cu1-dialog:not(.opening8):not(.closing8){animation:none}
@media(prefers-reduced-motion:reduce){
 #cogo-unit-dialog-r1.cu1-dialog,#cogo-unit-dialog-r1.cu1-dialog::backdrop{animation:none!important;transition:none!important}
}

/* COGO admin visitors: scoped to the replacement button and its native dialog. */
@media(max-width:760px){.cogo-ops21>.v6-heading:has(>.av2-launch){grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cogo-ops21>.v6-heading:has(>.av2-launch)>div:first-child{grid-column:1/-1;grid-row:1}.cogo-ops21>.v6-heading>.av2-launch{grid-column:1;grid-row:2;justify-content:center;margin:0!important;min-width:0;gap:6px}.cogo-ops21>.v6-heading>.av2-launch+button{grid-column:2;grid-row:2;min-width:0;justify-content:center}.cogo-ops21>.v6-heading>.av2-launch>svg:last-child{display:none}}
.cogo-ops21 .v6-heading>.av2-launch{display:inline-flex;align-items:center;gap:8px;min-height:40px;flex-shrink:0;margin-left:auto;margin-right:10px;padding:8px 12px;border:1px solid var(--line,#dbe2f1);border-radius:12px;background:var(--surface,#fff);color:var(--ink,#192845);font:600 12px/1.3 var(--ct-font,inherit);cursor:pointer;box-shadow:0 2px 6px #18345104;transition:background .16s,border-color .16s}
.av2-launch>svg{width:17px;height:17px;color:var(--blue,#4055dc)}.av2-launch>svg:last-child{width:13px;height:13px;color:var(--muted,#75829e)}.av2-launch>b{padding:3px 7px;border-radius:7px;background:var(--blue-soft,#edf0ff);color:var(--blue,#4055dc);font-size:11px}.av2-launch:hover{border-color:var(--blue,#4055dc);background:var(--surface-soft,#f8faff)}
#cogo-admin-visitors-r2{--av-bg:var(--surface,#fff);--av-soft:var(--surface-soft,#f6f8fd);--av-ink:var(--ink,#172542);--av-muted:var(--muted,#72809b);--av-line:var(--line,#dce4f3);--av-blue:var(--blue,#4055dc);box-sizing:border-box;width:min(940px,calc(100vw - 32px));height:min(790px,calc(100dvh - 40px));max-width:none;max-height:calc(100dvh - 40px);margin:auto;padding:0;border:1px solid var(--av-line);border-radius:24px;background:var(--av-bg);color:var(--av-ink);box-shadow:0 28px 110px #12264440;overflow:hidden;font-family:var(--ct-font,inherit);font-size:14px;line-height:1.5}
#cogo-admin-visitors-r2[open]{display:flex;flex-direction:column}#cogo-admin-visitors-r2:not(.opening8):not(.closing8){animation:none}#cogo-admin-visitors-r2::backdrop{background:#10234366;backdrop-filter:blur(5px)}#cogo-admin-visitors-r2 *{box-sizing:border-box}#cogo-admin-visitors-r2 svg{width:20px;height:20px;flex-shrink:0}#cogo-admin-visitors-r2 button,#cogo-admin-visitors-r2 input{font:inherit;color:inherit}#cogo-admin-visitors-r2 button{cursor:pointer;transition:background .16s,border-color .16s}#cogo-admin-visitors-r2 button:disabled{cursor:default;opacity:.45}#cogo-admin-visitors-r2 button:focus-visible,.av2-launch:focus-visible{outline:3px solid color-mix(in srgb,var(--blue,#4055dc) 35%,transparent);outline-offset:2px}#cogo-admin-visitors-r2 h2,#cogo-admin-visitors-r2 p{margin:0}
#cogo-admin-visitors-r2 .av2-head{display:flex;justify-content:space-between;gap:18px;padding:25px 28px 21px;flex-shrink:0}#cogo-admin-visitors-r2 .av2-heading{display:flex;gap:14px;align-items:center;min-width:0}#cogo-admin-visitors-r2 .av2-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:16px;background:var(--blue-soft,#edf0ff);color:var(--av-blue)}#cogo-admin-visitors-r2 .av2-mark svg{width:25px;height:25px}#cogo-admin-visitors-r2 .av2-heading small{font-size:10px;font-weight:800;letter-spacing:1.4px;color:var(--av-blue)}#cogo-admin-visitors-r2 h2{font-size:23px;line-height:1.5;letter-spacing:-.7px}#cogo-admin-visitors-r2 .av2-heading p{font-size:12px;color:var(--av-muted);margin-top:2px}#cogo-admin-visitors-r2 .av2-close{display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid var(--av-line);border-radius:50%;background:var(--av-bg);flex-shrink:0}
#cogo-admin-visitors-r2 .av2-overview{display:grid;grid-template-columns:1.65fr 1fr;gap:14px;margin:0 28px 22px;flex-shrink:0}#cogo-admin-visitors-r2 .av2-overview section{border:1px solid var(--av-line);border-radius:18px;padding:18px 22px;background:var(--av-soft)}#cogo-admin-visitors-r2 .av2-overview .av2-total{background:linear-gradient(115deg,var(--blue-soft,#edf0ff),var(--av-bg));border-color:color-mix(in srgb,var(--av-blue) 20%,var(--av-line))}#cogo-admin-visitors-r2 .av2-overview section>span{font-size:12px;font-weight:700;color:var(--av-muted)}#cogo-admin-visitors-r2 .av2-overview section>div{display:flex;align-items:baseline;gap:7px;margin:2px 0}#cogo-admin-visitors-r2 .av2-overview strong{font-size:42px;line-height:1.2;font-weight:800;letter-spacing:-1.4px;font-variant-numeric:tabular-nums}#cogo-admin-visitors-r2 .av2-total strong{color:var(--av-blue)}#cogo-admin-visitors-r2 .av2-overview div>span{font-size:14px;color:var(--av-muted)}#cogo-admin-visitors-r2 .av2-total b{font-size:10px;font-weight:650;background:var(--av-bg);color:var(--av-blue);padding:3px 7px;border:1px solid var(--av-line);border-radius:6px;margin-left:5px}#cogo-admin-visitors-r2 .av2-overview p{font-size:11px;color:var(--av-muted);margin-top:7px}#cogo-admin-visitors-r2 .av2-online>span{display:flex;align-items:center;gap:6px}#cogo-admin-visitors-r2 .av2-online i,#cogo-admin-visitors-r2 .is-online i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#19a287}
#cogo-admin-visitors-r2 .av2-toolbar{padding:0 28px;flex-shrink:0}#cogo-admin-visitors-r2 .av2-tabs{display:flex;gap:6px;margin:0 0 13px;padding:0}#cogo-admin-visitors-r2 .av2-tabs button{display:flex;align-items:center;justify-content:center;gap:6px;padding:8px 12px;min-height:38px;border:1px solid transparent;border-radius:10px;background:transparent;font-size:12px;color:var(--av-muted);font-weight:650}#cogo-admin-visitors-r2 .av2-tabs button[aria-pressed=true]{border-color:color-mix(in srgb,var(--av-blue) 23%,transparent);background:var(--blue-soft,#edf0ff);color:var(--av-blue)}#cogo-admin-visitors-r2 .av2-tabs button>span{font-size:10px;opacity:.8;font-variant-numeric:tabular-nums}#cogo-admin-visitors-r2 .av2-search-row{display:flex;gap:10px}#cogo-admin-visitors-r2 .av2-search{display:flex;align-items:center;gap:10px;flex:1;min-width:0;background:var(--av-bg);border:1px solid var(--av-line);border-radius:12px;padding:0 13px;color:var(--av-muted)}#cogo-admin-visitors-r2 .av2-search:focus-within{border-color:var(--av-blue);box-shadow:0 0 0 3px color-mix(in srgb,var(--av-blue) 9%,transparent)}#cogo-admin-visitors-r2 .av2-search input{appearance:none!important;border:0!important;outline:0!important;box-shadow:none!important;border-radius:0!important;background:transparent!important;width:100%;min-width:0;padding:11px 0;margin:0;font-size:12px}#cogo-admin-visitors-r2 .av2-search svg{width:17px;height:17px}#cogo-admin-visitors-r2 .av2-refresh{display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--av-line);border-radius:12px;background:var(--av-bg);padding:8px 13px;font-size:12px;min-height:42px}#cogo-admin-visitors-r2 .av2-refresh svg{width:16px;height:16px}
#cogo-admin-visitors-r2 .av2-status{font-size:11px;color:var(--av-muted);padding:12px 30px 10px;min-height:39px;flex-shrink:0}#cogo-admin-visitors-r2 .av2-list{flex:1;min-height:80px;overflow:auto;overscroll-behavior:contain;padding:0 28px 8px;scrollbar-width:thin;scrollbar-color:var(--av-line) transparent}#cogo-admin-visitors-r2 .av2-person{display:flex;align-items:center;gap:13px;padding:13px 7px;border-bottom:1px solid var(--av-line);min-width:0}#cogo-admin-visitors-r2 .av2-person:last-child{border-bottom:0}#cogo-admin-visitors-r2 .av2-avatar{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;border:1px solid color-mix(in srgb,var(--av-blue) 12%,transparent);border-radius:14px;background:var(--blue-soft,#edf0ff);color:var(--av-blue);font-size:15px;font-weight:750}#cogo-admin-visitors-r2 .av2-avatar-teacher{background:color-mix(in srgb,#19a287 10%,var(--av-bg));color:#159880}#cogo-admin-visitors-r2 .av2-person-name{flex:1;min-width:0;display:flex;flex-direction:column}#cogo-admin-visitors-r2 .av2-person-name strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}#cogo-admin-visitors-r2 .av2-person-name small{font-size:11px;color:var(--av-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#cogo-admin-visitors-r2 .av2-role-tag{font-size:10px;border:1px solid var(--av-line);padding:3px 7px;border-radius:7px;color:var(--av-muted)}#cogo-admin-visitors-r2 .av2-person-time{min-width:110px;display:flex;flex-direction:column;text-align:right;gap:2px}#cogo-admin-visitors-r2 .av2-person-time b{font-size:11px;font-weight:550;color:var(--av-muted)}#cogo-admin-visitors-r2 .av2-person-time .is-online{color:#159880}#cogo-admin-visitors-r2 .av2-person-time i{margin-right:5px}#cogo-admin-visitors-r2 .av2-person-time small{font-size:10px;color:var(--av-muted);font-variant-numeric:tabular-nums}
#cogo-admin-visitors-r2 .av2-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--av-line);padding:15px 28px;background:var(--av-soft);flex-shrink:0}#cogo-admin-visitors-r2 .av2-foot p{display:flex;gap:7px;align-items:center;font-size:10px;color:var(--av-muted)}#cogo-admin-visitors-r2 .av2-foot p svg{width:15px;height:15px}#cogo-admin-visitors-r2 .av2-foot small{font-size:9px;opacity:.9}#cogo-admin-visitors-r2 .av2-pager{display:flex;align-items:center;gap:11px;white-space:nowrap}#cogo-admin-visitors-r2 .av2-pager button{width:30px;height:30px;border:1px solid var(--av-line);border-radius:9px;background:var(--av-bg);font-size:20px;padding:0}#cogo-admin-visitors-r2 .av2-pager span{font-size:11px;color:var(--av-muted);font-variant-numeric:tabular-nums}#cogo-admin-visitors-r2 .av2-empty{min-height:190px;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;color:var(--av-muted);padding:25px 12px}#cogo-admin-visitors-r2 .av2-empty>svg{width:32px;height:32px;color:var(--av-blue);opacity:.7}#cogo-admin-visitors-r2 .av2-empty b{font-size:14px;color:var(--av-ink)}#cogo-admin-visitors-r2 .av2-empty p{font-size:12px}#cogo-admin-visitors-r2 .av2-empty button{border:1px solid var(--av-line);border-radius:10px;padding:8px 12px;background:var(--av-bg);color:var(--av-blue);font-size:12px}#cogo-admin-visitors-r2 .av2-loader{width:23px;height:23px;border-radius:50%;border:2px solid var(--av-line);border-top-color:var(--av-blue);animation:av2-spin .7s linear infinite}@keyframes av2-spin{to{transform:rotate(360deg)}}
@media(max-width:600px){.cogo-ops21 .v6-heading>.av2-launch{margin-left:0;margin-right:0}#cogo-admin-visitors-r2{width:calc(100vw - 16px);height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);border-radius:20px}#cogo-admin-visitors-r2 .av2-head{padding:18px 17px 16px}#cogo-admin-visitors-r2 h2{font-size:20px}#cogo-admin-visitors-r2 .av2-mark{display:none}#cogo-admin-visitors-r2 .av2-heading small{font-size:9px}#cogo-admin-visitors-r2 .av2-overview{margin:0 16px 15px;gap:8px;grid-template-columns:1.2fr 1fr}#cogo-admin-visitors-r2 .av2-overview section{padding:13px 12px;border-radius:14px}#cogo-admin-visitors-r2 .av2-overview strong{font-size:32px}#cogo-admin-visitors-r2 .av2-overview section>span{font-size:11px}#cogo-admin-visitors-r2 .av2-overview p{font-size:9px}#cogo-admin-visitors-r2 .av2-total b{display:none}#cogo-admin-visitors-r2 .av2-toolbar{padding:0 16px}#cogo-admin-visitors-r2 .av2-tabs{gap:2px}#cogo-admin-visitors-r2 .av2-tabs button{padding:7px 9px;flex:1;gap:4px;font-size:11px}#cogo-admin-visitors-r2 .av2-refresh{width:42px;padding:0}#cogo-admin-visitors-r2 .av2-refresh span{display:none}#cogo-admin-visitors-r2 .av2-status{padding:10px 18px;font-size:10px;min-height:36px}#cogo-admin-visitors-r2 .av2-list{padding:0 16px 8px}#cogo-admin-visitors-r2 .av2-person{gap:9px;padding:12px 0}#cogo-admin-visitors-r2 .av2-avatar{width:33px;height:33px;flex-basis:33px;border-radius:11px;font-size:13px}#cogo-admin-visitors-r2 .av2-person-name strong{font-size:12px}#cogo-admin-visitors-r2 .av2-person-name small{font-size:10px}#cogo-admin-visitors-r2 .av2-role-tag{font-size:9px;padding:2px 5px}#cogo-admin-visitors-r2 .av2-person-time{min-width:76px}#cogo-admin-visitors-r2 .av2-person-time small{font-size:9px}#cogo-admin-visitors-r2 .av2-foot{padding:12px 16px;gap:8px;flex-wrap:wrap}#cogo-admin-visitors-r2 .av2-foot p{font-size:9px}#cogo-admin-visitors-r2 .av2-pager{margin-left:auto;gap:8px}}
@media(prefers-reduced-motion:reduce){#cogo-admin-visitors-r2,#cogo-admin-visitors-r2::backdrop,#cogo-admin-visitors-r2 *{animation:none!important;transition:none!important}}
/* Refined visit history: tighter summary, clear date navigation, actual faces. */
#cogo-admin-visitors-r2{height:min(720px,calc(100dvh - 40px));border-radius:24px;--av2-accent:var(--blue,#4055dc)}
#cogo-admin-visitors-r2 .av2-head{padding:22px 26px 18px;background:linear-gradient(110deg,var(--blue-soft,#edf0ff),var(--av-bg) 67%);border-bottom:1px solid var(--av-line)}
#cogo-admin-visitors-r2 .av2-mark{width:44px;height:44px;border-radius:14px;background:var(--av-bg);border:1px solid var(--av-line);box-shadow:0 4px 15px #3347b00a}
#cogo-admin-visitors-r2 .av2-heading small{font-size:9px;letter-spacing:1.6px}#cogo-admin-visitors-r2 h2{font-size:22px}#cogo-admin-visitors-r2 .av2-heading p{font-size:11px;margin-top:0}
#cogo-admin-visitors-r2 .av2-datebar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 26px;flex-shrink:0}
#cogo-admin-visitors-r2 .av2-eyebrow{font-size:10px;color:var(--av-blue);font-weight:700;letter-spacing:.2px}
#cogo-admin-visitors-r2 .av2-datebar h3{margin:2px 0 0;font-size:18px;line-height:1.4;letter-spacing:-.5px;color:var(--av-ink)}
#cogo-admin-visitors-r2 .av2-date-controls{display:flex;align-items:center;gap:6px;min-width:0}
#cogo-admin-visitors-r2 .av2-date-controls>button{border:1px solid var(--av-line);border-radius:10px;background:var(--av-bg);min-height:36px;min-width:34px;padding:5px 9px;line-height:1;font-size:20px}
#cogo-admin-visitors-r2 .av2-date-controls>.av2-today{font-size:11px;font-weight:650;color:var(--av-blue);padding:8px 12px;background:var(--blue-soft,#edf0ff);border-color:transparent}
#cogo-admin-visitors-r2 .av2-calendar{height:36px;display:flex;align-items:center;gap:8px;border:1px solid var(--av-line);background:var(--av-bg);border-radius:10px;padding:5px 10px}
#cogo-admin-visitors-r2 .av2-calendar>span{font-size:10px;color:var(--av-muted)}
#cogo-admin-visitors-r2 .av2-calendar input{appearance:auto;min-width:0;width:126px;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;margin:0!important;font-size:12px;min-height:24px;line-height:24px}
#cogo-admin-visitors-r2 .av2-calendar:focus-within{border-color:var(--av-blue);box-shadow:0 0 0 3px color-mix(in srgb,var(--av-blue) 10%,transparent)}
#cogo-admin-visitors-r2 .av2-overview{margin:0 26px 16px;gap:12px;grid-template-columns:1.3fr 1fr}
#cogo-admin-visitors-r2 .av2-overview section{padding:14px 18px;border-radius:16px}
#cogo-admin-visitors-r2 .av2-overview strong{font-size:36px;letter-spacing:-1px}
#cogo-admin-visitors-r2 .av2-overview p{margin-top:3px;font-size:10px}
#cogo-admin-visitors-r2 .av2-online{background:var(--av-bg)}
#cogo-admin-visitors-r2 .av2-online.is-history strong{font-size:25px;line-height:1.7;letter-spacing:-.5px;color:#159880}
#cogo-admin-visitors-r2 [data-av2-online-title]>svg{width:14px;height:14px;color:#159880}
#cogo-admin-visitors-r2 .av2-toolbar{padding:0 26px}
#cogo-admin-visitors-r2 .av2-tabs{gap:3px;margin-bottom:11px;border-bottom:1px solid var(--av-line);padding-bottom:10px}
#cogo-admin-visitors-r2 .av2-tabs button{min-height:33px;padding:6px 11px;font-size:11px;border-radius:8px}
#cogo-admin-visitors-r2 .av2-search{border-radius:10px;background:var(--av-soft)}#cogo-admin-visitors-r2 .av2-search input{padding:10px 0}
#cogo-admin-visitors-r2 .av2-refresh{border-radius:10px;min-height:40px;font-size:11px}
#cogo-admin-visitors-r2 .av2-status{padding:10px 28px 8px;min-height:34px}
#cogo-admin-visitors-r2 .av2-list{padding:0 26px 10px;min-height:60px}
#cogo-admin-visitors-r2 .av2-person{gap:14px;padding:10px 6px;border-radius:10px;border-bottom-color:color-mix(in srgb,var(--av-line) 70%,transparent)}
#cogo-admin-visitors-r2 .av2-person:has(.av2-profile:hover){background:var(--av-soft)}
#cogo-admin-visitors-r2 .av2-profile{display:flex;align-items:center;gap:12px;flex:1;min-width:0;text-align:left;padding:0;border:0;background:transparent;border-radius:10px;text-decoration:none}
#cogo-admin-visitors-r2 .av2-profile:hover strong{color:var(--av-blue)}
#cogo-admin-visitors-r2 .av2-profile.is-unavailable{opacity:.6}
#cogo-admin-visitors-r2 .av2-person-name strong{font-size:13px;font-weight:700}#cogo-admin-visitors-r2 .av2-person-name small{font-size:10px;margin-top:2px}
#cogo-admin-visitors-r2 .av2-role-tag{font-size:10px;border:0;background:var(--av-soft);border-radius:6px;padding:4px 8px;white-space:nowrap}
#cogo-admin-visitors-r2 .av2-person-time{min-width:75px;gap:3px}#cogo-admin-visitors-r2 .av2-person-time small{font-size:11px}
#cogo-admin-visitors-r2 .av2-row-arrow{display:grid;place-items:center;color:var(--av-muted);opacity:.6}#cogo-admin-visitors-r2 .av2-row-arrow svg{width:14px;height:14px}
#cogo-admin-visitors-r2 .av2-face{--av-face-size:44px;position:relative;display:grid;place-items:center;width:var(--av-face-size);height:var(--av-face-size);flex:0 0 var(--av-face-size);overflow:hidden;isolation:isolate;border-radius:50%;background:var(--blue-soft,#edf0ff);border:1px solid color-mix(in srgb,var(--av-blue) 13%,transparent)}
#cogo-admin-visitors-r2 .av2-face>.cogo-avatar{position:absolute!important;inset:auto!important;left:50%!important;top:calc(var(--av-face-size) * -.1)!important;width:calc(var(--av-face-size) * 2.4)!important;height:calc(var(--av-face-size) * 2.4)!important;min-width:0!important;max-width:none!important;min-height:0!important;max-height:none!important;aspect-ratio:1!important;transform:translateX(-50%)!important;pointer-events:none}
#cogo-admin-visitors-r2 .av2-face .cogo-avatar>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;transform:none!important}
#cogo-admin-visitors-r2 .av2-face .cae-skin-r1{display:none!important}
#cogo-admin-visitors-r2 .av2-foot{padding:12px 26px;background:var(--av-bg);border-top:1px solid var(--av-line)}
#cogo-admin-visitors-r2 .av2-foot p{font-size:10px}#cogo-admin-visitors-r2 .av2-foot small{font-size:9px}
@media(max-width:600px){
 #cogo-admin-visitors-r2{height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);border-radius:20px}
 #cogo-admin-visitors-r2 .av2-head{padding:15px 16px 13px}#cogo-admin-visitors-r2 .av2-heading h2{font-size:20px}#cogo-admin-visitors-r2 .av2-heading p{font-size:10px}
 #cogo-admin-visitors-r2 .av2-datebar{padding:13px 16px;flex-wrap:wrap;gap:10px}#cogo-admin-visitors-r2 .av2-datebar h3{font-size:16px}
 #cogo-admin-visitors-r2 .av2-date-controls{width:100%}#cogo-admin-visitors-r2 .av2-calendar{flex:1;justify-content:center;padding:5px 6px}#cogo-admin-visitors-r2 .av2-calendar>span{display:none}#cogo-admin-visitors-r2 .av2-calendar input{width:122px;font-size:11px}
 #cogo-admin-visitors-r2 .av2-overview{margin:0 16px 12px;gap:8px;grid-template-columns:1.15fr 1fr}#cogo-admin-visitors-r2 .av2-overview section{padding:11px 12px;border-radius:13px}#cogo-admin-visitors-r2 .av2-overview strong{font-size:29px}#cogo-admin-visitors-r2 .av2-overview p{font-size:9px;line-height:1.5}#cogo-admin-visitors-r2 .av2-overview section>span{font-size:10px}#cogo-admin-visitors-r2 .av2-online.is-history strong{font-size:21px;line-height:1.65}
 #cogo-admin-visitors-r2 .av2-toolbar{padding:0 16px}#cogo-admin-visitors-r2 .av2-tabs{gap:2px;margin-bottom:9px;padding-bottom:8px}#cogo-admin-visitors-r2 .av2-tabs button{padding:5px 7px;min-height:31px;font-size:10px}
 #cogo-admin-visitors-r2 .av2-status{padding:9px 18px 7px;min-height:31px;font-size:10px}#cogo-admin-visitors-r2 .av2-list{padding:0 16px 8px}
 #cogo-admin-visitors-r2 .av2-person{gap:7px;padding:9px 0}#cogo-admin-visitors-r2 .av2-profile{gap:8px}#cogo-admin-visitors-r2 .av2-face{--av-face-size:36px}#cogo-admin-visitors-r2 .av2-person-name strong{font-size:12px}#cogo-admin-visitors-r2 .av2-person-name small{font-size:9px}#cogo-admin-visitors-r2 .av2-role-tag{font-size:9px;padding:3px 5px}#cogo-admin-visitors-r2 .av2-person-time{min-width:59px}#cogo-admin-visitors-r2 .av2-person-time b{font-size:10px}#cogo-admin-visitors-r2 .av2-person-time small{font-size:10px}#cogo-admin-visitors-r2 .av2-row-arrow{display:none}
 #cogo-admin-visitors-r2 .av2-foot{padding:10px 16px;gap:7px}#cogo-admin-visitors-r2 .av2-foot p{font-size:9px}
}
/* First visit and acquisition extension. Retains the visitor modal's palette. */
#cogo-admin-visitors-r2{width:min(1080px,calc(100vw - 32px));height:min(900px,calc(100dvh - 32px));max-height:calc(100dvh - 32px)}
#cogo-admin-visitors-r2 [hidden]{display:none!important}
#cogo-admin-visitors-r2 .av2-head{padding:16px 26px 13px}
#cogo-admin-visitors-r2 .fv-modes{display:flex;gap:22px;margin:0 26px;border-bottom:1px solid var(--av-line);flex-shrink:0}
#cogo-admin-visitors-r2 .fv-modes button{display:flex;align-items:center;gap:6px;border:0;border-bottom:2px solid transparent;background:transparent;padding:14px 1px 12px;font-size:12px;font-weight:700;color:var(--av-muted);border-radius:0}
#cogo-admin-visitors-r2 .fv-modes button[aria-pressed=true]{border-bottom-color:var(--av-blue);color:var(--av-blue)}
#cogo-admin-visitors-r2 .fv-modes button span{font-size:8px;letter-spacing:.3px;background:var(--blue-soft,#edf0ff);border-radius:4px;padding:2px 4px}
#cogo-admin-visitors-r2 .av2-datebar{padding:13px 26px}
#cogo-admin-visitors-r2 .av2-overview{margin-bottom:12px}
#cogo-admin-visitors-r2 .av2-overview section{padding:11px 17px}
#cogo-admin-visitors-r2 .av2-overview strong{font-size:31px}
#cogo-admin-visitors-r2.fv-first .av2-online strong{font-size:26px;line-height:1.4}
#cogo-admin-visitors-r2 .av2-tabs{margin-bottom:8px;padding-bottom:6px}
#cogo-admin-visitors-r2 .fv-person{margin:0 0 9px;border:1px solid var(--av-line);border-radius:14px;background:var(--av-bg);overflow:hidden}
#cogo-admin-visitors-r2 .fv-person summary{display:flex;align-items:center;gap:12px;padding:15px;cursor:pointer;list-style:none}
#cogo-admin-visitors-r2 .fv-person summary::-webkit-details-marker{display:none}
#cogo-admin-visitors-r2 .fv-person summary:hover{background:var(--av-soft)}
#cogo-admin-visitors-r2 .fv-person summary:focus-visible{outline:3px solid var(--av-blue);outline-offset:-3px;border-radius:12px}
#cogo-admin-visitors-r2 .fv-initial{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:13px;background:var(--blue-soft,#edf0ff);color:var(--av-blue);font-weight:750}
#cogo-admin-visitors-r2 .fv-person-title{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
#cogo-admin-visitors-r2 .fv-person-title strong{font-size:13px;overflow-wrap:anywhere}
#cogo-admin-visitors-r2 .fv-person-title small{font-size:10px;color:var(--av-muted);overflow-wrap:anywhere}
#cogo-admin-visitors-r2 .fv-flow{font-size:10px;color:var(--av-ink);margin-top:5px;overflow-wrap:anywhere}
#cogo-admin-visitors-r2 .fv-flow>span{color:var(--av-muted);padding:0 2px}
#cogo-admin-visitors-r2 .fv-metrics{display:flex;gap:20px;flex-shrink:0}
#cogo-admin-visitors-r2 .fv-metrics>span{display:grid;gap:3px;min-width:76px}
#cogo-admin-visitors-r2 .fv-metrics small{font-size:9px;color:var(--av-muted)}
#cogo-admin-visitors-r2 .fv-metrics b{font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}
#cogo-admin-visitors-r2 .fv-status{font-size:9px;white-space:nowrap;padding:4px 7px;border-radius:6px;background:var(--av-soft);color:var(--av-muted)}
#cogo-admin-visitors-r2 .fv-status.observing{background:color-mix(in srgb,#179b7b 10%,var(--av-bg));color:#19866d}
#cogo-admin-visitors-r2 .fv-chevron{font-size:18px;color:var(--av-muted)}
#cogo-admin-visitors-r2 details[open] .fv-chevron{transform:rotate(180deg)}
#cogo-admin-visitors-r2 .fv-detail{padding:14px 20px 16px 65px;background:var(--av-soft);border-top:1px solid var(--av-line)}
#cogo-admin-visitors-r2 .fv-detail-head{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:10px;color:var(--av-muted)}
#cogo-admin-visitors-r2 .fv-detail-head button{border:1px solid var(--av-line);border-radius:8px;background:var(--av-bg);padding:5px 9px;font-size:10px;white-space:nowrap}
#cogo-admin-visitors-r2 .fv-timeline{list-style:none;margin:12px 0;padding:0;display:grid;gap:10px}
#cogo-admin-visitors-r2 .fv-timeline li{display:flex;align-items:center;gap:14px;font-size:12px}
#cogo-admin-visitors-r2 .fv-timeline time{font-size:10px;color:var(--av-muted);font-variant-numeric:tabular-nums}
#cogo-admin-visitors-r2 .fv-timeline li>span{display:flex;gap:10px;align-items:center}
#cogo-admin-visitors-r2 .fv-timeline i{font-style:normal;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--av-bg);border:1px solid var(--av-line);color:var(--av-blue);font-size:9px}
#cogo-admin-visitors-r2 .fv-method{font-size:10px;color:var(--av-muted);line-height:1.7}
#cogo-admin-visitors-r2 .fv-acquisition-tools{padding:10px 26px 0;flex-shrink:0}
#cogo-admin-visitors-r2 .fv-source-filters{display:flex;gap:8px}
#cogo-admin-visitors-r2 .fv-source-filters select,#cogo-admin-visitors-r2 .fv-link-builder select,#cogo-admin-visitors-r2 .fv-link-builder input{font:inherit;font-size:11px;min-width:0;color:var(--av-ink);background:var(--av-bg);border:1px solid var(--av-line);border-radius:8px;padding:7px 9px;min-height:32px}
#cogo-admin-visitors-r2 .fv-source-filters button,#cogo-admin-visitors-r2 .fv-link-copy{border:1px solid var(--av-line);border-radius:8px;padding:7px 10px;background:var(--blue-soft,#edf0ff);color:var(--av-blue);font-size:10px;white-space:nowrap;margin-left:auto}
#cogo-admin-visitors-r2 .fv-link-builder{display:grid;grid-template-columns:1fr 1.5fr auto;gap:8px;padding:12px;background:var(--av-soft);border:1px solid var(--av-line);border-radius:12px;margin-top:9px}
#cogo-admin-visitors-r2 .fv-link-builder label{display:grid;gap:5px;font-size:10px;min-width:0}
#cogo-admin-visitors-r2 .fv-link-builder label:first-child{grid-column:1}
#cogo-admin-visitors-r2 .fv-link-builder label:nth-child(2){grid-column:2/4}
#cogo-admin-visitors-r2 .fv-link-output-label{grid-column:1/3}
#cogo-admin-visitors-r2 .fv-link-copy{align-self:end}
#cogo-admin-visitors-r2 .fv-link-builder>small{grid-column:1/-1;font-size:9px;color:var(--av-muted)}
#cogo-admin-visitors-r2 .fv-source-summary{padding:15px 18px;border:1px solid var(--av-line);border-radius:13px;margin-bottom:10px;background:var(--av-soft)}
#cogo-admin-visitors-r2 .fv-source-summary header{display:flex;justify-content:space-between;gap:10px;margin-bottom:12px;font-size:12px}
#cogo-admin-visitors-r2 .fv-source-summary small{font-size:9px;color:var(--av-muted)}
#cogo-admin-visitors-r2 .fv-source-summary p{font-size:11px;color:var(--av-muted)}
#cogo-admin-visitors-r2 .fv-source-bar{display:grid;grid-template-columns:130px 1fr 40px;gap:14px;align-items:center;margin:8px 0;font-size:11px}
#cogo-admin-visitors-r2 .fv-source-bar>div{height:6px;background:var(--av-line);border-radius:8px;overflow:hidden}
#cogo-admin-visitors-r2 .fv-source-bar i{display:block;height:100%;background:var(--av-blue);border-radius:8px}
#cogo-admin-visitors-r2 .fv-source-bar b{text-align:right;font-size:10px;font-weight:600}
#cogo-admin-visitors-r2 .fv-source-note{font-size:10px;color:var(--av-muted);line-height:1.65;margin:9px 3px 12px}
#cogo-admin-visitors-r2 .fv-entry-row{display:flex;gap:18px;align-items:center;padding:13px 5px;border-bottom:1px solid var(--av-line)}
#cogo-admin-visitors-r2 .fv-device{font-size:10px;min-width:58px;border:1px solid var(--av-line);background:var(--av-soft);padding:4px 7px;border-radius:6px;text-align:center}
#cogo-admin-visitors-r2 .fv-entry-source{display:grid;gap:3px;flex:0 1 250px;min-width:0}
#cogo-admin-visitors-r2 .fv-entry-source b{font-size:12px}
#cogo-admin-visitors-r2 .fv-entry-source small{font-size:10px;color:var(--av-muted);overflow-wrap:anywhere}
#cogo-admin-visitors-r2 .fv-entry-row>button{background:none;border:0;padding:5px;color:var(--av-muted)}
@media(max-width:600px){
 #cogo-admin-visitors-r2{width:calc(100vw - 16px);height:calc(100dvh - 20px);max-height:calc(100dvh - 20px)}
 #cogo-admin-visitors-r2 .av2-head{padding:13px 16px}
 #cogo-admin-visitors-r2 .fv-modes{margin:0 16px;gap:14px;justify-content:space-between}
 #cogo-admin-visitors-r2 .fv-modes button{font-size:10px;padding:12px 0;gap:3px}
 #cogo-admin-visitors-r2 .fv-modes button span{display:none}
 #cogo-admin-visitors-r2 .av2-datebar{padding:11px 16px;gap:7px}
 #cogo-admin-visitors-r2 .av2-overview section{padding:10px 12px}
 #cogo-admin-visitors-r2 .av2-overview strong{font-size:26px}
 #cogo-admin-visitors-r2.fv-first .av2-online strong{font-size:21px}
 #cogo-admin-visitors-r2 .fv-person summary{gap:9px;padding:12px;flex-wrap:wrap}
 #cogo-admin-visitors-r2 .fv-initial{width:30px;height:30px;flex-basis:30px;font-size:12px;border-radius:10px}
 #cogo-admin-visitors-r2 .fv-person-title{flex-basis:calc(100% - 64px)}
 #cogo-admin-visitors-r2 .fv-metrics{margin-left:39px;gap:17px}
 #cogo-admin-visitors-r2 .fv-metrics>span{min-width:65px}
 #cogo-admin-visitors-r2 .fv-metrics b{font-size:11px}
 #cogo-admin-visitors-r2 .fv-status{margin-left:auto;font-size:8px}
 #cogo-admin-visitors-r2 .fv-chevron{display:none}
 #cogo-admin-visitors-r2 .fv-detail{padding:12px 14px}
 #cogo-admin-visitors-r2 .fv-acquisition-tools{padding:9px 16px 0}
 #cogo-admin-visitors-r2 .fv-source-filters{gap:5px;flex-wrap:wrap}
 #cogo-admin-visitors-r2 .fv-source-filters select{font-size:10px;padding:5px}
 #cogo-admin-visitors-r2 .fv-source-filters button{font-size:9px;padding:5px}
 #cogo-admin-visitors-r2 .fv-source-summary{padding:12px}
 #cogo-admin-visitors-r2 .fv-source-summary header{flex-direction:column;gap:3px}
 #cogo-admin-visitors-r2 .fv-source-bar{grid-template-columns:114px 1fr 30px;gap:7px;font-size:10px}
 #cogo-admin-visitors-r2 .fv-entry-row{flex-wrap:wrap;gap:8px}
 #cogo-admin-visitors-r2 .fv-entry-row .fv-person-title{flex-basis:calc(100% - 90px)}
 #cogo-admin-visitors-r2 .fv-entry-source{flex-basis:calc(100% - 32px)}
}
@media(max-height:740px){
 #cogo-admin-visitors-r2[open]{display:block;overflow:auto;overscroll-behavior:contain}
 #cogo-admin-visitors-r2 .av2-list{overflow:visible;min-height:200px}
 #cogo-admin-visitors-r2 .av2-foot{margin-top:8px}
}

/* COGO group workspace r1: restricted to the three management screens. */
#cogoGroupsPanel[data-gw1]{--gw-bg:var(--card,#fff);--gw-soft:var(--bg,#f5f7fc);--gw-text:var(--text,#20364d);--gw-muted:var(--muted,#66768c);--gw-line:var(--line,#dfe6f0);--gw-accent:#4a5be7;--gw-tint:#eef0ff;color:var(--gw-text)}
#cogoGroupsPanel[data-gw1] *{box-sizing:border-box}
#cogoGroupsPanel[data-gw1] [hidden]{display:none!important}
.teacher-group-page298:has(#cogoGroupsPanel[data-gw1]){padding:24px!important}
#cogoGroupsPanel[data-gw1]>.cogo-g-heading{gap:12px!important;align-items:center!important;margin:0 0 12px!important;padding:0 0 18px!important}
#cogoGroupsPanel[data-gw1]>.cogo-g-heading h2{font-size:clamp(18px,1.6vw,23px)!important;line-height:1.45;margin:7px 0 4px!important}
#cogoGroupsPanel[data-gw1]>.cogo-g-heading p{font-size:13px;margin:0 0 5px!important;line-height:1.55}
#cogoGroupsPanel[data-gw1]>.cogo-g-heading small{font-size:12px}
#cogoGroupsPanel[data-gw1]>.cgr-tabs{margin:0 0 24px!important;padding:0!important;gap:18px!important;min-height:42px}
#cogoGroupsPanel[data-gw1]>.cgr-tabs button{padding:10px 4px!important;min-height:42px;font-size:13px}
#cogoGroupsPanel[data-gw1] .gw-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 20px}
#cogoGroupsPanel[data-gw1] .gw-heading h3{font-size:21px;line-height:1.4;letter-spacing:-.5px;margin:0 0 5px}
#cogoGroupsPanel[data-gw1] .gw-heading p{font-size:13px;line-height:1.6;color:var(--gw-muted);margin:0}
#cogoGroupsPanel[data-gw1] .btn{border-radius:10px;min-height:40px;padding:9px 14px;font-size:13px;line-height:1.4;box-shadow:none;white-space:normal}
#cogoGroupsPanel[data-gw1] .btn.outline{color:var(--gw-text);background:var(--gw-bg);border:1px solid var(--gw-line)}
#cogoGroupsPanel[data-gw1] .gw-primary,#cogoGroupsPanel[data-gw1] [data-g-action=newclass],#cogoGroupsPanel[data-gw1] [data-g-action=member]{background:var(--gw-accent)!important;color:#fff!important;border:1px solid var(--gw-accent)!important}
#cogoGroupsPanel[data-gw1] :is(button,input,select):focus-visible{outline:3px solid #8795ff!important;outline-offset:3px!important;box-shadow:none!important}
#cogoGroupsPanel[data-gw1] button:disabled{cursor:default;opacity:.5}
#cogoGroupsPanel[data-gw1] :is(input,select){font-family:inherit;font-size:13px;border:1px solid var(--gw-line);border-radius:9px;background:var(--gw-bg);color:var(--gw-text);height:42px;min-height:42px;min-width:0;padding:9px 12px;box-shadow:none;max-width:100%}
#cogoGroupsPanel[data-gw1] input::placeholder{color:var(--gw-muted);opacity:.85}
#cogoGroupsPanel[data-gw1] .gw-status-tabs{display:flex;gap:6px;flex-wrap:wrap;width:fit-content;max-width:100%;padding:5px;margin:0 0 20px;border-radius:12px;background:var(--gw-soft);border:1px solid var(--gw-line)}
#cogoGroupsPanel[data-gw1] .gw-status-tabs button{display:flex;align-items:center;gap:8px;justify-content:center;border:0;min-height:40px;padding:8px 15px;background:transparent;color:var(--gw-muted);border-radius:8px;font-family:inherit;font-weight:600;font-size:13px}
#cogoGroupsPanel[data-gw1] .gw-status-tabs button[aria-current=page]{background:var(--gw-bg);color:var(--gw-accent);box-shadow:0 2px 6px #20364d0a}
#cogoGroupsPanel[data-gw1] .gw-status-tabs button>span{padding:2px 6px;border-radius:6px;background:var(--gw-tint);font-size:11px;min-width:21px;color:var(--gw-accent);font-weight:700}
#cogoGroupsPanel[data-gw1] .gw-list-toolbar,#cogoGroupsPanel[data-gw1] .gw-class-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 14px}
#cogoGroupsPanel[data-gw1] .gw-list-toolbar>p{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0;font-size:14px}
#cogoGroupsPanel[data-gw1] .gw-list-toolbar>p>span{font-size:12px;color:var(--gw-muted)}
#cogoGroupsPanel[data-gw1] .gw-search{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--gw-muted);min-width:0;max-width:100%}
#cogoGroupsPanel[data-gw1] .gw-search>span{white-space:nowrap}
#cogoGroupsPanel[data-gw1] .gw-search input{width:240px;max-width:100%;padding-inline:12px;height:40px;min-height:40px}
#cogoGroupsPanel[data-gw1] .gw-roster{border:1px solid var(--gw-line);border-radius:14px;overflow:hidden}
#cogoGroupsPanel[data-gw1] .gw-member-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-bottom:1px solid var(--gw-line);background:var(--gw-bg)}
#cogoGroupsPanel[data-gw1] .gw-member-row:last-child{border-bottom:0}
#cogoGroupsPanel[data-gw1] .gw-person{display:flex;align-items:center;gap:12px;min-width:0}
#cogoGroupsPanel[data-gw1] .gw-person>div{min-width:0}
#cogoGroupsPanel[data-gw1] .gw-initial{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border-radius:14px;background:var(--gw-tint);color:var(--gw-accent);font-size:17px;font-weight:750}
#cogoGroupsPanel[data-gw1] .gw-person b{display:block;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
#cogoGroupsPanel[data-gw1] .gw-person .member-link283{font-size:inherit;line-height:inherit;text-align:left;white-space:normal;overflow-wrap:anywhere;color:inherit}
#cogoGroupsPanel[data-gw1] .gw-person small{display:block;color:var(--gw-muted);font-size:11px;line-height:1.5;margin:2px 0 4px;overflow-wrap:anywhere;max-width:none}
#cogoGroupsPanel[data-gw1] .gw-class-label{display:inline-block;color:var(--gw-muted);font-size:12px;line-height:1.5;overflow-wrap:anywhere}
#cogoGroupsPanel[data-gw1] .gw-member-actions{display:flex;gap:8px;flex-wrap:wrap;flex-shrink:0;align-items:center}
#cogoGroupsPanel[data-gw1] .gw-footer{display:flex!important;gap:8px;align-items:center;margin:16px 0 0!important;padding:0!important;border:0!important;flex-wrap:wrap}
#cogoGroupsPanel[data-gw1] .gw-page-count{margin-right:auto;color:var(--gw-muted);font-size:12px}
#cogoGroupsPanel[data-gw1] .gw-empty,#cogoGroupsPanel[data-gw1] .gw-search-empty{padding:36px 20px;margin:0;text-align:center;line-height:1.7;color:var(--gw-muted);grid-column:1/-1}
#cogoGroupsPanel[data-gw1] .gw-empty strong{font-size:15px;color:var(--gw-text)}
#cogoGroupsPanel[data-gw1] .gw-empty p{margin:6px 0 0;font-size:13px}
#cogoGroupsPanel[data-gw1] .gw-class-toolbar{background:var(--gw-soft);border:1px solid var(--gw-line);border-radius:12px;padding:14px 16px}
#cogoGroupsPanel[data-gw1] .gw-class-summary{display:flex;align-items:center;gap:24px;flex-wrap:wrap}
#cogoGroupsPanel[data-gw1] .gw-class-summary>span{display:flex;align-items:baseline;gap:7px;font-size:13px}
#cogoGroupsPanel[data-gw1] .gw-class-summary b{font-size:22px;font-weight:750;color:var(--gw-accent)}
#cogoGroupsPanel[data-gw1] .gw-class-summary small{font-size:12px;color:var(--gw-muted)}
#cogoGroupsPanel[data-gw1] .gw-classes{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(240px,100%),1fr));gap:14px;margin:18px 0}
#cogoGroupsPanel[data-gw1] .gw-class-card{display:flex;flex-direction:column;align-items:stretch;padding:20px;border:1px solid var(--gw-line);border-radius:14px;background:var(--gw-bg);min-width:0}
#cogoGroupsPanel[data-gw1] .gw-class-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:16px}
#cogoGroupsPanel[data-gw1] .gw-class-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--gw-tint);color:var(--gw-accent)}
#cogoGroupsPanel[data-gw1] .gw-class-icon svg{width:21px;height:21px}
#cogoGroupsPanel[data-gw1] .gw-tag{display:inline-flex;border-radius:6px;align-items:center;padding:4px 8px;line-height:1.5;font-size:11px;font-weight:700;white-space:nowrap}
#cogoGroupsPanel[data-gw1] .gw-active{color:#19775f;background:#eaf7f0}
#cogoGroupsPanel[data-gw1] .gw-archived{color:var(--gw-muted);background:var(--gw-soft)}
#cogoGroupsPanel[data-gw1] .gw-class-card h4{font-size:17px;line-height:1.5;letter-spacing:-.3px;margin:0 0 6px;overflow-wrap:anywhere}
#cogoGroupsPanel[data-gw1] .gw-class-card p{font-size:12px;line-height:1.65;color:var(--gw-muted);margin:0 0 20px}
#cogoGroupsPanel[data-gw1] .gw-class-card .btn{margin-top:auto;text-align:center;width:100%}
#cogoGroupsPanel[data-gw1] .gw-class-card[data-active=false]{background:var(--gw-soft);border-style:dashed}
#cogoGroupsPanel[data-gw1] .gw-footnote,#cogoGroupsPanel[data-gw1] .gw-readonly{font-size:12px;color:var(--gw-muted);line-height:1.6}
#cogoGroupsPanel[data-gw1] .gw-filter{display:grid!important;grid-template-columns:minmax(220px,1.05fr) minmax(180px,1.4fr) 115px auto;align-items:end;gap:12px;padding:16px;margin:0 0 18px;background:var(--gw-soft);border:1px solid var(--gw-line);border-radius:12px}
#cogoGroupsPanel[data-gw1] .gw-filter label{display:block;font-size:12px;line-height:1.5;font-weight:650}
#cogoGroupsPanel[data-gw1] .gw-filter label>small{font-size:10px;color:var(--gw-muted);font-weight:400;margin-left:5px}
#cogoGroupsPanel[data-gw1] .gw-filter label>select{display:block;width:100%;margin-top:7px}
#cogoGroupsPanel[data-gw1] .gw-date-control{display:flex;gap:6px;margin-top:7px}
#cogoGroupsPanel[data-gw1] .gw-date-control input{flex:1;min-width:0;width:140px}
#cogoGroupsPanel[data-gw1] .gw-date-control button{flex:0 0 auto;padding:8px 11px}
#cogoGroupsPanel[data-gw1] .gw-filter>.btn{height:42px;min-width:74px}
#cogoGroupsPanel[data-gw1] .gw-attendance-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0 0 24px}
#cogoGroupsPanel[data-gw1] .gw-stat{border:1px solid var(--gw-line);border-radius:12px;padding:14px 16px;background:var(--gw-bg);--status-color:#79869b}
#cogoGroupsPanel[data-gw1] [data-status=present]{--status-color:#16816a}
#cogoGroupsPanel[data-gw1] [data-status=late]{--status-color:#ab710b}
#cogoGroupsPanel[data-gw1] [data-status=absent]{--status-color:#ce5465}
#cogoGroupsPanel[data-gw1] [data-status=excused]{--status-color:#6b61cc}
#cogoGroupsPanel[data-gw1] .gw-stat>span{display:flex;align-items:center;gap:7px;font-size:12px;line-height:1.5;color:var(--gw-muted);margin-bottom:8px}
#cogoGroupsPanel[data-gw1] .gw-stat i{width:6px;height:6px;border-radius:50%;background:var(--status-color);flex-shrink:0}
#cogoGroupsPanel[data-gw1] .gw-stat strong{font-size:25px;line-height:1.1;letter-spacing:-.6px;font-weight:750}
#cogoGroupsPanel[data-gw1] .gw-stat>small{font-size:11px;color:var(--gw-muted);margin-left:5px}
#cogoGroupsPanel[data-gw1] .gw-attendance-table{border:1px solid var(--gw-line);border-radius:14px;margin:0 0 16px;overflow:hidden}
#cogoGroupsPanel[data-gw1] .gw-attendance-table table{table-layout:fixed;width:100%;min-width:0;text-align:left;border-collapse:collapse}
#cogoGroupsPanel[data-gw1] .gw-attendance-table th{background:var(--gw-soft);color:var(--gw-muted);font-size:12px;font-weight:600;padding:12px 16px;border-bottom:1px solid var(--gw-line)}
#cogoGroupsPanel[data-gw1] .gw-attendance-table th:nth-child(1){width:30%}
#cogoGroupsPanel[data-gw1] .gw-attendance-table th:nth-child(2){width:145px}
#cogoGroupsPanel[data-gw1] .gw-attendance-table th:last-child{width:112px}
#cogoGroupsPanel[data-gw1] .gw-attendance-table td{padding:16px;vertical-align:middle;border-bottom:1px solid var(--gw-line)}
#cogoGroupsPanel[data-gw1] .gw-attendance-table tr:last-child td{border-bottom:0}
#cogoGroupsPanel[data-gw1] .gw-attendance-table select{width:100%;border-left:3px solid var(--status-color,#8792a7)}
#cogoGroupsPanel[data-gw1] .gw-attendance-table input{width:100%;min-width:0}
#cogoGroupsPanel[data-gw1] .gw-save-cell{text-align:center}
#cogoGroupsPanel[data-gw1] .gw-save-cell>small{font-size:11px;color:var(--gw-muted);margin-top:5px;overflow-wrap:anywhere}
#cogoGroupsPanel[data-gw1] .gw-save-cell>small[data-state=error]{color:#c34a56}
#cogoGroupsPanel[data-gw1] .gw-save-cell>small[data-state=saved]{color:#16816a}
#cogoGroupsPanel[data-gw1] tr[data-dirty=true] [data-g-action=mark]{background:var(--gw-accent);border-color:var(--gw-accent);color:#fff}
#cogoGroupsPanel[data-gw1] .gw-optional{font-size:10px;font-weight:400;margin-left:4px}
#cogoGroupsPanel[data-gw1] .gw-help{font-size:12px;color:var(--gw-muted);line-height:1.7;margin-top:16px}
#cogoGroupsPanel[data-gw1] .gw-help summary{cursor:pointer;width:fit-content}
#cogoGroupsPanel[data-gw1] .gw-help p{max-width:800px;margin:8px 0}
.gw-sr-only{position:absolute!important;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}
html[data-theme=dark] #cogoGroupsPanel[data-gw1]{--gw-bg:#19243a;--gw-soft:#141f33;--gw-text:#e7edfa;--gw-muted:#a3b2cb;--gw-line:#34415b;--gw-accent:#9ba8ff;--gw-tint:#30395b}
html[data-theme=dark] #cogoGroupsPanel[data-gw1] :is(.gw-primary,[data-g-action=newclass],[data-g-action=member],tr[data-dirty=true] [data-g-action=mark]){color:#111e3c!important}
html[data-theme=dark] #cogoGroupsPanel[data-gw1] .gw-active{background:#193e39;color:#87d6bd}
html[data-theme=dark] #cogoGroupsPanel[data-gw1] .gw-save-cell>small[data-state=saved]{color:#87d6bd}
html[data-theme=dark] #cogoGroupsPanel[data-gw1] .gw-save-cell>small[data-state=error]{color:#ffadb8}
@media(max-width:1000px){#cogoGroupsPanel[data-gw1] .gw-filter{grid-template-columns:1fr 1fr}#cogoGroupsPanel[data-gw1] .gw-filter>label:nth-child(3){max-width:none}#cogoGroupsPanel[data-gw1] .gw-filter>.btn{justify-self:end;min-width:100px}#cogoGroupsPanel[data-gw1] .gw-attendance-table th:nth-child(1){width:29%}#cogoGroupsPanel[data-gw1] .gw-attendance-table th:nth-child(2){width:122px}#cogoGroupsPanel[data-gw1] .gw-attendance-table :is(th,td){padding:12px}}
@media(max-width:700px){.teacher-group-page298:has(#cogoGroupsPanel[data-gw1]){padding:16px!important}#cogoGroupsPanel[data-gw1]>.cogo-g-heading{padding-bottom:14px!important}#cogoGroupsPanel[data-gw1]>.cogo-g-heading>div:first-child{flex-basis:100%}#cogoGroupsPanel[data-gw1]>.cogo-g-heading>.btn{flex:1 1 auto}#cogoGroupsPanel[data-gw1] .gw-heading{align-items:flex-start;gap:12px}#cogoGroupsPanel[data-gw1] .gw-heading h3{font-size:19px}#cogoGroupsPanel[data-gw1] .gw-heading>button{flex-shrink:0}#cogoGroupsPanel[data-gw1] .gw-heading p{font-size:12px}#cogoGroupsPanel[data-gw1] .gw-filter{grid-template-columns:minmax(0,1fr);gap:14px;padding:14px}#cogoGroupsPanel[data-gw1] .gw-filter>.btn{width:100%;justify-self:stretch}#cogoGroupsPanel[data-gw1] .gw-attendance-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:20px}#cogoGroupsPanel[data-gw1] .gw-stat{padding:12px 10px}#cogoGroupsPanel[data-gw1] .gw-stat strong{font-size:22px}#cogoGroupsPanel[data-gw1] .gw-stat>span{font-size:11px;gap:5px}#cogoGroupsPanel[data-gw1] .gw-list-toolbar{align-items:flex-start;gap:12px}#cogoGroupsPanel[data-gw1] .gw-list-toolbar>p{gap:5px;flex-direction:column;align-items:flex-start}#cogoGroupsPanel[data-gw1] .gw-search{width:100%;flex-direction:column;align-items:flex-start;gap:5px}#cogoGroupsPanel[data-gw1] .gw-search input{width:100%}#cogoGroupsPanel[data-gw1] .gw-status-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}#cogoGroupsPanel[data-gw1] .gw-status-tabs button{padding:9px 8px}#cogoGroupsPanel[data-gw1] .gw-member-row{align-items:stretch;flex-direction:column;gap:14px;padding:16px}#cogoGroupsPanel[data-gw1] .gw-member-actions>.btn{flex:1}#cogoGroupsPanel[data-gw1] .gw-attendance-table table,#cogoGroupsPanel[data-gw1] .gw-attendance-table tbody{display:block}#cogoGroupsPanel[data-gw1] .gw-attendance-table thead{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}#cogoGroupsPanel[data-gw1] .gw-attendance-table tr{display:grid;grid-template-columns:minmax(0,1fr);padding:16px;border-bottom:1px solid var(--gw-line);gap:12px}#cogoGroupsPanel[data-gw1] .gw-attendance-table tr:last-child{border:0}#cogoGroupsPanel[data-gw1] .gw-attendance-table td{display:block;padding:0;border:0;min-width:0}#cogoGroupsPanel[data-gw1] .gw-attendance-table td[data-label]:before{content:attr(data-label);display:block;font-size:11px;color:var(--gw-muted);margin-bottom:5px}#cogoGroupsPanel[data-gw1] .gw-save-cell{display:flex!important;align-items:center;justify-content:flex-end;gap:10px}#cogoGroupsPanel[data-gw1] .gw-save-cell>small{order:-1;flex:1;text-align:left;margin:0}#cogoGroupsPanel[data-gw1] .gw-save-cell>.btn{min-width:90px}#cogoGroupsPanel[data-gw1] .gw-class-summary{gap:16px}#cogoGroupsPanel[data-gw1] .gw-footer{gap:7px}#cogoGroupsPanel[data-gw1] .gw-page-count{flex-basis:100%;margin-bottom:3px}}
@media(prefers-reduced-motion:reduce){#cogoGroupsPanel[data-gw1] *{animation:none!important;transition:none!important}}

#cogoGroupsPanel[data-gw1]>.cogo-g-heading>div:first-child{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:10px;row-gap:4px}
#cogoGroupsPanel[data-gw1]>.cogo-g-heading>div:first-child>.badge{grid-column:1;align-self:start;margin-top:3px}
#cogoGroupsPanel[data-gw1]>.cogo-g-heading h2{grid-column:2;margin:0!important}
#cogoGroupsPanel[data-gw1]>.cogo-g-heading :is(p,small){grid-column:2}
html[data-theme=dark] .teacher-group-page298:has(#cogoGroupsPanel[data-gw1]){background:#19243a!important;border-color:#34415b!important}
html[data-theme=dark] #cogoGroupsPanel[data-gw1]>.cogo-g-heading{border-color:#34415b}
html[data-theme=dark] #cogoGroupsPanel[data-gw1]>.cgr-tabs{background:transparent!important;border-color:#34415b}
html[data-theme=dark] #cogoGroupsPanel[data-gw1] :is(.gw-heading h3,.cogo-g-heading h2){color:var(--gw-text)}
html[data-theme=dark] #cogoGroupsPanel[data-gw1] .cogo-g-heading :is(p,small){color:var(--gw-muted)}
html[data-theme=dark] #cogoGroupsPanel[data-gw1] .cgr-tabs button[aria-selected=true]{color:var(--gw-accent)!important;border-bottom-color:var(--gw-accent)!important}
@media(min-width:701px){#cogoGroupsPanel[data-gw1] .gw-attendance-table td{padding:13px 16px}#cogoGroupsPanel[data-gw1] .gw-attendance-table .gw-person small{display:inline;margin:0 8px 0 0}#cogoGroupsPanel[data-gw1] .gw-attendance-table .gw-class-label{font-size:11px}#cogoGroupsPanel[data-gw1] .gw-attendance-table .gw-initial{width:38px;height:38px;flex-basis:38px;border-radius:12px}}

/* COGO_GROWTH_PRACTICE_R1_STYLE: scoped to the growth CTA and its practice guide. */
.gp-home-r1{position:relative;z-index:1;margin-top:18px}.cg-growth-r1 .gp-start-r1{display:flex;align-items:center;gap:13px;width:100%;min-height:86px;padding:15px 18px;border:1px solid #30938b;border-radius:18px;background:linear-gradient(125deg,#12736e,#166b78);box-shadow:0 6px 0 #0c514f,0 12px 24px #146d7024;color:#fff;text-align:left;cursor:pointer;isolation:isolate;transition:transform .16s,box-shadow .16s,filter .16s;font:inherit}.gp-start-r1:hover{filter:brightness(1.07);transform:translateY(-1px)}.gp-start-r1:active{transform:translateY(3px);box-shadow:0 3px 0 #0c514f,0 6px 14px #146d7020}.gp-start-r1:focus-visible,.gp-report-r1:focus-visible,.gp-finish-r1 button:focus-visible{outline:3px solid #3aaea2;outline-offset:5px}.gp-start-r1:disabled{cursor:wait;filter:saturate(.7);transform:none}.gp-symbol-r1{display:grid;place-items:center;width:49px;height:49px;flex-shrink:0;border:1px solid #c9efe650;border-radius:14px;background:#edfff11a;color:#e0ffc5}.gp-symbol-r1 svg{width:32px;height:32px}.gp-copy-r1{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.gp-copy-r1 strong{font-size:25px;font-weight:850;line-height:1.2;letter-spacing:-.7px}.gp-copy-r1 small{font-size:12px;line-height:1.5;font-weight:550;color:#d6edea;word-break:keep-all}.gp-arrow-r1{font-size:25px;font-weight:400;color:#d5f3d7;flex-shrink:0}.cg-growth-r1 .gp-home-r1 .gp-hint-r1{margin:17px 3px 0!important;font-size:11px;line-height:1.65;text-align:center;color:var(--cg-muted,#57716d);word-break:keep-all}.cg-growth-r1 .cg-continue-r1.gp-report-r1{display:flex;justify-content:center;gap:10px;min-height:40px;margin:8px 0 0;padding:7px 10px;border:0;box-shadow:none;background:transparent;color:var(--cg-muted,#506c67);font-size:12px;font-weight:650}.gp-status-r1,[data-gp-status-r1]{font-size:12px;line-height:1.6;word-break:keep-all}.gp-status-r1{color:var(--cg-muted,#506c67);margin:10px 3px!important;text-align:center}[data-gp-status-r1][hidden]{display:none!important}.gp-guide-r1{display:flex;align-items:center;gap:11px;padding:13px 16px;margin:16px 0;border:1px solid #c9e4dc;border-radius:14px;background:#eff8f4;color:#24675c}.gp-guide-r1 strong{font-size:13px;line-height:1.6}.gp-guide-r1 p{font-size:12px;line-height:1.6;margin:2px 0 0;color:#52746b}.gp-guide-mark-r1{width:32px;height:32px;flex-shrink:0}.gp-guide-mark-r1 svg{width:100%;height:100%}.gp-finish-r1{text-align:center;padding:15px 5px 6px}.gp-finish-symbol-r1{display:grid;place-items:center;width:66px;height:66px;margin:0 auto 19px;border-radius:21px;background:#eaf6ee;color:#16776b}.gp-finish-symbol-r1 svg{width:40px;height:40px}.gp-finish-r1 h3{font-size:21px;line-height:1.5;margin:0 0 10px}.gp-finish-r1 p{max-width:390px;margin:0 auto 22px;line-height:1.8;color:var(--muted,#6c7789);word-break:keep-all}.gp-finish-r1>div{display:flex;justify-content:center;align-items:center;gap:9px;flex-wrap:wrap}.gp-finish-r1 button{min-height:46px}.gp-finish-r1 [data-gp-status-r1]{margin:15px 0 0;color:var(--text,#334155)}
[data-theme=dark] .gp-hint-r1,[data-theme=dark] .gp-status-r1,[data-theme=dark] .cg-growth-r1 .gp-report-r1{color:#a9c5bd}[data-theme=dark] .gp-guide-r1{background:#1c3633;border-color:#38554e;color:#b6e5d2}[data-theme=dark] .gp-guide-r1 p{color:#a0beb5}[data-theme=dark] .gp-finish-symbol-r1{background:#26453d;color:#b6e5d2}
@media(max-width:420px){.cg-growth-r1 .gp-start-r1{padding:14px;gap:10px}.gp-symbol-r1{width:44px;height:44px}.gp-copy-r1 strong{font-size:24px}.gp-copy-r1 small{font-size:11px}.gp-finish-r1>div{flex-direction:column}.gp-finish-r1>div button{width:100%}}
@media(prefers-reduced-motion:reduce){.cg-growth-r1 .gp-start-r1{transition:none;transform:none}}
/* The legacy home grid gives the avatar stage a zero flex basis on narrow screens. */
html body #main .sh-workspace-r2 .cg-growth-r1:has(.gp-home-r1) .cg-stage-r1{flex:1 0 auto;min-height:244px}
@media(max-width:1199px),(max-height:649px){html body #main .sh-workspace-r2 .cg-growth-r1:has(.gp-home-r1) .cg-stage-r1{min-height:156px}}
@media(max-width:760px){html body #main .sh-workspace-r2 .cg-growth-r1:has(.gp-home-r1) .cg-stage-r1{min-height:112px}}
@media(min-width:1200px) and (min-height:650px) and (max-height:850px){html body #main .sh-workspace-r2 .cg-growth-r1:has(.gp-home-r1) .cg-stage-r1{min-height:114px}html body[data-view=home] #main:has(.gp-home-r1)>.page{min-height:690px!important;flex:1 0 auto!important}}
@media(min-width:1200px) and (min-height:650px) and (max-height:710px){html body #main .sh-workspace-r2 .cg-growth-r1:has(.gp-home-r1) .cg-stage-r1{min-height:96px}}

/* COGO_GROWTH_DESIGN_R2: same challenge behavior, tier-aware composition. */
html body #main .sh-workspace-r2 .home-rank9.cg-growth-r1:has(.gp-home-r2){--gp-button-bg:linear-gradient(115deg,var(--cg-accent),var(--cg-second));--gp-button-ink:#1b2b46;box-sizing:border-box;display:flex!important;flex-direction:column;justify-content:flex-start;gap:14px;padding:22px!important;min-height:0!important;height:100%;}
html body #main .sh-workspace-r2 .home-rank9.cg-growth-r1[data-growth-tier=begin]:has(.gp-home-r2){--gp-button-bg:linear-gradient(115deg,#6172ce,#4f5fb7);--gp-button-ink:#fff;}
html body #main .sh-workspace-r2 .cg-growth-r1:has(.gp-home-r2) .cg-heading-r1{flex:none;gap:10px;}
html body #main .sh-workspace-r2 .cg-growth-r1:has(.gp-home-r2) .cg-stage-r1{display:flex;flex-direction:row;align-items:center;justify-content:center;flex:1 0 auto;min-height:116px;gap:22px;text-align:left;}
html body #main .sh-workspace-r2 .cg-growth-r1:has(.gp-home-r2) .cg-medallion-r1{width:104px;height:116px;flex:none;margin:0;}
html body #main .sh-workspace-r2 .cg-growth-r1:has(.gp-home-r2) .cg-medallion-r1>.cg-medal-art-r1{width:104px;height:104px;left:0;}
html body #main .sh-workspace-r2 .cg-growth-r1:has(.gp-home-r2) .cg-avatar-r1{width:66px;height:66px;margin-top:18px;}
html body #main .sh-workspace-r2 .cg-growth-r1:has(.gp-home-r2) .cg-avatar-r1>.cogo-avatar{width:64px!important;height:64px!important;}
html body #main .sh-workspace-r2 .cg-growth-r1:has(.gp-home-r2) .cg-level-r1{font-size:10px;padding:4px 8px;bottom:0;}
html body #main .sh-workspace-r2 .cg-growth-r1:has(.gp-home-r2) .cg-identity-r1{min-width:0;text-align:left;}
html body #main .sh-workspace-r2 .cg-growth-r1:has(.gp-home-r2) .cg-identity-r1 h3{font-size:29px;line-height:1.35;}
html body #main .sh-workspace-r2 .cg-growth-r1:has(.gp-home-r2) .cg-motto-r1{font-size:11px;line-height:1.6;}
html body #main .sh-workspace-r2 .cg-growth-r1:has(.gp-home-r2) .cg-stats-r1{flex:none;grid-template-columns:1fr 1fr;gap:16px;margin:0;}
html body #main .sh-workspace-r2 .cg-growth-r1:has(.gp-home-r2) .cg-stats-r1>div+div{padding-left:16px;}
html body #main .sh-workspace-r2 .cg-growth-r1:has(.gp-home-r2) .cg-stats-r1 strong{font-size:23px;line-height:1.35;}
html body #main .sh-workspace-r2 .cg-growth-r1:has(.gp-home-r2) .cg-progress-r1{flex:none;}
html body #main .sh-workspace-r2 .cg-growth-r1 .gp-home-r2{flex:none;min-width:0;margin:0;padding-top:4px;}
html body #main .sh-workspace-r2 .cg-growth-r1 .gp-home-r2 .gp-start-r1{box-sizing:border-box;display:flex;align-items:center;gap:16px;width:100%;min-height:94px;padding:18px 21px;border:1px solid color-mix(in srgb,var(--cg-accent) 60%,transparent);border-radius:16px;background:var(--gp-button-bg);color:var(--gp-button-ink);box-shadow:inset 0 1px 0 #ffffff24,0 6px 18px #182c6512;text-align:left;transform:none;transition:filter .16s,box-shadow .16s,transform .16s;}
html body #main .sh-workspace-r2 .cg-growth-r1 .gp-home-r2 .gp-start-r1:hover{filter:brightness(1.035);box-shadow:inset 0 1px 0 #ffffff30,0 8px 20px #182c6520;transform:translateY(-1px);}
html body #main .sh-workspace-r2 .cg-growth-r1 .gp-home-r2 .gp-start-r1:active{transform:translateY(0);box-shadow:inset 0 1px 4px #172b4f20;}
html body #main .sh-workspace-r2 .cg-growth-r1 .gp-home-r2 .gp-start-r1:disabled{filter:saturate(.75);transform:none;cursor:wait;}
html body #main .sh-workspace-r2 .cg-growth-r1 .gp-home-r2 .gp-symbol-r1{width:46px;height:46px;display:grid;place-items:center;border:1px solid color-mix(in srgb,var(--gp-button-ink) 20%,transparent);background:color-mix(in srgb,var(--gp-button-ink) 8%,transparent);color:inherit;border-radius:13px;}
html body #main .sh-workspace-r2 .cg-growth-r1 .gp-home-r2 .gp-symbol-r1 svg{width:29px;height:29px;}
html body #main .sh-workspace-r2 .cg-growth-r1 .gp-home-r2 .gp-copy-r1{gap:5px;}
html body #main .sh-workspace-r2 .cg-growth-r1 .gp-home-r2 .gp-copy-r1 strong{font-size:26px;line-height:1.15;font-weight:800;letter-spacing:-.8px;}
html body #main .sh-workspace-r2 .cg-growth-r1 .gp-home-r2 .gp-copy-r1 small{color:inherit;opacity:.86;font-size:12px;line-height:1.5;font-weight:500;}
html body #main .sh-workspace-r2 .cg-growth-r1 .gp-home-r2 .gp-arrow-r1{display:grid;place-items:center;width:32px;height:32px;border:1px solid color-mix(in srgb,var(--gp-button-ink) 20%,transparent);border-radius:50%;color:inherit;}
html body #main .sh-workspace-r2 .cg-growth-r1 .gp-home-r2 .gp-arrow-r1 svg{width:19px;height:19px;}
html body #main .sh-workspace-r2 .cg-growth-r1 .gp-home-r2 .gp-footer-r2{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding-top:9px;}
html body #main .sh-workspace-r2 .cg-growth-r1 .gp-home-r2 .gp-hint-r1{flex:1;min-width:0;margin:0!important;padding:0;color:var(--cg-muted);font-size:11px;line-height:1.65;text-align:left;overflow-wrap:anywhere;}
html body #main .sh-workspace-r2 .cg-growth-r1 .gp-home-r2 .gp-report-r1{width:auto;min-height:32px;flex:none;margin:0;padding:5px 0 5px 8px;gap:6px;border:0;border-radius:6px;background:transparent;box-shadow:none;color:var(--cg-muted);font-size:11px;font-weight:650;line-height:1.5;}
html body #main .sh-workspace-r2 .cg-growth-r1 .gp-home-r2 .gp-report-r1:hover{color:var(--cg-ink);}
html body #main .sh-workspace-r2 .cg-growth-r1 .gp-home-r2 .gp-status-r1{margin:6px 0 0!important;font-size:11px;text-align:left;line-height:1.65;color:var(--cg-muted);}
html body #main .sh-workspace-r2 .cg-growth-r1 .gp-home-r2 button:focus-visible{outline:3px solid var(--cg-accent);outline-offset:4px;}
/* Short windows reserve enough space for the entire CTA, with normal page scrolling. */
@media(min-width:1200px) and (min-height:650px) and (max-height:850px){
 html body #main .sh-workspace-r2 .home-rank9.cg-growth-r1:has(.gp-home-r2){padding:16px!important;gap:10px;}
 html body #main .sh-workspace-r2 .cg-growth-r1:has(.gp-home-r2) .cg-stage-r1{min-height:104px;gap:16px;}
 html body #main .sh-workspace-r2 .cg-growth-r1:has(.gp-home-r2) .cg-medallion-r1{width:94px;height:104px;}
 html body #main .sh-workspace-r2 .cg-growth-r1:has(.gp-home-r2) .cg-medallion-r1>.cg-medal-art-r1{width:94px;height:94px;}
 html body #main .sh-workspace-r2 .cg-growth-r1:has(.gp-home-r2) .cg-avatar-r1{width:60px;height:60px;margin-top:15px;}
 html body #main .sh-workspace-r2 .cg-growth-r1:has(.gp-home-r2) .cg-avatar-r1>.cogo-avatar{width:58px!important;height:58px!important;}
 html body #main .sh-workspace-r2 .cg-growth-r1:has(.gp-home-r2) .cg-identity-r1 h3{font-size:25px;}
 html body #main .sh-workspace-r2 .cg-growth-r1:has(.gp-home-r2) .cg-stats-r1 strong{font-size:21px;}
 html body #main .sh-workspace-r2 .cg-growth-r1 .gp-home-r2 .gp-start-r1{min-height:86px;padding:14px 18px;}
}
@media(max-width:1199px),(max-height:649px){html body #main .sh-workspace-r2 .home-rank9.cg-growth-r1:has(.gp-home-r2){height:auto;}}
@media(max-width:760px){
 html body #main .sh-workspace-r2 .home-rank9.cg-growth-r1:has(.gp-home-r2){padding:18px!important;gap:14px;}
 html body #main .sh-workspace-r2 .cg-growth-r1:has(.gp-home-r2) .cg-stage-r1{flex:none;gap:16px;}
 html body #main .sh-workspace-r2 .cg-growth-r1:has(.gp-home-r2) .cg-identity-r1 h3{font-size:26px;}
 html body #main .sh-workspace-r2 .cg-growth-r1 .gp-home-r2 .gp-start-r1{min-height:90px;padding:17px 16px;gap:12px;}
 html body #main .sh-workspace-r2 .cg-growth-r1 .gp-home-r2 .gp-copy-r1 strong{font-size:25px;}
 html body #main .sh-workspace-r2 .cg-growth-r1 .gp-home-r2 .gp-copy-r1 small{font-size:11px;}
 html body #main .sh-workspace-r2 .cg-growth-r1 .gp-home-r2 .gp-symbol-r1{width:40px;height:40px;border-radius:11px;}
 html body #main .sh-workspace-r2 .cg-growth-r1 .gp-home-r2 .gp-arrow-r1{width:28px;height:28px;}
}
@media(max-width:350px){html body #main .sh-workspace-r2 .cg-growth-r1 .gp-home-r2 .gp-start-r1{padding-inline:12px;gap:9px;}html body #main .sh-workspace-r2 .cg-growth-r1 .gp-home-r2 .gp-symbol-r1{width:35px;height:38px;}html body #main .sh-workspace-r2 .cg-growth-r1 .gp-home-r2 .gp-copy-r1 strong{font-size:24px;}}
@media(prefers-reduced-motion:reduce){html body #main .sh-workspace-r2 .cg-growth-r1 .gp-home-r2 .gp-start-r1{transition:none;transform:none;}}

/* Let the grid's minimum size come from its actual contents, including wrapped text. */
@media(min-width:1200px) and (min-height:650px){
 html body[data-view=home] #main:has(.gp-home-r2)>.page{min-height:min-content!important;flex:1 0 auto!important;}
 html body[data-view=home] #main .home9.sh-workspace-r2:has(.gp-home-r2){height:auto!important;min-height:min-content!important;flex:1 0 auto!important;}
 html body #main .sh-workspace-r2:has(.gp-home-r2) .sh-grid-r2{min-height:min-content;flex:1 0 auto;}
 html body #main .sh-workspace-r2 .home-rank9.cg-growth-r1:has(.gp-home-r2){min-height:min-content!important;}
}

/* COGO_GROWTH_FULL_AVATAR_R3: equipped scene, compact dashboard, no cropped face. */
html body #main .sh-workspace-r2 .home-rank9.cg-growth-r1.cg-full-r3{padding:18px!important;gap:12px;min-height:0!important;}
html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .cg-scene-r3{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:center;gap:16px;flex:1 1 0;min-height:0;}
html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .cg-look-r3{position:relative;display:grid;place-items:center;min-width:0;min-height:0;width:100%;height:100%;border:1px solid var(--cg-line);border-radius:18px;background:linear-gradient(145deg,var(--cg-soft),transparent);isolation:isolate;container-type:size;}
html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .cg-whole-r3{position:relative!important;inset:auto!important;width:min(100cqw,100cqh,220px)!important;height:min(100cqw,100cqh,220px)!important;max-height:100%!important;aspect-ratio:1!important;min-width:0!important;min-height:0!important;max-width:100%!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;transform:none!important;animation:none!important;background:none!important;overflow:visible!important;}
html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .cg-whole-r3>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;max-width:none!important;max-height:none!important;transform:none!important;border-radius:0!important;}
html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .cg-whole-r3>.cae-art-r1{inset:0!important;}
html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .cg-summary-r3{min-width:0;display:flex;flex-direction:column;gap:16px;}
html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .cg-labels-r3{display:flex;align-items:center;flex-wrap:wrap;gap:7px;}
html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .cg-tag-r1{font-size:9px;letter-spacing:.09em;}
html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .cg-level-r3{font-size:10px;line-height:1.4;color:var(--cg-muted);font-weight:650;}
html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .cg-identity-r1 h3{font-size:29px;line-height:1.4;}
html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .cg-motto-r1{font-size:10px;line-height:1.6;word-break:keep-all;}
html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .cg-stats-r1{display:grid;grid-template-columns:1fr;gap:9px;padding:0;margin:0;}
html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .cg-stats-r1>div{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:2px 5px;border:0;padding:0;}
html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .cg-stats-r1>div+div{border:0;padding:0;}
html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .cg-stats-r1 span{font-size:10px;line-height:1.5;}
html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .cg-stats-r1 strong{font-size:20px;line-height:1.3;overflow-wrap:anywhere;}
html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .cg-stats-r1 small{font-size:9px;margin-left:3px;}
html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .gp-home-r2{padding-top:0;}
html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .gp-start-r1{min-height:90px;}
/* The dashboard consumes the available height. No scrollbar is concealed. */
@media(min-width:1024px) and (min-height:650px){
 html body[data-view=home] #main.content:has(.cg-full-r3){height:calc(100dvh - 64px)!important;min-height:0!important;box-sizing:border-box;display:flex!important;flex-direction:column!important;padding:18px 28px 10px!important;row-gap:12px!important;overflow:auto!important;scrollbar-gutter:auto;}
 html body[data-view=home] #main:has(.cg-full-r3)>.page{min-height:0!important;flex:1 1 0!important;}
 html body[data-view=home] #main:has(.cg-full-r3)>.page{height:auto!important;padding-bottom:0!important;display:flex!important;flex-direction:column!important;}
 html body[data-view=home] #main .home9.sh-workspace-r2:has(.cg-full-r3){min-height:0!important;height:100%!important;flex:1 1 0!important;}
 html body #main .sh-workspace-r2:has(.cg-full-r3) .sh-grid-r2{min-height:0;flex:1 1 0;display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr) 96px 56px 76px;gap:var(--sh-gap);}
 html body #main .sh-workspace-r2:has(.cg-full-r3) .home-top9{display:contents!important;}
 html body #main .sh-workspace-r2:has(.cg-full-r3) .challenge-hero9{grid-column:1;grid-row:1;min-height:0;}
 html body #main .sh-workspace-r2:has(.cg-full-r3) .home-rank9{grid-column:2;grid-row:1/4;}
 html body #main .sh-workspace-r2:has(.cg-full-r3) .home-subject-block9{grid-column:1;grid-row:2;}
 html body #main .sh-workspace-r2:has(.cg-full-r3) .home-mission9{grid-column:1;grid-row:3;}
 html body #main .sh-workspace-r2:has(.cg-full-r3) .home-bottom9{grid-column:1/-1;grid-row:4;min-height:0;}
 html body #main .sh-workspace-r2:has(.cg-full-r3) .home-subjects9>button{min-height:0;}
 html body #main .sh-workspace-r2 .home-rank9.cg-growth-r1.cg-full-r3{min-height:0!important;}
}
@media(min-width:1024px) and (min-height:650px) and (max-height:850px){
 html body #main .sh-workspace-r2:has(.cg-full-r3){--sh-gap:10px;}
 html body #main .sh-workspace-r2:has(.cg-full-r3) .home-head9 h1{font-size:23px;line-height:1.3;}
 html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .cg-heading-r1 h2{font-size:14px;}
 html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .cg-progress-r1>div:first-child{font-size:10px;}
 html body[data-view=home] #main.content:has(.cg-full-r3){padding:12px 24px 8px!important;row-gap:8px!important;}
 html body #main .sh-workspace-r2 .home-rank9.cg-growth-r1.cg-full-r3{padding:14px!important;gap:9px;}
 html body #main .sh-workspace-r2:has(.cg-full-r3) .sh-grid-r2{grid-template-rows:minmax(0,1fr) 84px 52px 68px;}
 html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .cg-scene-r3{gap:12px;}
 html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .cg-summary-r3{gap:10px;}
 html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .cg-identity-r1 h3{font-size:24px;}
 html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .cg-stats-r1{gap:5px;}
 html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .cg-stats-r1 strong{font-size:18px;}
 html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .gp-home-r2 .gp-start-r1{min-height:80px;padding:12px 16px;}
 html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .gp-home-r2 .gp-footer-r2{padding-top:5px;gap:8px;}
}
@media(min-width:1024px) and (min-height:650px) and (max-height:710px){
 html body #main .sh-workspace-r2:has(.cg-full-r3){--sh-gap:8px;}
 html body #main .sh-workspace-r2:has(.cg-full-r3) .home-head9 h1{font-size:20px;}
 html body #main .sh-workspace-r2 .home-rank9.cg-growth-r1.cg-full-r3{padding:10px!important;gap:6px;}
 html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .cg-summary-r3{gap:5px;}
 html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .cg-identity-r1 h3{font-size:22px;}
 html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .cg-motto-r1{display:none;}
 html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .cg-identity-r1 h3{padding:0;line-height:1.25;}
 html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .cg-stats-r1>div{line-height:1.2;}
 html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .cg-stats-r1{grid-template-columns:1fr 1fr;gap:8px;}
 html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .cg-stats-r1>div{flex-direction:column;align-items:flex-start;gap:2px;}
 html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .cg-stats-r1 strong{font-size:16px;}
 html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .gp-home-r2 .gp-start-r1{min-height:74px;padding:10px 14px;}
 html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .gp-home-r2 .gp-copy-r1 strong{font-size:24px;}
}
/* Status occupies the existing guidance slot instead of adding another row. */
html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .gp-home-r2:has(.gp-status-r1:not([hidden])){display:grid;grid-template-columns:minmax(0,1fr);}
html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .gp-home-r2:has(.gp-status-r1:not([hidden])) .gp-start-r1{grid-row:1;grid-column:1;}
html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .gp-home-r2:has(.gp-status-r1:not([hidden])) .gp-footer-r2{grid-row:2;grid-column:1;visibility:hidden;}
html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .gp-home-r2 .gp-status-r1:not([hidden]){grid-row:2;grid-column:1;align-self:center;margin:5px 0 0!important;line-height:1.45;}
@media(min-width:1024px) and (max-width:1199px) and (min-height:650px){
 html body #main .sh-workspace-r2:has(.cg-full-r3) .sh-grid-r2{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);}
 html body #main .sh-workspace-r2:has(.cg-full-r3) .home-subject-block9{gap:5px;}
 html body #main .sh-workspace-r2:has(.cg-full-r3) .home-subject-block9>header{min-height:24px;}
 html body #main .sh-workspace-r2:has(.cg-full-r3) .home-subject-block9 h2{font-size:13px;}
 html body #main .sh-workspace-r2:has(.cg-full-r3) .home-subject-block9>header>button{font-size:10px;}
 html body #main .sh-workspace-r2:has(.cg-full-r3) .home-subjects9{gap:5px;}
 html body #main .sh-workspace-r2:has(.cg-full-r3) .home-subjects9>button{padding:5px 2px;gap:3px;}
 html body #main .sh-workspace-r2:has(.cg-full-r3) .home-subjects9>button>span{width:25px;height:25px;font-size:14px;border-radius:7px;}
 html body #main .sh-workspace-r2:has(.cg-full-r3) .home-subjects9 b{font-size:10px;}
 html body #main .sh-workspace-r2:has(.cg-full-r3) .home-mission9{padding:4px 8px;gap:2px 8px;}
 html body #main .sh-workspace-r2:has(.cg-full-r3) .home-mission9>span{font-size:10px;}
 html body #main .sh-workspace-r2:has(.cg-full-r3) .home-mission9 button{font-size:10px;min-height:20px;padding:0;}
 html body #main .sh-workspace-r2:has(.cg-full-r3) .home-action9{padding:10px;gap:8px;}
 html body #main .sh-workspace-r2:has(.cg-full-r3) .home-action9 b{font-size:12px;}
 html body #main .sh-workspace-r2:has(.cg-full-r3) .home-action9 small,html body #main .sh-workspace-r2:has(.cg-full-r3) .home-action9>div>span{font-size:9px;line-height:1.4;}
 html body #main .sh-workspace-r2:has(.cg-full-r3) .home-action-icon9{width:32px;height:32px;}
}
@media(max-width:1023px),(max-height:649px){
 html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .cg-scene-r3{flex:none;min-height:180px;}
 html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .cg-look-r3{min-height:180px;}
}
@media(max-width:760px){
 html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .cg-scene-r3{min-height:148px;gap:12px;}
 html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .cg-look-r3{min-height:148px;border-radius:14px;}
 html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .cg-summary-r3{gap:10px;}
 html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .cg-identity-r1 h3{font-size:25px;}
 html body #main .sh-workspace-r2 .cg-growth-r1.cg-full-r3 .cg-stats-r1 strong{font-size:18px;}
}
/* A calm weekly rhythm replaces the duplicate learning-start promotion. */
html body #main .sh-workspace-r2 .challenge-hero9.cg-week-r3{display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;padding:24px 28px;gap:16px;background:linear-gradient(120deg,#edf7f3,#eef3fc);border:1px solid #dce9e8;color:#293e53;box-shadow:none;}
html body #main .sh-workspace-r2 .cg-week-r3::before,html body #main .sh-workspace-r2 .cg-week-r3::after{display:none;}
html body #main .sh-workspace-r2 .gw-heading-r3{display:flex;align-items:center;justify-content:space-between;gap:12px;}
html body #main .sh-workspace-r2 .cg-week-r3 .hero-kicker9{font-size:9px;font-weight:700;letter-spacing:.12em;color:#6a8193;}
html body #main .sh-workspace-r2 .cg-week-r3 h2{margin:4px 0 0;font-size:clamp(19px,1.5vw,27px);line-height:1.4;letter-spacing:-.04em;}
html body #main .sh-workspace-r2 .gw-range-r3{flex:none;padding:6px 10px;border:1px solid #d7e5e5;border-radius:20px;font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap;color:#597183;}
html body #main .sh-workspace-r2 .gw-days-r3{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;}
html body #main .sh-workspace-r2 .gw-day-r3{display:flex;flex-direction:column;align-items:center;gap:9px;color:#708396;font-variant-numeric:tabular-nums;}
html body #main .sh-workspace-r2 .gw-day-r3>span{font-size:12px;line-height:1.3;font-weight:600;}
html body #main .sh-workspace-r2 .gw-day-r3>i{width:clamp(34px,3.4vw,58px);height:clamp(34px,3.4vw,58px);display:grid;place-items:center;border:1px dashed #c5d8db;border-radius:18px;background:#ffffff60;color:#fff;font-style:normal;}
html body #main .sh-workspace-r2 .gw-day-r3>i>em{width:5px;height:5px;background:#bfd1d6;border-radius:50%;}
html body #main .sh-workspace-r2 .gw-day-r3>i>b{width:9px;height:9px;background:#63868d;border-radius:50%;}
html body #main .sh-workspace-r2 .gw-day-r3.is-active>i{background:#548580;border-style:solid;border-color:#548580;box-shadow:0 3px 7px #325b5710;}
html body #main .sh-workspace-r2 .gw-day-r3.is-today>i{outline:2px solid #548580;outline-offset:4px;}
html body #main .sh-workspace-r2 .gw-day-r3.is-today>small{color:#38706b;font-weight:800;}
html body #main .sh-workspace-r2 .gw-day-r3.is-future{opacity:.6;}
html body #main .sh-workspace-r2 .gw-day-r3 svg{width:23px;height:23px;}
html body #main .sh-workspace-r2 .gw-day-r3 small{font-size:10px;line-height:1.5;}
html body #main .sh-workspace-r2 .gw-bottom-r3{display:flex;justify-content:space-between;align-items:center;gap:10px;}
html body #main .sh-workspace-r2 .cg-week-r3 .gw-bottom-r3 p{display:block;margin:0;font-size:11px;line-height:1.6;color:#6c8091;}
html body #main .sh-workspace-r2 .gw-bottom-r3>span{flex:none;font-size:11px;line-height:1.6;color:#627589;}
html body #main .sh-workspace-r2 .gw-bottom-r3 b{color:#365e5b;font-size:15px;}
html body #main .sh-workspace-r2 .gw-bottom-r3 i{font-style:normal;margin:0 6px;color:#a5b4bf;}
html[data-theme=dark] body #main .sh-workspace-r2 .cg-week-r3{background:linear-gradient(120deg,#213d3d,#273849);border-color:#3b515b;color:#e0eaea;}
html[data-theme=dark] body #main .sh-workspace-r2 .cg-week-r3 :is(.hero-kicker9,.gw-range-r3,.gw-day-r3,.gw-bottom-r3>span,.gw-bottom-r3 p){color:#b4c6cf;}
html[data-theme=dark] body #main .sh-workspace-r2 .gw-range-r3{border-color:#526571;}
html[data-theme=dark] body #main .sh-workspace-r2 .gw-day-r3>i{background:#344a55;border-color:#607782;}
html[data-theme=dark] body #main .sh-workspace-r2 .gw-day-r3.is-active>i{background:#528780;}
html[data-theme=dark] body #main .sh-workspace-r2 :is(.gw-day-r3.is-today>small,.gw-bottom-r3 b){color:#b0dfd5;}
@media(min-width:1024px) and (min-height:650px) and (max-height:850px){
 html body #main .sh-workspace-r2 .challenge-hero9.cg-week-r3{padding:16px 20px;gap:12px;}
 html body #main .sh-workspace-r2 .cg-week-r3 h2{font-size:21px;}
 html body #main .sh-workspace-r2 .gw-day-r3{gap:6px;}
 html body #main .sh-workspace-r2 .gw-day-r3>i{width:38px;height:38px;border-radius:12px;}
}
@media(min-width:1024px) and (min-height:650px) and (max-height:710px){
 html body #main .sh-workspace-r2 .challenge-hero9.cg-week-r3{padding:10px 16px;gap:6px;}
 html body #main .sh-workspace-r2 .cg-week-r3 h2{font-size:18px;margin:0;line-height:1.25;}
 html body #main .sh-workspace-r2 .gw-range-r3{padding:3px 8px;font-size:10px;line-height:1.4;}
 html body #main .sh-workspace-r2 .cg-week-r3 .hero-kicker9{display:none;}
 html body #main .sh-workspace-r2 .gw-day-r3{gap:3px;}
 html body #main .sh-workspace-r2 .gw-day-r3>i{width:30px;height:30px;border-radius:10px;}
 html body #main .sh-workspace-r2 .gw-day-r3>span{font-size:10px;}
 html body #main .sh-workspace-r2 .gw-bottom-r3 b{font-size:12px;}
 html body #main .sh-workspace-r2 .gw-bottom-r3>span,html body #main .sh-workspace-r2 .cg-week-r3 .gw-bottom-r3 p{font-size:10px;}
}
@media(max-width:760px){
 html body #main .sh-workspace-r2 .challenge-hero9.cg-week-r3{padding:18px;min-height:220px;gap:18px;}
 html body #main .sh-workspace-r2 .cg-week-r3 h2{font-size:19px;}
 html body #main .sh-workspace-r2 .gw-heading-r3{align-items:flex-start;}
 html body #main .sh-workspace-r2 .gw-range-r3{padding:4px 6px;font-size:9px;}
 html body #main .sh-workspace-r2 .gw-days-r3{gap:7px;}
 html body #main .sh-workspace-r2 .gw-day-r3>i{width:30px;height:34px;border-radius:10px;}
 html body #main .sh-workspace-r2 .gw-bottom-r3{flex-wrap:wrap;gap:4px;}
}

/* COGO_HOME_CHARACTERS_R4 — keep existing home grid and the full avatar. */
html body #main .sh-workspace-r2 .challenge-hero9.cg-week-r3{padding:0!important;gap:0;display:block!important;border-color:#e0e7ee;background:none!important;overflow:hidden;isolation:isolate;}
html body #main .sh-workspace-r2 .gw-layout-r4{--gw-bg:#edf7f4;--gw-end:#edf3fd;--gw-accent:#427d76;--gw-ink:#304d52;--gw-muted:#627d85;--gw-line:#c5dedb;position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,32%);grid-template-rows:auto minmax(0,1fr) auto auto;gap:16px 20px;padding:22px 24px;height:100%;box-sizing:border-box;color:var(--gw-ink);background:linear-gradient(125deg,var(--gw-bg),var(--gw-end));}
html body #main .gw-layout-r4[data-gw-theme=sky]{--gw-bg:#eef6ff;--gw-end:#eaf6f7;--gw-accent:#416d9e;--gw-ink:#304d70;--gw-muted:#667f99;--gw-line:#c9daeb;}
html body #main .gw-layout-r4[data-gw-theme=peach]{--gw-bg:#fff2e9;--gw-end:#fbf0f5;--gw-accent:#9b6651;--gw-ink:#694f49;--gw-muted:#94776e;--gw-line:#e8d3c8;}
html body #main .gw-layout-r4[data-gw-theme=lilac]{--gw-bg:#f1edff;--gw-end:#edf2ff;--gw-accent:#7460a3;--gw-ink:#50496d;--gw-muted:#7d7396;--gw-line:#d8d0e9;}
html body #main .gw-layout-r4[data-gw-theme=rose]{--gw-bg:#fff0f6;--gw-end:#f9f0ec;--gw-accent:#a0627d;--gw-ink:#704c60;--gw-muted:#987486;--gw-line:#ecd3dd;}
html body #main .gw-layout-r4[data-gw-theme=butter]{--gw-bg:#fcf7e7;--gw-end:#eff5eb;--gw-accent:#877348;--gw-ink:#605c43;--gw-muted:#888164;--gw-line:#dedbc0;}
html body #main .sh-workspace-r2 .gw-layout-r4 .gw-heading-r3{grid-column:1/-1;min-width:0;align-items:center;gap:10px;}
html body #main .sh-workspace-r2 .gw-layout-r4 .hero-kicker9{color:var(--gw-muted);font-size:9px;letter-spacing:.12em;}
html body #main .sh-workspace-r2 .gw-layout-r4 h2{font-size:clamp(17px,1.35vw,25px);color:var(--gw-ink);line-height:1.4;}
html body #main .gw-history-button-r4{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:none;min-height:34px;padding:7px 10px;border:1px solid var(--gw-line);border-radius:11px;background:#ffffff85;color:var(--gw-ink);font:600 11px/1.3 inherit;font-size:11px;white-space:nowrap;box-shadow:0 2px 3px #1e364605;cursor:pointer;transition:background .18s,border-color .18s;}
html body #main .gw-history-button-r4 svg{width:15px;height:15px;}
html body #main .gw-history-button-r4:hover{background:#fff;border-color:var(--gw-accent);}
html body #main .gw-story-r4{grid-column:1;grid-row:2;align-self:center;min-width:0;}
html body #main .sh-workspace-r2 .gw-story-r4 .gw-range-r3{display:inline-block;font-size:10px;line-height:1.4;border:0;background:#ffffff70;color:var(--gw-muted);padding:4px 8px;}
html body #main .gw-story-r4 h3{font-size:clamp(20px,1.6vw,31px);line-height:1.5;letter-spacing:-.055em;margin:10px 0 5px;font-weight:750;color:var(--gw-ink);word-break:keep-all;}
html body #main .sh-workspace-r2 .gw-story-r4 p{display:block;margin:0;font-size:12px;line-height:1.7;color:var(--gw-muted);word-break:keep-all;}
html body #main .gw-art-r4{position:relative;grid-column:2;grid-row:2/4;align-self:stretch;display:grid;place-items:center;min-height:0;min-width:0;margin:0;isolation:isolate;}
html body #main .gw-art-r4 img{position:absolute;width:100%;height:100%;max-height:285px;object-fit:contain;object-position:center;z-index:1;filter:drop-shadow(0 9px 7px #17293e08);animation:gw-arrive-r4 .4s ease-out;}
html body #main .gw-orbit-r4{position:absolute;width:100%;aspect-ratio:1;max-height:100%;border-radius:50%;background:#ffffff4d;border:1px solid #ffffff8a;transform:rotate(-12deg);}
html body #main .gw-orbit-r4:before,html body #main .gw-orbit-r4:after{content:'';position:absolute;width:12px;height:12px;background:var(--gw-accent);opacity:.18;border-radius:4px;top:9%;left:12%;transform:rotate(30deg);}
html body #main .gw-orbit-r4:after{top:auto;left:auto;bottom:8%;right:5%;width:8px;height:8px;}
html body #main [data-gw-motif=steps] .gw-orbit-r4{border-radius:35% 50% 30% 50%;background:repeating-linear-gradient(0deg,#ffffff12 0 24px,#ffffff50 24px 26px);}
html body #main [data-gw-motif=stars] .gw-orbit-r4{background:radial-gradient(circle,#ffffffb0 1px,transparent 2px) 0 0/20px 20px;border-style:dashed;}
html body #main [data-gw-motif=garden] .gw-orbit-r4{border-radius:50% 50% 30% 30%;background:linear-gradient(155deg,#ffffff75,#ffffff10);}
html body #main [data-gw-motif=ribbons] .gw-orbit-r4{border-radius:28%;transform:rotate(12deg);background:repeating-linear-gradient(135deg,#ffffff15 0 20px,#ffffff40 20px 24px);}
html body #main [data-gw-motif=tiles] .gw-orbit-r4{border-radius:30%;background:linear-gradient(90deg,#ffffff50 1px,transparent 1px) 0 0/24px 24px,linear-gradient(#ffffff50 1px,transparent 1px) 0 0/24px 24px;}
html body #main .gw-art-fallback-r4{display:none;font-size:30px;letter-spacing:-.08em;color:var(--gw-accent);font-weight:900;text-align:center;z-index:2;}
html body #main .gw-art-fallback-r4>span{display:block;font-size:11px;letter-spacing:0;font-weight:500;margin-top:5px;}
html body #main .gw-art-r4.is-failed>img{display:none;}
html body #main .gw-art-r4.is-failed>.gw-art-fallback-r4{display:block;}
html body #main .sh-workspace-r2 .gw-layout-r4 .gw-days-r3{grid-column:1;grid-row:3;gap:7px;align-items:start;}
html body #main .sh-workspace-r2 .gw-layout-r4 .gw-day-r3{gap:7px;min-width:0;color:var(--gw-muted);}
html body #main .sh-workspace-r2 .gw-layout-r4 .gw-day-r3>span{font-size:11px;}
html body #main .sh-workspace-r2 .gw-layout-r4 .gw-day-r3>i{width:clamp(28px,2.7vw,43px);height:clamp(28px,2.7vw,43px);border-radius:13px;border-color:var(--gw-line);background:#ffffff65;}
html body #main .sh-workspace-r2 .gw-layout-r4 .gw-day-r3.is-active>i{background:var(--gw-accent);border-color:var(--gw-accent);}
html body #main .sh-workspace-r2 .gw-layout-r4 .gw-day-r3.is-today>i{outline-color:var(--gw-accent);outline-offset:3px;}
html body #main .sh-workspace-r2 .gw-layout-r4 .gw-day-r3>i>b{background:var(--gw-accent);}
html body #main .sh-workspace-r2 .gw-layout-r4 .gw-day-r3 svg{width:19px;height:19px;}
.gw-today-r4{display:block;font-size:9px;font-weight:750;line-height:1.2;}
.gw-special-r4{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:2px;min-height:15px;min-width:0;width:100%;}
.gw-event-r4{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;line-height:1.6;font-weight:600;border-radius:5px;padding:0 4px;background:#ece8fb;color:#736096;}
.gw-event-r4.is-holiday{color:#b86064;background:#fff0ef;}
.gw-event-r4.is-join{color:#527ba6;background:#eaf3ff;}
.gw-extra-r4{font-size:8px;line-height:1.3;color:var(--gw-muted);}
html body #main .sh-workspace-r2 .gw-layout-r4 .gw-bottom-r3{grid-column:1/-1;grid-row:4;border-top:1px solid var(--gw-line);padding-top:10px;min-width:0;gap:10px;}
html body #main .sh-workspace-r2 .gw-layout-r4 .gw-bottom-r3 p,html body #main .sh-workspace-r2 .gw-layout-r4 .gw-bottom-r3>span{color:var(--gw-muted);font-size:10px;}
html body #main .sh-workspace-r2 .gw-layout-r4 .gw-bottom-r3 b{color:var(--gw-accent);font-size:14px;}
/* Subject buttons keep icons and labels inside one consistent touch target. */
html body #main .sh-workspace-r2 .home-subject-block9.gw-subjects-r4{display:flex;flex-direction:column;gap:8px;min-height:0;}
html body #main .sh-workspace-r2 .gw-subjects-r4>header{flex:none;min-height:22px;display:flex;align-items:center;justify-content:space-between;gap:8px;}
html body #main .sh-workspace-r2 .gw-subjects-r4 h2{font-size:14px;line-height:1.4;margin:0;}
html body #main .sh-workspace-r2 .gw-subjects-r4 .home-subjects9{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;flex:1;min-height:0;}
html body #main .sh-workspace-r2 .gw-subjects-r4 .home-subjects9>button{position:relative;display:flex!important;flex-direction:row!important;justify-content:center;align-items:center;gap:8px;min-width:0;min-height:44px;height:100%;padding:8px 5px!important;border:1px solid var(--border,#e7eaf0);border-radius:13px;background:var(--surface,#fff);box-shadow:0 2px 4px #28385003;transform:none;overflow:visible;transition:border-color .16s,background .16s,box-shadow .16s;}
html body #main .sh-workspace-r2 .gw-subjects-r4 .home-subjects9>button:hover{border-color:var(--subject-color,#7086b3);background:var(--subject-tint,#f0f4ff);box-shadow:0 3px 8px #28385006;}
html body #main .sh-workspace-r2 .gw-subjects-r4 .home-subjects9>button>.gw-subject-icon-r4{position:static!important;display:grid;place-items:center;transform:none!important;inset:auto!important;width:30px;height:30px;flex:0 0 30px;margin:0;padding:0;border-radius:9px;background:var(--subject-tint,#f0f4ff);color:var(--subject-color,#5972a8);}
html body #main .sh-workspace-r2 .gw-subjects-r4 .gw-subject-icon-r4 svg{width:19px!important;height:19px!important;display:block!important;position:static!important;transform:none!important;margin:0!important;}
html body #main .sh-workspace-r2 .gw-subjects-r4 .home-subjects9 b{font-size:12px;line-height:1.35;font-weight:650;white-space:nowrap;}
html body #main .sh-workspace-r2 .gw-subjects-r4 .home-subjects9>button:after{display:none;}
/* Dedicated native dialog keeps focus trapping and Escape behavior. */
html body dialog.gw-history-dialog-r4{--gw-accent:#527f91;--gw-ink:#334958;--gw-muted:#798b99;--gw-line:#dce6eb;position:fixed;inset:0;width:min(740px,calc(100vw - 32px));max-width:740px;max-height:calc(100dvh - 40px);box-sizing:border-box;margin:auto;padding:30px;border:1px solid #e0e7ec;border-radius:24px;background:#fbfcfe;color:var(--gw-ink);box-shadow:0 28px 90px #13223b33;overflow:auto;}
html body dialog.gw-history-dialog-r4::backdrop{background:#17263880;backdrop-filter:blur(4px);}
.gw-history-close-r4{position:absolute;right:16px;top:16px;border:1px solid #e5e9ed;border-radius:10px;background:#fff;color:#7b8998;width:34px;height:34px;display:grid;place-items:center;cursor:pointer;}
.gw-history-close-r4 svg{width:18px;height:18px;}
.gw-history-intro-r4>span{font-size:9px;letter-spacing:.13em;color:var(--gw-muted);font-weight:700;}
.gw-history-intro-r4 h2{font-size:25px;line-height:1.4;letter-spacing:-.045em;margin:8px 40px 6px 0;color:var(--gw-ink);}
.gw-history-intro-r4 p{font-size:12px;line-height:1.7;color:var(--gw-muted);margin:0;}
.gw-history-nav-r4{display:flex;align-items:center;justify-content:space-between;margin:24px 0 14px;padding:14px;border-radius:16px;background:linear-gradient(120deg,#edf5f4,#eff2fc);}
.gw-history-nav-r4>div{text-align:center;}
.gw-history-nav-r4 strong{display:block;font-size:17px;font-variant-numeric:tabular-nums;letter-spacing:-.04em;color:var(--gw-ink);}
.gw-history-nav-r4 small{display:block;font-size:10px;margin-top:3px;color:var(--gw-muted);}
.gw-history-nav-r4>button{display:grid;place-items:center;width:36px;height:36px;border:1px solid #dce6eb;background:#fff;border-radius:11px;color:var(--gw-ink);cursor:pointer;}
.gw-history-nav-r4 svg{width:18px;height:18px;}
.gw-history-tools-r4{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.gw-history-tools-r4 label{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--gw-muted);margin-right:auto;}
.gw-history-tools-r4 input,.gw-history-tools-r4>button,.gw-calendar-status-r4 button{min-height:34px;border:1px solid var(--gw-line);border-radius:9px;background:#fff;color:var(--gw-ink);font:inherit;font-size:11px;padding:6px 10px;}
.gw-calendar-status-r4{font-size:11px;color:var(--gw-muted);margin-top:8px;}
.gw-calendar-status-r4:empty{display:none;}
.gw-history-dialog-r4 button:disabled,.gw-history-dialog-r4 input:disabled{opacity:.38;cursor:default;}
html body .gw-history-calendar-r4.gw-days-r3{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin:24px 0 20px;}
.gw-history-calendar-r4 .gw-day-r3{display:flex;flex-direction:column;align-items:center;gap:9px;min-width:0;text-align:center;color:var(--gw-muted);}
.gw-history-calendar-r4 .gw-day-r3>span{font-size:12px;font-weight:600;}
.gw-history-calendar-r4 .gw-day-r3>i{width:42px;height:42px;border:1px dashed #cadbe1;background:#f1f6f9;border-radius:14px;display:grid;place-items:center;font-style:normal;color:#fff;}
.gw-history-calendar-r4 .gw-day-r3>i>em{width:5px;height:5px;border-radius:50%;background:#bfced5;}
.gw-history-calendar-r4 .gw-day-r3>i>b{width:8px;height:8px;border-radius:50%;background:var(--gw-accent);}
.gw-history-calendar-r4 .gw-day-r3.is-active>i{background:var(--gw-accent);border-color:var(--gw-accent);}
.gw-history-calendar-r4 .gw-day-r3.is-today>i{outline:2px solid #7ea7b0;outline-offset:3px;}
.gw-history-calendar-r4 .gw-day-r3.is-future{opacity:.55;}
.gw-history-calendar-r4 .gw-day-r3>small{font-size:11px;line-height:1.4;min-height:29px;}
.gw-history-calendar-r4 .gw-day-r3 svg{width:20px;height:20px;}
.gw-history-calendar-r4 .gw-special-r4{min-height:28px;align-content:flex-start;}
.gw-history-calendar-r4 .gw-event-r4{white-space:normal;overflow:visible;font-size:9px;word-break:keep-all;}
.gw-daily-count-r4{font-size:9px;line-height:1.5;color:var(--gw-muted);}
.gw-history-stats-r4{display:grid;grid-template-columns:repeat(3,1fr);padding:18px 0;border-top:1px solid var(--gw-line);border-bottom:1px solid var(--gw-line);}
.gw-history-stats-r4>div{text-align:center;}
.gw-history-stats-r4>div+div{border-left:1px solid var(--gw-line);}
.gw-history-stats-r4 span{display:block;font-size:11px;color:var(--gw-muted);margin-bottom:6px;}
.gw-history-stats-r4 strong{font-size:24px;color:var(--gw-ink);letter-spacing:-.04em;}
.gw-history-stats-r4 strong small{font-size:11px;font-weight:500;margin-left:3px;color:var(--gw-muted);}
.gw-history-message-r4{font-size:12px;line-height:1.7;text-align:center;color:var(--gw-muted);margin:17px 0;}
.gw-history-footer-r4{display:flex;flex-direction:column;align-items:center;gap:9px;}
.gw-history-footer-r4>div{display:flex;gap:6px;}
.gw-history-footer-r4 small{font-size:9px;line-height:1.6;color:var(--gw-muted);text-align:center;}
.gw-history-footer-r4 a{color:inherit;text-decoration:underline;text-underline-offset:2px;}
html body :is(.gw-history-dialog-r4,.gw-subjects-r4,.gw-layout-r4) :is(button,input,a):focus-visible{outline:3px solid #7198d4;outline-offset:3px;}
@keyframes gw-arrive-r4{from{opacity:0;transform:translateY(6px);}to{opacity:1;transform:translateY(0);}}
@media(min-width:1024px) and (min-height:650px) and (max-height:850px){
 html body #main .sh-workspace-r2 .gw-layout-r4{padding:15px 18px;gap:10px 12px;}
 html body #main .sh-workspace-r2 .gw-layout-r4 h2{font-size:18px;}
 html body #main .gw-story-r4 h3{font-size:22px;margin:6px 0 3px;}
 html body #main .gw-story-r4 p{font-size:10px;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-day-r3{gap:5px;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-day-r3>i{width:30px;height:30px;border-radius:10px;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-bottom-r3{padding-top:7px;}
 html body #main .sh-workspace-r2 .gw-subjects-r4{gap:6px;}
}
@media(min-width:1024px) and (max-width:1399px){
 html body #main .sh-workspace-r2 .gw-subjects-r4 .home-subjects9>button{gap:4px;}
 html body #main .sh-workspace-r2 .gw-subjects-r4 .home-subjects9>button>.gw-subject-icon-r4{width:24px;height:24px;flex-basis:24px;border-radius:7px;}
 html body #main .sh-workspace-r2 .gw-subjects-r4 .home-subjects9 b{font-size:10px;}
 html body #main .sh-workspace-r2 .gw-subjects-r4 .gw-subject-icon-r4 svg{width:17px!important;height:17px!important;}
 html body #main .gw-layout-r4{grid-template-columns:minmax(0,1fr) minmax(85px,28%);}
}
@media(min-width:1024px) and (max-width:1199px){
 html body #main .sh-workspace-r2 .gw-subjects-r4 .home-subjects9{gap:4px;}
 html body #main .sh-workspace-r2 .gw-subjects-r4 .home-subjects9>button{flex-direction:column!important;gap:3px;padding:5px 2px!important;}
 html body #main .sh-workspace-r2 .gw-subjects-r4 .home-subjects9>button>.gw-subject-icon-r4{width:21px;height:21px;flex-basis:21px;}
 html body #main .gw-story-r4 h3{font-size:20px;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-days-r3{gap:4px;}
 html body #main .gw-history-button-r4{padding:5px 7px;font-size:10px;gap:4px;}
 html body #main .sh-workspace-r2 .gw-layout-r4 h2{font-size:16px;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-bottom-r3 p{font-size:9px;}
}
@media(min-width:1024px) and (min-height:650px) and (max-height:710px){
 html body #main .sh-workspace-r2 .gw-layout-r4{padding:10px 14px;gap:6px 10px;grid-template-rows:auto minmax(0,1fr) auto;}
 html body #main .gw-story-r4{grid-column:1;grid-row:2;align-self:start;}
 html body #main .gw-story-r4 h3,html body #main .sh-workspace-r2 .gw-story-r4 p{display:none;}
 html body #main .sh-workspace-r2 .gw-story-r4 .gw-range-r3{font-size:9px;padding:0;background:none;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-days-r3{grid-row:2;align-self:end;padding-top:22px;}
 html body #main .gw-art-r4{grid-row:2;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-bottom-r3{grid-row:3;padding-top:5px;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-day-r3{gap:3px;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-day-r3>span{font-size:9px;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-day-r3>i{width:26px;height:26px;border-radius:9px;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-day-r3>small{font-size:9px;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-bottom-r3 p{display:none;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-bottom-r3{justify-content:flex-start;}
 html body #main .gw-history-button-r4{min-height:30px;padding:4px 7px;}
 .gw-layout-r4 .gw-special-r4{min-height:13px;}
}
@media(max-width:1023px),(max-height:649px){
 html body #main .sh-workspace-r2 .gw-layout-r4{min-height:300px;height:auto;grid-template-rows:auto minmax(80px,1fr) auto auto;}
 html body #main .sh-workspace-r2 .home-subject-block9.gw-subjects-r4{gap:12px;}
 html body #main .sh-workspace-r2 .gw-subjects-r4 .home-subjects9>button{min-height:62px;}
}
@media(max-width:760px){
 html body #main .sh-workspace-r2 .gw-layout-r4{padding:17px;grid-template-columns:minmax(0,1fr) 32%;gap:15px 12px;min-height:330px;}
 html body #main .sh-workspace-r2 .gw-layout-r4 h2{font-size:18px;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .hero-kicker9{font-size:8px;}
 html body #main .gw-history-button-r4{min-height:34px;padding:6px;font-size:10px;}
 html body #main .gw-history-button-r4 svg{display:none;}
 html body #main .gw-story-r4 h3{font-size:21px;}
 html body #main .sh-workspace-r2 .gw-story-r4 p{font-size:10px;}
 html body #main .gw-art-r4{grid-row:2;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-days-r3{grid-column:1/-1;gap:6px;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-bottom-r3{gap:4px;}
 html body #main .sh-workspace-r2 .gw-subjects-r4 .home-subjects9{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;}
 html body #main .sh-workspace-r2 .gw-subjects-r4 .home-subjects9>button{flex-direction:column!important;gap:7px;padding:10px 5px!important;min-height:78px;}
 html body #main .sh-workspace-r2 .gw-subjects-r4 .home-subjects9>button>.gw-subject-icon-r4{width:29px;height:29px;flex-basis:29px;}
 html body #main .sh-workspace-r2 .gw-subjects-r4 .home-subjects9 b{font-size:11px;}
 html body dialog.gw-history-dialog-r4{padding:22px 16px;border-radius:20px;width:calc(100vw - 20px);max-height:calc(100dvh - 24px);}
 .gw-history-intro-r4 h2{font-size:22px;}
 .gw-history-nav-r4{padding:10px;gap:5px;}
 .gw-history-nav-r4 strong{font-size:14px;}
 .gw-history-nav-r4>button{width:30px;height:32px;flex:none;}
 .gw-history-tools-r4 label{flex-basis:100%;}
 html body .gw-history-calendar-r4.gw-days-r3{gap:4px;}
 .gw-history-calendar-r4 .gw-day-r3>i{width:30px;height:34px;border-radius:10px;}
 .gw-history-calendar-r4 .gw-day-r3>span{font-size:11px;}
 .gw-history-calendar-r4 .gw-day-r3>small{font-size:10px;}
 .gw-history-calendar-r4 .gw-event-r4{font-size:8px;padding:1px 2px;}
 .gw-daily-count-r4{font-size:8px;}
 .gw-history-stats-r4 strong{font-size:22px;}
}
html[data-theme=dark] body #main .sh-workspace-r2 .gw-layout-r4{--gw-bg:#243647;--gw-end:#26343d;--gw-ink:#e1e9ef;--gw-muted:#b0c1cd;--gw-accent:#83b8ba;--gw-line:#425a65;}
html[data-theme=dark] body #main .gw-layout-r4[data-gw-theme=peach],html[data-theme=dark] body #main .gw-layout-r4[data-gw-theme=butter]{--gw-bg:#383334;--gw-end:#34372e;--gw-accent:#d7b988;}
html[data-theme=dark] body #main .gw-layout-r4[data-gw-theme=lilac],html[data-theme=dark] body #main .gw-layout-r4[data-gw-theme=rose]{--gw-bg:#333347;--gw-end:#3c303e;--gw-accent:#c2a6d9;}
html[data-theme=dark] body #main .gw-history-button-r4{background:#ffffff0a;color:var(--gw-ink);}
html[data-theme=dark] body #main .gw-history-button-r4:hover{background:#ffffff18;}
html[data-theme=dark] body #main .gw-orbit-r4{background-color:#ffffff05;border-color:#ffffff18;}
html[data-theme=dark] body #main .sh-workspace-r2 .gw-story-r4 .gw-range-r3{background:#ffffff0a;}
html[data-theme=dark] body #main .sh-workspace-r2 .gw-layout-r4 .gw-day-r3>i{background:#ffffff0a;}
html[data-theme=dark] body #main .sh-workspace-r2 .gw-layout-r4 .gw-day-r3.is-active>i{background:var(--gw-accent);color:#243647;}
html[data-theme=dark] body #main .sh-workspace-r2 .gw-subjects-r4 .home-subjects9>button{background:#242f40;border-color:#3d4859;}
html[data-theme=dark] body #main .sh-workspace-r2 .gw-subjects-r4 .home-subjects9>button:hover{background:#303c50;border-color:#7f8fab;}
html[data-theme=dark] body #main .sh-workspace-r2 .gw-subjects-r4 .home-subjects9>button>.gw-subject-icon-r4{background:#ffffff0c;color:#bdc9e4;}
html[data-theme=dark] body dialog.gw-history-dialog-r4{--gw-ink:#e0e9f0;--gw-muted:#a6b8c8;--gw-line:#405162;--gw-accent:#8cafbc;background:#233043;border-color:#425369;}
html[data-theme=dark] body .gw-history-nav-r4{background:linear-gradient(120deg,#2c4049,#303a50);}
html[data-theme=dark] body :is(.gw-history-close-r4,.gw-history-nav-r4>button,.gw-history-tools-r4 input,.gw-history-tools-r4>button,.gw-calendar-status-r4 button){background:#2d3b4d;color:#cfdae5;border-color:#485b6e;color-scheme:dark;}
html[data-theme=dark] body .gw-history-calendar-r4 .gw-day-r3>i{background:#2d3e50;border-color:#587180;}
html[data-theme=dark] body .gw-history-calendar-r4 .gw-day-r3.is-active>i{background:#6b939d;}
html[data-theme=dark] body .gw-event-r4{background:#4c425f;color:#ddcfee;}
html[data-theme=dark] body .gw-event-r4.is-holiday{background:#583d46;color:#f2bdc0;}
html[data-theme=dark] body .gw-event-r4.is-join{background:#334e68;color:#bcdcf7;}
@media(prefers-reduced-motion:reduce){html body #main .gw-art-r4 img{animation:none;}html body #main :is(.gw-history-button-r4,.gw-subjects-r4 button){transition:none;}}
/* Fit the card itself, including short desktop windows and long site footers. */
html body #main .sh-workspace-r2 .gw-layout-r4 .gw-heading-r3 .hero-kicker9{display:block;line-height:1.35;margin:0;}
html body #main .sh-workspace-r2 .gw-layout-r4 .gw-heading-r3 h2{margin:4px 0 0!important;line-height:1.35!important;padding:0;}
html body #main .sh-workspace-r2 .gw-layout-r4 .gw-bottom-r3 p{margin:0!important;line-height:1.5!important;}
html body #main .sh-workspace-r2 .gw-layout-r4 .gw-day-r3>small{position:relative;line-height:1.3;min-height:25px;}
@media(min-width:1024px) and (min-height:650px){html body #main .sh-workspace-r2 .challenge-hero9.cg-week-r3{container:gw-week / size;}}
@container gw-week (max-height:310px){
 html body #main .sh-workspace-r2 .gw-layout-r4{padding:12px 16px;gap:9px 12px;grid-template-rows:auto minmax(0,1fr) auto;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-heading-r3 .hero-kicker9{display:none;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-heading-r3 h2{font-size:18px;margin:0!important;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-story-r4{grid-column:1;grid-row:2;align-self:start;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-story-r4 h3,html body #main .sh-workspace-r2 .gw-layout-r4 .gw-story-r4 p{display:none;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-story-r4 .gw-range-r3{font-size:10px;padding:0;background:none;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-days-r3{grid-row:2;align-self:end;padding-top:22px;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-art-r4{grid-row:2;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-bottom-r3{grid-row:3;padding-top:7px;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-day-r3{gap:5px;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-day-r3>i{width:30px;height:30px;border-radius:10px;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-bottom-r3 p{display:none;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-bottom-r3{justify-content:flex-start;}
}
@container gw-week (max-height:210px){
 html body #main .sh-workspace-r2 .gw-layout-r4{padding:9px 13px;gap:6px 10px;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-heading-r3 h2{font-size:16px;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-history-button-r4{min-height:28px;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-day-r3{gap:3px;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-day-r3>span{font-size:9px;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-day-r3>i{width:25px;height:25px;border-radius:9px;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-day-r3>small{font-size:9px;min-height:23px;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-bottom-r3{padding-top:5px;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-bottom-r3 b{font-size:12px;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-days-r3{padding-top:19px;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-special-r4{min-height:13px;}
}
@container gw-week (max-height:190px){
 html body #main .sh-workspace-r2 .gw-layout-r4{padding:8px 12px;gap:5px 10px;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-story-r4{display:none;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-days-r3{padding-top:0;align-self:center;gap:4px;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-day-r3{gap:2px;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-day-r3>span{font-size:9px;line-height:1.2;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-day-r3>i{width:21px;height:21px;border-radius:7px;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-day-r3 svg{width:14px;height:14px;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-day-r3>small{min-height:12px;font-size:9px;line-height:1.3;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-today-r4{display:none;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-special-r4{min-height:12px;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-event-r4{font-size:8px;line-height:1.4;padding:0 2px;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-bottom-r3{padding-top:4px;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-bottom-r3>span{font-size:9px;line-height:1.3;}
 html body #main .sh-workspace-r2 .gw-layout-r4 .gw-bottom-r3 b{font-size:11px;line-height:1.3;}
}

