/* Shared website chrome, deliberately scoped to avoid changing the preview UI. */
.site-header,.site-footer{font:15px/1.65 system-ui,-apple-system,"Segoe UI","Microsoft YaHei",sans-serif;box-sizing:border-box}
.site-header{background:#fff;color:#25342d;border-bottom:1px solid #e8eaec}
.site-header .container,.site-footer.container{width:min(1200px,calc(100% - 64px));margin:0 auto}
.site-header .navigation{height:80px;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:0}
.site-header a,.site-footer a{color:inherit;text-decoration:none}
.site-header a:hover,.site-footer a:hover{color:var(--site-accent,#00ae42)}
.site-header .brand{font-size:25px;font-weight:800;letter-spacing:-1px;white-space:nowrap}
.site-header .brand span{color:var(--site-accent,#00ae42)}
.site-header .brand small{font-size:12px;font-weight:500;letter-spacing:1px;border-left:1px solid #dce2dd;padding-left:14px;margin-left:14px;color:#738078}
.site-header nav{display:flex;gap:30px;font-size:14px}
.site-footer{border-top:1px solid #e8eaec;display:flex;flex-wrap:wrap;gap:24px;padding:25px 0;color:#738078;font-size:12px;background:transparent}
.site-footer>span:first-child{margin-right:auto}
.site-footer-band{background:#fff}
.site-header a:focus-visible,.site-footer a:focus-visible{outline:3px solid color-mix(in srgb,var(--site-accent,#00ae42) 45%,transparent);outline-offset:4px}
.product-tool>.wrap{min-height:calc(100dvh - 170px);padding-top:24px}
.product-tool .top[hidden]{display:none!important}
.product-tool .product-action-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,3fr);gap:8px;width:100%}
.product-tool .product-action-row>button{min-width:0;width:100%;padding:12px 4px;white-space:nowrap}
.product-tool .product-purchase-panel{border-top:1px solid #e0e0e0;margin-top:16px;padding-top:16px;display:grid;gap:10px}
.product-tool .product-purchase-panel[hidden],.product-tool #download[hidden],.product-tool #downloadStatus[hidden]{display:none!important}
.product-tool .product-generation-success{font-size:12px;line-height:1.7;color:#667566;margin:10px 0 0}
.product-tool .product-generation-success[hidden]{display:none!important}
.product-tool .product-action-row #generate:disabled{opacity:1;cursor:default}
.product-tool.group-themed #generate.generation-complete:disabled{background:color-mix(in srgb,var(--group-accent,var(--site-accent,#00ae42)) 18%,white);border-color:transparent;color:#7c8a80;cursor:not-allowed;opacity:1}
.product-tool #productPurchase{display:flex;align-items:center;justify-content:center;gap:8px}
.product-tool .purchase-cart-icon{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.product-tool #productSaveDraft,.product-tool .field .file .file-caption,.product-tool #logoTools .secondary{color:#666}
.product-tool .product-purchase-notice{font-size:11px;line-height:1.8;color:#888;border-top:1px solid #eee;padding-top:12px;margin-top:2px}
.product-tool .product-purchase-notice strong{font-size:12px;font-weight:600;color:#777}
.product-tool .product-purchase-notice p{margin:6px 0 0}
.product-tool #groupCards .thumb[data-plan-selected="true"]::before{content:'✓';position:absolute;top:7px;left:7px;z-index:3;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--group-accent,var(--site-accent,#00ae42));color:#fff;font:700 14px/1 system-ui,sans-serif;box-shadow:0 0 0 2px #fff;pointer-events:none}
@media(max-width:850px){.site-header .container,.site-footer.container{width:calc(100% - 36px)}.site-header .brand small{display:none}}
@media(max-width:580px){.site-header .navigation{height:65px}.site-header .brand{font-size:22px}.site-header nav{gap:16px;font-size:12px}.site-footer{gap:15px}.site-footer>span:first-child{width:100%}}
.product-credit-box{border:1px solid #e3e7e1;border-radius:4px;background:#f7faf5;padding:10px;margin-bottom:12px}.product-credit-box[hidden]{display:none!important}.product-credit-box select{width:100%;font:inherit;font-size:12px;padding:8px;border:1px solid #dce3d7;border-radius:4px;background:#fff;color:#555}.product-credit-box p{font-size:11px;line-height:1.7;color:#777;margin:8px 0 0}
.product-checkout-modal{width:min(620px,calc(100% - 32px));max-height:90dvh;overflow:auto;border:1px solid #e3e7e1;border-radius:8px;padding:26px;color:#333;box-shadow:0 20px 65px #0002}.product-checkout-modal::backdrop{background:#1c292980}.checkout-modal-heading{display:flex;align-items:start;justify-content:space-between;gap:15px;margin-bottom:24px}.checkout-modal-heading h2{font-size:22px;margin:0 0 8px}.checkout-modal-heading p{font-size:13px;color:#888;margin:0;line-height:1.7}.checkout-modal-close{border:1px solid #ddd;border-radius:50%;width:30px;height:30px;flex:none;background:#fff;color:#777;font-size:22px;cursor:pointer}.checkout-plan-cards{display:grid;grid-template-columns:1fr 1fr;gap:14px}.checkout-plan-cards label{position:relative;display:grid;gap:10px;padding:20px;border:1px solid #ddd;border-radius:4px;cursor:pointer}.checkout-plan-cards label:has(input:checked){border-color:var(--group-accent,#00ae42);background:color-mix(in srgb,var(--group-accent,#00ae42) 5%,white)}.checkout-plan-cards input{position:absolute;right:14px;top:14px;accent-color:var(--group-accent,#00ae42)}.checkout-plan-cards strong{font-size:16px}.checkout-plan-cards b{font-size:30px}.checkout-plan-cards span,.checkout-plan-cards small{font-size:12px;color:#888}.product-checkout-modal .product-purchase-panel{border-top:0;margin-top:8px;padding-top:12px}.product-checkout-modal #productPurchase{width:100%}.product-checkout-modal .product-credit-box{margin-top:14px;background:#fafafa}.product-checkout-modal .product-purchase-notice{margin-top:8px}@media(max-width:480px){.product-checkout-modal{padding:20px}.checkout-plan-cards{gap:10px}.checkout-plan-cards label{padding:18px 12px}.checkout-plan-cards strong{font-size:14px}}
.checkout-selected-template{display:grid;grid-template-columns:120px minmax(0,1fr) auto;gap:14px;align-items:center;padding:14px;border:1px solid #e2e6df;border-radius:4px;background:#fafbf9;margin-bottom:5px}.checkout-selected-template[hidden],.checkout-bundle-description[hidden]{display:none!important}.checkout-selected-template img{width:120px;height:auto;max-height:90px;object-fit:contain;border:1px solid #eceee8}.checkout-selected-template>div{display:grid;gap:5px;min-width:0}.checkout-selected-template small{color:#999;font-size:11px}.checkout-selected-template strong{font-size:15px;color:#333}.checkout-selected-template .selected-template-spec{font-size:11px;color:#888}.checkout-selected-template p{font-size:11px;line-height:1.6;color:#888;margin:0}.checkout-selected-template button{border:0;background:transparent;color:#777;font-size:12px;cursor:pointer;padding:4px}.checkout-bundle-description{font-size:12px;color:#777;line-height:1.8;margin:0 0 10px}@media(max-width:480px){.checkout-selected-template{grid-template-columns:95px minmax(0,1fr);gap:10px}.checkout-selected-template img{width:95px}.checkout-selected-template button{grid-column:2;justify-self:start;padding:0}}
.product-owned-hint{font-size:12px;line-height:1.8;color:#777;background:#f5f8f2;border:1px solid #e4e9df;border-radius:4px;padding:10px;margin:0 0 12px}.product-owned-hint[hidden]{display:none!important}
.site-header .account-menu{position:relative}.site-header .account-menu summary{list-style:none;cursor:pointer;white-space:nowrap}.site-header .account-menu summary::-webkit-details-marker{display:none}.site-header .account-menu summary::after{content:'';display:inline-block;width:5px;height:5px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(45deg);margin:0 0 3px 8px}.site-header .account-dropdown{display:none;position:absolute;z-index:100;right:0;top:100%;min-width:175px;padding:8px;background:#fff;border:1px solid #e8eaec;border-radius:4px;box-shadow:0 8px 25px #182b2414}.site-header .account-menu:hover .account-dropdown,.site-header .account-menu:focus-within .account-dropdown,.site-header .account-menu[open] .account-dropdown{display:grid}.site-header .account-dropdown a{display:flex;align-items:center;gap:10px;padding:10px 12px;color:#555;font-size:13px;border-radius:3px;white-space:nowrap}.site-header .account-dropdown a:hover{background:color-mix(in srgb,var(--site-accent,#00ae42) 5%,white);color:var(--site-accent,#00ae42)}.site-header .account-dropdown svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

/* Shared Logo2PPT brand and compact footer navigation. */
.site-header .brand{display:flex;align-items:center;flex-shrink:0}
.brand-logo{display:block;width:164px;height:32px;object-fit:contain;flex:none}
.site-footer .footer-brand{margin-right:auto;display:flex;flex-direction:column;gap:9px}
.footer-brand .brand-logo{width:138px;height:27px}
.site-footer .footer-links{display:flex;align-items:center;flex-wrap:wrap;gap:0;row-gap:10px}
.footer-links>a{display:inline-flex;align-items:center;white-space:nowrap;line-height:1.2}
.footer-links>a+a::before{content:'';height:12px;border-left:1px solid #ddd;margin:0 10px;pointer-events:none}
@media(max-width:850px){.site-footer .footer-brand{width:100%;margin-right:0}.site-footer{gap:18px}}
@media(max-width:580px){.site-header .brand-logo{width:135px;height:27px}.footer-links>a+a::before{margin:0 8px}}

@media(max-width:580px){.footer-links>a[data-icp]{flex-basis:100%}.footer-links>a[data-icp]::before{display:none}}

/* Shared language switcher; flags are local assets, not external requests. */
.auth-methods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.auth-methods button{min-width:0;white-space:normal;overflow-wrap:anywhere;line-height:1.4}
html:not([lang="zh-CN"]) .compare-caption .scene-link{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.site-header .language-menu>.language-options{min-width:190px;max-width:calc(100vw - 24px);max-height:min(70vh,440px);overflow-y:auto;overscroll-behavior:contain}
.language-menu summary{display:flex;align-items:center;gap:6px;white-space:nowrap}.language-menu summary::after{display:none}.language-menu img{width:22px;height:16px;object-fit:contain;display:block;box-shadow:0 0 0 1px #0000000a;border-radius:2px}.language-options a{display:flex;gap:10px;align-items:center}.language-options a[aria-current=true]{background:#00ae4212;color:var(--site-accent,#00ae42)}.site-header nav{gap:23px}html:not([lang="zh-CN"]) .site-header .brand small{font-size:10px;letter-spacing:0}html:not([lang="zh-CN"]) .detail-ratio-tabs button{white-space:nowrap}html:not([lang="zh-CN"]) .guide-step-card h2{font-size:17px}html:not([lang="zh-CN"]) .product-action-row>button{white-space:normal}html:not([lang="zh-CN"]) .start-band .start-heading h1{white-space:normal}html:not([lang="zh-CN"]) .price-plan h2{line-height:1.4}html:not([lang="zh-CN"]) .detail-info dl>div{align-items:baseline}html:not([lang="zh-CN"]) .detail-info dt{min-width:78px}html:not([lang="zh-CN"]) .detail-school-choices{gap:8px}html:not([lang="zh-CN"]) .product-tool .field .color-tools{flex-wrap:wrap}
@media(max-width:1150px){.site-header .brand small{display:none}.site-header nav{gap:20px}}
@media(max-width:700px){.language-menu>summary>span{display:none}.site-header .navigation{gap:10px}.site-header nav{gap:12px}.site-header .brand-logo{width:120px;height:auto}}
@media(max-width:400px){.site-header .brand-logo{width:112px;height:auto}.site-header nav{font-size:10px;gap:8px}.language-menu img{width:20px}.site-header .navigation{gap:8px}}

@media(max-width:600px){html:not([lang="zh-CN"]) .faq-category-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}html:not([lang="zh-CN"]) .faq-category-tabs button{white-space:normal;min-width:0}html:not([lang="zh-CN"]) .compare-caption{flex-wrap:wrap;gap:10px}.language-menu>summary::after{display:none}}

.site-header .language-menu summary::after{display:none}
.language-suggestion{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px 18px;padding:12px 24px;background:#00ae4212;border-bottom:1px solid #dfe9e2;font-size:13px;color:#35443d}.language-suggestion a{background:var(--site-accent,#00ae42);color:#fff;text-decoration:none;padding:7px 12px;border-radius:4px;font-weight:600}.language-suggestion button{border:0;background:transparent;color:#637168;cursor:pointer;font:inherit;padding:7px 0}.language-suggestion a:focus-visible,.language-suggestion button:focus-visible{outline:2px solid var(--site-accent,#00ae42);outline-offset:3px}
@media(max-width:360px){.site-header .brand-logo{width:90px}.site-header .navigation{gap:6px}.site-header .navigation nav{gap:6px;font-size:9px}}

/* A single connected outline around the flag tab and language dropdown. */
.site-header .language-menu{align-self:center;margin:-7px 0}
.site-header .language-menu>summary{position:relative;z-index:102;display:flex;align-items:center;justify-content:center;width:44px;height:36px;padding:8px 10px;border:1px solid transparent;border-radius:4px;box-sizing:border-box;background:transparent;transition:border-color .15s,background-color .15s}
.site-header .language-menu:is(:hover,:focus-within,[open])>summary{border-color:#d9dee3;border-bottom-color:#fff;border-radius:4px 4px 0 0;background:#fff}
.site-header .language-menu>.language-options{top:calc(100% - 1px);right:0;min-width:178px;padding:7px;border:1px solid #d9dee3;border-radius:4px 0 4px 4px;box-shadow:0 8px 22px #25342d0d}
.site-header .language-menu>.language-options a{padding:10px 12px;border-radius:3px}
.site-header .language-menu>summary:focus-visible{outline:2px solid #00ae4250;outline-offset:3px}
@media(max-width:400px){.site-header .language-menu>summary{width:36px;height:32px;padding:7px}.site-header .language-menu{margin:-5px 0}}
@media(prefers-reduced-motion:reduce){.site-header .language-menu>summary{transition:none}}
@media(max-width:400px){.site-header .navigation nav{font-size:10px;gap:8px}}@media(max-width:360px){.site-header .navigation nav{font-size:9px;gap:6px}}

/* Keep translated checkout labels within their own grid cells. */
.checkout-selected-template{grid-template-columns:120px minmax(0,1fr) minmax(0,100px)}
.checkout-selected-template>button{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.checkout-selected-template>div{overflow-wrap:anywhere}
.checkout-plan-cards label{min-width:0;overflow-wrap:anywhere}
@media(max-width:480px){.checkout-selected-template{grid-template-columns:95px minmax(0,1fr)}}
