/* Scoped portal styling. Account, payment, lesson and examination layouts are not overridden. */
.portal-page{--pd-blue:#2183ff;--pd-text:#192b43;background:#fff;color:var(--pd-text);padding:28px 0 52px}.pd-container{width:min(1360px,calc(100% - 184px));margin:auto}.portal-page *{box-sizing:border-box}.portal-page a{color:inherit;text-decoration:none}.portal-page button{cursor:pointer}.portal-page button:disabled{cursor:default}.portal-page svg{width:28px;height:28px;flex-shrink:0}.portal-page img{display:block;max-width:100%}.portal-page h1,.portal-page h2,.portal-page h3,.portal-page p{overflow-wrap:anywhere}.portal-page h2{font-size:25px;color:#182a42;margin:0}.portal-page h3{font-size:16px;line-height:1.5;margin:0}.pd-section{margin:0 0 32px}.pd-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 20px}.pd-heading h2{font-weight:750}.pd-more,.pd-heading>a{font-size:14px;color:var(--pd-blue)!important;flex-shrink:0}.pd-home-search{display:flex;gap:0;margin:0 0 22px;padding-left:186px}.pd-home-search input{min-width:0;flex:1;border:1px solid var(--pd-blue);border-radius:4px 0 0 4px;height:46px;padding:0 16px;background:#fff;font:inherit}.pd-home-search .btn{border-radius:0 4px 4px 0;min-width:110px;margin:0}.pd-home-hero{display:grid;grid-template-columns:166px minmax(0,1fr) 285px;gap:20px;align-items:stretch}.pd-home-hero.no-news{grid-template-columns:166px minmax(0,1fr)}.pd-shortcuts{background:var(--pd-blue);color:#fff;border-radius:5px;overflow:hidden;display:flex;flex-direction:column}.pd-shortcuts>a{display:flex;align-items:center;gap:10px;color:#fff;padding:17px 15px;min-height:57px;border-bottom:1px solid #ffffff24;flex:1}.pd-shortcuts svg{width:24px;height:24px;color:#d4e8ff}.pd-shortcuts span{flex:1;font-size:16px}.pd-shortcuts b{font-size:18px;font-weight:400}.pd-shortcuts>a:hover{background:#106de0}.pd-home-main{min-width:0;display:flex;flex-direction:column}.pd-slider{position:relative;border-radius:6px;overflow:hidden;background:#eef5ff;isolation:isolate}.pd-slider:not(.compact){aspect-ratio:4.4}.pd-slider.compact{height:100%;min-height:330px}.pd-slide,.pd-slide-link{height:100%;width:100%;display:block}.pd-slide[hidden]{display:none!important}.pd-slide img{width:100%;height:100%;object-fit:contain}.pd-slider-controls{position:absolute;right:12px;bottom:12px;display:flex;align-items:center;gap:10px;padding:5px 8px;background:#102744be;color:white;border-radius:5px}.pd-slider-controls button{border:0;background:transparent;color:#fff;font:inherit;min-width:26px;height:28px;padding:0}.pd-slider-controls span{font-size:12px}.pd-home-welcome{flex:1;border-radius:6px;background:linear-gradient(120deg,#e9f3ff,#cce3ff);padding:50px 34px;display:flex;flex-direction:column;justify-content:center}.pd-home-welcome h1{font-size:32px;line-height:1.5;margin:0 0 28px}.pd-home-welcome>div{display:flex;gap:20px;flex-wrap:wrap;color:var(--pd-blue)}.pd-news{min-width:0;border-top:3px solid var(--pd-blue);padding:12px 0 0}.pd-news .pd-heading{margin-bottom:0}.pd-news h2{font-size:19px}.pd-news a{display:block;padding:10px 0;border-bottom:1px solid #edf1f6}.pd-news time{font-size:11px;color:#708197}.pd-news h3{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pd-news p{margin:3px 0;color:#748399;font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.pd-topics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.pd-topic{background:linear-gradient(100deg,#e5f5ff,#d0e6ff);min-height:78px;padding:16px 20px;border:1px solid #deedfe;border-radius:6px;display:flex;align-items:center;gap:14px}.pd-topic>img{width:65px;height:46px;object-fit:cover;border-radius:4px}.pd-topic>svg{color:var(--pd-blue)}.pd-topic strong{font-size:16px;font-weight:500;flex:1}.pd-topic>span{color:var(--pd-blue);font-size:20px}.pd-about{font-size:16px;line-height:1.95;white-space:pre-wrap}.pd-businesses{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:26px}.pd-businesses>a{border:1px solid #e6ecf5;border-radius:7px;padding:24px;background:#f9fbfe;display:block}.pd-businesses svg{color:var(--pd-blue);width:34px;height:34px;margin-bottom:14px}.pd-businesses h3{font-size:20px}.pd-businesses p{font-size:14px;color:#63748a;line-height:1.75;max-height:5.25em;overflow:hidden}.pd-businesses span{font-size:13px;color:var(--pd-blue)}.pd-course-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}.pd-course{min-width:0;border:1px solid #e9eff6;background:#fff;border-radius:7px;overflow:hidden;transition:box-shadow .18s,transform .18s}.pd-course:hover{box-shadow:0 6px 22px #21446713;transform:translateY(-2px)}.pd-course>a{display:block;height:100%}.pd-cover{aspect-ratio:16/9;position:relative;overflow:hidden;background:#e7f1ff}.pd-cover img{width:100%;height:100%;object-fit:cover}.pd-cover-fallback{display:flex;align-items:center;justify-content:center;gap:12px;height:100%;background:linear-gradient(140deg,#dceeff,#b6d8ff);padding:15px;color:#1e578f}.pd-cover-fallback span{font-weight:650;max-width:150px}.pd-hours{position:absolute;right:0;bottom:0;font-size:11px;color:#fff;background:#133861ac;padding:3px 7px}.pd-course-body{padding:14px 14px 12px}.pd-course-body h3{font-size:14px;min-height:42px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.pd-course-meta{height:22px;line-height:22px;color:#758399;font-size:11px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.pd-course-price{display:flex;align-items:center;gap:8px;margin-top:8px}.pd-course-price b{font-size:15px;color:#1b6cd2;font-weight:650;flex-shrink:0}.pd-course-price span{color:#718398;font-size:11px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.pd-subject-row{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:18px;margin-bottom:28px}.pd-subject-panel{padding:22px;background:#dceaff;border-radius:7px}.pd-subject-row:nth-child(even) .pd-subject-panel{background:#ecf3fc}.pd-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.pd-feature-grid .pd-course>a{display:flex}.pd-feature-grid .pd-cover{width:49%;aspect-ratio:auto;min-height:136px;flex-shrink:0}.pd-feature-grid .pd-course-body{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:space-between}.pd-ranking{background:#f3f6fb;border-radius:7px;padding:18px}.pd-ranking>h3{font-size:22px;margin-bottom:14px}.pd-ranking>a{display:flex;gap:9px;align-items:center;margin-top:9px;padding:8px;background:#fff;border-radius:6px;min-height:38px}.pd-ranking img{width:68px;height:45px;object-fit:cover;border-radius:3px}.pd-ranking a>span{font-size:12px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;flex:1}.pd-rank-no{font-size:12px;color:#2478f2;min-width:18px}.pd-teachers{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;background:#f4f7fb;border-radius:7px;padding:22px}.pd-teacher{display:block;padding:18px 16px;background:#fff;border-radius:7px;text-align:center}.pd-portrait{width:94px;height:94px;border-radius:50%;overflow:hidden;background:#edf5ff;margin:0 auto 15px;display:flex;align-items:center;justify-content:center}.pd-portrait img{width:100%;height:100%;object-fit:cover}.pd-portrait svg{width:44px;height:44px;color:#7da7d5}.pd-teacher h3{font-size:18px}.pd-teacher-direction{display:block;margin:10px 0;color:#277be7;font-size:12px}.pd-teacher p{font-size:13px;color:#64748a;line-height:1.8;text-align:left;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.pd-providers{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;border-radius:8px;background:linear-gradient(110deg,#237ff6,#105fe2);padding:22px}.pd-provider{padding:20px 12px;display:flex;flex-direction:column;align-items:center;text-align:center;background:#fff;border-radius:5px;gap:10px}.pd-provider>img{width:84px;height:68px;object-fit:contain}.pd-provider h3{font-size:15px}.pd-provider>span:last-child{font-size:12px;color:#748299}.pd-logo-letter{display:inline-flex;align-items:center;justify-content:center;background:#eef5ff;color:#2478f2;border-radius:7px;width:66px;height:66px;font-size:27px}.pd-institutions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.pd-institution{border:1px solid #e0e6ee;border-radius:6px;overflow:hidden;min-width:0;background:#fff}.pd-institution>a{padding:17px;display:block}.pd-institution-cover{aspect-ratio:16/9;width:100%;object-fit:cover}.pd-institution-name{display:flex;align-items:center;gap:12px;min-width:0}.pd-institution-name>img{width:60px;height:60px;object-fit:contain}.pd-institution-name>h3{font-size:16px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.pd-institution p{color:#738195;font-size:13px;line-height:1.8}.pd-lines{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;line-height:1.8;font-size:14px;color:#6b7a8e;white-space:pre-wrap}.pd-institution-foot{background:#f0f4fa;margin:15px -17px -17px;padding:12px 15px;display:flex;flex-direction:column;gap:5px;color:#61758e;font-size:12px;min-height:62px}.pd-institution-foot span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pd-tutorials{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-bottom:22px}.pd-tutorial{border-radius:6px;overflow:hidden;background:#fff;border:1px solid #e6edf6;display:block}.pd-tutorial-cover{aspect-ratio:1.85;background:linear-gradient(115deg,#4babff,#2779ed);display:flex;align-items:center;justify-content:center;color:#fff}.pd-tutorial:nth-child(2) .pd-tutorial-cover{background:linear-gradient(115deg,#91c9fd,#4194ed)}.pd-tutorial:nth-child(3) .pd-tutorial-cover{background:linear-gradient(115deg,#64cadc,#2295b7)}.pd-tutorial-cover>img{width:100%;height:100%;object-fit:cover}.pd-tutorial-cover>svg{width:68px;height:68px}.pd-tutorial h3{font-size:16px;padding:14px 18px}.pd-faqs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 28px;background:white;padding:18px 24px;border:1px solid #e9edf5;border-radius:6px}.pd-faqs>a{display:block;font-size:14px;padding:13px 0 13px 13px;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pd-faqs>a:before{content:'•';position:absolute;left:0;color:#8394ad}.pd-audiences{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.pd-audiences>a{padding:25px;border-radius:6px;background:#e6f0ff;display:flex;align-items:center;justify-content:center;gap:18px}.pd-audiences svg{color:#2478f2}.pd-contact{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:24px}.pd-contact>section{background:white;border:1px solid #e2eaf4;border-radius:7px;padding:28px;text-align:center}.pd-contact h3{margin:0 0 22px;color:#217bdf;font-size:19px}.pd-contact .contact-actions{justify-content:center;flex-wrap:wrap}.pd-contact p{font-size:14px}.pd-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.pd-links>a{display:flex;align-items:center;justify-content:center;padding:18px;background:#f0f5fd;border-radius:5px;font-size:14px;gap:10px}.pd-links img{width:34px;height:34px;object-fit:contain}.pd-floating{position:fixed;right:10px;top:45%;width:64px;transform:translateY(-30%);z-index:25;background:#fff;border:1px solid #e9edf2;box-shadow:0 2px 12px #12284412;border-radius:8px;overflow:hidden}.pd-floating>a,.pd-floating>button{border:0;border-bottom:1px solid #edf1f5;background:#fff;width:100%;min-height:64px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;color:#718095;padding:10px 3px}.pd-floating span{font-size:11px}.pd-floating [data-pd-top] svg{transform:rotate(-90deg)}.pd-qr-popup{position:fixed;right:86px;top:40%;z-index:30;width:220px;padding:24px;background:#fff;border:1px solid #dce6f3;border-radius:7px;box-shadow:0 6px 26px #23446630;text-align:center}.pd-qr-popup[hidden]{display:none}.pd-qr-popup>button{position:absolute;right:4px;top:2px;border:0;background:#fff;font-size:22px}.pd-qr-popup img{width:170px;height:170px;object-fit:contain}.pd-qr-popup p{font-size:13px}.pd-filter-box{background:#f4f8fe;border-radius:7px;padding:18px 22px;margin-bottom:18px}.pd-filter-box .filter-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:8px 0;margin:0;min-width:0}.pd-filter-box .chip{display:inline-block;padding:5px 12px;line-height:1.5;border-radius:4px;font-size:14px;white-space:normal;word-break:break-word}.pd-filter-box .chip.active{background:var(--pd-blue);color:#fff}.pd-filter-box b{font-size:13px;min-width:64px;color:#6b7c92}.pd-catalog-search{display:flex;gap:10px;max-width:550px;margin-top:12px}.pd-catalog-search input{flex:1;min-width:0}.pd-catalog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.pd-catalog-toolbar .sort-row{margin:0;flex-wrap:wrap}.pd-catalog-toolbar>span{font-size:13px;flex-shrink:0;color:#718298}.portal-page .pagination{margin:26px 0}.pd-platforms .portal-search,.pd-institutions .portal-search,.pd-help .portal-search{margin:-28px 0 26px;background:linear-gradient(100deg,#dcecff,#b8d7ff);border-radius:0 0 7px 7px}.portal-page .portal-search .container{width:100%;padding:26px;gap:30px;display:flex;align-items:center;justify-content:space-between;max-width:none}.portal-page .portal-search h1{font-size:25px;margin:0;white-space:nowrap}.portal-page .portal-search-form{flex:1;max-width:660px;display:flex;min-width:0}.portal-page .portal-search-form .input{min-width:0;flex:1}.pd-platform-row{display:grid;grid-template-columns:minmax(240px,0.9fr) minmax(0,1.5fr);gap:25px;padding:25px;background:#fff;border:1px solid #e6edf5;border-radius:7px;margin-bottom:20px}.pd-platform-profile>a:first-child{display:flex;align-items:center;gap:18px}.pd-platform-profile>a>img{width:78px;height:78px;object-fit:contain}.pd-platform-profile h2{font-size:21px}.pd-platform-profile p{font-size:13px;color:#6f8096}.pd-platform-profile .pd-more{display:inline-block;margin-top:14px}.pd-platform-courses{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:start}.pd-empty-inline{padding:30px;text-align:center;color:#718399;font-size:14px;grid-column:1/-1}.pd-help{background:#f3f5f8}.pd-help .pd-section{margin-bottom:38px}.pd-detail{background:white;border:1px solid #e5ebf4;border-radius:7px;padding:30px;margin-bottom:28px}.pd-detail>img{max-height:330px;width:auto;margin:0 auto 22px;object-fit:contain}.pd-detail time{display:block;color:#7e8d9f;font-size:13px;margin-bottom:20px}.pd-detail-body{white-space:pre-wrap;line-height:1.95;font-size:16px}.pd-institution-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0}.pd-institution-gallery img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:5px}.site-header .nav-band #main-nav{max-width:1360px;width:calc(100% - 60px)}.site-header .nav-band #main-nav>a{flex:1;text-align:center;white-space:nowrap;padding-left:14px;padding-right:14px}.portal-page :focus-visible{outline:3px solid #7fb6ff;outline-offset:3px}
@media(min-width:1500px){.pd-container{width:min(1360px,calc(100% - 160px))}}
@media(max-width:1200px){.pd-container{width:calc(100% - 84px);margin-left:22px}.pd-home-hero{grid-template-columns:146px minmax(0,1fr) 235px;gap:14px}.pd-home-search{padding-left:160px}.pd-course-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.pd-subject-row{grid-template-columns:minmax(0,1fr) 230px}.pd-feature-grid .pd-cover{min-height:115px}.pd-feature-grid .pd-course-body{padding:10px}.pd-floating{width:52px;right:6px}.pd-floating span{font-size:10px}.pd-platform-row{grid-template-columns:1fr}.pd-topics{grid-template-columns:repeat(3,minmax(0,1fr))}.pd-teachers{grid-template-columns:repeat(4,minmax(0,1fr))}.pd-providers{grid-template-columns:repeat(4,minmax(0,1fr))}.pd-institutions{grid-template-columns:repeat(3,minmax(0,1fr))}.site-header .nav-band #main-nav>a{font-size:14px;padding:16px 8px}}
@media(max-width:900px){.pd-home-hero{grid-template-columns:140px minmax(0,1fr)}.pd-news{grid-column:1/-1}.pd-news>div:last-child{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.pd-home-hero.no-news{grid-template-columns:140px minmax(0,1fr)}.pd-subject-row{grid-template-columns:1fr}.pd-ranking{display:none}.pd-teachers{grid-template-columns:repeat(3,minmax(0,1fr))}.pd-institutions{grid-template-columns:repeat(2,minmax(0,1fr))}.pd-faqs{grid-template-columns:repeat(2,minmax(0,1fr))}.pd-course-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.pd-slider.compact{min-height:285px}.pd-topic strong{font-size:14px}.pd-links{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){.portal-page{padding-top:16px;padding-bottom:28px}.pd-container{width:calc(100% - 28px);margin:0 auto}.pd-floating{display:none}.pd-home-search{padding-left:0;margin-bottom:14px}.pd-home-search input{height:42px;font-size:14px}.pd-home-search .btn{min-width:74px;padding:10px}.pd-home-hero,.pd-home-hero.no-news{display:flex;flex-direction:column;gap:16px}.pd-home-main{order:0}.pd-shortcuts{order:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#fff;border:1px solid #e2eaf7}.pd-shortcuts>a{min-height:62px;padding:12px 8px;color:#203b5a;gap:7px;border:0}.pd-shortcuts>a:hover{background:#eef6ff}.pd-shortcuts svg{color:#2183ff;width:20px}.pd-shortcuts span{font-size:13px}.pd-shortcuts b{display:none}.pd-news{order:2}.pd-news>div:last-child{grid-template-columns:1fr}.pd-news a{padding:9px 0}.pd-slider.compact{height:auto;aspect-ratio:2.5;min-height:0}.pd-slider:not(.compact){aspect-ratio:2.6}.pd-slider-controls{bottom:5px;right:5px;gap:5px;padding:1px 5px}.pd-slider-controls button{height:23px;font-size:14px}.pd-home-welcome{padding:28px 22px}.pd-home-welcome h1{font-size:24px}.pd-topics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pd-topic{padding:12px 10px;gap:6px;min-height:65px}.pd-topic>svg{width:23px}.pd-topic>img{width:34px;height:34px}.pd-topic strong{font-size:13px}.pd-section{margin-bottom:26px}.portal-page h2{font-size:21px}.pd-heading{margin-bottom:15px;gap:10px}.pd-heading>a{font-size:12px}.pd-businesses{grid-template-columns:1fr;gap:12px}.pd-businesses>a{padding:18px}.pd-businesses h3{font-size:18px}.pd-businesses p{margin:8px 0}.pd-about{font-size:14px}.pd-businesses svg{float:left;margin:0 14px 5px 0}.pd-course-grid,.pd-teachers,.pd-providers{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pd-course-body{padding:11px}.pd-course-body h3{font-size:13px;min-height:39px}.pd-course-meta{font-size:10px}.pd-course-price b{font-size:13px}.pd-course-price span{display:none}.pd-subject-panel{padding:15px}.pd-feature-grid{grid-template-columns:1fr;gap:12px}.pd-feature-grid .pd-cover{min-height:113px;width:46%}.pd-ranking{display:none}.pd-teachers,.pd-providers{padding:12px}.pd-teacher{padding:14px 11px}.pd-portrait{width:75px;height:75px}.pd-teacher p{font-size:12px;-webkit-line-clamp:3}.pd-institutions{grid-template-columns:1fr;gap:12px}.pd-institution-cover{max-height:180px}.pd-institution p.pd-lines{-webkit-line-clamp:2}.pd-tutorials{grid-template-columns:1fr;gap:13px}.pd-tutorial{display:flex;align-items:center}.pd-tutorial-cover{width:40%;flex-shrink:0}.pd-tutorial-cover>svg{width:38px;height:38px}.pd-tutorial h3{font-size:14px;padding:12px}.pd-faqs{grid-template-columns:1fr;padding:10px 16px}.pd-audiences{gap:12px}.pd-audiences>a{padding:20px 10px;gap:8px;font-size:12px}.pd-links{grid-template-columns:repeat(2,minmax(0,1fr))}.pd-links>a{font-size:12px;padding:14px}.pd-filter-box{padding:12px}.pd-filter-box .filter-line{gap:5px}.pd-filter-box b{min-width:48px;font-size:12px}.pd-filter-box .chip{font-size:12px;padding:4px 7px}.pd-catalog-search{gap:7px}.pd-catalog-search .btn{padding:9px 14px}.pd-catalog-toolbar{flex-direction:column;align-items:flex-start}.pd-catalog-toolbar .sort-row{gap:14px;font-size:12px}.pd-catalog-toolbar .sort-row a{font-size:12px}.pd-platform-row{padding:15px;gap:20px}.pd-platform-profile>a>img{width:55px;height:55px}.pd-platform-courses{grid-template-columns:repeat(2,minmax(0,1fr))}.pd-platform-courses .pd-course:last-child:nth-child(3){display:none}.pd-platform-profile h2{font-size:20px}.portal-page .portal-search .container{flex-direction:column;align-items:stretch;padding:22px 14px;gap:14px}.portal-page .portal-search h1{font-size:23px}.portal-page .portal-search-form{width:100%;max-width:none}.pd-platforms .portal-search,.pd-institutions .portal-search,.pd-help .portal-search{margin-top:-16px}.pd-detail{padding:20px}.pd-detail-body{font-size:14px}.pd-institution-gallery{grid-template-columns:1fr}.pd-qr-popup{right:20px}.site-header .nav-band #main-nav{width:100%}}
@media(prefers-reduced-motion:reduce){.pd-course{transition:none}.pd-course:hover{transform:none}}

.pd-institution>a.pd-institution-cover-link{padding:0;display:block}

/* V1.3.15: the grid, not the intrinsic dimensions of a photo, owns the first-screen height. */
.pd-home-hero{grid-template-columns:170px minmax(0,1.6fr) minmax(280px,1fr);grid-template-rows:minmax(0,1fr);height:clamp(350px,25vw,420px);min-height:0;align-items:stretch;gap:18px}
.pd-home-hero.no-shortcuts{grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr)}
.pd-home-search{padding-left:188px}
.pd-home-hero>.pd-shortcuts{height:100%;min-height:0;align-items:stretch;gap:0;overflow-y:auto}
.pd-shortcuts>a{height:auto;min-height:54px;flex:1 0 auto;white-space:normal;margin:0;padding:12px 15px}
.pd-home-main{min-height:0;height:100%;overflow:hidden}
.pd-slider.compact{height:100%;min-height:0;max-height:100%;width:100%;aspect-ratio:auto;flex:1}
.pd-slider:not(.compact){width:100%;height:clamp(170px,21vw,360px);aspect-ratio:auto}
.pd-slide{position:absolute;inset:0;min-height:0;overflow:hidden}
.pd-slide-link{display:block!important;position:absolute;inset:0;min-width:0;min-height:0}
.pd-slide img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:cover;object-position:center}
.pd-slide .image-fallback{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:#eef5ff}
.pd-home-welcome{min-height:0;overflow:auto}
.pd-news{height:100%;min-height:0;display:flex;flex-direction:column;padding:0;border:0;gap:10px}
.pd-news-tabs{display:flex;flex:none;gap:4px;border-bottom:1px solid #bfd8fd}
.pd-news-tabs button{padding:10px 14px;border:0;border-radius:4px 4px 0 0;background:#f1f6ff;color:#27394e;font-size:14px;min-height:40px}
.pd-news-tabs button[aria-selected="true"]{background:var(--pd-blue);color:#fff}
.pd-news-list{display:block;min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain}
.pd-news-list[hidden]{display:none!important}
.pd-news-list>a.pd-news-entry{display:flex;gap:12px;align-items:center;box-sizing:border-box;border-bottom:1px solid #edf1f6;padding:3px 0;height:25%;min-height:0}
.pd-news-entry time{display:flex;flex:none;width:56px;height:42px;max-height:100%;align-items:center;justify-content:center;flex-direction:column;background:#2686f6;border-radius:4px;color:#fff;overflow:hidden}
.pd-news-entry time b{font-size:20px;line-height:23px}.pd-news-entry time small{font-size:10px;line-height:13px}
.pd-news-entry>div{flex:1;min-width:0}.pd-news-entry h3{font-size:15px;line-height:22px}.pd-news-entry p{margin:4px 0 0;line-height:19px;font-size:12px}
.pd-news-empty{min-height:95px;height:100%;display:flex;align-items:center;justify-content:center;color:#8290a1;font-size:14px;background:#f9fbfe;border-radius:5px}
.pd-news-banners{flex:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.pd-news-banners>a.pd-news-promo{display:flex;align-items:center;justify-content:center;gap:8px;height:48px;overflow:hidden;padding:0;border:0;border-radius:4px;background:linear-gradient(100deg,#e2f2ff,#c7e1ff);color:#19538c;min-width:0}
.pd-news-promo:last-child:nth-child(odd){grid-column:1/-1}.pd-news-promo strong{font-size:14px}.pd-news-promo>img{display:block;width:100%;height:100%;object-fit:cover}.pd-news-promo svg{width:22px;height:22px}
.pd-floating{width:66px;right:12px;top:50%;transform:translateY(-50%);overflow-y:auto;max-height:85vh}
.pd-floating>button,.pd-floating>a{min-height:67px;gap:7px}.pd-floating span{font-size:12px}.pd-floating svg{width:24px;height:24px}.pd-floating button:hover,.pd-floating a:hover{background:#f1f7ff;color:#1675e9}
.pd-service-dialog{position:fixed;border:1px solid #dce6f3;border-radius:10px;width:min(530px,calc(100% - 32px));max-height:85vh;overflow:auto;padding:28px;box-shadow:0 15px 50px #20304b30;color:#192b43;background:#fff}
.pd-service-dialog::backdrop{background:#12243f66}.pd-service-dialog h2{font-size:22px;margin:0 30px 24px 0}.pd-dialog-close{position:absolute;right:12px;top:8px;width:34px;height:34px;border:0;background:transparent;font-size:26px}
.pd-mobile-panels{display:flex;justify-content:center;gap:22px;flex-wrap:wrap}.pd-mobile-panels section{flex:1;min-width:180px;text-align:center}.pd-mobile-panels img,.pd-mobile-panels canvas{width:192px;height:192px;max-width:100%;object-fit:contain;margin:0 auto 12px;display:block}.pd-mobile-panels canvas[hidden]{display:none}.pd-mobile-panels h3{margin-bottom:14px}.pd-mobile-panels input{font-size:12px;width:100%}.pd-service-info{display:flex;gap:16px;flex-direction:column;align-items:flex-start}.pd-service-info p{margin:0}
@media(max-width:1200px){.pd-home-hero{grid-template-columns:146px minmax(0,1.55fr) minmax(235px,1fr);height:360px;gap:14px}.pd-home-search{padding-left:160px}.pd-floating{width:52px;right:6px}.pd-floating span{font-size:10px}.pd-floating>button,.pd-floating>a{min-height:60px}.pd-news-entry time{width:45px}.pd-news-entry h3{font-size:13px}.pd-news-tabs button{padding:9px 11px}.pd-news-promo strong{font-size:12px}}
@media(max-width:900px){.pd-home-hero,.pd-home-hero.no-shortcuts{height:auto;grid-template-columns:140px minmax(0,1fr);grid-template-rows:300px auto}.pd-home-hero.no-shortcuts{grid-template-columns:1fr}.pd-home-search{padding-left:154px}.pd-home-hero.no-shortcuts .pd-home-main{grid-column:1/-1}.pd-news{height:300px;grid-column:1/-1}.pd-news>div:last-child{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pd-news-list{display:block}}
@media(max-width:680px){.pd-home-search{padding-left:0}.pd-home-hero,.pd-home-hero.no-shortcuts{display:flex;height:auto;gap:14px}.pd-home-main{width:100%;height:220px;flex:none}.pd-slider.compact{height:220px;max-height:220px;aspect-ratio:auto}.pd-slider:not(.compact){height:160px}.pd-home-hero>.pd-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));height:auto;max-height:210px;gap:0;align-items:stretch}.pd-shortcuts>a{height:auto;min-height:62px}.pd-news{height:310px;width:100%;order:2}.pd-news>div:last-child{grid-template-columns:repeat(2,minmax(0,1fr))}.pd-news-entry h3{font-size:14px}.pd-floating{display:none}.pd-service-dialog{padding:24px}.pd-home-welcome{padding:25px}.pd-home-search input{line-height:42px;padding-top:0;padding-bottom:0}}
.pd-feedback-page{max-width:1000px}.pd-feedback-page h1{font-size:28px;margin:0 0 22px}.pd-feedback-panel{padding:26px;border:1px solid #e3eaf5;border-radius:8px;background:#fff;margin-bottom:24px}.pd-feedback-panel label{display:block;font-weight:600;margin:0 0 9px}.pd-feedback-panel select{max-width:320px;margin-bottom:20px}.pd-feedback-panel textarea{width:100%;resize:vertical;line-height:1.7}.pd-feedback-actions{display:flex;gap:16px;align-items:center;margin-top:18px}.pd-feedback-actions span{font-size:14px}.pd-feedback-panel h2{font-size:21px;margin-bottom:20px}.pd-feedback-item{padding:18px 0;border-top:1px solid #edf1f6}.pd-feedback-item>div:first-child{display:flex;justify-content:space-between;gap:15px}.pd-feedback-item p{white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0;font-size:15px;line-height:1.8}.pd-feedback-item time,.pd-feedback-item>div>span{color:#687d96;font-size:12px}.pd-feedback-reply{padding:16px;background:#f3f8ff;border-radius:6px;margin-top:15px}.pd-feedback-reply b{font-size:14px}.pd-feedback-reply p{margin-bottom:0}.pd-feedback-panel>.text-btn{margin-left:16px}.pd-cover>img,.pd-tutorial-cover>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
@media(max-width:680px){.pd-feedback-panel{padding:18px}.pd-feedback-actions{align-items:flex-start;flex-direction:column}.pd-feedback-panel select{max-width:none}}

.pd-tutorial-cover{position:relative;overflow:hidden}

@media(max-width:900px){.pd-news-list>a.pd-news-entry{height:33.333333%}}

/* V1.3.19: preserve the fixed hero, contain miniature artwork, and keep services off the main content. */
.pd-news .pd-news-promo{padding:0;border:0;min-width:0;overflow:hidden;border-radius:4px}
.pd-news .pd-news-promo-tile{display:flex;align-items:center;gap:8px;padding:8px 12px;background:linear-gradient(110deg,#e6f3ff,#d6e8ff)}
.pd-news-promo-icon{display:flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;overflow:hidden}
.pd-news .pd-news-promo-icon>img{position:static;width:36px;height:36px;object-fit:contain;max-width:36px;max-height:36px}
.pd-news-promo-icon>svg{width:30px;height:30px;color:#2478f2}.pd-news .pd-news-promo-tile strong{min-width:0;flex:1;font-size:14px;line-height:1.4;font-weight:600;color:#214d7c;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pd-news .pd-news-promo-tile .pd-promo-arrow{font-size:20px;color:#2478f2}.pd-news .pd-news-promo-wide{display:flex;background:#e7f1ff;align-items:center;justify-content:center}
.pd-news .pd-news-promo-wide>img{position:static;width:100%;height:100%;object-fit:contain}
.pd-floating{width:62px;right:12px;border:1px solid #e5eaf0;box-shadow:0 2px 12px #233a5810;border-radius:8px;overflow:hidden;background:white;z-index:20}
.pd-floating>a,.pd-floating>button{width:100%;min-height:68px;padding:9px 4px;border:0;border-bottom:1px solid #edf0f4;background:#fff;border-radius:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;color:#64758b;font-size:12px;line-height:1.4}
.pd-floating>a:last-child,.pd-floating>button:last-of-type{border-bottom:0}.pd-floating svg{width:25px;height:25px}.pd-floating>a:hover,.pd-floating>button:hover{background:#f2f7ff;color:#2176ed}
@media(max-width:760px){.pd-floating{display:none}.pd-news .pd-news-promo-tile{padding:8px}.pd-news .pd-news-promo-tile strong{font-size:12px}}
@media(min-width:761px) and (max-width:1200px){.portal-page .pd-container{width:calc(100% - 110px);margin-left:22px;margin-right:auto}.pd-floating{width:58px;right:10px}.pd-floating>a,.pd-floating>button{min-height:62px;font-size:11px}}
@media(max-height:520px) and (min-width:761px){.pd-floating>a,.pd-floating>button{min-height:52px;padding:5px 3px}.pd-floating{overflow-y:auto;max-height:90vh}}

/* V1.3.20: the mobile entry is exclusively the configured mini-program code. */
.pd-mini-entry{text-align:center;padding:12px 4px}.pd-mini-entry img{display:block;width:220px;height:220px;max-width:100%;object-fit:contain;margin:0 auto}.pd-mini-entry img[hidden]{display:none}.pd-mini-entry p{margin:14px 0 0;color:#222;font-size:14px}
