/* Shared styles for shop free-tools (2FA / UID / Split / IP / Temp Mail) */
.tool-list { margin-top: 12px; }
.tool-line {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 6px;
    background: #fff;
    font-size: 14px;
}
.tool-sec {
    flex: 1;
    font-family: ui-monospace, Menlo, Consolas, monospace;
    word-break: break-all;
    color: #374151;
}
.tool-code2 {
    font-family: ui-monospace, Menlo, Consolas, monospace;
    font-size: 20px;
    letter-spacing: .12em;
    color: #166534;
}
.tool-left { color: #9ca3af; font-size: 12px; min-width: 34px; text-align: right; }
.tool-mini {
    border: 0;
    background: #16a34a;
    color: #fff;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
}
.tool-badge {
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
}
.tool-badge.is-live { background: #dcfce7; color: #166534; }
.tool-badge.is-dead { background: #fee2e2; color: #b91c1c; }
.tool-muted { color: #6b7280; font-size: 13px; }
.tool-empty { color: #9ca3af; padding: 16px; text-align: center; }
.tool-inline { display: inline-flex; align-items: center; gap: 6px; }

.split-cols {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin: 6px 0 4px;
    font-size: 13px;
}
.split-cols label { display: inline-flex; align-items: center; gap: 5px; font-weight: 500; }

.tm-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 14px;
    margin-top: 12px;
}
.tm-list {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    max-height: 420px;
    overflow: auto;
    background: #fff;
}
.tm-item {
    padding: 10px 12px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
}
.tm-item:hover { background: #f0fdf4; }
.tm-item.is-new { border-left: 3px solid #16a34a; }
.tm-from { font-size: 12px; color: #6b7280; }
.tm-subj { font-weight: 600; margin: 2px 0; }
.tm-intro { font-size: 12px; color: #9ca3af; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-view {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px;
    min-height: 200px;
    max-height: 420px;
    overflow: auto;
    background: #fff;
    color: #6b7280;
}
.tm-head { border-bottom: 1px solid #eee; padding-bottom: 8px; margin-bottom: 10px; color: #111; }
.tm-body { color: #111; font-size: 14px; }
.tm-body img { max-width: 100%; height: auto; }

@media (max-width: 768px) {
    .tm-grid { grid-template-columns: 1fr; }
    .tm-list { max-height: 240px; }
}

.bm-howto { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 12px; padding: 14px 18px; margin: 8px 0 16px; }
.bm-howto h3, .bm-howto h4 { margin: 0 0 8px; font-size: 15px; color: #111827; }
.bm-steps { color: #4b5563; font-size: 14px; padding-left: 20px; margin: 0; }
.bm-steps li { margin-bottom: 4px; }
.bm-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; }
.bm-filter {
    border: 1px solid #d1d5db; background: #fff; color: #374151;
    border-radius: 999px; padding: 6px 16px; font-size: 13px; font-weight: 600; cursor: pointer;
}
.bm-filter.is-on { background: #111827; color: #fff; border-color: #111827; }
.bm-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px;
}
.bm-card {
    border: 1px solid #e5e7eb; border-radius: 14px; padding: 16px;
    background: #fff; display: flex; flex-direction: column; gap: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.bm-card-cat { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #16a34a; }
.bm-card-cat .bm-ic { width: 14px; height: 14px; }
.bm-card-title { font-size: 16px; font-weight: 800; color: #111827; }
.bm-ver { font-size: 11px; font-weight: 700; color: #6b7280; background: #f3f4f6; border-radius: 6px; padding: 2px 7px; margin-left: 4px; }
.bm-card-desc { color: #4b5563; font-size: 13px; margin: 0; flex: 1; }
.bm-card-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.bm-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2563eb;
    color: #fff !important;
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
    cursor: grab;
    box-shadow: 0 2px 6px rgba(37, 99, 235, .25);
}
.bm-chip .bm-ic { width: 16px; height: 16px; flex: 0 0 auto; }
.bm-chip:active { cursor: grabbing; }
.bm-share { background: none; border: none; color: #2563eb; font-size: 13px; font-weight: 600; cursor: pointer; padding: 4px; }
.bm-share:hover { text-decoration: underline; }
.bm-hint { color: #9ca3af; font-size: 12px; }
