/* ==========================================================================
   工具页 · 电脑版版式（按页面分别设计）
   adapt.js 会在 <html> 上打 aq-w-* 尺寸类，body 上有 tool-* 页面类。

   共同原则：
     - 版心 1240px 居中，左右留白是刻意的
     - 能两栏的两栏（输入左 / 结果右）
     - 单卡片页面用多列排版
     - 手机 / 平板（aq-w-xs / sm）完全不改
   ========================================================================== */

/* ---------- 公共：版心与顶栏 ---------- */
.aq-w-md body,
.aq-w-lg body,
.aq-w-xl body {
  padding: 26px 24px 44px;
}

.aq-w-md .container,
.aq-w-lg .container,
.aq-w-xl .container {
  width: 94%;
  margin: 0 auto;
}

.aq-w-md .container { max-width: 1360px; }
.aq-w-lg .container { max-width: 1800px; }
.aq-w-xl .container { max-width: 2200px; }



/* ==========================================================================
   一、输入卡 + 独立结果区（链条 / 电线 / DC）
   ========================================================================== */
.aq-w-md .tool-chain .container,
.aq-w-lg .tool-chain .container,
.aq-w-xl .tool-chain .container,
.aq-w-md .tool-wire .container,
.aq-w-lg .tool-wire .container,
.aq-w-xl .tool-wire .container,
.aq-w-md .tool-dc .container,
.aq-w-lg .tool-dc .container,
.aq-w-xl .tool-dc .container {
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
  column-gap: 34px;
  row-gap: 20px;
  align-items: start;
}

.aq-w-md .tool-chain .container > .aq-topbar,
.aq-w-lg .tool-chain .container > .aq-topbar,
.aq-w-xl .tool-chain .container > .aq-topbar,
.aq-w-md .tool-wire .container > .aq-topbar,
.aq-w-lg .tool-wire .container > .aq-topbar,
.aq-w-xl .tool-wire .container > .aq-topbar,
.aq-w-md .tool-dc .container > .aq-topbar,
.aq-w-lg .tool-dc .container > .aq-topbar,
.aq-w-xl .tool-dc .container > .aq-topbar {
  grid-column: 1 / -1;
  margin: 0 0 4px;
}

.aq-w-md .tool-chain .container > .card,
.aq-w-lg .tool-chain .container > .card,
.aq-w-xl .tool-chain .container > .card,
.aq-w-md .tool-wire .container > .card,
.aq-w-lg .tool-wire .container > .card,
.aq-w-xl .tool-wire .container > .card,
.aq-w-md .tool-dc .container > .card,
.aq-w-lg .tool-dc .container > .card,
.aq-w-xl .tool-dc .container > .card {
  grid-column: 1;
  margin: 0;
  max-width: none;
}

.aq-w-md .tool-chain .container > #result,
.aq-w-lg .tool-chain .container > #result,
.aq-w-xl .tool-chain .container > #result,
.aq-w-md .tool-wire .container > #result,
.aq-w-lg .tool-wire .container > #result,
.aq-w-xl .tool-wire .container > #result,
.aq-w-md .tool-dc .container > #result,
.aq-w-lg .tool-dc .container > #result,
.aq-w-xl .tool-dc .container > #result {
  grid-column: 2;
  margin: 0;
  max-width: none;
}

.aq-w-md .tool-chain .container > .tool-foot,
.aq-w-lg .tool-chain .container > .tool-foot,
.aq-w-xl .tool-chain .container > .tool-foot,
.aq-w-md .tool-wire .container > .tool-foot,
.aq-w-lg .tool-wire .container > .tool-foot,
.aq-w-xl .tool-wire .container > .tool-foot,
.aq-w-md .tool-dc .container > .tool-foot,
.aq-w-lg .tool-dc .container > .tool-foot,
.aq-w-xl .tool-dc .container > .tool-foot {
  grid-column: 1 / -1;
  margin: 0;
  text-align: center;
}

/* 分享卡放左栏下方 */
.aq-w-md .tool-chain .container > .share-card,
.aq-w-lg .tool-chain .container > .share-card,
.aq-w-xl .tool-chain .container > .share-card,
.aq-w-md .tool-wire .container > .share-card,
.aq-w-lg .tool-wire .container > .share-card,
.aq-w-xl .tool-wire .container > .share-card,
.aq-w-md .tool-dc .container > .share-card,
.aq-w-lg .tool-dc .container > .share-card,
.aq-w-xl .tool-dc .container > .share-card {
  grid-column: 1;
  margin: 0;
  max-width: none;
}

