/* v5.5.7.39.5 · Chat organizado + desempenho de estudo em tempo real */
.chat-compose-shell-v5412.portal-library-compose{position:relative}
.chat-composer.portal .portal-library-compose{grid-template-columns:minmax(0,1fr) 36px 36px!important;align-items:end!important}
.chat-composer.portal .portal-library-compose>textarea{grid-column:1!important;grid-row:1!important;min-width:0}
.chat-composer.portal .portal-library-compose>.chat-math-launcher{grid-column:2!important;grid-row:1!important}
.chat-composer.portal .portal-library-compose>.chat-attach-picker{grid-column:3!important;grid-row:1!important;display:flex;align-items:center;justify-content:center;position:relative;min-width:36px}
.chat-composer.portal .portal-library-compose>.chat-portal-picker{position:absolute!important;width:0!important;height:0!important;right:0!important;bottom:0!important;overflow:visible!important;pointer-events:none}
.chat-composer.portal .portal-library-compose>.chat-portal-picker>.chat-portal-open{display:none!important}
.chat-composer.portal .portal-library-compose>.chat-portal-picker>.chat-portal-sheet{pointer-events:auto}
.chat-attach-picker .chat-attach-menu{position:absolute;right:-6px;bottom:48px;z-index:80;width:min(280px,calc(100vw - 28px));padding:8px;border:1px solid color-mix(in srgb,var(--chat-border,#d7e1ea) 90%,transparent);border-radius:18px;background:var(--chat-surface,#fff);box-shadow:0 16px 44px rgba(11,31,58,.20);display:grid;gap:4px}
.chat-attach-picker .chat-attach-menu.hidden{display:none!important}
.chat-attach-picker .chat-attach-menu button{border:0;background:transparent;color:var(--chat-text,#17324e);border-radius:13px;padding:10px 11px;display:grid;grid-template-columns:36px minmax(0,1fr);grid-template-rows:auto auto;column-gap:10px;text-align:left;align-items:center;cursor:pointer}
.chat-attach-picker .chat-attach-menu button:hover,.chat-attach-picker .chat-attach-menu button:focus-visible{background:color-mix(in srgb,var(--chat-accent-2,#1877f2) 9%,transparent);outline:none}
.chat-attach-picker .chat-attach-menu button>span{grid-row:1/3;width:36px;height:36px;border-radius:12px;background:color-mix(in srgb,var(--chat-accent-2,#1877f2) 10%,transparent);display:grid;place-items:center;font-size:1.05rem}
.chat-attach-picker .chat-attach-menu button strong{font-size:.9rem;line-height:1.15}.chat-attach-picker .chat-attach-menu button small{font-size:.72rem;color:var(--chat-muted,#6f8294);margin-top:2px}
.chat-composer.portal .chat-file-chip:not(.hidden){display:flex!important;align-items:center;gap:8px;max-width:min(560px,90%);margin:0 4px 6px;padding:8px 11px;border-radius:12px;background:color-mix(in srgb,var(--chat-accent-2,#1877f2) 8%,var(--chat-surface,#fff));color:var(--chat-text,#17324e);font-size:.8rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chat-composer.portal .chat-file-chip.hidden{display:none!important}

.study-live-performance,.central-study-performance{overflow:hidden}
.study-live-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}
.study-live-kpis article{border:1px solid rgba(25,72,111,.12);background:linear-gradient(180deg,rgba(245,250,255,.96),rgba(255,255,255,.98));border-radius:16px;padding:13px;min-width:0}
.study-live-kpis span,.study-live-kpis small{display:block;color:#62798e}.study-live-kpis span{font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.study-live-kpis strong{display:block;font-size:1.55rem;color:#123e66;margin:3px 0}.study-live-kpis small{font-size:.76rem;line-height:1.35}
.study-live-map{margin:14px 0}.study-topic-grid{display:grid;gap:8px;margin-top:8px}.study-topic-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;align-items:center;border:1px solid rgba(25,72,111,.1);border-radius:13px;padding:9px 11px;background:#fff}.study-topic-row div{min-width:0}.study-topic-row strong,.study-topic-row span{display:block}.study-topic-row strong{font-size:.86rem;color:#173d60}.study-topic-row span{font-size:.7rem;color:#718397}.study-topic-row>b{font-size:.84rem;color:#123e66}.study-topic-row>i{grid-column:1/3;height:5px;border-radius:999px;background:#e8eef4;overflow:hidden}.study-topic-row>i>u{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#1d63e2,#24a1dc);text-decoration:none}
.study-live-error-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.study-live-error-grid>article{border:1px solid rgba(25,72,111,.11);border-radius:16px;padding:12px;background:#fff;min-width:0}.study-error-list{display:grid;gap:8px}.study-error-card{border:1px solid rgba(194,133,38,.2);border-radius:13px;background:#fffaf1;overflow:hidden}.study-error-card.needs-review{border-color:rgba(188,83,70,.26);background:#fff7f5}.study-error-card summary{cursor:pointer;list-style:none;padding:10px 11px;display:grid;gap:4px}.study-error-card summary::-webkit-details-marker{display:none}.study-error-card summary span{font-size:.68rem;text-transform:uppercase;letter-spacing:.04em;color:#9a6b21;font-weight:800}.study-error-card summary strong{font-size:.83rem;line-height:1.4;color:#293f52}.study-error-card>div{padding:0 11px 11px;border-top:1px solid rgba(25,72,111,.07)}.study-error-card p{font-size:.79rem;line-height:1.45;margin:8px 0;color:#465d72}.study-error-explanation{padding:8px;border-radius:10px;background:rgba(29,99,226,.06)}
.study-live-quizzes{margin-top:14px;display:grid;gap:7px}.study-live-quizzes>div:not(.kicker){display:flex;justify-content:space-between;gap:10px;padding:8px 10px;border-radius:11px;background:#f6f9fc}.study-live-quizzes strong{font-size:.8rem}.study-live-quizzes span{font-size:.72rem;color:#6f8294;text-align:right}
.central-study-performance{margin-top:16px}.central-study-performance .section-head{align-items:flex-start}

@media(max-width:700px){
 .chat-composer.portal .portal-library-compose{grid-template-columns:minmax(0,1fr) 32px 32px!important}
 .chat-composer.portal .portal-library-compose>.chat-attach-picker{min-width:32px}
 .chat-attach-picker .chat-attach-menu{right:-10px;bottom:44px;width:min(270px,calc(100vw - 18px))}
 .study-live-kpis{grid-template-columns:1fr 1fr}.study-live-kpis article:last-child{grid-column:1/3}
 .study-live-error-grid{grid-template-columns:1fr}
 .study-live-quizzes>div:not(.kicker){display:grid}.study-live-quizzes span{text-align:left}
}
@media(max-width:430px){
 .chat-composer.portal .portal-library-compose{grid-template-columns:minmax(0,1fr) 29px 29px!important}
 .chat-composer.portal .portal-library-compose>.chat-attach-picker{min-width:29px}
 .study-live-kpis{grid-template-columns:1fr}.study-live-kpis article:last-child{grid-column:auto}
}
