:root {
  --of-yellow: #F5C518;
  --of-green: #16A34A;
  --of-black: #0B0B0B;
  --of-white: #FFFFFF;
  --of-sidebar: 268px;
  --of-top: 64px;
  --of-footer: 44px;
  --of-bg: #FFFFFF;
  --of-surface: #FFFEFB;
  --of-text: #121212;
  --of-muted: #6B6B6B;
  --of-line: #E6E1D4;
  --of-shadow: 0 18px 50px rgba(11,11,11,.08);
  --of-radius: 18px;
  --of-font: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
}
.of-app[data-theme="dark"], .of-public[data-theme="dark"] {
  --of-bg: #0B0B0B; --of-surface: #161616; --of-text: #F6F4EC; --of-muted: #A3A3A3; --of-line: #2A2A2A;
  --of-shadow: 0 18px 50px rgba(0,0,0,.4);
}
html, body.of-blank, body.cgcccc-canvas { margin:0; padding:0; background:#0B0B0B; }
.of-app, .of-public {
  font-family: var(--of-font); color: var(--of-text);
background: #FFFFFF;
  min-height: 100vh; line-height: 1.5; -webkit-font-smoothing: antialiased;
}
.of-app { display:flex; min-height:100vh; position:relative; }
.of-scrim { position:fixed; inset:0; background:rgba(11,11,11,.46); backdrop-filter:blur(6px); z-index:40; animation:ofFade .2s ease; }
.of-sidebar { width:var(--of-sidebar); background:linear-gradient(180deg,#111,#0B0B0B); color:#fff; position:sticky; top:0; height:100vh; overflow:auto; flex-shrink:0; display:flex; flex-direction:column; z-index:50; border-right:1px solid rgba(255,255,255,.06); }
.of-brand { display:flex; gap:12px; align-items:center; padding:22px 18px 18px; }
.of-logo { width:42px; height:42px; border-radius:14px; background:linear-gradient(135deg,var(--of-yellow),#ffe38a); color:#0B0B0B; display:grid; place-items:center; font-weight:800; box-shadow:0 8px 20px rgba(245,197,24,.35); }
.of-brand strong { display:block; font-size:15px; }
.of-brand small { color:#BDBDBD; font-size:11px; }
.of-nav { padding:8px 12px 28px; display:flex; flex-direction:column; gap:4px; }
.of-nav a { display:flex; align-items:center; gap:10px; color:#EDEDED; text-decoration:none; padding:11px 12px; border-radius:12px; font-size:14px; font-weight:600; transition:.18s ease; }
.of-nav a:hover { background:rgba(245,197,24,.12); color:var(--of-yellow); transform:translateX(2px); }
.of-nav a.is-active { background:var(--of-yellow); color:#0B0B0B; }
.of-nav a.of-admin-link { margin-top:8px; border:1px dashed rgba(245,197,24,.45); }
.of-ic { width:20px; height:20px; display:inline-flex; }
.of-ic svg { width:18px; height:18px; }
.of-main { flex:1; min-width:0; display:flex; flex-direction:column; min-height:100vh; }
.of-topbar { min-height:var(--of-top); background:color-mix(in srgb, var(--of-surface) 88%, transparent); backdrop-filter:blur(16px); border-bottom:1px solid var(--of-line); display:grid; grid-template-columns:48px 1fr auto; align-items:center; gap:10px; padding:8px 16px; position:sticky; top:0; z-index:20; }
.of-top-center { text-align:center; min-width:0; }
.of-top-name { display:block; font-weight:800; letter-spacing:-.03em; font-size:16px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.of-subbar { display:flex; gap:8px; overflow:auto; padding:10px 18px 0; }
.of-tab { white-space:nowrap; text-decoration:none; color:var(--of-muted); padding:8px 14px; border-radius:999px; font-size:13px; font-weight:700; }
.of-tab.is-active { background:var(--of-yellow); color:#0B0B0B; }
.of-top-actions { display:flex; align-items:center; gap:8px; justify-content:flex-end; }
.of-icon-btn { border:1px solid var(--of-line); background:var(--of-surface); color:var(--of-text); width:42px; height:42px; border-radius:14px; cursor:pointer; display:grid; place-items:center; }
.of-icon-btn svg { width:18px; height:18px; }
.of-app[data-theme="dark"] .of-sun { display:none; }
.of-app:not([data-theme="dark"]) .of-moon { display:none; }
.of-avatar-btn { width:42px; height:42px; border-radius:50%; border:2px solid var(--of-yellow); padding:0; overflow:hidden; background:var(--of-green); cursor:pointer; }
.of-avatar-img { width:100%; height:100%; object-fit:cover; display:block; }
.of-avatar-img.lg { width:48px; height:48px; border-radius:50%; }
.of-profile { position:relative; }
.of-drop { position:absolute; right:0; top:calc(100% + 10px); width:260px; background:var(--of-surface); border:1px solid var(--of-line); border-radius:16px; box-shadow:var(--of-shadow); padding:12px; z-index:30; animation:ofPop .18s ease; }
.of-drop-head { display:flex; gap:10px; align-items:center; margin-bottom:10px; }
.of-drop-head strong { display:block; }
.of-country { display:flex; align-items:center; gap:6px; color:var(--of-muted); font-size:12px; }
.of-country img { width:18px; height:13px; object-fit:cover; border-radius:2px; }
.of-drop a, .of-drop button { display:block; width:100%; text-align:left; background:none; border:0; padding:9px 8px; border-radius:10px; color:var(--of-text); text-decoration:none; font:inherit; cursor:pointer; font-weight:600; }
.of-drop a:hover, .of-drop button:hover { background:rgba(245,197,24,.16); }
.of-content { flex:1; padding:22px 20px 28px; animation:ofUp .35s ease; }
.of-footer { min-height:var(--of-footer); border-top:1px solid var(--of-line); display:flex; align-items:center; justify-content:center; background:var(--of-surface); }
.of-footer p { margin:0; font-size:12px; color:var(--of-muted); text-align:center; }
.of-pagehead { display:flex; flex-wrap:wrap; align-items:flex-end; gap:12px; margin-bottom:18px; }
.of-pagehead h1 { margin:0; font-size:clamp(26px,4vw,34px); letter-spacing:-.04em; flex:1; }
.of-pagehead p { margin:0; color:var(--of-muted); width:100%; }
.of-kpis, .of-grid-2, .of-grid-3 { display:grid; gap:14px; }
.of-kpis { grid-template-columns:repeat(4,1fr); margin-bottom:16px; }
.of-grid-2 { grid-template-columns:repeat(2,1fr); }
.of-grid-3 { grid-template-columns:repeat(3,1fr); }
.of-kpi, .of-card, .of-stat { background:var(--of-surface); border:1px solid var(--of-line); border-radius:var(--of-radius); padding:18px; box-shadow:var(--of-shadow); }
.of-kpi span, .of-stat span { display:block; color:var(--of-muted); font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.08em; }
.of-kpi strong, .of-stat strong { font-size:26px; letter-spacing:-.03em; }
.of-ai { border-left:4px solid var(--of-yellow); }
.of-table-wrap { overflow:auto; }
.of-table { width:100%; border-collapse:collapse; font-size:14px; }
.of-table th, .of-table td { text-align:left; padding:12px 8px; border-bottom:1px solid var(--of-line); vertical-align:top; }
.of-chip { display:inline-block; padding:2px 8px; border-radius:999px; font-size:11px; font-weight:700; background:rgba(245,197,24,.2); }
.of-chip-on { background:var(--of-green); color:#fff; }
.of-muted { color:var(--of-muted); font-size:12px; }
.of-price { font-size:22px; font-weight:800; }
.of-bar { height:8px; background:var(--of-line); border-radius:99px; overflow:hidden; margin:8px 0; }
.of-bar i { display:block; height:100%; background:linear-gradient(90deg,var(--of-green),var(--of-yellow)); }
.of-form label { display:block; font-size:13px; font-weight:700; margin-bottom:12px; }
.of-form input, .of-form select, .of-form textarea { width:100%; margin-top:6px; border:1px solid var(--of-line); background:var(--of-bg); color:var(--of-text); border-radius:12px; padding:11px 12px; font:inherit; box-sizing:border-box; }
.of-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.of-span { grid-column:1/-1; }
.of-check { display:flex; align-items:center; gap:8px; }
.of-check input { width:auto; margin:0; }
.of-btn { display:inline-flex; align-items:center; justify-content:center; background:var(--of-yellow); color:#0B0B0B; font-weight:800; border:0; border-radius:999px; padding:11px 18px; text-decoration:none; cursor:pointer; box-shadow:0 8px 18px rgba(245,197,24,.28); }
.of-btn-ghost { background:transparent; border:1px solid var(--of-line); color:var(--of-text); box-shadow:none; }
.of-btn-sm { padding:7px 12px; font-size:12px; }
.of-link-btn { background:none; border:0; color:#b42318; cursor:pointer; font-size:12px; }
.of-inline { display:inline; }
.of-flash { background:rgba(22,163,74,.12); color:var(--of-green); border:1px solid var(--of-green); padding:10px 12px; border-radius:12px; margin-bottom:14px; }
.of-flash-err { background:#fee; color:#8a1b1b; border-color:#f3c; }
.of-auth { max-width:440px; margin:36px auto; }
.of-lead { color:var(--of-muted); }
.of-kicker { color:var(--of-green); font-weight:800; text-transform:uppercase; letter-spacing:.1em; font-size:11px; }
.of-avatar-edit { display:flex; align-items:center; gap:16px; margin-bottom:16px; }
.of-avatar-edit img { width:84px; height:84px; border-radius:50%; object-fit:cover; border:3px solid var(--of-yellow); }
.of-public { min-height:100vh; display:flex; flex-direction:column; }
.of-pub-nav { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:16px 24px; background:#0B0B0B; color:#fff; }
.of-pub-nav nav { display:flex; gap:14px; align-items:center; flex-wrap:wrap; }
.of-pub-nav a { color:#fff; text-decoration:none; font-size:14px; font-weight:600; }
.of-pub-main { flex:1; padding:32px 24px 48px; max-width:1100px; width:100%; margin:0 auto; box-sizing:border-box; }
.of-hero h1 { font-size:clamp(32px,6vw,58px); letter-spacing:-.05em; margin:8px 0 12px; max-width:14ch; }
@keyframes ofUp { from { opacity:0; transform:translateY(8px);} to { opacity:1; transform:none;} }
@keyframes ofFade { from { opacity:0;} to { opacity:1;} }
@keyframes ofPop { from { opacity:0; transform:translateY(-6px) scale(.98);} to { opacity:1; transform:none;} }
@media (max-width:980px) {
  .of-kpis, .of-grid-3, .of-grid-2, .of-form-grid { grid-template-columns:1fr; }
  .of-sidebar { position:fixed; left:0; top:0; transform:translateX(-105%); transition:transform .28s cubic-bezier(.2,.7,.2,1); box-shadow:20px 0 60px rgba(0,0,0,.35); }
  .of-app.nav-open .of-sidebar { transform:none; }
  .of-pub-nav { flex-direction:column; align-items:flex-start; }
}
@media (min-width:981px) {
  .of-menu-btn { visibility:hidden; }
  .of-scrim { display:none !important; }
}

.of-logo { width:40px; height:40px; border-radius:50%; background:#fff; display:grid; place-items:center; overflow:hidden; padding:3px; box-shadow:none; }
.of-logo img { width:100%; height:100%; object-fit:contain; display:block; }
.of-brand { gap:10px; padding:16px 14px 12px; }
.of-brand strong { font-size:13px; }
.of-brand small { font-size:10px; }
.of-nav a, .of-nav-logout button { font-size:13px; padding:8px 10px; }
.of-nav-logout { margin:10px 0 0; }
.of-nav-logout button { width:100%; display:flex; align-items:center; gap:10px; background:transparent; border:0; color:#EDEDED; cursor:pointer; border-radius:12px; font:inherit; font-weight:600; text-align:left; }
.of-nav-logout button:hover { background:rgba(245,197,24,.12); color:var(--of-yellow); }
.of-topbar { min-height:52px; padding:6px 12px; }
.of-top-name { font-size:14px; font-weight:700; }
.of-content { padding:16px 14px 20px; }
.of-pagehead h1, .of-auth h1 { font-size:22px; letter-spacing:-.03em; }
.of-kpi strong, .of-stat strong { font-size:20px; }
.of-auth { max-width:400px; margin:24px auto; }
.of-auth-seal { width:76px; height:76px; border-radius:50%; background:#fff; padding:6px; object-fit:contain; display:block; margin:0 auto 10px; }
.of-auth-row { display:flex; justify-content:space-between; gap:12px; align-items:center; margin-top:14px; font-size:12px; }
.of-auth-row a { color:inherit; }
.of-tiny { font-size:11px; color:var(--of-muted); }
.of-pub-brand { display:flex; align-items:center; gap:8px; color:#fff; text-decoration:none; }
.of-pub-nav { padding:10px 14px; }
.of-pub-main { padding:18px 14px 32px; }
.of-hero h1 { font-size:clamp(24px,5vw,40px); max-width:none; }
.of-success { text-align:center; }
.of-success-mark { width:48px; height:48px; margin:0 auto 10px; border-radius:50%; background:var(--of-green); color:#fff; display:grid; place-items:center; font-size:22px; }
.of-modal { position:fixed; inset:0; background:rgba(11,11,11,.45); display:grid; place-items:center; z-index:80; }
.of-modal[hidden] { display:none; }
.of-modal-card { background:var(--of-surface,#fff); color:var(--of-text,#111); padding:18px; border-radius:14px; width:min(360px,92vw); }
.of-modal-actions { display:flex; gap:8px; justify-content:flex-end; margin-top:14px; }
.of-busy-form.is-busy { position:relative; pointer-events:none; }
.of-busy-form.is-busy::after { content:""; position:absolute; inset:0; background:rgba(255,255,255,.55); border-radius:inherit; }
.of-busy-form.is-busy::before { content:""; position:absolute; left:50%; top:50%; width:28px; height:28px; margin:-14px; border:3px solid #ddd; border-top-color:#0B0B0B; border-radius:50%; animation:ofSpin .7s linear infinite; z-index:2; }
@keyframes ofSpin { to { transform:rotate(360deg); } }
@media (max-width:980px) {
  .of-content, .of-pub-main { padding:12px 10px 20px; }
  .of-card, .of-kpi, .of-stat { padding:12px; }
  .of-pagehead { margin-bottom:10px; }
}

.of-app { --of-sidebar: 248px; }
.of-sidebar {
  position: fixed;
  top: 12px; bottom: 12px; left: 12px;
  height: auto;
  width: var(--of-sidebar);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0,0,0,.28);
  z-index: 40;
  transition: width .22s ease, transform .22s ease;
}
.of-main { margin-left: calc(var(--of-sidebar) + 24px); min-height: 100vh; }
.of-app.nav-collapsed { --of-sidebar: 76px; }
.of-app.nav-collapsed .of-brand > div,
.of-app.nav-collapsed .of-nav a span:last-child,
.of-app.nav-collapsed .of-nav-logout span:last-child { display: none; }
.of-app.nav-collapsed .of-nav a, .of-app.nav-collapsed .of-nav-logout button { justify-content: center; }
.of-topbar {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  background: var(--of-surface);
  border-bottom: 1px solid var(--of-line);
  box-shadow: 0 4px 16px rgba(11,11,11,.04);
  z-index: 30;
}
.of-menu-btn { visibility: visible !important; display: grid !important; }
.of-subbar { padding: 8px 14px; background: var(--of-surface); border-bottom: 1px solid var(--of-line); }
.of-tab:hover { background: rgba(245,197,24,.18); color: var(--of-text); }
.of-footer {
  position: sticky; bottom: 0;
  min-height: 40px;
  z-index: 15;
  box-shadow: 0 -6px 18px rgba(11,11,11,.04);
}
.of-footer:hover { background: #fff8dc; }
.of-app[data-theme="dark"] .of-footer:hover { background: #1c1c1c; }
.of-nav a:hover, .of-nav-logout button:hover { background: rgba(245,197,24,.14); }
.of-kpi {
  background:
    linear-gradient(180deg, #fff 0%, #f7f3e8 100%);
  border: 1px solid #eadfbe;
  box-shadow: 0 8px 22px rgba(11,11,11,.05);
  cursor: default;
}
.of-kpi:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(11,11,11,.1); border-color: #F5C518; }
.of-kpi-a { background: linear-gradient(180deg,#fff,#eef8f0); }
.of-kpi-b { background: linear-gradient(180deg,#fff,#fff4cc); }
.of-kpi-c { background: linear-gradient(180deg,#fff,#f3f3f3); }
.of-kpi-d { background: linear-gradient(180deg,#fff,#eaf6ee); }
.of-card:hover { transform: translateY(-2px); border-color: #eadfbe; }
.of-auth-page { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; max-width: 860px; margin: 10px auto; }
.of-auth-heading { display: flex; align-items: center; gap: 12px; }
.of-auth-heading img { width: 42px; height: 42px; border-radius: 50%; background: #fff; padding: 3px; object-fit: contain; flex-shrink: 0; }
.of-auth-heading h1 { margin: 0; font-size: 22px; }
.of-auth-card { background: var(--of-surface); border: 1px solid var(--of-line); border-radius: 16px; padding: 18px; box-shadow: 0 12px 30px rgba(11,11,11,.06); }
.of-auth-seal { width: 42px; height: 42px; }
@media (max-width: 980px) {
  .of-sidebar { top: 0; bottom: 0; left: 0; border-radius: 0; transform: translateX(-105%); }
  .of-app.nav-open .of-sidebar { transform: none; }
  .of-main { margin-left: 0; }
  .of-auth-page { grid-template-columns: 1fr; gap: 12px; }
}
@media (min-width: 981px) {
  .of-scrim { display: none !important; }
}

.of-app, .of-public { background: #fff !important; }
.of-content { background: #fff; }
.of-topbar {
  grid-template-columns: 44px 1fr 44px;
  background: #fff;
  border-bottom: 1px solid #ececec;
  box-shadow: none;
}
.of-footer {
  position: fixed;
  left: calc(var(--of-sidebar) + 24px);
  right: 0;
  bottom: 0;
  height: 40px;
  min-height: 40px;
  background: #fff;
  z-index: 25;
}
.of-app.nav-collapsed .of-footer { left: calc(76px + 24px); }
.of-content { padding-bottom: 56px; }
.of-home-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.of-home-tile {
  position: relative;
  overflow: hidden;
  background: #14532d;
  color: #fff;
  border-radius: 16px;
  padding: 18px 16px;
  min-height: 110px;
}
.of-home-tile span { display:block; font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:#d1fae5; position:relative; z-index:1; }
.of-home-tile strong { display:block; font-size:26px; margin-top:8px; position:relative; z-index:1; }
.of-home-shimmer {
  position:absolute; inset:-40% -20%;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.16) 45%, transparent 70%);
  animation: ofShine 2.8s ease-in-out infinite;
}
@keyframes ofShine {
  0% { transform: translateX(-30%) rotate(8deg); }
  100% { transform: translateX(30%) rotate(8deg); }
}
@media (max-width:980px) {
  .of-footer { left: 0; }
  .of-home-row { grid-template-columns: 1fr 1fr; }
}

.of-app.is-member .of-subbar { display: none !important; }
.of-drop-email { display:block; font-size:11px; color:var(--of-muted); font-weight:500; word-break:break-all; }
.of-country { margin-top:4px; }
.of-drop { width: 280px; }
.of-footer p { font-size:10px; letter-spacing:.02em; }
.of-btn {
  background: linear-gradient(180deg, #ffd84a 0%, #F5C518 55%, #e0b40d 100%);
  color: #0B0B0B;
  border: 1px solid #c9a20a;
  border-radius: 10px;
  box-shadow: 0 1px 0 rgba(255,255,255,.55) inset, 0 6px 14px rgba(201,162,10,.22);
  padding: 9px 16px;
  font-size: 13px;
  letter-spacing: .01em;
}
.of-btn:hover { filter: brightness(1.03); transform: translateY(-1px); }
.of-btn:active { transform: translateY(0); box-shadow: none; }
.of-home-tile {
  min-height: 72px;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(145deg, #166534 0%, #14532d 55%, #0f3d22 100%);
}
.of-home-tile strong { font-size: 16px; margin-top: 4px; line-height: 1.2; }
.of-home-tile strong .of-money { font-size: inherit; }
.of-home-cur { display:block; font-size:10px; letter-spacing:.08em; text-transform:uppercase; color:#d1fae5; opacity:.85; margin-top:4px; font-style:normal; position:relative; z-index:1; }
.of-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(1px);
}
.of-orb-1 {
  width: 46px; height: 46px; right: -8px; top: -10px;
  background: rgba(245,197,24,.28);
  animation: ofFloat 3.4s ease-in-out infinite;
}
.of-orb-2 {
  width: 28px; height: 28px; left: 12px; bottom: -8px;
  background: rgba(255,255,255,.16);
  animation: ofFloat 4.2s ease-in-out infinite reverse;
}
@keyframes ofFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (max-width:980px) {
  .of-home-tile { min-height: 64px; padding: 10px 12px; }
  .of-home-tile strong { font-size: 18px; }
}

.of-app { margin:0; padding:0; width:100%; min-height:100vh; background:#fff !important; }
.of-sidebar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  height: 100vh !important;
  border-radius: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}
.of-main { margin-left: var(--of-sidebar); width: auto; min-height: 100vh; background:#fff; }
.of-topbar {
  display: grid !important;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  height: 56px;
  min-height: 56px;
  padding: 0 12px;
  background: #fff !important;
  border-bottom: 1px solid #e7e7e7;
  position: sticky;
  top: 0;
  z-index: 30;
}
.of-menu-btn { visibility: visible !important; display: grid !important; }
.of-footer {
  position: fixed !important;
  left: var(--of-sidebar);
  right: 0;
  bottom: 0;
  height: 36px;
  min-height: 36px;
  margin: 0;
  background: #fff !important;
  border-top: 1px solid #e7e7e7;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 30;
}
.of-app.nav-collapsed .of-footer { left: 76px; }
.of-app.nav-collapsed { --of-sidebar: 76px; }
.of-content { padding: 16px 16px 52px; }
@media (max-width:980px) {
  .of-main, .of-footer { left: 0; margin-left: 0; }
  .of-footer { left: 0; }
}

.of-sidebar {
  background: #0d3b24 !important;
  background-image:
    radial-gradient(120px 80px at 20% 10%, rgba(245,197,24,.14), transparent 60%),
    radial-gradient(160px 100px at 90% 80%, rgba(255,255,255,.07), transparent 55%),
    linear-gradient(180deg, #14532d 0%, #0d3b24 55%, #0a2e1c 100%) !important;
  overflow: hidden;
}
.of-sidebar::before {
  content: "";
  position: absolute;
  inset: -30% -20%;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.06) 48%, transparent 66%);
  animation: ofShine 7s linear infinite;
  pointer-events: none;
}
.of-nav, .of-brand { position: relative; z-index: 1; }
.of-nav a { color: #f3fff6; }
.of-nav a:hover { background: rgba(245,197,24,.16); color: #fff; }
.of-nav a.is-active { background: #F5C518; color: #0B0B0B; }
.of-brand small { color: #cde7d4; }

.of-topbar {
  background: #14532d !important;
  color: #fff !important;
  border-bottom: 0 !important;
}
.of-top-name { color: #fff; font-weight: 700; font-size: 14px; }
.of-icon-btn {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.18);
  color: #fff;
}
.of-icon-btn:hover { background: rgba(255,255,255,.2); }
.of-top-actions { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.of-topbar { grid-template-columns: 48px 1fr auto !important; }

.of-drop {
  width: max-content;
  min-width: 200px;
  max-width: min(92vw, 320px);
}
.of-drop-head strong, .of-top-name {
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}
.of-drop-email { overflow-wrap: anywhere; }

.of-app[data-theme="dark"] {
  --of-bg: #07150e;
  --of-surface: #123224;
  --of-text: #f4fff7;
  --of-muted: #c5e0ce;
  --of-line: #1f4a34;
}
.of-app[data-theme="dark"], .of-app[data-theme="dark"] .of-main, .of-app[data-theme="dark"] .of-content {
  background: #07150e !important;
  color: #f4fff7;
}
.of-app[data-theme="dark"] .of-card,
.of-app[data-theme="dark"] .of-kpi,
.of-app[data-theme="dark"] .of-stat,
.of-app[data-theme="dark"] .of-auth-card {
  background: #123224;
  border-color: #1f4a34;
  color: #f4fff7;
}
.of-app[data-theme="dark"] .of-footer {
  background: #0d3b24 !important;
  color: #d7f0de;
  border-top-color: #1f4a34;
}
.of-app[data-theme="dark"] .of-form input,
.of-app[data-theme="dark"] .of-form select,
.of-app[data-theme="dark"] .of-form textarea {
  background: #0b2418;
  color: #f4fff7;
  border-color: #1f4a34;
}
.of-app[data-theme="dark"] .of-tab { color: #d7f0de; }
.of-app[data-theme="dark"] .of-tab.is-active { background: #F5C518; color: #0B0B0B; }
.of-app[data-theme="dark"] .of-sun { display: none; }
.of-app[data-theme="dark"] .of-moon { display: inline-flex; }
.of-app:not([data-theme="dark"]) .of-moon { display: none; }
.of-app:not([data-theme="dark"]) .of-sun { display: inline-flex; }

@media (max-width: 980px) {
  .of-drop { max-width: calc(100vw - 24px); width: max-content; }
}

.of-sidebar {
  background: #06140d !important;
  background-image:
    radial-gradient(140px 90px at 18% 8%, rgba(245,197,24,.07), transparent 62%),
    radial-gradient(180px 120px at 88% 88%, rgba(27,138,74,.12), transparent 60%),
    linear-gradient(180deg, #0a1f14 0%, #07150e 58%, #050f0a 100%) !important;
}
.of-topbar {
  background: #07150e !important;
  position: sticky;
}
.of-topbar::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, #1B8A4A, #F5C518, #ffffff, #1B8A4A, #F5C518);
  background-size: 220% 100%;
  animation: ofBorder 6s linear infinite;
}
@keyframes ofBorder {
  0% { background-position: 0% 50%; }
  100% { background-position: 220% 50%; }
}
.of-app[data-theme="dark"] {
  --of-bg: #050f0a;
  --of-surface: #0b1c14;
  --of-text: #eefbf2;
  --of-muted: #9fbfaa;
  --of-line: #163224;
}
.of-app[data-theme="dark"], .of-app[data-theme="dark"] .of-main, .of-app[data-theme="dark"] .of-content {
  background: #050f0a !important;
}
.of-app[data-theme="dark"] .of-card,
.of-app[data-theme="dark"] .of-kpi,
.of-app[data-theme="dark"] .of-stat,
.of-app[data-theme="dark"] .of-auth-card {
  background: #0b1c14;
  border-color: #163224;
}
.of-app[data-theme="dark"] .of-footer {
  background: #06140d !important;
}

.of-sidebar { overflow-y: auto !important; overflow-x: hidden !important; }
.of-privacy-pop {
  display: none;
  position: fixed;
  right: 12px; bottom: 48px;
  max-width: 280px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  z-index: 60;
  font-size: 12px;
}
.of-privacy-pop.is-on { display: block; }
.of-privacy-actions { display: flex; gap: 8px; margin-top: 8px; }
.of-give-seg, .of-give-amounts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.of-give-amounts { grid-template-columns: repeat(2, 1fr); }
.of-give-seg label, .of-give-amounts label {
  border: 1px solid #ddd; border-radius: 10px; padding: 10px; text-align: center; cursor: pointer;
}
.of-give-seg input, .of-give-amounts input { margin-right: 6px; }
.of-count {
  display:flex;
  flex-wrap:nowrap;
  align-items:stretch;
  gap:4px;
  width:100%;
  max-width:240px;
  margin:6px 0 8px;
}
.of-count-unit {
  flex:1 1 0;
  min-width:0;
  text-align:center;
  background:#0b1f14;
  color:#fff;
  border-radius:8px;
  padding:4px 2px 3px;
  box-shadow:none;
  border:1px solid rgba(245,197,24,.16);
}
.of-count-unit b { display:block; font-size:13px; line-height:1.15; font-variant-numeric:tabular-nums; }
.of-count-unit small { font-size:8px; letter-spacing:.04em; text-transform:uppercase; opacity:.8; }
.of-count.is-live .of-count-unit { background:#b42318; color:#fff; }
.of-btn-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.of-plain { margin: 0; padding-left: 18px; }
.of-auth-page { grid-template-columns: 1fr; max-width: 560px; }
@media (max-width: 980px) {
  .of-privacy-pop { left: 12px; right: 12px; max-width: none; }
}

.of-btn[disabled], .of-captcha-wait[disabled] { opacity:.45; pointer-events:none; }
.of-content:has(.of-event-page),
.of-content:has(.of-event-view) {
  padding: 8px 8px 20px;
}
.of-event-page { max-width:100%; margin:0; }
.of-event-view { gap:10px; }
.of-event-banner {
  position:relative; overflow:hidden; border-radius:14px;
  background:
    radial-gradient(420px 180px at 12% 0%, rgba(245,197,24,.16), transparent 58%),
    radial-gradient(380px 200px at 92% 100%, rgba(27,138,74,.28), transparent 60%),
    linear-gradient(180deg, #0a1f14 0%, #07150e 58%, #050f0a 100%);
  color:#f4fff7; padding:14px 14px 12px; margin-bottom:10px;
  box-shadow:0 10px 24px rgba(5,15,10,.2);
}
.of-event-banner-media { margin:-14px -14px 12px; max-height:160px; overflow:hidden; }
.of-event-banner-media img { display:block; width:100%; height:160px; object-fit:cover; filter:saturate(1.05); }
.of-event-banner-copy h1 { margin:2px 0 8px; font-size:clamp(20px,3.4vw,28px); letter-spacing:-.03em; color:#fff; }
.of-event-meta { list-style:none; margin:0 0 8px; padding:0; display:grid; gap:4px; }
.of-event-meta li { display:flex; flex-direction:column; gap:1px; }
.of-event-meta span { font-size:10px; letter-spacing:.08em; text-transform:uppercase; color:#c5e0ce; }
.of-event-meta strong { font-size:13px; color:#fff; }
.of-event-count-wrap { margin-top:2px; }
.of-event-count-label { margin:0 0 4px; font-size:10px; letter-spacing:.08em; text-transform:uppercase; color:#F5C518; font-weight:800; }
.of-event-banner .of-count-unit { background:#0b2418; }
.of-event-about, .of-event-pay { margin-top:10px; }
.of-event-fee { font-size:16px; }
.of-event-card { overflow:hidden; }
.of-event-view .of-card { padding:12px; }
.of-event-img, .of-event-hero {
  display:block; width:100%; max-width:100%; height:auto;
  min-height:110px; max-height:160px; object-fit:cover;
  border-radius:10px; margin-bottom:6px; background:#eef2f0;
}
.of-event-html .event-bar,
.of-event-html .hero,
.of-event-html header,
.of-summit-bar {
  background:#07150e !important;
  background-image:linear-gradient(180deg, #0a1f14 0%, #07150e 100%) !important;
  color:#fff !important;
  text-align:center;
  padding:14px 16px;
  font-weight:600;
}
.of-event-html .buttons-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:14px; }
.of-event-html .buttons-grid a { display:flex; justify-content:center; }
.of-summit-bar { border-radius:14px; margin-bottom:8px; }
.of-inst-card { max-width:820px; margin:20px auto; background:#fff; border:1px solid #d7eadc; border-radius:16px; padding:22px 20px 28px; box-shadow:0 8px 30px rgba(7,21,14,.08); }
.of-inst-head {
  background:linear-gradient(180deg, #0a1f14 0%, #07150e 100%);
  color:#fff; border-radius:12px; padding:18px 18px 16px; margin:-22px -20px 18px;
}
.of-inst-head .of-kicker { color:#F5C518; margin-bottom:6px; }
.of-inst-head h1 { margin:0 0 4px; font-size:22px; color:#fff; }
.of-inst-head p { margin:0; font-size:13px; opacity:.9; }
.of-inst-head .of-count { justify-content:flex-start; }
.of-delegate { border:1px solid #d7eadc; background:#f4fbf6; border-radius:12px; padding:12px; margin:10px 0; }
.of-del-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
.of-del-x { border:0; background:transparent; font-size:20px; cursor:pointer; }
.of-inst-total { display:flex; justify-content:space-between; gap:12px; background:#e9f9ef; border-radius:10px; padding:12px 14px; margin:14px 0; }
@media (max-width: 640px) {
  .of-content:has(.of-event-page),
  .of-content:has(.of-event-view) { padding: 6px 6px 18px; }
  .of-event-banner { padding:12px 12px 10px; border-radius:12px; }
  .of-event-banner-media { margin:-12px -12px 10px; }
  .of-event-banner-media img { height:140px; }
  .of-count { max-width:100%; gap:3px; }
  .of-count-unit { padding:3px 1px 2px; border-radius:6px; }
  .of-count-unit b { font-size:12px; }
  .of-count-unit small { font-size:7px; }
  .of-home-tile strong { font-size: 14px; }
}
