body .chat-tabs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;width:100%;min-width:0;box-sizing:border-box;gap:3px;padding:4px;overflow:hidden!important}body .chat-tabs button{width:100%;min-width:0!important;box-sizing:border-box;padding:8px 2px!important;font-size:11px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:flex;align-items:center;justify-content:center}.student396-file-dialog{width:min(1100px,96vw)!important;max-width:96vw!important}.student396-file-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.student396-file-grid label{padding:12px;border:1px solid var(--ap-border,#e1e7ef);border-radius:12px;background:var(--ap-bg,#f7f9fc);font-size:11px}.student396-file-grid textarea{resize:vertical;min-height:42px;margin-top:8px;line-height:1.9;font:12px IRANSans,Tahoma;box-sizing:border-box;width:100%;max-height:180px}.student396-shell{display:grid;grid-template-columns:240px minmax(0,1fr);direction:rtl;height:100dvh;min-height:0;overflow:hidden;background:var(--ap-bg,#f5f6fa);color:var(--ap-text,#273c50)}.student396-sidebar{background:var(--ap-card,#fff);border-inline-end:1px solid var(--ap-border,#e1e7ee);padding:22px 16px;min-height:0;overflow:auto;display:flex;flex-direction:column;gap:20px}.student396-sidebar .brand{max-width:100%}.student396-person{display:grid;gap:5px;line-height:1.9;padding:10px 0}.student396-person small{color:var(--ap-muted,#8995a7);font-size:11px}.student396-sidebar nav{display:grid;gap:9px}.student396-sidebar nav button{justify-content:flex-start;text-align:right;width:100%;padding:13px;gap:10px;font:12px IRANSans,Tahoma}.student396-sidebar nav button.active{background:#e9f2fb;color:#227bac}.student396-sidebar .btn svg{width:20px;height:20px}.student396-main{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden}.student396-header{height:68px;flex:0 0 68px;display:flex;align-items:center;gap:13px;background:var(--ap-card,#fff);border-bottom:1px solid var(--ap-border,#e1e7ee);padding:0 20px;box-sizing:border-box}.student396-header>strong{font-size:14px}.student396-header label{margin-inline-start:auto;display:flex;align-items:center;gap:7px;font-size:10px}.student396-header select{max-width:290px;font:10px IRANSans,Tahoma}.student396-content{flex:1;min-height:0;overflow:auto;padding:20px;box-sizing:border-box}.student396-profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:20px}.student396-profile-grid article{padding:12px;background:var(--ap-bg,#f7f9fc);border:1px solid var(--ap-border,#e1e7ee);border-radius:12px;min-width:0}.student396-profile-grid span{font-size:10px;color:var(--ap-muted,#8794a6)}.student396-profile-grid p{font-size:12px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.student396-week-day h3{font-size:13px;color:#25828f;padding:13px 0;border-bottom:1px solid var(--ap-border,#e4eaf0)}.student396-week-day article{display:flex;gap:18px;padding:16px;border:1px solid var(--ap-border,#e1e7ef);border-radius:12px;margin:10px 0;background:var(--ap-bg,#f6f9fc)}.student396-week-day article>div{display:grid;gap:7px}.student396-week-day small{font-size:11px;color:var(--ap-muted,#8290a0)}.student396-time{color:#287ea1;white-space:nowrap}.student396-chat .student396-content{padding:0;display:flex;overflow:hidden}body.student396-active.chat-workspace .student396-shell .chat-layout{position:relative!important;inset:auto!important;width:100%!important;height:100%!important;max-height:100%!important;min-height:0!important;flex:1!important;overflow:hidden}body.student396-active .chat-panel{display:flex!important;flex-direction:column;min-height:0!important;overflow:hidden}body.student396-active #chat-compose{display:flex!important;flex-direction:column;flex:0 0 auto!important;position:relative!important;bottom:auto!important;min-height:74px!important;z-index:15}body.student396-active .chat-history{min-height:0!important;flex:1 1 0!important;overflow:auto!important}body.student396-active .chat-app-header #chat-app-menu{display:inline-flex!important}#student396-menu{display:none}.student396-weekly .card-head small{display:block;font-size:11px;color:var(--ap-muted,#8391a2);margin-top:8px}@media(max-width:900px){.student396-shell{display:flex;flex-direction:column}.student396-sidebar{display:none;position:fixed;inset:0 0 0 auto;width:240px;z-index:1800;box-shadow:-10px 0 40px #22324433;box-sizing:border-box}.student396-sidebar.open{display:flex}.student396-main{flex:1}.student396-header{padding:0 10px;height:58px;flex-basis:58px}.student396-header label{max-width:55%;flex-direction:column;align-items:flex-start}.student396-header select{max-width:100%}#student396-menu{display:inline-flex}.student396-profile-grid,.student396-file-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:10px;gap:9px}.student396-content{padding:10px}body.student396-active .chat-layout:not(.thread-open) .chat-panel{display:none!important}body.student396-active .chat-layout.thread-open .chat-sidebar{display:none!important}body.student396-active .chat-layout.thread-open .chat-panel{display:flex!important}body.student396-active .chat-layout{top:auto!important;height:100%!important}body.student396-active .chat-app-header{flex:0 0 64px}body.student396-active .chat-compose{padding-bottom:max(8px,env(safe-area-inset-bottom))}}@media(max-width:520px){.student396-file-grid,.student396-profile-grid{grid-template-columns:1fr}.student396-file-dialog{padding:12px!important}.student396-header strong{font-size:12px}.student396-week-day article{gap:10px;font-size:12px}}

body.student396-active{overflow:hidden}.student396-shell{position:fixed;inset:0;box-sizing:border-box}#student396-close{display:none}@media(max-width:900px){#student396-close{display:inline-flex;align-self:flex-end}}

#student396-menu{display:inline-flex!important}#student396-close{display:none!important}@media(min-width:901px){.student396-shell.compact{grid-template-columns:0 minmax(0,1fr)}.student396-shell.compact .student396-sidebar{visibility:hidden;padding:0;overflow:hidden}.student396-chat .chat-app-header{display:none!important}.student396-chat .chat-layout{grid-template-rows:minmax(0,1fr)!important;grid-template-areas:"sidebar panel"!important}}@media(max-width:900px){#student396-close{display:inline-flex!important}.student396-chat .student396-header{display:none!important}}
.chat396-discovery-hint{font-size:10px;line-height:1.8;color:var(--ap-muted,#8491a4);margin:9px 2px 0}