/* ==========================================================================
   二、单卡片页面（电机 / 电池）：卡片内部两列
   ========================================================================== */
.aq-w-md .tool-motor .container,
.aq-w-lg .tool-motor .container,
.aq-w-xl .tool-motor .container,
.aq-w-md .tool-battery .container,
.aq-w-lg .tool-battery .container,
.aq-w-xl .tool-battery .container {
  max-width: 1120px;
}

.aq-w-md .tool-motor .container > .card,
.aq-w-lg .tool-motor .container > .card,
.aq-w-xl .tool-motor .container > .card,
.aq-w-md .tool-battery .container > .card,
.aq-w-lg .tool-battery .container > .card,
.aq-w-xl .tool-battery .container > .card {
  width: 100%;
  max-width: none;
  column-count: 2;
  column-gap: 28px;
  column-fill: balance;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

.aq-w-md .tool-motor .container > .card > *,
.aq-w-lg .tool-motor .container > .card > *,
.aq-w-xl .tool-motor .container > .card > *,
.aq-w-md .tool-battery .container > .card > *,
.aq-w-lg .tool-battery .container > .card > *,
.aq-w-xl .tool-battery .container > .card > * {
  break-inside: avoid;
  margin-bottom: 16px;
}

.aq-w-md .tool-battery .container > .card > .range-module,
.aq-w-lg .tool-battery .container > .card > .range-module,
.aq-w-xl .tool-battery .container > .card > .range-module {
  column-span: all;
}



/* 标题、类型切换、底注横跨两列 */
.tool-motor #mainTitle,
.tool-motor #subTitle,
.tool-motor .lang-bar,
.tool-motor #motorTypeGroup,
.tool-motor #warningAlert,
.tool-motor #footerText,
.tool-motor #copyright,
.tool-battery #title,
.tool-battery #subtitle,
.tool-battery .lang-bar,
.tool-battery .battery-type,
.tool-battery #warningAlert,
.tool-battery #footerDisclaimer,
.tool-battery #copyright {
  grid-column: 1 / -1;
}

/* ==========================================================================
   三、轴套页：dashboard 输入 + 图纸
   ========================================================================== */
.aq-w-md .tool-sleeve .container,
.aq-w-lg .tool-sleeve .container,
.aq-w-xl .tool-sleeve .container {
  max-width: 1360px;
}

.aq-w-md .tool-sleeve .dashboard,
.aq-w-lg .tool-sleeve .dashboard,
.aq-w-xl .tool-sleeve .dashboard {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.aq-w-md .tool-sleeve .dashboard > .input-panel,
.aq-w-lg .tool-sleeve .dashboard > .input-panel,
.aq-w-xl .tool-sleeve .dashboard > .input-panel {
  width: auto;
  max-width: none;
}

.aq-w-md .tool-sleeve .dashboard > .canvas-panel,
.aq-w-lg .tool-sleeve .dashboard > .canvas-panel,
.aq-w-xl .tool-sleeve .dashboard > .canvas-panel {
  width: auto;
  min-width: 0;
  max-width: none;
}

.aq-w-md .tool-sleeve .dashboard canvas,
.aq-w-lg .tool-sleeve .dashboard canvas,
.aq-w-xl .tool-sleeve .dashboard canvas {
  width: 100% !important;
  height: auto !important;
}

/* ==========================================================================
   四、ABS 齿圈：卡片行 + 结果区
   ========================================================================== */
.aq-w-md .tool-abs .calculator-container,
.aq-w-lg .tool-abs .calculator-container,
.aq-w-xl .tool-abs .calculator-container {
  width: 94%;
  max-width: 1900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 26px;
  row-gap: 16px;
  align-items: start;
}

.aq-w-md .tool-abs .aq-topbar,
.aq-w-lg .tool-abs .aq-topbar,
.aq-w-xl .tool-abs .aq-topbar,
.aq-w-md .tool-abs header,
.aq-w-lg .tool-abs header,
.aq-w-xl .tool-abs header,
.aq-w-md .tool-abs #warningAlert,
.aq-w-lg .tool-abs #warningAlert,
.aq-w-xl .tool-abs #warningAlert,
.aq-w-md .tool-abs #copyrightText,
.aq-w-lg .tool-abs #copyrightText,
.aq-w-xl .tool-abs #copyrightText {
  grid-column: 1 / -1;
}

