/* 功能广场：以 blue-tools.png 的三段分组、流程带和整卡入口组织既有工具。
 * 仅负责本页布局；桌面三/二/四列，小窗顺序折行。筛选及打开工具由 product.js 处理。
 */
.tools-square{max-width:none;padding:22px 22px 24px 26px}
.square-header{display:flex;align-items:center;gap:26px;min-height:90px;padding:0 0 12px}
.square-header h1{font-size:38px;line-height:1.25;letter-spacing:-.04em;color:var(--theme-ink)}
.square-header p{font-size:15px;color:var(--theme-secondary);margin-top:7px}
.square-header>.button{min-height:46px;padding-inline:20px;font-size:14px}
.square-greeting{margin-left:auto;display:flex;align-items:center;gap:12px;color:var(--theme-secondary);font-size:14px;white-space:nowrap}
.square-greeting img{width:92px;height:70px;object-fit:contain}
.square-process{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;padding:22px 20px;margin:0 0 18px;border:1px solid var(--theme-wash);border-radius:14px;background:#ffffffdb;box-shadow:0 6px 20px color-mix(in srgb,var(--theme-muted) 1.18%,transparent)}
.square-process li{display:flex;align-items:center;gap:12px;min-width:0}
.square-step-index{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;color:var(--theme-action);background:var(--theme-wash);font-size:15px;flex-shrink:0}
.square-step-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:linear-gradient(140deg,var(--theme-wash),var(--theme-paper));color:var(--theme-action);flex-shrink:0}
.square-step-icon .icon{width:28px;height:28px;stroke-width:1.8}
.square-process strong{display:block;font-size:16px;white-space:nowrap}
.square-process small{display:block;font-size:12px;color:var(--theme-muted);margin-top:5px;white-space:nowrap}
.square-step-arrow{width:16px;height:16px;margin-left:auto;color:var(--theme-action);flex-shrink:0}
.square-filters{display:flex;gap:16px;border-bottom:1px solid var(--theme-line);margin-bottom:14px;overflow:auto;scrollbar-width:thin}
.square-filters button{position:relative;min-height:48px;padding:10px 26px 13px;border:1px solid transparent;border-bottom:0;border-radius:10px 10px 0 0;font-size:16px;color:var(--theme-secondary);white-space:nowrap}
.square-filters button[aria-pressed=true]{color:var(--theme-action);font-weight:650;background:#ffffffc9;border-color:var(--theme-line)}
.square-filters button[aria-pressed=true]:after{content:'';position:absolute;bottom:0;height:3px;left:14px;right:14px;border-radius:2px;background:var(--theme-action)}
.square-filters button:hover{background:var(--theme-wash)}
.square-sections{display:grid;gap:16px}
.square-section{padding:20px 23px 21px;background:#fffffff0;border:1px solid var(--theme-wash);border-radius:15px}
.square-section-heading{display:flex;gap:20px;align-items:baseline;margin-bottom:14px}
.square-section-heading h2{font-size:24px;line-height:1.3;letter-spacing:-.03em;color:var(--theme-ink)}
.square-section-heading p{font-size:13px;color:var(--theme-muted)}
.square-tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.square-tool{display:flex;align-items:center;gap:18px;min-height:102px;padding:16px;text-align:left;border:1px solid var(--theme-wash);border-radius:12px;background:linear-gradient(120deg,#fff,var(--theme-paper));min-width:0;transition:border-color .15s,background .15s,box-shadow .15s;color:var(--theme-ink)}
.square-tool:hover{border-color:var(--theme-border);background:var(--theme-paper);box-shadow:0 4px 12px color-mix(in srgb,var(--theme-action) 3.53%,transparent)}
.square-tool:active{background:var(--theme-wash)}
.square-tool-featured{border-color:var(--theme-border);background:linear-gradient(110deg,var(--theme-paper),var(--theme-paper))}
.square-tool-icon{display:grid;place-items:center;width:56px;height:62px;border-radius:13px;background:linear-gradient(135deg,var(--theme-wash),var(--theme-paper));color:var(--theme-action);flex-shrink:0}
.square-tool-icon>.icon{width:31px;height:31px;stroke-width:1.8}
.square-icon-statement{background:#f3ecff;color:#9b63f0}.square-icon-research-plan{background:#e7f9f3;color:#08a781}.square-icon-audit{background:#fff3e9;color:#eea65c}
.square-tool-copy{display:block;min-width:0;flex:1}
.square-tool-copy strong{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:17px;line-height:1.4;font-weight:650}
.square-tool-copy>span{display:block;font-size:13px;color:var(--theme-muted);line-height:1.7;margin-top:4px;overflow-wrap:anywhere}
.square-popular{font-weight:500;font-size:11px;line-height:1.4;color:var(--theme-action);background:var(--theme-wash);border-radius:20px;padding:3px 9px}
.square-tool-arrow{height:17px;width:17px;color:var(--theme-action);flex-shrink:0}
.square-section-practice{padding-top:18px;padding-bottom:19px}
.square-section-practice .square-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.square-section-practice .square-tool{min-height:94px}
.square-section-practice .square-tool-icon{width:62px;height:64px}
.square-section-practice .square-tool-icon>.icon{width:34px;height:34px}
.square-practice-action{display:flex;align-items:center;gap:8px;background:var(--theme-action);color:#fff;border-radius:9px;padding:12px 17px;font-size:13px;white-space:nowrap}
.square-practice-action .icon{width:16px;height:16px}
.square-section-application{padding-top:18px;padding-bottom:18px}
.square-section-application .square-section-heading{margin-bottom:12px}
.square-section-application .square-section-heading h2{font-size:22px}
.square-section-application .square-tool-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.square-section-application .square-tool{min-height:78px;padding:12px;gap:13px}
.square-section-application .square-tool-icon{width:48px;height:52px}
.square-section-application .square-tool-icon>.icon{width:27px;height:27px}
.square-section-application .square-tool-copy strong{font-size:15px}
.square-section-application .square-tool-copy>span{font-size:12px}
.square-section-application .square-tool-arrow{width:14px}
.square-filters button:focus-visible,.square-tool:focus-visible{outline:3px solid var(--theme-action);outline-offset:3px}
/* 内容折行，不以缩小正文换取首屏；长记录和真实空侧栏沿用原数据。 */
@media(max-width:1350px){.square-greeting span{display:none}.square-header{gap:16px}.square-process{gap:14px;padding:20px 16px}.square-process li{gap:9px}.square-step-index{width:25px;height:25px;font-size:13px}.square-step-icon{width:43px;height:43px}.square-process strong{font-size:14px}.square-process small{font-size:11px}.square-tool{gap:12px}.square-tool-icon{width:46px;height:54px}.square-tool-copy strong{font-size:15px}.square-tool-copy>span{font-size:12px}.square-practice-action{padding:10px}.square-section-application .square-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1100px){.square-greeting{display:none}.square-header>.button{margin-left:auto}.square-header h1{font-size:33px}.square-header p{font-size:13px}.square-process{gap:14px;grid-template-columns:repeat(2,minmax(0,1fr))}.square-process li{gap:12px}.square-process small{font-size:12px}.square-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.square-section-practice .square-tool-grid{grid-template-columns:1fr}.square-section-heading p{display:none}}
@media(max-width:760px){.tools-square{padding:20px 18px}.square-header{flex-wrap:wrap;padding-bottom:18px;gap:12px}.square-header h1{font-size:29px}.square-header p{font-size:12px;line-height:1.7}.square-header>.button{margin-left:0;min-height:40px;font-size:12px}.square-process{padding:16px 12px;gap:16px 10px}.square-step-index{display:none}.square-step-icon{width:36px;height:36px}.square-step-icon .icon{width:22px;height:22px}.square-process strong{font-size:13px}.square-process small{font-size:10px;white-space:normal}.square-step-arrow{display:none}.square-filters{gap:2px}.square-filters button{font-size:13px;padding-inline:14px;min-height:44px}.square-section{padding:18px 14px}.square-section-heading{margin-bottom:14px}.square-section-heading h2{font-size:21px}.square-tool-grid,.square-section-application .square-tool-grid{grid-template-columns:1fr}.square-tool{padding:14px;min-height:94px}.square-tool-copy strong{font-size:15px}.square-tool-copy>span{font-size:12px}.square-section-practice .square-tool{flex-wrap:wrap}.square-practice-action{margin-left:auto}}
