body { font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; margin: 24px; color: #111; }

h1 { margin: 0 0 8px 0; }

.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; margin-bottom: 12px; }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.2px; }

.brand-logo { max-height: 40px; width: auto; height: auto; display: block; }

.page-title { font-size: 18px; font-weight: 650; line-height: 1.2; }

.muted { color: #666; }

.card { border: 1px solid #e5e5e5; border-radius: 12px; padding: 20px; margin-top: 16px; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }

.latest-card { border: 2px solid #28a745; background: #f8fff9; position: relative; overflow: hidden; }
.latest-card::after { content: "LATEST"; position: absolute; top: 12px; right: -30px; background: #28a745; color: #fff; padding: 4px 40px; transform: rotate(45deg); font-size: 10px; font-weight: bold; }

.latest-content { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.latest-info { flex: 1; min-width: 250px; }
.latest-name { font-size: 22px; font-weight: 700; color: #111; margin-bottom: 4px; }
.latest-meta { font-size: 14px; color: #666; display: flex; gap: 16px; }

a.button.btn-green { background: #28a745; color: #fff; border: none; padding: 12px 32px; font-size: 16px; font-weight: 600; transition: background 0.2s; }
a.button.btn-green:hover { background: #218838; }

.card-title { font-size: 16px; font-weight: 600; margin-bottom: 12px; color: #333; }
.other-files-card { margin-top: 24px; }

table { width: 100%; border-collapse: collapse; }

th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #eee; vertical-align: middle; }

th { font-weight: 600; color: #333; }

a.button { display: inline-block; padding: 8px 12px; border-radius: 8px; border: 1px solid #222; color: #111; text-decoration: none; }

a.button:hover { background: #111; color: #fff; }

.error { color: #b00020; }