.aq-w-md .tool-abs .cards-row,
.aq-w-lg .tool-abs .cards-row,
.aq-w-xl .tool-abs .cards-row,
.aq-w-md .tool-abs .button-group,
.aq-w-lg .tool-abs .button-group,
.aq-w-xl .tool-abs .button-group {
  grid-column: 1;
}

.aq-w-md .tool-abs .result-section,
.aq-w-lg .tool-abs .result-section,
.aq-w-xl .tool-abs .result-section {
  grid-column: 2;
}

/* ==========================================================================
   五、通用细节修正
   ========================================================================== */
.aq-w-md .container .grid2,
.aq-w-lg .container .grid2,
.aq-w-xl .container .grid2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.aq-w-md .container .btn-group,
.aq-w-lg .container .btn-group,
.aq-w-xl .container .btn-group {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 10px;
}

/* 分享卡在窄栏里收紧 */
.aq-w-md .container > .share-card .share-logo,
.aq-w-lg .container > .share-card .share-logo,
.aq-w-xl .container > .share-card .share-logo {
  width: 80px;
  margin: 0 6px;
}

.aq-w-md .container > .share-card .share-qr img,
.aq-w-lg .container > .share-card .share-qr img,
.aq-w-xl .container > .share-card .share-qr img {
  width: 92px !important;
  height: 92px !important;
}

.aq-w-md .container > .share-card .share-copy,
.aq-w-lg .container > .share-card .share-copy,
.aq-w-xl .container > .share-card .share-copy {
  padding: 9px 14px;
  font-size: .78rem;
}

/* 示意图限高 */
.aq-w-md .container .diagram,
.aq-w-lg .container .diagram,
.aq-w-xl .container .diagram {
  max-height: none;
  overflow: visible;
}

.aq-w-md .container .diagram svg,
.aq-w-lg .container .diagram svg,
.aq-w-xl .container .diagram svg {
  width: 100%;
  height: auto;
  max-height: none;
  display: block;
  margin: 0 auto;
}


/* 结果区为空时给个占位，避免右栏一大片空白 */
.aq-w-md .tool-wire #result:not(:has(*))::after,
.aq-w-lg .tool-wire #result:not(:has(*))::after,
.aq-w-xl .tool-wire #result:not(:has(*))::after,
.aq-w-md .tool-dc #result:not(:has(*))::after,
.aq-w-lg .tool-dc #result:not(:has(*))::after,
.aq-w-xl .tool-dc #result:not(:has(*))::after,
.aq-w-md .tool-chain #result:not(:has(*))::after,
.aq-w-lg .tool-chain #result:not(:has(*))::after,
.aq-w-xl .tool-chain #result:not(:has(*))::after {
  content: "填写左侧参数后点击「开始计算」，结果会显示在这里";
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  border: 1px dashed rgba(34, 197, 94, .35);
  border-radius: 20px;
  color: #7f9b8a;
  font-size: .82rem;
  text-align: center;
  padding: 20px;
}


/* 电线页：线径规格 / 单位选择那一行容易挤，允许换行 */
.aq-w-md .tool-wire .row,
.aq-w-lg .tool-wire .row,
.aq-w-xl .tool-wire .row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
}

.aq-w-md .tool-wire .row > .input-group,
.aq-w-lg .tool-wire .row > .input-group,
.aq-w-xl .tool-wire .row > .input-group {
  flex: 1 1 100%;
  display: flex;
  gap: 8px;
  min-width: 0;
}

.aq-w-md .tool-wire .row input,
.aq-w-lg .tool-wire .row input,
.aq-w-xl .tool-wire .row input {
  flex: 1 1 auto;
  min-width: 0;
}

.aq-w-md .tool-wire .row select,
.aq-w-lg .tool-wire .row select,
.aq-w-xl .tool-wire .row select {
  flex: 0 0 auto;
  min-width: 132px;
}


/* ==========================================================================
   ABS：显式行号，避免顶栏/标题被挤到内容下面
     行1 顶栏 / 行2 标题 / 行3 提示
     行4 原配置卡 + 结果区 / 行5 新配置卡 / 行6 按钮 / 行7 版权
   ========================================================================== */
.aq-w-md .tool-abs .calculator-container,
.aq-w-lg .tool-abs .calculator-container,
.aq-w-xl .tool-abs .calculator-container {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-auto-rows: min-content;
  row-gap: 14px;
}

.aq-w-md .tool-abs .aq-topbar,
.aq-w-lg .tool-abs .aq-topbar,
.aq-w-xl .tool-abs .aq-topbar {
  grid-row: 1;
  grid-column: 1 / -1;
}

