* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    color: #1e293b;
    background: linear-gradient(135deg, #f0f4ff 0%, #faf5ff 50%, #fef2f2 100%);
    min-height: 100vh;
    padding: 32px 16px;
}
.sf-wrap {
    max-width: 1100px;
    margin: 0 auto;
}
.sf-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}
.sf-header-left { display: flex; flex-direction: column; gap: 4px; }
h1 {
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.3px;
}
.sf-subtitle {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin-top: 2px;
}
.sf-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 8px;
    background: rgba(99, 102, 241, 0.08);
    transition: all 0.15s;
    margin-bottom: 16px;
}
.sf-back:hover { background: rgba(99, 102, 241, 0.15); text-decoration: none; }
.sf-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.sf-stat-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.sf-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sf-stat-icon.purple { background: linear-gradient(135deg, #ede9fe, #ddd6fe); color: #7c3aed; }
.sf-stat-icon.blue { background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: #2563eb; }
.sf-stat-icon.green { background: linear-gradient(135deg, #dcfce7, #bbf7d0); color: #16a34a; }
.sf-stat-number { font-size: 22px; font-weight: 700; color: #0f172a; line-height: 1; }
.sf-stat-label { font-size: 12px; color: #94a3b8; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }
.sf-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.02);
}
.sf-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 24px;
    background: #fafbfc;
}
.sf-tab {
    padding: 14px 20px;
    cursor: pointer;
    border: none;
    background: none;
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.sf-tab:hover { color: #6366f1; }
.sf-tab.active { color: #6366f1; border-bottom-color: #6366f1; }
.sf-tab-badge {
    background: #f1f5f9;
    color: #64748b;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 100px;
    font-weight: 600;
}
.sf-tab.active .sf-tab-badge { background: #eef2ff; color: #6366f1; }
.sf-tab-content { display: none; }
.sf-tab-content.active { display: block; }
table {
    width: 100%;
    border-collapse: collapse;
}
thead th {
    background: #f8fafc;
    padding: 10px 20px;
    text-align: center;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
}
tbody td {
    padding: 12px 20px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13px;
    color: #334155;
    text-align: center;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr { transition: background 0.1s; }
tbody tr:hover { background: #f8fafc; }
.sf-num {
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 500;
    min-width: 32px;
}
a { color: #6366f1; text-decoration: none; }
a:hover { color: #4f46e5; text-decoration: underline; }
.sf-url {
    max-width: 480px;
    word-break: break-all;
    font-weight: 500;
    text-align: left;
}
.sf-url a { color: #1e293b; }
.sf-url a:hover { color: #6366f1; }
.sf-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 6px;
    text-transform: capitalize;
}
.sf-tag-freq {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}
.sf-tag-priority {
    background: #fefce8;
    color: #a16207;
    border: 1px solid #fde68a;
}
.sf-date {
    color: #94a3b8;
    font-size: 12px;
    white-space: nowrap;
}
.sf-img-preview {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}
.sf-footer {
    text-align: center;
    padding: 24px 16px 8px;
    font-size: 12px;
    color: #94a3b8;
    letter-spacing: 0.3px;
}
@media (max-width: 768px) {
    body { padding: 16px 8px; }
    h1 { font-size: 20px; }
    .sf-stats { flex-direction: column; }
    thead th, tbody td { padding: 8px 12px; }
    .sf-url { max-width: 240px; }
}