.gg-leave-dialog{width:min(520px,calc(100vw - 28px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid var(--gg-ui-line);border-radius:16px;padding:24px;background:var(--gg-ui-surface);color:var(--gg-ui-text);font:14px/1.65 system-ui}.gg-leave-dialog h2{font-size:20px;margin:0 0 12px}.gg-leave-dialog p{color:var(--gg-ui-soft)}.gg-leave-dialog::backdrop{background:#0008}.gg-leave-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.gg-leave-actions button{font:600 13px/1.4 system-ui;border:1px solid var(--gg-ui-line);border-radius:10px;padding:11px 14px;min-height:44px;background:var(--gg-ui-inset);color:inherit}.gg-leave-actions button:first-child{background:var(--gg-ui-primary);color:var(--gg-ui-on-primary)}.gg-leave-actions [data-choice=discard]{color:var(--gg-ui-error)}
.gg-priorities{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 22px}.gg-priority{border:1px solid var(--gg-ui-line);background:var(--gg-ui-surface);border-radius:14px;padding:18px;min-width:0}.gg-priority h2{font-size:16px;margin:0 0 10px}.gg-priority strong{font-size:19px;line-height:1.4;display:block;margin:8px 0;overflow-wrap:anywhere}.gg-priority p{font-size:13px;line-height:1.65;color:var(--gg-ui-soft);overflow-wrap:anywhere}.gg-priority .gg-short-note{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap}.gg-priority .actions{display:flex;gap:8px;flex-wrap:wrap}.gg-priority button{min-height:40px}.gg-priority [data-priority-count]{font-variant-numeric:tabular-nums}.gg-draft-note{font-size:12px;color:var(--cc-soft);padding:9px 0;line-height:1.6}.gg-draft-note:empty{display:none}.gg-draft-actions{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}
@media(max-width:1000px){.gg-priorities{grid-template-columns:1fr}.gg-priority{padding:17px}.gg-priority button{min-height:44px}}
/* Keep the workspace visible while its lazy module is downloaded. */
.online-app .content>[role=status],.online-app .content>.panel[role=status]{min-height:90px;display:flex;align-items:center;padding:22px;border-radius:14px}
.gg-home-more{margin:0 0 18px;border:1px solid var(--gg-ui-line);border-radius:14px;padding:16px}.gg-home-more>summary{font-size:14px;font-weight:600;cursor:pointer}.gg-home-more[open]>summary{margin-bottom:18px}
.gg-priority .next-lesson-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 14px;border-radius:10px;text-decoration:none;font-size:13px;line-height:1.4;margin:5px 8px 5px 0;max-width:100%}
.material-controls input:not([type=file]){font:inherit;font-size:14px;line-height:1.5;padding:10px 12px;min-height:42px;border:1px solid var(--gg-ui-line);border-radius:10px;background:var(--gg-ui-inset);color:var(--gg-ui-text);width:100%;min-width:0}
@media(max-width:900px){.material-controls input:not([type=file]){font-size:16px;min-height:44px}}

.material-controls form label{flex:1;min-width:0}.material-controls form input:not([type=file]){flex:1;box-sizing:border-box}