.aq-w-md .tool-abs header,
.aq-w-lg .tool-abs header,
.aq-w-xl .tool-abs header {
  grid-row: 2;
  grid-column: 1 / -1;
}

.aq-w-md .tool-abs #warningAlert,
.aq-w-lg .tool-abs #warningAlert,
.aq-w-xl .tool-abs #warningAlert {
  grid-row: 3;
  grid-column: 1 / -1;
}

.aq-w-md .tool-abs .cards-row,
.aq-w-lg .tool-abs .cards-row,
.aq-w-xl .tool-abs .cards-row {
  grid-row: 4;
  grid-column: 1;
}

.aq-w-md .tool-abs .button-group,
.aq-w-lg .tool-abs .button-group,
.aq-w-xl .tool-abs .button-group {
  grid-row: 5;
  grid-column: 1;
}

.aq-w-md .tool-abs .result-section,
.aq-w-lg .tool-abs .result-section,
.aq-w-xl .tool-abs .result-section {
  grid-row: 4 / span 2;
  grid-column: 2;
  align-self: start;
}

.aq-w-md .tool-abs #copyrightText,
.aq-w-lg .tool-abs #copyrightText,
.aq-w-xl .tool-abs #copyrightText {
  grid-row: 6;
  grid-column: 1 / -1;
}


/* ABS：分享卡放到最底部居中 */
.aq-w-md .tool-abs .calculator-container > .share-card,
.aq-w-lg .tool-abs .calculator-container > .share-card,
.aq-w-xl .tool-abs .calculator-container > .share-card {
  grid-row: 7;
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
  max-width: 620px;
  margin: 27px auto 0;
}


/* ==========================================================================
   两栏包装结构（链条 / 电线 / DC）
   ========================================================================== */
.aq-w-md .aq-left,
.aq-w-lg .aq-left,
.aq-w-xl .aq-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.aq-w-md .aq-right,
.aq-w-lg .aq-right,
.aq-w-xl .aq-right {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.aq-w-md .aq-left > .card,
.aq-w-lg .aq-left > .card,
.aq-w-xl .aq-left > .card {
  margin: 0;
  max-width: none;
}

.aq-w-md .aq-left > .share-card,
.aq-w-lg .aq-left > .share-card,
.aq-w-xl .aq-left > .share-card {
  margin: 0;
  max-width: none;
}


/* 电线页的结果区默认带 .hidden，宽屏下要让占位提示能显示 */
.aq-w-md .tool-wire #result.hidden,
.aq-w-lg .tool-wire #result.hidden,
.aq-w-xl .tool-wire #result.hidden {
  display: block !important;
}


/* ==========================================================================
   减震弹簧（深色 · 分步向导）
   ========================================================================== */
.aq-w-md .tool-susp .workspace,
.aq-w-lg .tool-susp .workspace,
.aq-w-xl .tool-susp .workspace {
  max-width: 1720px;
  width: 96%;
  margin-left: auto;
  margin-right: auto;
}

.aq-w-lg .tool-susp .grid,
.aq-w-xl .tool-susp .grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
}

.aq-w-md .tool-susp .hero-inner,
.aq-w-lg .tool-susp .hero-inner,
.aq-w-xl .tool-susp .hero-inner {
  max-width: 1720px;
}

.aq-w-md .tool-susp .controls,
.aq-w-lg .tool-susp .controls,
.aq-w-xl .tool-susp .controls {
  padding: 34px 40px 44px;
}

/* ==========================================================================
   汽车维修报价（浅色 · 左右两栏）
   ========================================================================== */
.aq-w-md .tool-quote .workspace,
.aq-w-lg .tool-quote .workspace,
.aq-w-xl .tool-quote .workspace {
  max-width: 1720px;
  width: 96%;
  margin-left: auto;
  margin-right: auto;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 24px;
}

.aq-w-lg .tool-quote .workspace,
.aq-w-xl .tool-quote .workspace {
  grid-template-columns: minmax(0, 1fr) 500px;
}

.aq-w-md .tool-quote .topbar-inner,
.aq-w-lg .tool-quote .topbar-inner,
.aq-w-xl .tool-quote .topbar-inner {
  max-width: 1720px;
}


/* 报价页有两套动作条（桌面/手机各一套），宽屏只留一套 */
.aq-w-md .tool-quote .top-actions ~ .top-actions,
.aq-w-lg .tool-quote .top-actions ~ .top-actions,
.aq-w-xl .tool-quote .top-actions ~ .top-actions {
  display: none !important;
}


