/* New-market components. Reuses the existing warm-paper visual system. */
body.batch-page{font-family:Arial,Helvetica,'Noto Sans CJK SC','Noto Sans CJK JP',sans-serif}
.batch-page .intro>div:first-child{min-width:0}.batch-page .intro h1{overflow-wrap:anywhere;font-size:clamp(30px,3.1vw,44px);max-width:890px;letter-spacing:-1px;line-height:1.2}
.batch-page .intro-copy{max-width:760px}.batch-page .intro-note{max-width:170px;white-space:normal}
.batch-page .section-top{align-items:flex-start;flex-wrap:wrap}.batch-page .section-top h2{line-height:1.5;flex:1;min-width:130px}
.batch-page .status-tag{white-space:normal;line-height:1.5;text-transform:none;letter-spacing:0;max-width:100%}
.batch-page .field{min-width:0;margin-bottom:18px}.batch-page .field label{line-height:1.55}.batch-page .field-hint{overflow-wrap:anywhere;font-size:12px;line-height:1.65}
.batch-page .two-fields{gap:18px}.batch-page .example-note{font-size:12px;color:var(--muted);line-height:1.6;margin:0 0 18px}
.batch-page .input-shell>span{font-size:15px}.batch-page .input-shell input[readonly]{color:var(--green);opacity:.8}.batch-page .input-shell input{min-width:0}
.batch-page .checkbox-field{display:flex;gap:10px;align-items:flex-start;font-size:12px;line-height:1.65;margin:12px 0 6px}.batch-page input[type=checkbox]{width:18px;height:18px;flex:none;accent-color:var(--green)}
.batch-page .fee-options summary{flex-wrap:wrap;font-size:12px;line-height:1.6}.batch-page .summary-value{text-align:left}
.batch-page #profitValue{font-size:clamp(46px,5.2vw,76px);letter-spacing:-2px;white-space:normal;overflow-wrap:anywhere}.batch-page #profitValue.medium{font-size:clamp(38px,4.1vw,59px)}.batch-page #profitValue.long{font-size:clamp(28px,3vw,42px);letter-spacing:-1px}.batch-page #profitValue.very-long{font-size:clamp(22px,2.4vw,33px);letter-spacing:-.5px}
.batch-page .margin-line{flex-wrap:wrap;line-height:1.6}.batch-page .keep-line{line-height:1.7}.batch-page .breakdown>div{display:flex;align-items:flex-start;gap:12px;line-height:1.6}.batch-page .breakdown dt{min-width:0;flex:1;overflow-wrap:anywhere}.batch-page .breakdown dd{margin-left:0;flex:0 1 47%;text-align:right;overflow-wrap:anywhere;white-space:normal}
.batch-page .result-bottom{flex-wrap:wrap;gap:18px;align-items:flex-start}.batch-page .break-even{font-size:24px;overflow-wrap:anywhere;line-height:1.5}.batch-page .copy-button{white-space:normal;line-height:1.5;min-height:44px}
.batch-page .result-note{font-size:12px;line-height:1.7;margin-top:12px}.batch-page .scope-note{font-size:12px;line-height:1.7;display:block}.batch-page .batch-warning{border-left:3px solid #b29957;padding-left:12px;font-size:12px;line-height:1.7;margin:14px 0}
.batch-page .method-content{display:grid;grid-template-columns:1fr 1fr;gap:24px}.batch-page .method-content p{font-size:13px;line-height:1.8;margin:12px 0;overflow-wrap:anywhere}.batch-page .method-content h2{font-size:15px;margin-top:18px}.batch-page .method>summary{line-height:1.6}
.batch-page .batch-metrics{display:grid;gap:14px;margin:20px 0}.batch-page .batch-metrics div{padding:14px 0;border-top:1px solid #c2cbae}.batch-page .batch-metrics dt{font-size:12px;line-height:1.65}.batch-page .batch-metrics dd{font-size:26px;margin:6px 0 0;overflow-wrap:anywhere;line-height:1.4;font-variant-numeric:tabular-nums}
.batch-page .batch-fx{border:1px solid var(--line);border-radius:8px;padding:0 14px;margin:5px 0 22px}.batch-page .batch-fx>summary{padding:13px 0;cursor:pointer;font-size:12px;line-height:1.6}.batch-page .batch-fx .field{margin-top:12px}.batch-page .batch-fx .field-hint{font-size:11px}
.batch-page .source-links{display:flex;flex-wrap:wrap;gap:8px 16px}.batch-page .source-links a{display:inline-flex;align-items:center;min-height:36px}
.batch-page .batch-next{margin:20px 0 0;font-size:13px;line-height:1.7}
.batch-copy-dialog{width:640px;max-width:calc(100vw - 32px);max-height:85vh;border:1px solid var(--line);background:var(--white);color:var(--ink);border-radius:14px;padding:22px}.batch-copy-dialog::backdrop{background:#293c3170}.batch-copy-dialog p{font-size:14px;line-height:1.7;margin-bottom:14px}.batch-copy-dialog textarea{width:100%;height:45vh;min-height:140px;display:block;font-size:13px;line-height:1.65;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:12px}.batch-copy-dialog button{margin-top:12px;min-height:42px;padding:8px 20px;border:1px solid var(--line);border-radius:8px}
.batch-catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:5px 0 30px}.batch-market-card{background:var(--white);border:1px solid var(--line);border-radius:12px;padding:22px;min-width:0}.batch-market-card h2{font-size:20px;line-height:1.4;margin-bottom:15px}.batch-market-card p{font-size:12px;color:var(--muted);line-height:1.7;margin:12px 0 4px}.batch-market-card a{display:block;font-size:13px;line-height:1.6;padding:9px 0;min-height:40px;overflow-wrap:anywhere}
.batch-page .privacy-page{max-width:820px}.batch-page .privacy-page h2{font-size:19px;margin:25px 0 12px}.batch-page .privacy-page p{line-height:1.85;font-size:14px;overflow-wrap:anywhere}
@media(max-width:859px){.batch-page .method-content{grid-template-columns:1fr}.batch-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.batch-page .intro-note{display:none}}
@media(max-width:520px){.batch-page .two-fields{grid-template-columns:1fr;gap:0}.batch-page .intro h1{font-size:31px;letter-spacing:-.6px}.batch-page .order-panel,.batch-page .result-panel{padding:22px 20px}.batch-page .field-hint{font-size:12px}.batch-page .result-panel #profitValue{font-size:57px}.batch-page .result-panel #profitValue.medium{font-size:43px}.batch-page .result-panel #profitValue.long{font-size:32px}.batch-page .result-panel #profitValue.very-long{font-size:24px}.batch-page .status-tag{font-size:10px}.batch-page .method-content{padding-left:16px;padding-right:16px}.batch-catalog-grid{grid-template-columns:1fr}.batch-page .breakdown{font-size:12px}.batch-page .site-footer{gap:14px}.batch-page .footer-links{flex-wrap:wrap}}
@media print{.batch-picker,.batch-footer-nav,.batch-page .copy-button,.batch-copy-dialog{display:none!important}.batch-page .method[open]{display:block}}

.batch-page .preset-row{margin-bottom:20px;flex-wrap:wrap}
