/* ===== /tools/pdf-merge/ 固有 ===== */
.pd-zone{flex:1 1 296px;min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;border:1px solid var(--line);border-radius:var(--r-15);background:var(--bg);padding:clamp(30px,4vw,54px) clamp(22px,2.6vw,34px)}
.pd-zone__title{margin-top:20px;font-family:var(--font-display);font-size:clamp(16px,1.5vw,18px);font-weight:700;color:var(--ink2);line-height:1.7}
.pd-zone__body{margin-top:11px;font-size:13.5px;line-height:2;color:#6b7886;max-width:17em}
.pd-zone__btn{margin-top:22px;font-family:var(--font-display);font-size:14px;font-weight:500;color:var(--ink2);background:#fff;border:1px solid #cdd6e2;border-radius:var(--r-9);padding:15px 34px;opacity:.45;cursor:not-allowed}
.pd-zone__note{margin-top:18px;font-size:11.5px;line-height:1.9;color:#6b7886}
.pd-side__label{font-size:11px;letter-spacing:.16em;font-weight:700;color:#6b7886}
.pd-files{margin-top:14px;display:flex;flex-direction:column;gap:2px}
.pd-file{display:flex;align-items:center;gap:10px;padding:10px 0;border-top:1px solid #F1F3F6}
.pd-file__n{font-family:var(--font-display);font-size:11px;font-weight:700;color:var(--blue-d);background:#e6f0fc;border-radius:var(--r-6);width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;flex:none}
.pd-file__name{flex:1;min-width:0;font-size:12.5px;color:var(--ink2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pd-file__meta{font-size:11px;color:var(--mute);white-space:nowrap;font-variant-numeric:tabular-nums}
.pd-file__x{display:none}
.pd-side__note{margin-top:12px;font-size:11.5px;line-height:1.9;color:#6b7886}
.pd-pages{padding:16px 20px 0}
.pd-pages__hd{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;font-size:11.5px;color:var(--mute)}
.pd-pages__acts{margin-left:auto;display:flex;gap:14px}
.pd-pages__acts a{color:#6b7886;border-bottom:1px solid var(--line)}
.pd-grid{margin-top:14px;display:grid;grid-template-columns:repeat(auto-fill,minmax(74px,1fr));gap:12px}
.pd-page{position:relative;display:flex;flex-direction:column;gap:7px;padding:0;background:none;border:0;cursor:pointer;text-align:center;font-family:var(--font-body)}
.pd-page__sheet{position:relative;display:block;width:100%;aspect-ratio:1 / 1.414;border:1px solid var(--line);border-radius:var(--r-6);background:#fff;overflow:hidden}
.pd-page[aria-pressed=true] .pd-page__sheet{border-color:var(--blue);background:#eef5fe;box-shadow:0 0 0 1px rgba(43,111,214,.08)}
.pd-page[data-moved=true] .pd-page__sheet{border-color:#bcd2f3}
.pd-page__sheet i:nth-child(1){position:absolute;top:22%;left:16%;right:16%;height:1px;background:#E2E9F2}
.pd-page__sheet i:nth-child(2){position:absolute;top:34%;left:16%;right:24%;height:1px;background:#E2E9F2}
.pd-page__sheet i:nth-child(3){position:absolute;top:46%;left:16%;right:18%;height:1px;background:#E2E9F2}
.pd-page__sheet i:nth-child(4){position:absolute;top:58%;left:16%;right:34%;height:1px;background:#E2E9F2}
.pd-page__mark{position:absolute;top:5px;right:5px;width:15px;height:15px;border-radius:50%;background:var(--blue);display:flex;align-items:center;justify-content:center}
.pd-page__label{font-size:10.5px;color:#6b7886;font-weight:400;font-variant-numeric:tabular-nums}
.pd-page[aria-pressed=true] .pd-page__label{color:var(--blue-d);font-weight:700}
.pd-page__cut i:nth-child(1){position:absolute;top:-2px;bottom:16px;right:-7px;width:2px;background:var(--blue);border-radius:1px}
.pd-page__cut i:nth-child(2){position:absolute;top:-6px;right:-10px;width:8px;height:8px;border-radius:50%;background:var(--blue)}
.pd-pages__note{margin-top:14px;font-size:11.5px;line-height:1.9;color:#6b7886;max-width:40em}
.pd-more{display:none}
.pd-outputs{margin:18px 20px 0;padding-top:8px;border-top:1px solid #F1F3F6;font-size:13.5px}
.pd-outputs__hd{padding:8px 0;font-size:11.5px;color:var(--mute)}
.pd-out{display:flex;flex-wrap:wrap;align-items:center;gap:8px 13px;padding:12px 0;border-top:1px solid #F1F3F6}
.pd-out__name{flex:1 1 12em;min-width:0;color:var(--ink);font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pd-out__range{font-size:11.5px;color:#6b7886;white-space:nowrap}
.pd-out__size{font-size:11.5px;color:var(--mute);white-space:nowrap;font-variant-numeric:tabular-nums;min-width:4.4em;text-align:right}
@media (max-width:720px){
  .pd-zone{order:0;margin:12px var(--gutter) 0;padding:28px 18px}
  .pd-zone svg{width:34px;height:34px}
  .pd-zone__title{margin-top:14px;font-size:16px}
  .pd-zone__body{margin-top:9px;font-size:12.5px;line-height:1.95}
  .pd-zone__btn{margin-top:16px;width:100%;min-height:48px;padding:0 16px;font-size:14px}
  .pd-zone__note{margin-top:14px;font-size:12px}
  .pd-side{display:block;order:-1;margin:12px var(--gutter) 0;border:1px solid var(--line);border-radius:var(--r-15);background:#FCFDFE;padding:14px}
  .pd-side .kz-btn,.pd-side .kz-slim__dl{display:none}
  .pd-files{margin-top:10px}
  .pd-file{min-height:52px;padding:6px 0;gap:12px}
  .pd-file__x{display:inline-flex;flex:none;width:44px;height:44px;align-items:center;justify-content:center;color:var(--mute);font-size:15px;background:0;border:0;cursor:pointer;font-family:var(--font-body)}
  .pd-side__note{font-size:12px}
  .pd-pages{padding:14px 14px 0}
  .pd-pages__hd{gap:10px;font-size:12px}
  .pd-pages__hd>span:first-child{flex:1;min-width:0}
  .pd-pages__acts{margin-left:0;gap:10px}
  .pd-pages__acts a{display:inline-flex;align-items:center;min-height:44px;font-size:12.5px;border-bottom:0}
  .pd-grid{grid-template-columns:1fr 1fr;gap:12px}
  .pd-page__label{font-size:11.5px}
  .pd-more{display:block;width:100%;min-height:44px;margin-top:12px;font-family:var(--font-display);font-size:12.5px;font-weight:500;color:var(--ink2);background:#fff;border:1px solid #cdd6e2;border-radius:var(--r-9);cursor:pointer}
  .pd-pages__note{margin-top:12px;font-size:12px;max-width:none}
  .pd-outputs{margin:14px 0 0;padding-top:0}
  .pd-outputs__hd{padding:14px 14px 6px;font-size:12px}
  .pd-out{min-height:56px;padding:10px 14px}
  .pd-out__range,.pd-out__size{font-size:12px}
  .kz-actions .kz-btn--primary.pd-escape{font-weight:500;color:var(--ink2);background:#fff;border:1px solid #cdd6e2;box-shadow:none}
  .kz-actions .kz-btn--primary.pd-escape:hover{background:#fff;color:var(--blue);border-color:var(--blue);transform:none}
  .kz-actions .pd-escape--formats{order:1}
  .kz-actions .pd-escape--zip{order:2}
}

/* 小さくする（圧縮）の強さを選ぶ帯。実測値はここには書かず、結果の帯が出す。 */
.pd-profiles { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 16px; }
.pd-profiles__label { font-weight: 500; font-size: 14px; color: var(--ink2); }
.pd-profiles__note { font-size: 13px; color: var(--mute); flex: 1 1 260px; min-width: 0; }
@media (max-width: 720px) { .pd-profiles { gap: 8px; } .pd-profiles__note { flex-basis: 100%; } }
