.rgb{display:inline-flex;align-items:center;gap:5px}.rgb__icon{width:18px;aspect-ratio:1;border:1px solid #555;border-radius:50%}.link{text-decoration:none;color:var(--tg-theme-link-color)}.display-data__header{font-weight:400}.display-data__line{padding:16px 24px}.display-data__line-value{word-break:break-word}.profile-container{margin-bottom:16px;border-bottom:1px solid var(--tg-theme-secondary-bg-color);box-shadow:0 1px 3px rgba(0,0,0,.08)}.profile-container,.profile-loading{padding:18px;background-color:var(--tg-theme-bg-color)}.profile-loading{height:110px}.profile-skeleton{height:80px;background:linear-gradient(90deg,var(--tg-theme-secondary-bg-color) 25%,var(--tg-theme-bg-color) 50%,var(--tg-theme-secondary-bg-color) 75%);background-size:200% 100%;animation:profile-loading 1.5s infinite;border-radius:8px}.profile-header-main{display:flex;align-items:center;gap:14px;margin-bottom:12px}.profile-avatar{width:56px;height:56px;border-radius:50%;object-fit:cover;border:2px solid var(--tg-theme-secondary-bg-color);flex-shrink:0}.profile-info{flex:1;display:flex;flex-direction:column;gap:4px}.profile-name{display:flex;align-items:center;font-size:19px;font-weight:600;color:var(--tg-theme-text-color);padding:0;letter-spacing:-.2px}.profile-telegram-username{font-size:14px;color:var(--tg-theme-hint-color);font-weight:400}.profile-details{display:flex;flex-direction:column;gap:8px;font-size:15px;color:var(--tg-theme-hint-color);padding:0 0 6px}.profile-detail-item{display:flex;align-items:center;padding:4px 0}@keyframes profile-loading{0%{background-position:200% 0}to{background-position:-200% 0}}.no-select{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-touch-callout:none}.page-fade-in{animation:fadeInUp .4s cubic-bezier(.4,0,.2,1)}.section-cascade{animation:fadeInSection .5s cubic-bezier(.4,0,.2,1) backwards}.section-cascade:first-child{animation-delay:.05s}.section-cascade:nth-child(2){animation-delay:.1s}.section-cascade:nth-child(3){animation-delay:.15s}.section-cascade:nth-child(4){animation-delay:.2s}.section-cascade:nth-child(5){animation-delay:.25s}.section-cascade:nth-child(6){animation-delay:.3s}.section-cascade:nth-child(7){animation-delay:.35s}.section-cascade:nth-child(8){animation-delay:.4s}@keyframes fadeInSection{0%{opacity:0;transform:translateX(-10px)}to{opacity:1;transform:translateX(0)}}.tap-scale{transition:all .3s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden}.tap-scale:active{transform:scale(.97);transition:transform .15s cubic-bezier(.4,0,.2,1)}.tap-ripple:after{content:"";position:absolute;top:50%;left:50%;width:0;height:0;border-radius:50%;background:var(--tg-theme-button-color);opacity:0;transform:translate(-50%,-50%);pointer-events:none}.tap-ripple:active:after{animation:ripple .6s cubic-bezier(.4,0,.2,1)}@keyframes ripple{0%{width:0;height:0;opacity:.3}50%{opacity:.15}to{width:300px;height:300px;opacity:0}}.fade-in{animation:fadeIn .3s cubic-bezier(.4,0,.2,1)}.content-fade-in{animation:contentFadeIn .5s cubic-bezier(.4,0,.2,1)}@keyframes contentFadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.accordion-content{animation:slideDownFade .35s cubic-bezier(.4,0,.2,1) forwards}.accordion-content.closing{animation:slideUpFade .3s cubic-bezier(.4,0,.2,1) forwards}.scale-fade-in{animation:fadeInScale .3s cubic-bezier(.4,0,.2,1) backwards}.groups-page{--font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-family:var(--font-family);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;padding-bottom:60px;background:var(--tg-theme-secondary-bg-color,#efeff4);min-height:100vh}.groups-search{width:100%;padding:8px 0}.groups-content{padding:4px 8px 16px;min-height:calc(100vh - 200px)}.groups-grid{padding:0 8px}.groups-count{display:flex;justify-content:center;margin-bottom:16px}.groups-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px;margin-bottom:16px}.group-card{cursor:pointer;border-radius:12px;overflow:hidden;box-shadow:0 1px 4px rgba(0,0,0,.08);background:var(--tg-theme-bg-color,#fff);border:1px solid var(--tg-theme-secondary-bg-color,rgba(0,0,0,.1))}.group-card-content{display:flex;align-items:center;padding:16px}.group-card-info{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.group-card-name{font-size:16px;font-weight:600;color:var(--tg-theme-text-color,#000);line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.groups-page .tgui-section__header{font-family:var(--font-family);font-weight:600;color:var(--tg-theme-hint-color,#8e8e93);padding:12px 16px 6px;font-size:13px}.groups-page .tgui-cell{font-family:var(--font-family)}.groups-page .tgui-list{margin:0;padding:0}.groups-page .tgui-section{margin:0}@media (max-width:480px){.groups-content{padding:4px 8px 12px}.groups-cards{grid-template-columns:1fr;gap:8px}.group-card-content{padding:12px;gap:10px}.group-card-name{font-size:15px}.groups-page .tgui-section__header{padding:8px 12px 4px;font-size:12px}}@media (prefers-color-scheme:dark){.group-card{box-shadow:0 1px 4px rgba(0,0,0,.2);border:1px solid hsla(0,0%,100%,.1)}.search-tooltip{box-shadow:0 4px 12px rgba(0,0,0,.5)}.error-container{border:1px solid hsla(0,0%,100%,.1)}}.grade-title{margin-right:10px}.grade-score{font-size:16px;min-width:26px;padding:0 8px;box-shadow:0 2px 4px rgba(0,0,0,.15)}.control-point-card{background:var(--tg-theme-secondary-bg-color,rgba(50,50,50,.95));border-radius:14px;overflow:hidden;border:none;user-select:none;-webkit-user-select:none;box-shadow:0 1px 3px rgba(0,0,0,.1);animation:fadeInScale .3s cubic-bezier(.4,0,.2,1) backwards}.control-point-card:first-child{animation-delay:.05s}.control-point-card:nth-child(2){animation-delay:.1s}.control-point-card:nth-child(3){animation-delay:.15s}.control-point-card:nth-child(4){animation-delay:.2s}.control-point-card:nth-child(5){animation-delay:.25s}.control-point-header{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;font-size:13px;color:var(--tg-theme-text-color);font-weight:500;background:var(--tg-theme-secondary-bg-color,rgba(70,70,70,.95));border-bottom:none;border-top-left-radius:14px;border-top-right-radius:14px;user-select:none;-webkit-user-select:none;font-family:var(--tg-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif)}.point-score{font-size:16px;font-weight:600;color:var(--tg-theme-button-color);background:var(--tg-theme-bg-color,rgba(0,0,0,.7));min-width:24px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:14px;padding:0 7px;box-shadow:0 2px 4px rgba(0,0,0,.15);margin-left:auto}.control-point-content{padding:10px 12px;border-bottom-left-radius:14px;border-bottom-right-radius:14px;background:var(--tg-theme-bg-color,rgba(40,40,40,.95));user-select:none;-webkit-user-select:none}.rating-item{padding:8px 0}.rating-item:first-child{animation-delay:.15s}.rating-item:nth-child(2){animation-delay:.2s}.rating-item:nth-child(3){animation-delay:.25s}.rating-item:nth-child(4){animation-delay:.3s}.rating-label{font-size:13px}.rating-value{font-size:15px;font-weight:600;height:28px;border-radius:14px;padding:0 6px;margin-left:auto;box-shadow:0 2px 4px rgba(0,0,0,.15)}.no-data{color:var(--tg-theme-hint-color);font-size:13px;padding:8px 0;font-style:italic;user-select:none;-webkit-user-select:none;font-family:var(--tg-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif)}.total-score{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;margin-top:20px;font-size:14px;font-weight:500;background:var(--tg-theme-secondary-bg-color,rgba(60,60,60,.95))}.total-score,.total-value{border-radius:12px;border:none;user-select:none;-webkit-user-select:none;font-family:var(--tg-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif)}.total-value{font-weight:600;color:var(--tg-theme-button-color);font-size:16px;background:var(--tg-theme-bg-color,rgba(0,0,0,.7));padding:4px 12px}.page{user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;font-family:var(--tg-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif)}@media (min-width:600px){.control-points-container{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.semester-btn{height:40px;font-size:15px}}.empty-state{padding:40px 20px}.empty-message{font-size:16px}.empty-control-points,.empty-message{font-weight:500;font-family:var(--tg-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif)}.empty-control-points{text-align:center;color:var(--tg-theme-hint-color,#aaa);font-size:14px;padding:20px 0;width:100%}.mail-page{min-height:100vh;font-family:var(
        --tg-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif
    )}.mail-container{gap:2px;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;font-family:var(
        --tg-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif
    );width:100%;box-sizing:border-box}.mail-container,.mail-items{display:flex;flex-direction:column}.mail-items{gap:8px}.mail-container .mail-item{background:var(--tg-theme-bg-color,rgba(40,40,40,.95));border:none;border-radius:16px;overflow:hidden;margin-bottom:0;transition:all .2s ease;position:relative;user-select:none;-webkit-user-select:none;box-shadow:0 2px 4px rgba(0,0,0,.1);width:100%;box-sizing:border-box}.mail-container .mail-item:hover{transform:translateY(-1px);box-shadow:0 4px 8px rgba(0,0,0,.15)}.mail-container .mail-item--unread{background:var(--tg-theme-bg-color,rgba(50,50,50,.95))}.mail-container .mail-item--unread:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--tg-theme-button-color,#5288c1);border-radius:0 2px 2px 0}.mail-page .tgui-section{position:relative}.mail-refresh-button{position:absolute;top:12px;right:16px;background:var(--tg-theme-secondary-bg-color,rgba(60,60,60,.5));border:none;border-radius:50%;width:40px;height:40px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;color:var(--tg-theme-button-color,#5288c1);z-index:10}.mail-refresh-button:hover:not(:disabled){background:var(--tg-theme-secondary-bg-color,rgba(80,80,80,.7));transform:scale(1.05)}.mail-refresh-button:active:not(:disabled){transform:scale(.95)}.mail-refresh-button:disabled{cursor:not-allowed;opacity:.5}.mail-refresh-button--loading{background:var(--tg-theme-button-color,rgba(82,136,193,.2));color:var(--tg-theme-button-color,#5288c1)}.mail-refresh-button--blocked{background:var(--tg-theme-negative-color,rgba(255,59,48,.1));color:var(--tg-theme-negative-color,#ff3b30)}.mail-refresh-button__icon{font-size:18px;transition:transform .2s ease}.mail-refresh-button__icon--spinning{animation:spin 1s linear infinite}.mail-refresh-button__icon--blocked{animation:shake .5s ease-in-out}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes shake{0%,to{transform:translateX(0)}25%{transform:translateX(-2px)}75%{transform:translateX(2px)}}.mail-tabs__buttons{display:flex;background:var(--tg-theme-secondary-bg-color,rgba(60,60,60,.5));border-radius:12px;padding:4px}.mail-tabs__button{flex:1;background:transparent;border:none;border-radius:8px;padding:8px 16px;font-size:15px;font-weight:500;color:var(--tg-theme-hint-color,#aaa);transition:all .2s ease;cursor:pointer;font-family:var(
        --tg-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif
    )}.mail-tabs__button--active{background:var(--tg-theme-button-color,#5288c1);color:var(--tg-theme-button-text-color,#fff);box-shadow:0 2px 6px rgba(0,0,0,.15)}.mail-tabs__button:hover:not(.mail-tabs__button--active){color:var(--tg-theme-text-color)}.error-container{padding:40px 20px;min-height:300px}.error-message{font-size:16px;font-weight:500;color:var(--tg-theme-negative-color,#ff3b30)}.error-details{color:var(--tg-theme-hint-color,#aaa);max-width:300px;line-height:1.4}.telegram-font-family{font-family:var(
        --tg-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif
    )!important}.mail-tabs .tgui-segmented-control{background:var(--tg-theme-secondary-bg-color,rgba(60,60,60,.5));border-radius:12px;padding:4px}.mail-tabs .tgui-segmented-control__option{background:transparent;border:none;border-radius:8px;padding:8px 16px;font-size:15px;font-weight:500;color:var(--tg-theme-hint-color,#aaa);transition:all .2s ease;cursor:pointer}.mail-tabs .tgui-segmented-control__option--active{background:var(--tg-theme-button-color,#5288c1);color:var(--tg-theme-button-text-color,#fff);box-shadow:0 2px 6px rgba(0,0,0,.15)}.mail-content{animation:fadeIn .3s ease-out}.loader-container{padding:40px}.empty-state{padding:60px 20px;min-height:300px}.empty-state-icon{font-size:48px;margin-bottom:16px;opacity:.5}.empty-state-icon,.empty-state-text{color:var(--tg-theme-hint-color,#aaa)}.empty-state-text{font-size:16px;margin-bottom:8px}.empty-state-subtext{font-size:14px;color:var(--tg-theme-hint-color,#999);max-width:250px;line-height:1.4}.action-buttons{display:flex;gap:12px;padding:16px;background:var(--tg-theme-bg-color,#121212);border-top:1px solid var(--tg-theme-secondary-bg-color,rgba(60,60,60,.7))}.action-button{flex:1;min-height:44px;display:flex;align-items:center;justify-content:center;gap:8px;border-radius:12px;font-size:15px;font-weight:500;transition:all .2s ease;cursor:pointer;border:none}.action-button.primary{background:var(--tg-theme-button-color,#5288c1);color:var(--tg-theme-button-text-color,#fff)}.action-button.secondary{background:var(--tg-theme-secondary-bg-color,rgba(60,60,60,.5));color:var(--tg-theme-text-color)}.action-button:hover{opacity:.9;transform:translateY(-1px)}.action-button:active{transform:translateY(1px)}.unread-count{background:var(--tg-theme-negative-color,#ff3b30);color:var(--tg-theme-button-text-color,#fff);border-radius:50%;min-width:20px;height:20px;justify-content:center;font-size:12px;font-weight:600;margin-left:8px;padding:0 6px}.header-loading,.unread-count{display:flex;align-items:center}.header-loading{gap:8px;color:var(--tg-theme-hint-color,#aaa);font-size:14px}.notification{position:fixed;top:80px;left:50%;transform:translateX(-50%);background:var(--tg-theme-bg-color,rgba(40,40,40,.95));border:1px solid var(--tg-theme-button-color,rgba(82,136,193,.3));border-radius:12px;padding:12px 20px;color:var(--tg-theme-text-color);font-size:14px;font-weight:500;box-shadow:0 4px 12px rgba(0,0,0,.15);z-index:1000;animation:slideDown .3s ease-out}@keyframes slideDown{0%{opacity:0;transform:translateX(-50%) translateY(-20px)}to{opacity:1;transform:translateX(-50%) translateY(0)}}.notification.success{border-color:var(--tg-theme-positive-color,rgba(52,199,89,.3));background:var(--tg-theme-positive-color,rgba(52,199,89,.1))}.notification.error{border-color:var(--tg-theme-negative-color,rgba(255,59,48,.3));background:var(--tg-theme-negative-color,rgba(255,59,48,.1));color:var(--tg-theme-negative-color,#ff3b30)}.mail-item__icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:var(--tg-theme-secondary-bg-color,rgba(60,60,60,.3));margin-right:12px}.mail-item__subtitle{font-size:13px;color:var(--tg-theme-hint-color,#aaa);margin-top:2px}.mail-item__sender{font-weight:500}.mail-item__date{font-size:12px;color:var(--tg-theme-hint-color,#999);white-space:nowrap}.mail-item__topic{font-size:15px;font-weight:500;color:var(--tg-theme-text-color);line-height:1.3;margin-top:2px}.mail-modal{max-height:90vh;width:100%;font-family:var(
        --tg-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif
    );z-index:9999!important}.mail-modal-nested{border-top-left-radius:16px!important;border-top-right-radius:16px!important;border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.mail-modal__content{display:flex;flex-direction:column;height:100%;font-family:var(
        --tg-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif
    )}.mail-modal__header{display:flex;justify-content:space-between;align-items:flex-start;padding:16px;border-bottom:1px solid var(--tg-theme-secondary-bg-color,rgba(60,60,60,.7));background:var(--tg-theme-bg-color,#121212);flex-shrink:0;max-height:30vh;overflow-y:auto}.mail-modal__header--with-floating-close{justify-content:flex-start}.mail-modal__title-section{flex:1;margin-right:12px}.mail-modal__title{font-size:18px;font-weight:600;margin:0 0 8px;color:var(--tg-theme-text-color);line-height:1.3;word-wrap:break-word;word-break:break-word;max-width:calc(100vw - 80px)}.mail-modal__sender-info{display:flex;align-items:center;gap:6px;margin-bottom:4px}.mail-modal__sender-label{font-size:14px;color:var(--tg-theme-hint-color,#aaa);font-weight:500}.mail-modal__sender-name{font-size:14px;color:var(--tg-theme-text-color);font-weight:500}.mail-modal__date{font-size:13px;color:var(--tg-theme-hint-color,#999)}.mail-modal__attachment-indicator{display:flex;align-items:center;gap:6px;margin-top:8px;padding:6px 10px;background:var(--tg-theme-secondary-bg-color,rgba(60,60,60,.4));border-radius:8px;font-size:13px;color:var(--tg-theme-hint-color,#aaa);width:fit-content}.mail-modal__attachment-icon{color:var(--tg-theme-button-color,#5288c1);font-size:14px}.mail-modal__close{background:none;border:none;color:var(--tg-theme-hint-color,#aaa);font-size:18px;cursor:pointer;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s ease;flex-shrink:0}.mail-modal__close:hover{background-color:var(--tg-theme-secondary-bg-color,rgba(60,60,60,.5));color:var(--tg-theme-text-color)}.mail-modal__body{flex:1;overflow-y:auto;padding:16px;background:var(--tg-theme-bg-color,#121212);min-height:0}.mail-modal__loading{display:flex;justify-content:center;align-items:center;height:200px}.mail-modal__history{margin-bottom:20px;padding:12px;background:var(--tg-theme-secondary-bg-color,rgba(60,60,60,.3));border-radius:12px;max-height:25vh;overflow-y:auto}.mail-modal__history-title{font-size:14px;font-weight:600;color:var(--tg-theme-hint-color,#aaa);margin-bottom:12px;text-transform:uppercase;letter-spacing:.5px}.mail-reply-modal{max-height:85vh;width:100%;z-index:10000!important}.mail-reply-modal,.mail-reply-modal__content{font-family:var(
        --tg-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif
    )}.mail-reply-modal__content{display:flex;flex-direction:column;height:100%;position:relative}.floating-close-button{position:absolute;top:16px;right:16px;background:var(--tg-theme-secondary-bg-color,rgba(60,60,60,.7));border:none;color:var(--tg-theme-text-color);cursor:pointer;display:flex;align-items:center;justify-content:center;border-radius:50%!important;transition:all .2s ease;z-index:10;backdrop-filter:blur(10px);box-shadow:0 2px 8px rgba(0,0,0,.2);width:36px;height:36px;aspect-ratio:1/1}.floating-close-button--small{width:32px!important;height:32px!important}.floating-close-button--medium{width:36px!important;height:36px!important}.floating-close-button--large{width:40px!important;height:40px!important}.floating-close-button:hover:not(.floating-close-button--disabled){background:var(--tg-theme-button-color,#5288c1);transform:scale(1.05)}.floating-close-button:active:not(.floating-close-button--disabled){transform:scale(.95)}.floating-close-button--disabled{opacity:.5;cursor:not-allowed;transform:none}.mail-reply-modal__close--floating{position:absolute;top:16px;right:16px;background:var(--tg-theme-secondary-bg-color,rgba(60,60,60,.7));border:none;color:var(--tg-theme-text-color);cursor:pointer;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s ease;z-index:10;backdrop-filter:blur(10px);box-shadow:0 2px 8px rgba(0,0,0,.2)}.mail-reply-modal__close--floating:hover:not(:disabled){background:var(--tg-theme-button-color,#5288c1);transform:scale(1.05)}.mail-reply-modal__close--floating:disabled{opacity:.5;cursor:not-allowed;transform:none}.mail-reply-modal__body{flex:1;overflow-y:auto;padding:16px;background:var(--tg-theme-bg-color,#121212)}.mail-reply-modal__body--no-header{padding:20px 16px 16px}.mail-reply-modal__original-info{background:var(--tg-theme-secondary-bg-color,rgba(60,60,60,.3));border-radius:12px;padding:12px 16px;margin-bottom:20px;border-left:3px solid var(--tg-theme-button-color,#5288c1);box-shadow:0 2px 4px rgba(0,0,0,.1)}.mail-reply-modal__original-topic{font-size:15px;font-weight:600;color:var(--tg-theme-text-color);margin-bottom:6px;line-height:1.3;word-wrap:break-word;word-break:break-word}.mail-reply-modal__original-author{font-size:13px;color:var(--tg-theme-hint-color,#aaa)}.mail-reply-modal__error{background:var(--tg-theme-negative-color,rgba(255,59,48,.1));border:1px solid var(--tg-theme-negative-color,rgba(255,59,48,.3));border-radius:8px;padding:12px;margin-bottom:16px;color:var(--tg-theme-negative-color,#ff3b30);font-size:14px;text-align:center}.mail-reply-modal__form-group{margin-bottom:18px}.mail-reply-modal__form-label{display:block;font-size:14px;font-weight:500;color:var(--tg-theme-text-color);margin-bottom:6px}.mail-reply-modal__form-input,.mail-reply-modal__form-select{width:100%;padding:12px;background:var(--tg-theme-bg-color,rgba(40,40,40,.8));border:1px solid var(--tg-theme-secondary-bg-color,rgba(60,60,60,.5));border-radius:8px;color:var(--tg-theme-text-color);font-size:15px;font-family:var(
        --tg-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif
    );transition:border-color .2s ease}.mail-reply-modal__form-input:focus,.mail-reply-modal__form-select:focus{outline:none;border-color:var(--tg-theme-button-color,#5288c1)}.mail-reply-modal__form-actions{display:flex;gap:12px;justify-content:stretch;margin-top:24px}.mail-reply-modal__success{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;text-align:center}.mail-reply-modal__success-icon{font-size:48px;color:var(--tg-theme-positive-color,#34c759);margin-bottom:16px}.mail-reply-modal__success-text{font-size:16px;font-weight:500;color:var(--tg-theme-text-color)}.mail-modal__history-item{margin-bottom:12px;padding:12px;background:var(--tg-theme-bg-color,rgba(40,40,40,.5));border-radius:8px}.mail-modal__history-item:last-child{margin-bottom:0}.mail-modal__history-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.mail-modal__history-author{font-size:13px;font-weight:500;color:var(--tg-theme-button-color,#5288c1)}.mail-modal__history-date{font-size:12px;color:var(--tg-theme-hint-color,#999)}.mail-modal__history-topic{font-size:14px;font-weight:500;color:var(--tg-theme-text-color);margin-bottom:6px}.mail-modal__history-content{font-size:14px;color:var(--tg-theme-text-color);line-height:1.4;white-space:pre-wrap;word-wrap:break-word}.mail-modal__message{margin-bottom:20px}.mail-modal__message-content{font-size:15px;color:var(--tg-theme-text-color);line-height:1.5;white-space:pre-wrap;word-wrap:break-word}.mail-modal__reply-section{display:flex;justify-content:center;padding:16px 0}.mail-modal__reply-button{min-width:120px}.mail-modal__reply-form{padding:16px;background:var(--tg-theme-secondary-bg-color,rgba(60,60,60,.3));border-radius:12px}.mail-modal__reply-form-header{margin-bottom:16px}.mail-modal__reply-form-header h4{font-size:16px;font-weight:600;margin:0;color:var(--tg-theme-text-color)}.mail-modal__form-group{margin-bottom:16px}.mail-modal__form-label{display:block;font-size:14px;font-weight:500;color:var(--tg-theme-text-color);margin-bottom:6px}.mail-modal__form-input,.mail-modal__form-select{width:100%;padding:12px;background:var(--tg-theme-bg-color,rgba(40,40,40,.8));border:1px solid var(--tg-theme-secondary-bg-color,rgba(60,60,60,.5));border-radius:8px;color:var(--tg-theme-text-color);font-size:15px;font-family:var(
        --tg-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif
    );transition:border-color .2s ease}.mail-modal__form-input:focus,.mail-modal__form-select:focus{outline:none;border-color:var(--tg-theme-button-color,#5288c1)}.mail-modal__form-textarea{width:100%;padding:12px;background:var(--tg-theme-bg-color,rgba(40,40,40,.8));border:1px solid var(--tg-theme-secondary-bg-color,rgba(60,60,60,.5));border-radius:8px;color:var(--tg-theme-text-color);font-size:15px;font-family:var(
        --tg-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif
    );resize:vertical;min-height:100px;transition:border-color .2s ease}.mail-modal__form-textarea:focus{outline:none;border-color:var(--tg-theme-button-color,#5288c1)}.mail-modal__form-textarea::placeholder{color:var(--tg-theme-hint-color,#aaa)}.mail-modal__error{background:var(--tg-theme-negative-color,rgba(255,59,48,.1));border:1px solid var(--tg-theme-negative-color,rgba(255,59,48,.3));border-radius:8px;padding:12px;margin-bottom:16px;color:var(--tg-theme-negative-color,#ff3b30);font-size:14px;text-align:center}.mail-modal__form-actions{display:flex;gap:12px;justify-content:flex-end}.mail-modal__success{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;text-align:center}.mail-modal__success-icon{font-size:48px;color:var(--tg-theme-positive-color,#34c759);margin-bottom:16px}.mail-modal__success-text{font-size:16px;font-weight:500;color:var(--tg-theme-text-color)}.mail-count{display:flex;justify-content:center;padding-bottom:8px}@media (max-width:480px){.mail-modal{max-height:85vh}.mail-modal__header{padding:12px;max-height:25vh}.mail-modal__title{font-size:16px;max-width:calc(100vw - 70px)}.mail-modal__body{padding:12px}.mail-modal__history{padding:10px;max-height:20vh}.mail-modal__history-item{padding:8px}.mail-modal__reply-section{padding:12px 0}}.menu-page{--font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-family:var(--font-family);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;animation:fadeInUp .4s cubic-bezier(.4,0,.2,1)}.menu-page .tgui-cell,.menu-page .tgui-list,.menu-page .tgui-section{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-touch-callout:none}.menu-page .tgui-section{animation:fadeInSection .5s cubic-bezier(.4,0,.2,1) backwards}.menu-page .tgui-section:first-child{animation-delay:.05s}.menu-page .tgui-section:nth-child(2){animation-delay:.1s}.menu-page .tgui-section:nth-child(3){animation-delay:.15s}.menu-page .tgui-section:nth-child(4){animation-delay:.2s}.menu-page .tgui-section:nth-child(5){animation-delay:.25s}.menu-page .tgui-section:nth-child(6){animation-delay:.3s}.menu-page .tgui-section__header{font-family:var(--font-family);font-weight:600;color:var(--tg-theme-hint-color);padding:16px 16px 8px}.menu-page .tgui-cell{padding:12px 16px;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden}.menu-page .tgui-cell:hover{background-color:transparent}.menu-page .tgui-cell:active{transform:scale(.97);transition:transform .15s cubic-bezier(.4,0,.2,1)}.menu-page .tgui-cell:after{content:"";position:absolute;top:50%;left:50%;width:0;height:0;border-radius:50%;background:var(--tg-theme-button-color);opacity:0;transform:translate(-50%,-50%);pointer-events:none}.menu-page .tgui-cell:active:after{animation:ripple .6s cubic-bezier(.4,0,.2,1)}.payment-container{padding:16px;display:flex;flex-direction:column;gap:12px;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;font-family:var(--tg-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif)}.payment-summary{margin-bottom:20px;display:flex;flex-direction:column;gap:16px}.payment-summary-item{display:flex;justify-content:space-between;align-items:center;font-size:15px;font-weight:500;color:var(--tg-theme-hint-color,#aaa);padding:12px 16px;background:var(--tg-theme-secondary-bg-color,rgba(60,60,60,.5));border-radius:12px}.payment-summary-debt{font-size:16px;font-weight:600;color:var(--tg-theme-negative-color,#ff3b30);background:var(--tg-theme-bg-color,rgba(0,0,0,.7));min-width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:16px;padding:0 10px;border:none}.payment-summary-no-debt,.payment-summary-overpayment{color:var(--tg-theme-button-color,#5288c1)}.payment-summary-no-debt,.payment-summary-no-overpayment,.payment-summary-overpayment{font-size:16px;font-weight:600;background:var(--tg-theme-bg-color,rgba(0,0,0,.7));min-width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:16px;padding:0 10px;border:none}.payment-summary-no-overpayment{color:var(--tg-theme-text-color)}.payment-cards{display:flex;flex-direction:column;gap:12px}.payment-card{background:var(--tg-theme-bg-color,rgba(40,40,40,.95));border:none;border-radius:16px;overflow:hidden;margin-bottom:12px;transition:all .2s ease;position:relative;box-shadow:0 2px 4px rgba(0,0,0,.1)}.payment-card,.payment-header{user-select:none;-webkit-user-select:none}.payment-header{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;cursor:pointer;transition:background .2s ease;border-radius:16px 16px 0 0;background:var(--tg-theme-secondary-bg-color,rgba(60,60,60,.95));border-bottom:none}.payment-header.expanded{border-bottom-left-radius:0;border-bottom-right-radius:0;background:var(--tg-theme-secondary-bg-color,rgba(80,80,80,.95));border-bottom:none}.payment-title{font-size:15px;font-weight:500;color:var(--tg-theme-text-color);line-height:1.3;user-select:none;-webkit-user-select:none;font-family:var(--tg-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif)}.payment-info{gap:16px}.payment-count,.payment-info{display:flex;align-items:center}.payment-count{font-size:16px;font-weight:600;color:var(--tg-theme-button-color);background:var(--tg-theme-bg-color,rgba(0,0,0,.7));min-width:32px;height:32px;justify-content:center;border-radius:16px;padding:0 10px;border:none;user-select:none;-webkit-user-select:none;font-family:var(--tg-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif)}.payment-details{padding:0 16px 16px;background:var(--tg-theme-bg-color,rgba(30,30,30,.95));border-bottom-left-radius:16px;border-bottom-right-radius:16px;overflow:hidden;max-height:2000px;transition:max-height .3s ease,opacity .3s ease}.payment-items-container{display:flex;flex-direction:column;gap:10px;padding-top:10px}.payment-item-card{background:var(--tg-theme-secondary-bg-color,rgba(60,60,60,.5));border-radius:12px;padding:12px;margin-bottom:8px}.payment-item-header{display:flex;justify-content:space-between;margin-bottom:8px;font-weight:500;color:var(--tg-theme-text-color)}.payment-item-amount{font-weight:600;color:var(--tg-theme-button-color,#5288c1)}.no-data,.payment-item-info{font-size:14px;color:var(--tg-theme-hint-color,#aaa)}.no-data{padding:16px;text-align:center;background:var(--tg-theme-secondary-bg-color,rgba(60,60,60,.3));border-radius:12px;margin-top:10px}.portfolio-container{padding:16px;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;font-family:var(--tg-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif)}.portfolio-container,.portfolio-summary{display:flex;flex-direction:column;gap:16px}.portfolio-summary{margin-bottom:20px}.portfolio-summary-item{display:flex;justify-content:space-between;align-items:center;font-size:15px;font-weight:500;color:var(--tg-theme-hint-color,#aaa);padding:12px 16px;background:var(--tg-theme-secondary-bg-color,rgba(60,60,60,.5));border-radius:12px}.portfolio-total-score{font-size:16px;font-weight:600;color:var(--tg-theme-button-color,#5288c1);background:var(--tg-theme-bg-color,rgba(0,0,0,.7));min-width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:16px;padding:0 10px;border:none}.portfolio-category{margin-bottom:24px;animation:fadeInUp .4s ease-out}.portfolio-category-title{font-size:16px;font-weight:600;margin-bottom:12px;color:var(--tg-theme-text-color);display:flex;align-items:center;padding:0 8px}.portfolio-category-title:before{content:"";display:block;width:4px;height:18px;background:var(--tg-theme-button-color,#5288c1);border-radius:2px;margin-right:10px}.portfolio-cards{display:flex;flex-direction:column;gap:12px}.portfolio-card{background:var(--tg-theme-bg-color,rgba(40,40,40,.95));border:none;overflow:hidden;margin-bottom:8px;transition:all .3s ease;position:relative;box-shadow:0 2px 8px rgba(0,0,0,.1);animation:fadeIn .3s ease-out forwards;opacity:0;animation-delay:calc(var(--index, 0) * 50ms)}.portfolio-card,.portfolio-header{border-radius:16px;user-select:none;-webkit-user-select:none}.portfolio-header{display:flex;justify-content:space-between;align-items:center;padding:16px;cursor:pointer;transition:background .2s ease;background:var(--tg-theme-secondary-bg-color,rgba(60,60,60,.95))}.portfolio-header.expanded{border-bottom-left-radius:0;border-bottom-right-radius:0;background:var(--tg-theme-secondary-bg-color,rgba(80,80,80,.95));border-bottom:none}.portfolio-title{font-size:15px;font-weight:500;color:var(--tg-theme-text-color);line-height:1.3;user-select:none;-webkit-user-select:none;font-family:var(--tg-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif);flex:1;margin-right:16px}.portfolio-info{display:flex;align-items:center;gap:12px}.portfolio-score{font-size:16px;font-weight:600;color:var(--tg-theme-button-color);background:var(--tg-theme-bg-color,rgba(0,0,0,.7));min-width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:16px;padding:0 10px;border:none;user-select:none;-webkit-user-select:none;box-shadow:0 2px 4px rgba(0,0,0,.15);font-family:var(--tg-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif)}.portfolio-details{padding:0 16px 16px;background:var(--tg-theme-bg-color,rgba(30,30,30,.95));border-bottom-left-radius:16px;border-bottom-right-radius:16px;overflow:hidden;max-height:2000px;transition:all .3s ease}.portfolio-details-content{padding-top:12px;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}.portfolio-detail-item{margin-bottom:10px}.portfolio-detail-label{font-size:13px;color:var(--tg-theme-hint-color,#aaa);margin-bottom:4px;text-transform:uppercase;letter-spacing:.5px}.portfolio-detail-value{font-size:14px}.portfolio-badge,.portfolio-detail-value{color:var(--tg-theme-text-color);font-weight:500}.portfolio-badge{display:inline-flex;align-items:center;justify-content:center;padding:4px 10px;font-size:12px;border-radius:12px;margin-right:8px;background:var(--tg-theme-secondary-bg-color,rgba(80,80,80,.5));box-shadow:0 1px 3px rgba(0,0,0,.2)}.portfolio-badge.verified{background:var(--tg-theme-button-color,#5288c1);color:var(--tg-theme-button-text-color,#fff)}.error-container{color:var(--tg-theme-negative-color,#ff3b30);padding:24px}.empty-state{height:200px;padding:16px}.empty-message{font-size:15px;text-align:center;color:var(--tg-theme-hint-color,#aaa)}.load-more-button{background:var(--tg-theme-button-color,#5288c1);color:var(--tg-theme-button-text-color,#fff);border:none;border-radius:12px;padding:12px 20px;font-size:15px;font-weight:500;cursor:pointer;display:flex;align-items:center;justify-content:center;margin:20px auto;transition:all .2s ease;box-shadow:0 2px 6px rgba(0,0,0,.15)}.load-more-button:hover{opacity:.9;transform:translateY(-1px);box-shadow:0 3px 8px rgba(0,0,0,.2)}.load-more-button:active{transform:translateY(1px);box-shadow:0 1px 3px rgba(0,0,0,.15)}.portfolio-page-wrapper{position:relative;height:100%;width:100%}.portfolio-page-wrapper.has-modal{overflow:hidden;height:100vh;width:100vw;position:fixed;top:0;left:0}.portfolio-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;z-index:2000;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);animation:fadeIn .2s ease-in-out}.portfolio-modal{width:90%;max-width:480px;max-height:90vh;background:var(--tg-theme-bg-color,#121212);border-radius:16px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 8px 24px rgba(0,0,0,.3);animation:scaleIn .3s ease-in-out}@keyframes scaleIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.portfolio-modal-header{padding:16px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--tg-theme-secondary-bg-color,rgba(60,60,60,.7))}.portfolio-modal-title{font-size:18px;font-weight:600;margin:0;color:var(--tg-theme-text-color);flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.portfolio-modal-close{background:none;border:none;color:var(--tg-theme-hint-color,#aaa);font-size:18px;cursor:pointer;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s ease;margin-left:8px}.portfolio-modal-close:hover{background-color:var(--tg-theme-secondary-bg-color,rgba(60,60,60,.5));color:var(--tg-theme-text-color)}.portfolio-modal-content{padding:16px;overflow-y:auto;max-height:calc(90vh - 70px)}.portfolio-modal-score{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:var(--tg-theme-secondary-bg-color,rgba(60,60,60,.3));border-radius:12px;margin-bottom:16px}.portfolio-modal-score-label{font-weight:500;color:var(--tg-theme-hint-color,#aaa)}.portfolio-modal-score-value{font-size:18px;font-weight:600;color:var(--tg-theme-button-color,#5288c1)}.portfolio-modal-detail{margin-bottom:16px;border-bottom:1px solid var(--tg-theme-secondary-bg-color,rgba(60,60,60,.3));padding-bottom:12px}.portfolio-modal-detail:last-child{border-bottom:none;margin-bottom:0}.portfolio-modal-detail-label{font-size:13px;color:var(--tg-theme-hint-color,#aaa);margin-bottom:6px;text-transform:uppercase;letter-spacing:.5px}.portfolio-modal-detail-value{font-size:15px;color:var(--tg-theme-text-color);font-weight:500}.portfolio-tg-modal{max-height:97vh;width:100%;font-family:var(--tg-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif);z-index:9999!important}.portfolio-modal-nested{border-top-left-radius:16px!important;border-top-right-radius:16px!important;border-bottom-left-radius:0!important;border-bottom-right-radius:0!important;transform:translateY(100%);transition:transform .3s ease-out}.portfolio-modal-nested[data-state=open]{transform:translateY(0)}.portfolio-tg-modal-content{display:flex;flex-direction:column;padding:0 16px 24px;position:relative;font-family:var(--tg-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif)}.portfolio-tg-modal-content:before{content:"";width:36px;height:4px;background:var(--tg-theme-hint-color,hsla(0,0%,50%,.3));border-radius:2px;margin:8px auto 16px;display:block}:global(.tgui-modal),:global(.tgui-modal-root),:global(.tgui-modal__container),:global(.tgui-modal__overlay){position:fixed!important;z-index:9999!important}.telegram-font-family{font-family:var(--tg-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif)!important}.grades-container{padding:16px;display:flex;flex-direction:column;gap:12px;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;font-family:var(--tg-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif)}.semesters-nav{position:relative;padding:10px 16px;margin-bottom:8px;user-select:none;-webkit-user-select:none;z-index:1}.semesters-container{display:flex;width:100%;justify-content:space-evenly;gap:8px;padding:4px;background:var(--tg-theme-secondary-bg-color,rgba(46,46,46,.7));border-radius:14px;border:1px solid hsla(0,0%,100%,.08);box-shadow:0 2px 8px rgba(0,0,0,.15);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}.semester-btn{flex:1;height:34px;border:none;background:rgba(0,0,0,.2);color:var(--tg-theme-hint-color,#aaa);font-size:14px;font-weight:500;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:12px;transition:all .3s cubic-bezier(.22,1,.36,1);position:relative;overflow:hidden;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none;font-family:var(--tg-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif)}.semester-btn:after{content:"";position:absolute;bottom:6px;left:50%;width:0;height:2px;transform:translateX(-50%);transition:width .2s ease;opacity:0}.semester-btn.active,.semester-btn:after{background:var(--tg-theme-button-color,#5288c1)}.semester-btn.active{color:var(--tg-theme-button-text-color,#fff);font-weight:500;box-shadow:0 1px 3px rgba(0,0,0,.2);transform:translateY(-1px)}.semester-btn:not(.active):focus,.semester-btn:not(.active):hover{background:hsla(0,0%,100%,.05);color:var(--tg-theme-text-color,#fff);transform:translateY(-1px)}.semester-btn:active{transform:translateY(0)}.semester-btn.active:after{width:40%;opacity:1}@keyframes fadeIn{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.grade-card{animation:fadeIn .3s ease-out;background:var(--tg-theme-bg-color,rgba(40,40,40,.95));border:none;border-radius:16px;overflow:hidden;margin-bottom:12px;transition:all .2s ease;position:relative;box-shadow:0 2px 4px rgba(0,0,0,.1)}.grade-card,.grade-header{user-select:none;-webkit-user-select:none}.grade-header{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;cursor:pointer;transition:background .2s ease;border-radius:16px 16px 0 0;background:var(--tg-theme-secondary-bg-color,rgba(60,60,60,.95));border-bottom:none}.grade-header.expanded{border-bottom-left-radius:0;border-bottom-right-radius:0;background:var(--tg-theme-secondary-bg-color,rgba(80,80,80,.95));border-bottom:none}.grade-title{font-size:15px;font-weight:500;color:var(--tg-theme-text-color);line-height:1.3;user-select:none;-webkit-user-select:none;font-family:var(--tg-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif)}.grade-info{gap:16px}.grade-info,.grade-score{display:flex;align-items:center}.grade-score{font-size:14px;font-weight:600;background:var(--tg-theme-bg-color,rgba(0,0,0,.7));min-width:80px;height:32px;justify-content:center;border-radius:16px;padding:0 12px;border:none;user-select:none;-webkit-user-select:none;font-family:var(--tg-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.expand-icon,.grade-score{color:var(--tg-theme-button-color)}.expand-icon{font-size:11px;transition:transform .3s cubic-bezier(.34,1.56,.64,1);opacity:.8}.expand-icon.expanded{transform:rotate(180deg);opacity:1}.grade-details{padding:0 16px 16px;background:var(--tg-theme-bg-color,rgba(30,30,30,.95));border-bottom-left-radius:16px;border-bottom-right-radius:16px;overflow:hidden;user-select:none;-webkit-user-select:none;animation:slideDownFade .35s cubic-bezier(.4,0,.2,1) forwards}.grade-details.closing{animation:slideUpFade .3s cubic-bezier(.4,0,.2,1) forwards}@keyframes slideDownFade{0%{opacity:0;transform:translateY(-10px) scaleY(.95);max-height:0}to{opacity:1;transform:translateY(0) scaleY(1);max-height:2000px}}@keyframes slideUpFade{0%{opacity:1;transform:translateY(0) scaleY(1);max-height:2000px}to{opacity:0;transform:translateY(-10px) scaleY(.95);max-height:0;padding:0}}.control-points-container{display:flex;flex-direction:column;gap:12px;padding-top:12px}.subject-details-card{animation:fadeInScale .3s cubic-bezier(.4,0,.2,1) backwards}@keyframes fadeInScale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.subject-details-card{background:var(--tg-theme-secondary-bg-color,rgba(50,50,50,.95));border-radius:14px;overflow:hidden;border:none;user-select:none;-webkit-user-select:none;box-shadow:0 1px 3px rgba(0,0,0,.1)}.subject-details-content{padding:12px 14px;background:var(--tg-theme-bg-color,rgba(40,40,40,.95));border-radius:14px}.rating-item,.subject-details-content{user-select:none;-webkit-user-select:none}.rating-item{display:flex;justify-content:space-between;align-items:center;padding:10px 0;font-family:var(--tg-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif);animation:fadeInUp .3s cubic-bezier(.4,0,.2,1) backwards}.rating-item:first-child{animation-delay:.1s}.rating-item:nth-child(2){animation-delay:.15s}.rating-item:nth-child(3){animation-delay:.2s}@keyframes fadeInUp{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.rating-item:not(:last-child){padding-bottom:8px;margin-bottom:8px;border-bottom:1px solid var(--tg-theme-secondary-bg-color,rgba(60,60,60,.8))}.rating-label{font-size:14px;color:var(--tg-theme-text-color);font-weight:400;user-select:none;-webkit-user-select:none;font-family:var(--tg-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif)}.rating-value{color:var(--tg-theme-button-color);background:var(--tg-theme-bg-color,rgba(0,0,0,.7));min-width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:12px;padding:0 8px;border:none}.rating-value,.rating-value-text{font-size:14px;font-weight:500;user-select:none;-webkit-user-select:none;font-family:var(--tg-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif)}.rating-value-text{color:var(--tg-theme-text-color);text-align:right;max-width:65%}.rating-value-mark{font-size:14px;font-weight:600;padding:4px 10px;border-radius:12px;background:var(--tg-theme-bg-color,rgba(0,0,0,.7));user-select:none;-webkit-user-select:none;font-family:var(--tg-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif)}.loader-container{display:flex;justify-content:center;align-items:center;height:200px}@media (min-width:600px){.semester-btn{height:40px;font-size:15px}}.header-container{display:none}section>div:first-child{position:relative}.average-score-badge{position:absolute;right:16px;top:50%;transform:translateY(-50%);background:var(--tg-theme-bg-color,rgba(0,0,0,.7));min-width:36px;height:36px;border-radius:18px;padding:0 10px;border:none}.average-score-badge,.average-score-value{display:flex;align-items:center;justify-content:center}.average-score-value{font-size:16px;font-weight:600;color:var(--tg-theme-button-color);user-select:none;-webkit-user-select:none;font-family:var(--tg-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif)}.average-score-container,.average-score-label{display:none}.teachers-page{--font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-family:var(--font-family);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;padding-bottom:60px;background:var(--tg-theme-secondary-bg-color,#efeff4);min-height:100vh}.teachers-search{width:100%;padding:8px 0}.search-input-container{position:relative;width:100%}.search-input{width:100%}.search-icon{color:var(--tg-theme-hint-color,#8e8e93);width:16px;height:16px}.search-tooltip{top:100%;background:var(--tg-theme-secondary-bg-color,#2c2c2e);color:var(--tg-theme-text-color,#fff);padding:8px 12px;border-radius:8px;font-size:13px;font-weight:500;white-space:nowrap;box-shadow:0 4px 12px rgba(0,0,0,.15);z-index:1000;margin-top:8px;animation:tooltipFadeIn .2s ease-out}.search-tooltip,.search-tooltip-arrow{position:absolute;left:50%;transform:translateX(-50%)}.search-tooltip-arrow{top:-4px;width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:4px solid var(--tg-theme-secondary-bg-color,#2c2c2e)}@keyframes tooltipFadeIn{0%{opacity:0;transform:translateX(-50%) translateY(-4px)}to{opacity:1;transform:translateX(-50%) translateY(0)}}.teachers-content{padding:4px 8px 16px;min-height:calc(100vh - 200px)}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:64px 16px;text-align:center}.loading-text{margin-top:16px;color:var(--tg-theme-hint-color,#8e8e93);font-size:14px}.error-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:64px 16px;text-align:center;background-color:var(--tg-theme-secondary-bg-color,#efeff4);border-radius:12px;margin:16px 0}.error-message{font-size:18px;font-weight:600;color:var(--tg-theme-text-color,#000);margin-bottom:8px}.error-details{font-size:14px;color:var(--tg-theme-hint-color,#8e8e93)}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:64px 16px;text-align:center;margin:16px 0}.empty-state-title{font-size:18px;font-weight:600;color:var(--tg-theme-text-color,#000);margin-bottom:8px}.empty-state-subtitle{font-size:14px;color:var(--tg-theme-hint-color,#8e8e93)}.teachers-grid{padding:0 8px}.teachers-count{display:flex;justify-content:center;margin-bottom:16px}.teachers-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px;margin-bottom:16px}.teacher-card{cursor:pointer;border-radius:12px;overflow:hidden;box-shadow:0 1px 4px rgba(0,0,0,.08);background:var(--tg-theme-bg-color,#fff);border:1px solid var(--tg-theme-secondary-bg-color,rgba(0,0,0,.1))}.teacher-card-content{display:flex;align-items:center;gap:12px;padding:16px}.teacher-avatar-modern{flex-shrink:0}.teacher-card-info{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.teacher-card-name{font-size:16px;font-weight:600;color:var(--tg-theme-text-color,#000);line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pagination-container{display:flex;justify-content:center;padding:16px 2px}.pagination-container .tgui-pagination{transform:scale(.9)}.pagination-container .tgui-pagination button{min-width:32px;height:32px;font-size:13px}.teachers-page .tgui-section__header{font-family:var(--font-family);font-weight:600;color:var(--tg-theme-hint-color,#8e8e93);padding:12px 16px 6px;font-size:13px}.teachers-page .tgui-cell{font-family:var(--font-family)}.teachers-page .tgui-list{margin:0;padding:0}.teachers-page .tgui-section{margin:0}@media (max-width:480px){.teachers-content{padding:4px 8px 12px}.teachers-cards{grid-template-columns:1fr;gap:8px}.teacher-card-content{padding:12px;gap:10px}.teacher-card-name{font-size:15px}.teachers-page .tgui-section__header{padding:8px 12px 4px;font-size:12px}}@media (prefers-color-scheme:dark){.teacher-card{box-shadow:0 1px 4px rgba(0,0,0,.2);border:1px solid hsla(0,0%,100%,.1)}.search-tooltip{box-shadow:0 4px 12px rgba(0,0,0,.5)}.error-container{border:1px solid hsla(0,0%,100%,.1)}}