/* Small single-task tools (JPG to PDF, PNG to JPG, word counter) on the calm pp-page style */
.tl-card { padding: 18px; }
.tl-drop { display: block; border: 2px dashed #9db7e8; border-radius: 16px; padding: 26px 16px; text-align: center; background: #f4f8ff; cursor: pointer; }
.tl-drop strong { display: block; font-size: 1.1rem; color: #1d3a6b; }
.tl-drop span { font-size: .9rem; color: #4b5563; }
.tl-drop.over, .tl-drop:focus-visible { border-color: #4f46e5; background: #eef2ff; }
.tl-hidden { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.tl-list { list-style: none; margin: 12px 0 0; padding: 0; }
.tl-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #e5e7eb; }
.tl-list img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; background: #eef2ff; }
.tl-list span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .92rem; }
.tl-list button { width: 36px; height: 36px; border: 0; border-radius: 10px; background: #eef2ff; color: #1d3a6b; font-size: 1rem; cursor: pointer; }
.tl-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 14px 0; align-items: center; }
.tl-row select, .tl-row input[type=color] { font: inherit; padding: 6px 8px; border-radius: 10px; border: 1px solid #cbd5e1; }
.tl-btn { display: inline-block; border: 0; border-radius: 12px; padding: 12px 22px; background: #5b4fd1; color: #fff; font: 700 1rem inherit; cursor: pointer; }
.tl-btn:disabled { opacity: .5; cursor: default; }
.tl-btn--soft { background: #eef2ff; color: #1d3a6b; padding: 9px 16px; font-size: .9rem; }
.tl-status { margin: 10px 0 0; color: #085041; font-weight: 700; min-height: 1.4em; }
.tl-label { display: block; font-weight: 700; margin-bottom: 6px; }
.tl-card textarea { width: 100%; box-sizing: border-box; font: 1rem/1.6 inherit; padding: 12px; border-radius: 12px; border: 1px solid #cbd5e1; resize: vertical; }
.tl-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 12px 0; }
.tl-stats div { background: #f4f8ff; border-radius: 12px; padding: 10px; text-align: center; }
.tl-stats dt { font-size: .78rem; color: #4b5563; }
.tl-stats dd { margin: 2px 0 0; font-size: 1.35rem; font-weight: 700; color: #1d3a6b; }
.tl-sub { font-size: 1rem; margin: 10px 0 6px; }
.tl-top { margin: 0; padding-left: 20px; columns: 2; }
.tl-more a { display: inline-block; margin: 4px; padding: 8px 14px; border-radius: 999px; background: #eef2ff; color: #3730a3; text-decoration: none; font: 600 14px system-ui, sans-serif; }
#tool-guide, .tl-more { background: rgba(255, 255, 255, .96); border-radius: 16px; padding: 18px 20px; margin: 0 0 14px; }
#tool-guide details { margin: 8px 0; padding: 10px 14px; border-radius: 10px; background: #f8fafc; border: 1px solid #e5e7eb; }
#tool-guide summary { cursor: pointer; font-weight: 700; }
.pg-main .pp-ad { margin: 24px 0; }
