/* Homepage application gallery. */
.home-main .application-center { padding: 76px 0 82px; scroll-margin-top: 78px; background: #f7f9fb; }
.application-center .platform-container { max-width: 1270px; }
.gallery-intro { display: flex; align-items: end; justify-content: space-between; gap: 28px; padding-bottom: 30px; }
.gallery-intro .section-kicker { color: #3c78a6; font-size: 10px; font-weight: 800; letter-spacing: .24em; }
.gallery-intro h2 { margin: 14px 0 12px; color: #163956; font-size: clamp(29px,3vw,43px); line-height: 1.3; font-weight: 740; letter-spacing: -.04em; }
.gallery-intro p { max-width: 720px; margin: 0; color: #8190a0; font-size: 14px; line-height: 1.9; }
.gallery-count { flex: none; display: flex; align-items: center; gap: 14px; padding: 8px 0 8px 31px; border-left: 1px solid #d6e1eb; }
.gallery-count strong { color: #18466e; font-family: Georgia,serif; font-size: 49px; line-height: 1; font-weight: 400; }
.gallery-count span { color: #8ea0b1; font-size: 11px; line-height: 1.7; }
.gallery-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 19px 0 25px; border-top: 1px solid #e4ebf1; }
.gallery-heading { display: flex; align-items: center; gap: 11px; color: #284e70; }
.gallery-heading > span { width: 3px; height: 20px; border-radius: 3px; background: #28669a; }
.gallery-heading strong { font-size: 14px; }
.gallery-heading small { margin-left: 6px; color: #9aaab9; font-size: 11px; }
.gallery-search-wrap { display: flex; align-items: center; gap: 10px; }
.gallery-search { display: flex; align-items: center; gap: 8px; width: 250px; height: 42px; padding: 0 12px; border: 1px solid #e0e8f0; border-radius: 8px; background: white; color: #7590a6; }
.gallery-search:focus-within { border-color: #529bd8; box-shadow: 0 0 0 3px #529bd820; }
.gallery-search .ui-icon { width: 17px; height: 17px; }
.gallery-search input { min-width: 0; width: 100%; border: 0; outline: none; background: transparent; color: #254964; font-size: 12px; }
.gallery-search input::placeholder { color: #8fa1b1; }
#application-count { flex: none; color: #8ea1b1; font-size: 11px; white-space: nowrap; }
.application-gallery { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 18px; }
.gallery-card { --cover-a: #d7e7f3; --cover-b: #ebf4f8; grid-column: span 3; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #e3eaf0; border-radius: 12px; background: white; box-shadow: 0 3px 17px #19416406; color: inherit; text-decoration: none; transition: transform .26s,box-shadow .26s,border-color .26s; }
a.gallery-card:hover,a.gallery-card:focus-visible { transform: translateY(-5px); border-color: #bcd2e6; box-shadow: 0 16px 42px #1a3d5b17; color: inherit; }
.gallery-card.is-pending { cursor: default; }
.gallery-card[hidden] { display: none; }
.cover-toolkit { --cover-a: #dfeaf4; --cover-b: #f1f5f9; }
.cover-ai_toolbox { --cover-a: #f1e9d9; --cover-b: #faf5e9; }
.cover-course { --cover-a: #dfecf4; --cover-b: #f4f7fa; }
.cover-suxiao { --cover-a: #e1ecec; --cover-b: #f0f6f5; }
.cover-questions { --cover-a: #e8e7f2; --cover-b: #f5f5fa; }
.cover-geolens { --cover-a: #e3eaf3; --cover-b: #f4f7fa; }
.cover-lab { --cover-a: #e0ece5; --cover-b: #f3f6ea; }
.cover-geography_view { --cover-a: #d6ece9; --cover-b: #eef8f3; }
.cover-drive_ai { --cover-a: #e5e2f8; --cover-b: #f5f1fb; }
.gallery-visual { position: relative; height: 193px; overflow: hidden; padding: 21px 22px 0; border-bottom: 1px solid #325a7d14; background: linear-gradient(145deg,var(--cover-a),var(--cover-b)); }
.gallery-visual::before,.gallery-visual::after { position: absolute; content: ''; width: 210px; height: 210px; top: -115px; right: -86px; border: 1px solid #32668f17; border-radius: 50%; }
.gallery-visual::after { width: 185px; height: 185px; top: -105px; right: -70px; border-color: #32668f12; }
.gallery-preview-label { position: absolute; z-index: 2; top: 11px; right: 13px; padding: 6px 9px; border-radius: 20px; background: #ffffffd7; color: #507491; font-size: 9px; }
.gallery-screen { position: relative; z-index: 1; height: 210px; overflow: hidden; transform: rotate(-1.1deg); transform-origin: center top; border: 1px solid #668faf29; border-radius: 10px 10px 0 0; background: white; box-shadow: 0 10px 24px #2543621a; transition: transform .4s; }
.gallery-card:nth-child(2n) .gallery-screen { transform: rotate(1.05deg); }
a.gallery-card:hover .gallery-screen,a.gallery-card:focus-visible .gallery-screen { transform: translateY(-5px) rotate(0); }
.gallery-screen-header { display: flex; align-items: center; gap: 4px; height: 26px; padding: 0 11px; border-bottom: 1px solid #edf1f5; }
.gallery-screen-header i { width: 5px; height: 5px; border-radius: 50%; background: #dbe3eb; }
.gallery-screen-header span { overflow: hidden; margin-left: 8px; color: #7893aa; font-size: 7px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.gallery-screen-body { padding: 12px; }
.gallery-card-content { display: flex; flex: 1; flex-direction: column; min-height: 146px; padding: 19px 21px 17px; }
.gallery-kicker { color: #7c9cb5; font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.gallery-card h3 { margin: 8px 0 0; color: #1b405d; font-size: 18px; font-weight: 750; line-height: 1.5; letter-spacing: -.025em; }
.gallery-card-content p { flex: 1; margin: 7px 0 0; color: #8192a2; font-size: 11.5px; line-height: 1.75; }
.gallery-card-meta { display: flex; justify-content: space-between; align-items: center; gap: 9px; margin-top: 16px; padding-top: 13px; border-top: 1px solid #edf1f5; }
.home-main .gallery-card .module-status { padding: 0; border: 0; background: none; color: #7a95aa; font-size: 10px; }
.home-main .gallery-card.is-pending .module-status { color: #97a9b8; }
.gallery-card-arrow { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid #dce7f0; border-radius: 50%; color: #3374a2; transition: background .2s,color .2s,transform .2s; }
.gallery-card-arrow .ui-icon { width: 13px; height: 13px; }
a.gallery-card:hover .gallery-card-arrow,a.gallery-card:focus-visible .gallery-card-arrow { transform: translate(2px,-2px); border-color: #1b5786; background: #1b5786; color: white; }
.gallery-card.is-pending .gallery-card-arrow { color: #9caebb; }
.gallery-note { margin: 19px 0 0; color: #91a1af; font-size: 11px; line-height: 1.8; }
.gallery-empty { margin: 0; padding: 50px 20px; border: 1px dashed #ccdbe6; border-radius: 12px; color: #899eaf; text-align: center; }
.gallery-empty[hidden] { display: none; }
/* The seven previews are CSS and inline SVG, so they add no image downloads. */
.mock-heading { display: block; margin-bottom: 9px; color: #355d80; font-size: 9px; font-weight: 850; }
.mock-search { display: flex; align-items: center; gap: 7px; height: 22px; padding: 0 8px; border: 1px solid #d7e4ef; border-radius: 5px; background: #fafcff; color: #7b94aa; font-size: 7px; }
.mock-search::before { content: ''; width: 7px; height: 7px; border: 1px solid #6b98ba; border-radius: 50%; }
.mock-rows { display: grid; gap: 7px; margin-top: 13px; }
.mock-rows i,.mock-course b,.mock-chart-line { display: block; height: 6px; border-radius: 3px; background: #e6eef5; }
.mock-rows i:nth-child(2) { width: 80%; }.mock-rows i:nth-child(3) { width: 65%; }.mock-rows i:nth-child(4) { width: 76%; }
.mock-tile-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; }
.mock-tile-grid span { height: 46px; padding: 6px; border: 1px solid #e2eaf2; border-radius: 5px; background: #eef4fa; }
.mock-tile-grid i { display: block; width: 13px; height: 13px; margin-bottom: 5px; border-radius: 4px; background: #a4c6db; }
.mock-tile-grid b { display: block; width: 65%; height: 4px; border-radius: 3px; background: #ccdce8; }
.mock-course { display: grid; gap: 9px; }
.mock-course > div { display: grid; grid-template-columns: 25px 1fr; gap: 7px; }
.mock-course span { height: 19px; border-radius: 4px; background: #e6eff8; color: #7296b6; font-size: 9px; line-height: 19px; text-align: center; }
.mock-course i { display: grid; align-content: center; gap: 5px; }
.mock-course b:first-child { width: 80%; }.mock-course b:last-child { width: 55%; }
.mock-chat { max-width: 86%; margin: 6px 0; padding: 7px 9px; border-radius: 6px; background: #f0f5fa; color: #53728a; font-size: 7px; line-height: 1.65; }
.mock-chat.is-answer { margin-left: auto; background: #e2f0ee; color: #3d7770; }
.mock-choice { margin-bottom: 7px; padding: 7px 8px; border: 1px solid #e4edf4; border-radius: 5px; color: #7891a6; font-size: 7px; }
.mock-choice.is-selected { border-color: #93b4ce; background: #eff6fc; color: #3a7196; }
.mock-chart { display: flex; align-items: end; gap: 9px; height: 82px; padding: 6px 8px; border-left: 1px solid #e0e8ef; border-bottom: 1px solid #e0e8ef; background: linear-gradient(#fff,#f8fbfe); }
.mock-chart i { display: block; width: 16px; border-radius: 4px 4px 0 0; background: #93bad3; }.mock-chart i:nth-child(2n) { background: #b5d6d0; }
.mock-chart-line { width: 67%; margin-top: 12px; }
.mock-landscape { position: relative; overflow: hidden; height: 113px; border-radius: 5px; background: linear-gradient(145deg,#a7c8be,#dfe3c7); }
.mock-landscape svg { width: 100%; height: 100%; }
.mock-landscape span { position: absolute; bottom: 7px; left: 9px; padding: 4px; border-radius: 4px; background: #ffffffde; color: #527b71; font-size: 7px; }
.mock-geography-view { position: relative; height: 120px; overflow: hidden; border-radius: 6px; background: radial-gradient(circle at 50% 50%,#d8f0eb,#e6f4f2 60%,#f2faf5); }
.mock-geography-view svg { width: 100%; height: 100%; }
.mock-geography-view span { position: absolute; bottom: 7px; left: 9px; padding: 4px; border-radius: 4px; background: #ffffffde; color: #396d69; font-size: 7px; }
@media (max-width: 1180px) { .gallery-count { display: none; }.gallery-card { grid-column: span 4; } }
@media (max-width: 810px) { .gallery-toolbar { flex-direction: column; align-items: stretch; }.gallery-search-wrap { width: 100%; }.gallery-search { flex: 1; width: auto; }.gallery-card { grid-column: span 6; } }
@media (max-width: 520px) { .home-main .application-center { padding: 53px 0 62px; }.gallery-intro h2 { font-size: 28px; }.gallery-intro p { font-size: 12px; }.gallery-heading { flex-wrap: wrap; }.gallery-heading small { margin-left: 0; }.application-gallery { grid-template-columns: 1fr; gap: 13px; }.gallery-card { grid-column: span 1; }.gallery-visual { height: 177px; }.gallery-card-content { min-height: 132px; } }
@media (prefers-reduced-motion: reduce) { .gallery-card,.gallery-screen,.gallery-card-arrow { transition: none; } }

/* Keep only readable labels in the public application gallery. */
.gallery-intro { padding-bottom: 24px; }
.gallery-intro h2 { margin: 0; }
.gallery-intro { padding-bottom: 28px; border-bottom: 1px solid #e4ebf1; margin-bottom: 26px; }
.gallery-search input, #application-count { font-size: 15px; }
.gallery-heading strong { font-size: 17px; }
.gallery-card-content { min-height: 104px; }
.gallery-card h3 { margin-top: 0; font-size: 20px; }
.home-main .gallery-card .module-status { font-size: 15px; }
.home-main .gallery-card .gallery-card-meta { min-width: 0; }
.home-main .gallery-card .module-status { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-main .gallery-card .gallery-card-arrow { flex: none; }
.gallery-screen-body .mock-heading,
.gallery-screen-body .mock-landscape span,
.gallery-screen-body .mock-geography-view span { display: none; }
.gallery-screen-body .mock-search,
.gallery-screen-body .mock-course span,
.gallery-screen-body .mock-chat,
.gallery-screen-body .mock-choice { font-size: 0; color: transparent; }