/* 电机/电池：左输入、右结果，显式列位（避免内容被裁切） */
.aq-w-md .tool-motor #mainTitle,
.aq-w-lg .tool-motor #mainTitle,
.aq-w-xl .tool-motor #mainTitle,
.aq-w-md .tool-motor #subTitle,
.aq-w-lg .tool-motor #subTitle,
.aq-w-xl .tool-motor #subTitle,
.aq-w-md .tool-motor .lang-bar,
.aq-w-lg .tool-motor .lang-bar,
.aq-w-xl .tool-motor .lang-bar,
.aq-w-md .tool-motor #motorTypeGroup,
.aq-w-lg .tool-motor #motorTypeGroup,
.aq-w-xl .tool-motor #motorTypeGroup,
.aq-w-md .tool-battery #title,
.aq-w-lg .tool-battery #title,
.aq-w-xl .tool-battery #title,
.aq-w-md .tool-battery #subtitle,
.aq-w-lg .tool-battery #subtitle,
.aq-w-xl .tool-battery #subtitle,
.aq-w-md .tool-battery .lang-bar,
.aq-w-lg .tool-battery .lang-bar,
.aq-w-xl .tool-battery .lang-bar,
.aq-w-md .tool-battery .battery-type,
.aq-w-lg .tool-battery .battery-type,
.aq-w-xl .tool-battery .battery-type,
.aq-w-md .tool-motor #footerText,
.aq-w-lg .tool-motor #footerText,
.aq-w-xl .tool-motor #footerText,
.aq-w-md .tool-motor #copyright,
.aq-w-lg .tool-motor #copyright,
.aq-w-xl .tool-motor #copyright,
.aq-w-md .tool-battery #footerDisclaimer,
.aq-w-lg .tool-battery #footerDisclaimer,
.aq-w-xl .tool-battery #footerDisclaimer,
.aq-w-md .tool-battery #copyright,
.aq-w-lg .tool-battery #copyright,
.aq-w-xl .tool-battery #copyright {
  grid-column: 1 / -1;
}

.aq-w-md .tool-motor .input-group,
.aq-w-lg .tool-motor .input-group,
.aq-w-xl .tool-motor .input-group,
.aq-w-md .tool-motor .button-group,
.aq-w-lg .tool-motor .button-group,
.aq-w-xl .tool-motor .button-group,
.aq-w-md .tool-battery .input-group,
.aq-w-lg .tool-battery .input-group,
.aq-w-xl .tool-battery .input-group,
.aq-w-md .tool-battery .c-rate-module,
.aq-w-lg .tool-battery .c-rate-module,
.aq-w-xl .tool-battery .c-rate-module,
.aq-w-md .tool-battery .fold-section,
.aq-w-lg .tool-battery .fold-section,
.aq-w-xl .tool-battery .fold-section,
.aq-w-md .tool-battery .button-group,
.aq-w-lg .tool-battery .button-group,
.aq-w-xl .tool-battery .button-group {
  grid-column: 1;
}

.aq-w-md .tool-motor #resultPanel,
.aq-w-lg .tool-motor #resultPanel,
.aq-w-xl .tool-motor #resultPanel,
.aq-w-md .tool-motor #bmsCard,
.aq-w-lg .tool-motor #bmsCard,
.aq-w-xl .tool-motor #bmsCard,
.aq-w-md .tool-motor .compare-card,
.aq-w-lg .tool-motor .compare-card,
.aq-w-xl .tool-motor .compare-card,
.aq-w-md .tool-motor #dynamicTip,
.aq-w-lg .tool-motor #dynamicTip,
.aq-w-xl .tool-motor #dynamicTip,
.aq-w-md .tool-battery #resultPanel,
.aq-w-lg .tool-battery #resultPanel,
.aq-w-xl .tool-battery #resultPanel,
.aq-w-md .tool-battery .range-module,
.aq-w-lg .tool-battery .range-module,
.aq-w-xl .tool-battery .range-module,
.aq-w-md .tool-battery #dynamicTip,
.aq-w-lg .tool-battery #dynamicTip,
.aq-w-xl .tool-battery #dynamicTip,
.aq-w-md .tool-battery #formulaTip,
.aq-w-lg .tool-battery #formulaTip,
.aq-w-xl .tool-battery #formulaTip {
  grid-column: 2;
}

