body.product-theme .site-ad-mount{min-width:0;width:100%}body.product-theme .site-ad-slot{box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-width:0;width:100%;margin:0;border:1px dashed #ccd8e9;border-radius:10px;background:#f7f9fc;overflow:hidden}body.product-theme .site-ad-placeholder{font:13px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:.12em;color:#8292a9}body.product-theme .site-ad-slot[data-ad-format=strip]{min-height:90px}body.product-theme .site-ad-slot[data-ad-format=rectangle]{min-height:250px}body.product-theme .site-ad-slot[data-ad-format=banner]{min-height:100px;margin:22px 0}body.product-theme .site-ad-slot.site-ad-filled{border:0;background:transparent}body.product-theme .site-ad-slot>a{display:block;width:100%;min-width:0}body.product-theme .site-ad-slot img{display:block;width:100%;height:auto;object-fit:contain}
body.product-theme .site-share-card{box-sizing:border-box;min-width:0;width:100%;border:1px solid #e2e9f3;border-radius:10px;background:#fff;padding:20px;box-shadow:0 2px 8px #1b3a6b04}body.product-theme .site-share-card h2{font-size:16px;font-weight:600;line-height:1.5;color:#344b6b;margin:0 0 16px;border:0;padding:0}body.product-theme .site-share-card label{display:block;font-size:12px;line-height:1.5;color:#71839c;margin:0 0 7px}body.product-theme .site-share-card input[data-site-share-url]{box-sizing:border-box;display:block;width:100%;min-width:0;max-width:100%;height:44px;padding:10px;border:1px solid #dce5f1;border-radius:6px;background:#f7f9fd;color:#536b8b;font:12px/1.5 Consolas,monospace;margin:0;box-shadow:none}body.product-theme .site-share-actions{display:flex;gap:10px;margin-top:12px;min-width:0}body.product-theme .site-share-actions>button{box-sizing:border-box;flex:1;min-width:0;min-height:44px;height:auto;padding:9px 10px;margin:0;border:1px solid #d6e2f4;border-radius:6px;background:#f3f7fe;color:#3c639e;font:13px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;white-space:normal;text-align:center;cursor:pointer;box-shadow:none}body.product-theme .site-share-actions>button:hover{background:#eaf1fc;border-color:#acc6ed}body.product-theme .site-share-card :is(button,input):focus-visible{outline:3px solid #a8c5f2;outline-offset:3px}body.product-theme .site-share-status{font-size:12px;line-height:1.6;color:#5c7f67;overflow-wrap:anywhere;margin:9px 0 0;min-height:0}body.product-theme .site-share-status:empty{display:none}
body.product-theme .site-layout-sidebar,body.product-theme .site-tool-sidebar[data-site-tool-sidebar]{box-sizing:border-box;display:flex!important;flex-direction:column;gap:20px;min-width:0;width:280px;align-self:start;margin:0;padding:0;float:none;position:static;height:auto;max-height:none}body.product-theme .utility-layout>.site-layout-sidebar{width:100%;margin-top:0}body.product-theme .utility-page .breadcrumbs a{display:inline-flex;align-items:center;min-height:32px}body.product-theme .site-legacy-tool-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:28px;align-items:start}body.product-theme .site-legacy-tool-main{min-width:0;width:100%!important;margin:0!important;float:none!important}body.product-theme .site-standalone-layout{max-width:1440px;margin:24px auto;padding:0 24px;box-sizing:border-box}body.product-theme .site-standalone-layout>.site-tool-sidebar{margin-left:auto}body.product-theme .site-category-breadcrumb{font-size:13px;line-height:1.8;color:#8192a7;margin-bottom:18px}body.product-theme .site-category-breadcrumb a{display:inline-flex;min-height:32px;align-items:center;color:#647eaa}body.product-theme .site-ad-mount+.portal-bento{margin-top:0}
@media(max-width:991px){body.product-theme .site-legacy-tool-layout{grid-template-columns:minmax(0,1fr);gap:24px}body.product-theme .site-layout-sidebar,body.product-theme .site-tool-sidebar[data-site-tool-sidebar]{width:100%;max-width:none;display:flex!important;grid-column:1;gap:18px;margin-top:12px}body.product-theme .site-standalone-layout{padding:0 16px}body.product-theme .site-share-card{padding:18px}body.product-theme .site-ad-slot[data-ad-format=rectangle]{min-height:200px}body.product-theme .site-ad-slot[data-ad-format=banner]{min-height:90px;margin:18px 0}}

/* 旧文档主题使用带 ID 的浮动布局，公共工具侧栏需同时清除其预留右边距。 */
body.product-theme #bdy>.w.site-legacy-tool-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:28px;align-items:start}body.product-theme #bdy>.w.site-legacy-tool-layout>.site-legacy-tool-main>.inner{margin-right:0;min-width:0}
/* 文件选择器的原生最小宽度会撑开窄屏表单，允许按所在工具区收缩。 */
body.product-theme .image-ai-service .service-field{min-width:0}body.product-theme .image-ai-service input[type=file],body.product-theme .document-tools input[type=file]{box-sizing:border-box;min-width:0;width:100%;max-width:100%}
@media(max-width:991px){body.product-theme #bdy>.w.site-legacy-tool-layout{grid-template-columns:minmax(0,1fr);gap:24px}}
