.subtitle { font-size: 12px; color: var(--ink-light); font-weight: 300; letter-spacing: 0.1em; border-left: 2px solid var(--accent); padding-left: 10px; }
.panel-header { padding: 10px 16px; border-bottom: 1px solid var(--border); background: var(--bg); display:flex; justify-content:space-between; align-items:center; gap:12px; }
    .panel-label { font-size: 10px; letter-spacing: 0.2em; color: var(--ink-light); text-transform: uppercase; }
    .panel-body { padding: 18px; }
.hidden { display:none !important; }
    @media (max-width: 900px) {
}

    /* ── Size input field match watermark style ── */
    #widthInput,
    #heightInput {
      width: 100%;
      border: 1px solid var(--border);
      background: #fff;
      color: var(--ink);
      font: inherit;
      font-size: 13px;
      padding: 10px 12px;
      border-radius: 6px;
      outline: none;
      box-sizing: border-box;
      line-height: 1.4;
    }
    #widthInput:focus,
    #heightInput:focus {
      border-color: var(--blue);
      background: #fff;
      box-shadow: none;
    }
    #widthInput::placeholder,
    #heightInput::placeholder {
      color: var(--ink-light);
    }


/* ── Resize learning content — matched to image-compress learning design ── */
.resize-learn {
  scroll-margin-top: 90px;
}
.resize-learn h3 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}
.resize-learn a {
  color: var(--blue);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.resize-compare-grid,
.resize-use-grid {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}
.resize-compare-grid,
.resize-use-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.resize-compare-card,
.resize-use-card {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
}
.resize-compare-card p,
.resize-use-card p {
  margin: 0;
}
.resize-tip,
.resize-warning {
  margin-top: 14px;
  padding: 14px 16px;
  border: none;
  border-left: 3px solid var(--blue);
  border-radius: 0;
  background: var(--blue-light);
  color: var(--ink-mid);
  font-size: 13px;
  line-height: 1.8;
}
.resize-steps,
.resize-check-list {
  margin: 12px 0 0;
  padding-left: 1.35em;
}
.resize-steps li + li,
.resize-check-list li + li {
  margin-top: 10px;
}
.resize-faq-item {
  padding: 18px 0;
  border-top: 1px solid var(--border);
}
.resize-faq-item:last-child {
  border-bottom: 1px solid var(--border);
}
.resize-faq-item h3 {
  margin: 0 0 8px;
}
.resize-faq-item p {
  margin: 0;
}
.resize-learn-content {
  padding-bottom: 0;
}

@media (max-width: 800px) {
  .resize-compare-grid,
  .resize-use-grid {
    grid-template-columns: 1fr;
  }
}
