.category-card{min-height:268px}.category-card .category-logo{width:76px;height:78px;object-fit:contain;object-position:center;background:none;border:0;border-radius:0;padding:0;margin-top:22px}.category-card.active .category-logo{background:none;border:0}.academy-header nav{gap:23px}.auth-header-actions{display:flex;gap:9px;align-items:center}.academy-header nav .header-login{background:transparent;color:#193452;border:1px solid #d4dce7;padding:12px 19px}.academy-header nav .header-register{background:linear-gradient(120deg,#f0d895,#d5ae55);color:#17304f;border-color:#ddbd78;padding:12px 19px}.academy-header nav .header-account{background:#102d4f;color:#eed393;border:1px solid #234366;max-width:190px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.academy-header nav .header-signout{background:transparent;color:#8090a5;border:0;padding:10px;font-size:10px}
#account-dialog{width:min(440px,calc(100% - 32px));max-height:calc(100dvh - 40px);box-sizing:border-box;overflow:auto;border:1px solid #d9e1ec;border-radius:18px;padding:28px 30px;background:#fff;color:#18304e;box-shadow:0 30px 90px #00132933}#account-dialog::backdrop{background:#03152f99;backdrop-filter:blur(5px)}.account-dialog-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.account-dialog-top .eyebrow{font-size:9px;letter-spacing:2px}.account-close{display:grid;place-items:center;background:#f3f5f9;color:#8290a4;width:32px;height:32px;border-radius:50%;font-size:22px}.account-tabs{display:flex;gap:4px;background:#f1f4f8;padding:4px;border-radius:9px;margin-bottom:24px}.account-tabs button{flex:1;min-height:38px;font-size:11px;font-weight:650;color:#8a96a6;border-radius:6px;background:transparent}.account-tabs button.active{background:#fff;color:#173353;box-shadow:0 2px 7px #17304e0a}#account-title{font-size:24px;letter-spacing:-.8px;line-height:1.3;margin:0 0 10px;font-family:inherit}.account-description{font-size:11px;line-height:1.8;color:#8994a4;margin:0 0 22px}#account-dialog label{display:block;font-size:10px;font-weight:650;color:#52647d;margin:15px 0 7px}#account-dialog input{width:100%;height:46px;border:1px solid #dce3ec;border-radius:8px;background:#fbfcfe;padding:12px 13px;font:inherit;font-size:12px;color:#17304f;box-sizing:border-box}#account-dialog input:focus{outline:2px solid #d5bb7d;outline-offset:1px;background:#fff}.account-password-wrap{position:relative}.account-password-wrap input{padding-right:62px!important}.account-password-wrap button{position:absolute;right:6px;top:6px;background:#eef2f7;border-radius:6px;height:34px;padding:0 10px;color:#77859b;font-size:9px}.account-submit{margin-top:22px;display:block;width:100%;min-height:46px;border-radius:8px;background:linear-gradient(110deg,#102c4e,#193e64);color:#fff;font-size:12px;font-weight:650;letter-spacing:.2px}.account-submit:disabled{opacity:.5;cursor:wait}.account-hint{font-size:10px;color:#8f99a8;line-height:1.8;margin:12px 0 0}.account-message{font-size:11px;line-height:1.8;padding:12px 14px;background:#fff7e8;color:#987128;border:1px solid #f0e2bf;border-radius:8px;margin-bottom:18px;overflow-wrap:anywhere}.account-message.success{color:#397453;background:#eff8f2;border-color:#d9eadf}.account-footer{font-size:9px;color:#ae9461;font-style:italic;text-align:center;border-top:1px solid #edf0f5;padding-top:17px;margin:24px 0 0}.account-profile-card{display:flex;gap:14px;align-items:center;padding:18px;border:1px solid #e2e8f0;background:#f8fafc;border-radius:10px}.account-avatar{width:42px;height:42px;flex:none;display:grid;place-items:center;background:#102d4e;color:#e7ca88;border-radius:50%;font-weight:750;font-size:18px}.account-profile-card strong{display:block;font-size:13px;word-break:break-word}.account-profile-card small{display:block;font-size:10px;color:#909bad;margin-top:6px;word-break:break-all}.account-signout{display:block;margin:12px auto 0;background:transparent;color:#8c7880;font-size:10px;min-height:36px}#account-dialog [hidden]{display:none!important}
@media(max-width:920px){.academy-header{gap:16px}.academy-header nav{gap:13px}.academy-header nav>a{display:none}.header-brand b{font-size:13px}.academy-header nav button{font-size:10px;padding:11px 13px}}
@media(max-width:600px){.academy-header{padding:15px 16px}.academy-header nav{gap:0}.academy-header nav>#catalog-menu{display:none}.auth-header-actions{gap:6px}.academy-header nav .header-login,.academy-header nav .header-register{font-size:9px;padding:10px 12px;min-height:37px}.header-brand b{font-size:9px;letter-spacing:.7px}.header-brand>img{width:42px;height:36px}.header-brand{gap:7px}.header-brand small{font-size:6px}.category-card{min-height:0;grid-template-columns:58px 1fr;gap:0 16px}.category-card .category-logo{width:58px;height:65px;margin:0}.category-card .category-bottom{margin-top:12px}.category-card strong{margin-bottom:0}.academy-header nav .header-account{max-width:110px;font-size:9px;padding:10px}.academy-header nav .header-signout{padding:8px;font-size:9px}#account-dialog{padding:23px 22px;max-height:calc(100dvh - 25px);border-radius:14px}#account-title{font-size:23px}.account-profile-card{padding:15px}}