/* 卡片内容不要被裁切 */
.aq-w-md .container > .card,
.aq-w-lg .container > .card,
.aq-w-xl .container > .card {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}


/* 多列布局：标题与底注横跨两栏 */
.aq-w-md .tool-motor #mainTitle,
.aq-w-lg .tool-motor #mainTitle,
.aq-w-xl .tool-motor #mainTitle,
.aq-w-md .tool-motor #subTitle,
.aq-w-lg .tool-motor #subTitle,
.aq-w-xl .tool-motor #subTitle,
.aq-w-md .tool-motor .lang-bar,
.aq-w-lg .tool-motor .lang-bar,
.aq-w-xl .tool-motor .lang-bar,
.aq-w-md .tool-motor #motorTypeGroup,
.aq-w-lg .tool-motor #motorTypeGroup,
.aq-w-xl .tool-motor #motorTypeGroup,
.aq-w-md .tool-motor #footerText,
.aq-w-lg .tool-motor #footerText,
.aq-w-xl .tool-motor #footerText,
.aq-w-md .tool-motor #copyright,
.aq-w-lg .tool-motor #copyright,
.aq-w-xl .tool-motor #copyright,
.aq-w-md .tool-battery #title,
.aq-w-lg .tool-battery #title,
.aq-w-xl .tool-battery #title,
.aq-w-md .tool-battery #subtitle,
.aq-w-lg .tool-battery #subtitle,
.aq-w-xl .tool-battery #subtitle,
.aq-w-md .tool-battery .lang-bar,
.aq-w-lg .tool-battery .lang-bar,
.aq-w-xl .tool-battery .lang-bar,
.aq-w-md .tool-battery .battery-type,
.aq-w-lg .tool-battery .battery-type,
.aq-w-xl .tool-battery .battery-type,
.aq-w-md .tool-battery #footerDisclaimer,
.aq-w-lg .tool-battery #footerDisclaimer,
.aq-w-xl .tool-battery #footerDisclaimer,
.aq-w-md .tool-battery #copyright,
.aq-w-lg .tool-battery #copyright,
.aq-w-xl .tool-battery #copyright {
  column-span: all;
}


/* 电机/电池：底部说明与版权留白，避免挤在卡片下沿 */
.aq-w-md .tool-motor #footerText,
.aq-w-lg .tool-motor #footerText,
.aq-w-xl .tool-motor #footerText,
.aq-w-md .tool-battery #footerDisclaimer,
.aq-w-lg .tool-battery #footerDisclaimer,
.aq-w-xl .tool-battery #footerDisclaimer {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid #eef2ef;
  line-height: 1.8;
}

.aq-w-md .tool-motor #copyright,
.aq-w-lg .tool-motor #copyright,
.aq-w-xl .tool-motor #copyright,
.aq-w-md .tool-battery #copyright,
.aq-w-lg .tool-battery #copyright,
.aq-w-xl .tool-battery #copyright {
  margin-top: 10px;
  padding-bottom: 4px;
}

/* 结果侧最后一块与底部分开 */
.aq-w-md .tool-motor #dynamicTip,
.aq-w-lg .tool-motor #dynamicTip,
.aq-w-xl .tool-motor #dynamicTip,
.aq-w-md .tool-battery #formulaTip,
.aq-w-lg .tool-battery #formulaTip,
.aq-w-xl .tool-battery #formulaTip {
  margin-bottom: 18px;
}


/* 左右栏裁掉超出的装饰（弧线、光晕、阴影），避免边缘出现碎片 */
.aq-w-md .aq-left,
.aq-w-lg .aq-left,
.aq-w-xl .aq-left,
.aq-w-md .aq-right,
.aq-w-lg .aq-right,
.aq-w-xl .aq-right {
  overflow: hidden;
}


/* ==========================================================================
   左栏包裹：卡片 + 分享卡，竖向排列
   ========================================================================== */
.aq-w-md .container > .aq-leftcol,
.aq-w-lg .container > .aq-leftcol,
.aq-w-xl .container > .aq-leftcol {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  overflow: visible;
}

.aq-w-md .aq-leftcol > .card,
.aq-w-lg .aq-leftcol > .card,
.aq-w-xl .aq-leftcol > .card {
  margin: 0;
  max-width: none;
}

.aq-w-md .aq-leftcol > .share-card,
.aq-w-lg .aq-leftcol > .share-card,
.aq-w-xl .aq-leftcol > .share-card {
  margin: 0;
  max-width: none;
  width: 100%;
}
