:root { --ob-a: #667eea; --ob-b: #764ba2; --ob-dark: #4c1d95; }
body { background: #f4f5fb; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: #1f2937; display: flex; flex-direction: column; min-height: 100vh; }
.ob-main { flex: 1 0 auto; }
.ob-nav { background: linear-gradient(135deg, var(--ob-a) 0%, var(--ob-b) 100%); box-shadow: 0 2px 10px rgba(76,29,149,.25); }
.ob-nav .navbar-brand { line-height: 1.1; }
.ob-logo { font-size: 1.8rem; display: inline-flex; align-items: center; }
.ob-logo img { filter: drop-shadow(0 1px 3px rgba(0,0,0,.35)); }
.ob-sub { font-size: .72rem; opacity: .85; font-weight: 400; }
.ob-nav .nav-link.active { font-weight: 600; text-decoration: underline; text-underline-offset: 6px; }
.ob-footer { background: #1e1b4b; color: #c7d2fe; padding: 18px 0; font-size: .85rem; margin-top: 40px; }
.ob-footer a { color: #fff; }

.ob-hero { background: linear-gradient(135deg, var(--ob-a) 0%, var(--ob-b) 100%); color: #fff; padding: 56px 0 90px; }
.ob-hero h1 { font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.ob-hero p.lead { opacity: .92; max-width: 720px; }
.ob-pull { margin-top: -60px; }

.ob-card { background: #fff; border-radius: 16px; box-shadow: 0 6px 24px rgba(30,27,75,.08); border: 1px solid #ecebfa; }
.ob-card .ob-card-h { padding: 16px 20px; border-bottom: 1px solid #efeefa; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.ob-card .ob-card-b { padding: 20px; }

.ob-choice { display: block; height: 100%; padding: 26px; border-radius: 16px; border: 2px solid #e5e7f5; background: #fff; text-decoration: none; color: inherit; transition: .15s; }
.ob-choice:hover { border-color: var(--ob-a); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(102,126,234,.2); color: inherit; }
.ob-choice .ob-ic { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; color: #fff; margin-bottom: 14px; }
.ob-ic-vol { background: linear-gradient(135deg, #10b981, #059669); }
.ob-ic-car { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.ob-choice.disabled { opacity: .55; pointer-events: none; }

.ob-badge-volunteer { background: #d1fae5; color: #065f46; }
.ob-badge-career { background: #dbeafe; color: #1e40af; }

.ob-auth { max-width: 460px; margin: 40px auto; }
.ob-auth .ob-auth-h { background: linear-gradient(135deg, var(--ob-a) 0%, var(--ob-b) 100%); color: #fff; border-radius: 16px 16px 0 0; padding: 26px; text-align: center; }

.ob-steps { display: flex; justify-content: space-between; position: relative; margin: 10px 0 4px; }
.ob-steps::before { content: ''; position: absolute; top: 15px; left: 6%; right: 6%; height: 4px; background: #e5e7eb; border-radius: 2px; }
.ob-step { position: relative; text-align: center; flex: 1; font-size: .78rem; color: #6b7280; }
.ob-step .dot { width: 34px; height: 34px; border-radius: 50%; background: #e5e7eb; color: #6b7280; display: flex; align-items: center; justify-content: center; margin: 0 auto 6px; font-weight: 700; position: relative; z-index: 1; border: 3px solid #fff; }
.ob-step.done .dot { background: #10b981; color: #fff; }
.ob-step.current .dot { background: var(--ob-b); color: #fff; box-shadow: 0 0 0 4px rgba(118,75,162,.2); }
.ob-step.current { color: var(--ob-dark); font-weight: 600; }
.ob-step.bad .dot { background: #ef4444; color: #fff; }

.ob-sec { scroll-margin-top: 80px; }
.ob-sec-title { font-weight: 600; color: var(--ob-dark); display: flex; align-items: center; gap: 8px; }
.ob-req::after { content: ' *'; color: #dc2626; }
.ob-toc a { display: block; padding: 6px 10px; border-radius: 8px; color: #374151; text-decoration: none; font-size: .9rem; }
.ob-toc a:hover { background: #eef2ff; color: var(--ob-dark); }
.ob-sticky { position: sticky; top: 16px; }

.ob-kv th { width: 38%; color: #6b7280; font-weight: 500; }
.ob-stat { border-radius: 14px; padding: 16px; color: #fff; }
.ob-stat strong { font-size: 1.7rem; display: block; line-height: 1.1; }
.ob-stat span { font-size: .8rem; opacity: .9; }
.ob-msg { border-radius: 12px; padding: 10px 14px; margin-bottom: 10px; }
.ob-msg-app { background: #eef2ff; }
.ob-msg-staff { background: #ecfdf5; }
.ob-msg-int { background: #fffbeb; border: 1px dashed #f59e0b; }
.ob-msg .meta { font-size: .75rem; color: #6b7280; }
.table-ob thead th { background: #f5f3ff; color: #4c1d95; font-weight: 600; font-size: .85rem; white-space: nowrap; }
.table-ob td { vertical-align: middle; }
.ob-check-item { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid #f1f1f7; }
.ob-check-item:last-child { border-bottom: 0; }
.ob-check-item .who { font-size: .72rem; color: #6b7280; margin-left: auto; text-align: right; }

@media print {
  .ob-nav, .ob-footer, .no-print, .btn { display: none !important; }
  body { background: #fff; }
  .ob-card { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
  .col-lg-8 { width: 100% !important; }
}

/* Junior members (under 18) */
.ob-badge-junior { background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; }
.ob-junior-text { color: #92400e; }
.ob-junior-card { border-left: 4px solid #f59e0b; }
.ob-junior-card .ob-card-h { background: #fffbeb; }
.ob-sec.ob-junior-active { border-left: 4px solid #f59e0b; }
.ob-sec.ob-junior-active .ob-card-h { background: #fffbeb; }
