* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: #f8f9fa; color: #1a1a2e; font-size: 15px; line-height: 1.7;
}
.container { max-width: 800px; margin: 0 auto; padding: 16px; }

/* Header */
.header { text-align: center; padding: 24px 0 16px; border-bottom: 1px solid #e5e7eb; margin-bottom: 24px; }
.header h1 { font-size: 22px; font-weight: 700; }
.header p { color: #6c757d; font-size: 13px; margin-top: 4px; }

/* Sections */
.section { margin-bottom: 24px; }
.section-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 16px; background: #1a1a2e; color: #fff; border-radius: 8px 8px 0 0;
    font-size: 16px; font-weight: 600;
}
.section-header .count { font-size: 12px; opacity: 0.7; }
.section-body { background: #fff; border: 1px solid #e5e7eb; border-top: none; border-radius: 0 0 8px 8px; }

/* Doc list */
.doc-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 16px; border-bottom: 1px solid #f0f0f0;
    text-decoration: none; color: #1a1a2e; transition: background 0.15s;
}
.doc-item:last-child { border-bottom: none; }
.doc-item:hover { background: #f0f4ff; }
.doc-title { font-size: 14px; }
.doc-title::before { content: "▸ "; color: #2563eb; }
.doc-date { font-size: 12px; color: #6c757d; white-space: nowrap; }

/* Schedule table */
.table-wrap { overflow-x: auto; padding: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { background: #f8f9fa; padding: 8px 10px; text-align: left; font-weight: 600; border-bottom: 2px solid #e5e7eb; white-space: nowrap; }
td { padding: 8px 10px; border-bottom: 1px solid #f0f0f0; white-space: nowrap; }
tr:hover td { background: #f8f9fa; }

/* Status badges */
.badge {
    display: inline-block; padding: 2px 8px; border-radius: 10px;
    font-size: 11px; font-weight: 600;
}
.badge-approved { background: #dcfce7; color: #16a34a; }
.badge-published { background: #16a34a; color: #fff; }
.badge-pending { background: #f3f4f6; color: #6c757d; }
.badge-rejected { background: #fef2f2; color: #ef4444; }

/* Footer */
.footer {
    text-align: center; padding: 20px 0; margin-top: 32px;
    border-top: 1px solid #e5e7eb; font-size: 12px; color: #6c757d;
}

/* Doc page content */
.doc-page-header {
    display: flex; align-items: center; gap: 8px; padding: 12px 0;
    border-bottom: 1px solid #e5e7eb; margin-bottom: 20px;
}
.back-link {
    display: inline-flex; align-items: center; gap: 4px;
    text-decoration: none; color: #2563eb; font-size: 14px;
}
.back-link:hover { text-decoration: underline; }
.doc-content { padding: 0 4px; }
.doc-content h1 { font-size: 22px; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid #1a1a2e; }
.doc-content h2 { font-size: 18px; margin: 24px 0 12px; padding-bottom: 6px; border-bottom: 1px solid #e5e7eb; }
.doc-content h3 { font-size: 16px; margin: 16px 0 8px; }
.doc-content p { margin-bottom: 12px; }
.doc-content ul, .doc-content ol { margin: 8px 0 12px 20px; }
.doc-content li { margin-bottom: 4px; }
.doc-content blockquote { border-left: 4px solid #2563eb; background: #f0f4ff; padding: 8px 16px; margin: 12px 0; border-radius: 0 4px 4px 0; }
.doc-content pre { background: #f3f4f6; padding: 16px; border-radius: 6px; overflow-x: auto; margin: 12px 0; font-size: 13px; line-height: 1.5; }
.doc-content code { background: #f3f4f6; padding: 1px 5px; border-radius: 3px; font-size: 13px; }
.doc-content pre code { background: none; padding: 0; }
.doc-content hr { border: none; border-top: 1px solid #e5e7eb; margin: 20px 0; }
.doc-content strong { font-weight: 600; }
.doc-content img { max-width: 100%; }