/* The Academy app frame (app-shell.js), on app.tanimawoai.com only (html.taa-app).
   Laid out like the Nova AI Ops app: a fixed sidebar with section headings and flat rows,
   a slim top bar, the page in the content area. The website's own top bars, header menu
   and footer are hidden here. */
html.taa-app { --as-w: 252px; --as-rail: 70px; --as-top: 56px; --as-bg: #070d1c; --as-panel: #0a1226; --as-line: rgba(255, 255, 255, 0.08); --as-mute: #8b93ad; --as-act: #38b6ff; }
html.taa-app-wait body { visibility: hidden; }

/* The website's chrome */
html.taa-app .beta-bar, html.taa-app header.nav, html.taa-app .mobile-panel, html.taa-app footer.footer, html.taa-app .sup-bar,
html.taa-app .nav-progress, html.taa-app .site-links-bar, html.taa-app .class-bar { display: none !important; }

/* Layout */
html.taa-app body.as-on { padding-left: var(--as-w); padding-top: var(--as-top); background: var(--bg, #020b1f); }
html.taa-app.as-rail body.as-on { padding-left: var(--as-rail); }

.as-side {
  position: fixed; z-index: 1100; left: 0; top: 0; bottom: 0; width: var(--as-w); display: flex; flex-direction: column;
  background: var(--as-panel); border-right: 1px solid var(--as-line); font-family: var(--font-body, Inter, "Segoe UI", sans-serif); color: #e8ecf8;
  transition: width 0.2s ease, transform 0.25s ease;
}
html.as-rail .as-side { width: var(--as-rail); }
.as-brand { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: var(--as-top); padding: 0 10px 0 14px; border-bottom: 1px solid var(--as-line); flex-shrink: 0; }
.as-logo { display: flex; align-items: center; gap: 10px; min-width: 0; color: #fff; text-decoration: none; }
.as-logo img { width: 30px; height: 30px; object-fit: contain; flex-shrink: 0; }
.as-logo span { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.as-logo strong { font-family: var(--font-head, inherit); font-size: 0.98rem; white-space: nowrap; }
.as-logo small { font-size: 0.7rem; color: var(--as-mute); white-space: nowrap; }
.as-fold { display: inline-grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; padding: 0; border: 0; border-radius: 8px; color: var(--as-mute); background: transparent; cursor: pointer; }
.as-fold:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.as-fold svg { width: 18px; height: 18px; }
html.as-rail .as-logo span, html.as-rail .as-h, html.as-rail .as-tx, html.as-rail .as-whotx, html.as-rail .as-out span { display: none; }
html.as-rail .as-brand { flex-direction: column; justify-content: center; height: auto; padding: 10px 0; gap: 6px; }

.as-nav { flex: 1 1 auto; overflow-y: auto; padding: 8px 10px 12px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.14) transparent; }
.as-grp { padding: 6px 0; }
.as-grp + .as-grp { border-top: 1px solid var(--as-line); }
.as-h { margin: 6px 10px 6px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--as-mute); }
.as-link {
  position: relative; display: flex; align-items: center; gap: 11px; min-height: 36px; padding: 7px 10px; border-radius: 8px;
  font-size: 0.86rem; color: #c3cae0; text-decoration: none; white-space: nowrap; transition: background 0.15s ease, color 0.15s ease;
}
.as-link:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.as-link[aria-current="page"] { color: #fff; background: color-mix(in srgb, var(--as-act) 14%, transparent); }
.as-link[aria-current="page"]::before { content: ""; position: absolute; left: -10px; top: 6px; bottom: 6px; width: 3px; border-radius: 0 3px 3px 0; background: var(--as-act); }
.as-ic { display: inline-grid; place-items: center; width: 18px; height: 18px; flex-shrink: 0; color: var(--as-mute); }
.as-link[aria-current="page"] .as-ic, .as-link:hover .as-ic { color: var(--as-act); }
.as-ic svg { width: 17px; height: 17px; }
.as-tx { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.as-link .taa-link-pill { margin-left: auto; }
html.as-rail .as-link { justify-content: center; padding: 8px 0; }
html.as-rail .as-link .taa-link-pill { display: none; }
.as-link:focus-visible, .as-fold:focus-visible, .as-out:focus-visible, .as-burger:focus-visible, .as-site:focus-visible { outline: 2px solid var(--as-act); outline-offset: 1px; }

.as-foot { flex-shrink: 0; padding: 10px; border-top: 1px solid var(--as-line); display: flex; flex-direction: column; gap: 6px; }
.as-who { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 4px 4px; }
.as-av, .as-chip {
  display: inline-grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%;
  font-size: 0.78rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--accent, #1f7bff), var(--accent-2, #38b6ff));
}
.as-whotx { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.as-whotx strong { font-size: 0.85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.as-whotx small { font-size: 0.72rem; color: var(--as-mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.as-rail .as-who { justify-content: center; }
.as-out { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 0; border-radius: 8px; font: inherit; font-size: 0.84rem; color: #c3cae0; background: transparent; cursor: pointer; }
.as-out:hover { color: #fff; background: rgba(255, 99, 99, 0.12); }
.as-out svg { width: 17px; height: 17px; flex-shrink: 0; }
html.as-rail .as-out { justify-content: center; }

.as-top {
  position: fixed; z-index: 1050; top: 0; right: 0; left: var(--as-w); height: var(--as-top); display: flex; align-items: center; gap: 12px; padding: 0 18px;
  background: color-mix(in srgb, var(--as-bg) 88%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--as-line); font-family: var(--font-body, Inter, sans-serif); color: #e8ecf8; transition: left 0.2s ease;
}
html.as-rail .as-top { left: var(--as-rail); }
.as-burger { display: none; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--as-line); border-radius: 9px; color: #e8ecf8; background: transparent; cursor: pointer; }
.as-burger svg { width: 20px; height: 20px; }
.as-title { margin: 0; flex: 1 1 auto; min-width: 0; font-family: var(--font-head, inherit); font-size: 1.02rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.as-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.as-pts { padding: 5px 11px; border-radius: 999px; font-size: 0.78rem; font-weight: 600; color: #fde68a; background: rgba(251, 191, 36, 0.12); border: 1px solid rgba(251, 191, 36, 0.35); }
.as-pts[hidden] { display: none; }
.as-site { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 8px; font-size: 0.8rem; color: #c3cae0; text-decoration: none; border: 1px solid var(--as-line); }
.as-site:hover { color: #fff; border-color: rgba(255, 255, 255, 0.2); }
.as-site svg { width: 14px; height: 14px; }
.as-scrim { display: none; }

/* Pages inside the app: a little less top space (the app has its own top bar) */
html.taa-app body.as-on > main > section:first-child, html.taa-app body.as-on main > .page-header:first-child { padding-top: 28px; }

/* Phones and tablets: the menu slides in */
@media (max-width: 1023px) {
  html.taa-app body.as-on, html.taa-app.as-rail body.as-on { padding-left: 0; }
  .as-side, html.as-rail .as-side { width: min(84vw, 300px); transform: translateX(-102%); box-shadow: none; }
  html.as-drawer .as-side { transform: none; box-shadow: 20px 0 60px -20px rgba(0, 0, 0, 0.8); }
  html.as-rail .as-logo span, html.as-rail .as-h, html.as-rail .as-tx, html.as-rail .as-whotx, html.as-rail .as-out span { display: revert; }
  html.as-rail .as-link { justify-content: flex-start; padding: 7px 10px; }
  .as-fold { display: none; }
  .as-top, html.as-rail .as-top { left: 0; padding: 0 12px; }
  .as-burger { display: inline-grid; }
  .as-site span, .as-pts { display: none; }
  html.as-drawer .as-scrim { display: block; position: fixed; inset: 0; z-index: 1090; background: rgba(2, 6, 18, 0.6); }
}
@media (prefers-reduced-motion: reduce) { .as-side, .as-top { transition: none; } }

/* ===== Sign-in page (login.html) and app home (app.html) ===== */
.al-wrap { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; background: radial-gradient(60% 50% at 50% 0%, rgba(31, 123, 255, 0.16), transparent 70%), var(--bg, #020b1f); }
.al-card { width: min(440px, 100%); padding: 36px 32px 26px; border-radius: 16px; background: #0a1226; border: 1px solid rgba(255, 255, 255, 0.09); box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.9); color: #e8ecf8; }
.al-logo { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); text-align: center; }
.al-logo img { width: 64px; height: 64px; object-fit: contain; }
.al-logo h1 { margin: 0; font-family: var(--font-head, inherit); font-size: 1.5rem; letter-spacing: -0.01em; }
.al-logo p { margin: 0; font-size: 0.9rem; color: #8b93ad; }
.al-label { display: block; margin: 0 0 7px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #8b93ad; }
.al-input { width: 100%; box-sizing: border-box; height: 46px; padding: 0 14px; border-radius: 10px; font: inherit; font-size: 1rem; color: #fff; background: #050b1a; border: 1px solid rgba(255, 255, 255, 0.14); }
.al-input:focus { outline: none; border-color: #38b6ff; box-shadow: 0 0 0 3px rgba(56, 182, 255, 0.22); }
.al-code { letter-spacing: 0.4em; text-align: center; font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.al-btn { width: 100%; height: 46px; margin-top: 14px; border: 0; border-radius: 10px; font: inherit; font-weight: 700; font-size: 0.98rem; color: #fff; cursor: pointer; background: linear-gradient(135deg, #1f7bff, #38b6ff); box-shadow: 0 10px 26px -12px rgba(31, 123, 255, 0.9); }
.al-btn:disabled { opacity: 0.6; cursor: wait; }
.al-msg { min-height: 1.2em; margin: 12px 0 0; font-size: 0.86rem; color: #8b93ad; }
.al-msg.is-err { color: #ff8a8a; }
.al-back { display: inline-block; margin-top: 10px; font-size: 0.85rem; color: #8b93ad; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font: inherit; }
.al-sep { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.08); text-align: center; font-size: 0.9rem; color: #8b93ad; }
.al-sep a { color: #fff; font-weight: 600; }
.al-links { display: flex; justify-content: center; gap: 14px; margin: 12px 0 0; font-size: 0.8rem; }
.al-links a { color: #8b93ad; text-decoration: none; }
.al-links a:hover { color: #fff; }
[hidden] { display: none !important; }

.ah { max-width: 1180px; margin: 0 auto; padding: 28px 28px 64px; color: #e8ecf8; }
.ah-hi { margin: 0 0 4px; font-family: var(--font-head, inherit); font-size: clamp(1.6rem, 2.6vw, 2.1rem); letter-spacing: -0.015em; }
.ah-sub { margin: 0 0 22px; color: #8b93ad; }
.ah-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.ah-tile { padding: 16px 18px; border-radius: 14px; background: #0a1226; border: 1px solid rgba(255, 255, 255, 0.08); }
.ah-tile small { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: #8b93ad; margin-bottom: 6px; }
.ah-tile strong { display: block; font-family: var(--font-head, inherit); font-size: 1.35rem; line-height: 1.2; }
.ah-tile span { display: block; font-size: 0.82rem; color: #8b93ad; margin-top: 4px; }
.ah-tile a { color: #38b6ff; font-size: 0.84rem; font-weight: 600; text-decoration: none; }
.ah-cont { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; padding: 16px 18px; border-radius: 14px; background: linear-gradient(135deg, rgba(31, 123, 255, 0.18), rgba(56, 182, 255, 0.06)); border: 1px solid rgba(56, 182, 255, 0.3); }
.ah-cont p { margin: 0; color: #c3cae0; }
.ah-cont strong { color: #fff; }
.ah-cont a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 10px; font-weight: 700; font-size: 0.9rem; color: #fff; text-decoration: none; background: linear-gradient(135deg, #1f7bff, #38b6ff); }
.ah-h2 { margin: 0 0 12px; font-family: var(--font-head, inherit); font-size: 1.1rem; }
.ah-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ah-card { padding: 16px 16px 12px; border-radius: 14px; background: #0a1226; border: 1px solid rgba(255, 255, 255, 0.08); }
.ah-card h3 { margin: 0 0 10px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #8b93ad; }
.ah-card a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; margin: 0 -8px; border-radius: 8px; font-size: 0.9rem; color: #dbe1f2; text-decoration: none; }
.ah-card a:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }
.ah-card a svg { width: 16px; height: 16px; color: #38b6ff; flex-shrink: 0; }
.ah-card a .taa-link-pill { margin-left: auto; }
@media (max-width: 980px) { .ah-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ah-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ah { padding: 20px 16px 48px; } .ah-grid { grid-template-columns: minmax(0, 1fr); } .al-card { padding: 28px 20px 22px; } }
/* The achievements toast (achievements.js, bottom left) sits beside the app menu. */
@media (min-width: 1024px) {
  html.taa-app .ach-toast { left: calc(var(--as-w) + 16px); }
  html.taa-app.as-rail .ach-toast { left: calc(var(--as-rail) + 16px); }
}

/* ===== Notifications bell + panel (like the Nova AI Ops top bar) ===== */
.as-bell { position: relative; display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border-radius: 9px; cursor: pointer; color: #c3cae0; background: transparent; border: 1px solid var(--as-line); }
.as-bell:hover, .as-bell[aria-expanded="true"] { color: #fff; border-color: rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.04); }
.as-bell svg { width: 18px; height: 18px; }
.as-badge { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; font-size: 0.66rem; font-weight: 700; line-height: 18px; color: #fff; background: #ef4444; box-shadow: 0 0 0 2px var(--as-bg); }
.as-badge[hidden] { display: none; }
.as-np {
  position: fixed; z-index: 1150; top: calc(var(--as-top) + 6px); right: 14px; width: min(400px, calc(100vw - 24px)); max-height: min(560px, calc(100vh - var(--as-top) - 24px));
  display: flex; flex-direction: column; border-radius: 14px; background: #0c1428; border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.85);
  color: #e8ecf8; font-family: var(--font-body, Inter, sans-serif); overflow: hidden;
}
.as-np[hidden] { display: none; }
.as-np-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 14px 16px 10px; }
.as-np-head > div { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.as-np-head strong { font-size: 1rem; }
.as-np-chip { padding: 2px 9px; border-radius: 999px; font-size: 0.7rem; font-weight: 600; color: #8b93ad; background: rgba(255, 255, 255, 0.06); }
.as-np-chip.is-on { color: #fff; background: rgba(239, 68, 68, 0.85); }
.as-np-mark { padding: 5px 10px; border-radius: 7px; font: inherit; font-size: 0.74rem; color: #c3cae0; background: transparent; border: 1px solid rgba(255, 255, 255, 0.12); cursor: pointer; }
.as-np-mark:disabled { opacity: 0.45; cursor: default; }
.as-np-tabs { display: flex; gap: 4px; padding: 0 12px 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.as-np-tab { padding: 5px 10px; border-radius: 7px; font: inherit; font-size: 0.76rem; font-weight: 600; color: #8b93ad; background: transparent; border: 0; cursor: pointer; }
.as-np-tab.is-on { color: #fff; background: rgba(255, 255, 255, 0.08); }
.as-np-list { flex: 1 1 auto; overflow-y: auto; padding: 6px; }
.as-np-empty { margin: 0; padding: 34px 16px; text-align: center; color: #8b93ad; font-size: 0.86rem; }
.as-np-item { display: flex; gap: 10px; padding: 10px; border-radius: 10px; color: inherit; text-decoration: none; }
.as-np-item:hover { background: rgba(255, 255, 255, 0.05); }
.as-np-dot { flex: 0 0 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: transparent; }
.as-np-item.is-new .as-np-dot { background: #38b6ff; box-shadow: 0 0 8px #38b6ff; }
.as-np-item[data-kind="student"].is-new .as-np-dot { background: #34d399; box-shadow: 0 0 8px #34d399; }
.as-np-item[data-kind="class"].is-new .as-np-dot { background: #fbbf24; box-shadow: 0 0 8px #fbbf24; }
.as-np-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.as-np-tx strong { font-size: 0.86rem; }
.as-np-tx span { font-size: 0.8rem; color: #b4bcd6; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.as-np-tx small { font-size: 0.72rem; color: #6f789a; }
.as-np-foot { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.76rem; color: #8b93ad; }
.as-np-foot a { color: #e8ecf8; font-weight: 600; text-decoration: none; }

/* Page Control marks (founder) and blocked pages (students) */
.as-hid { margin-left: auto; padding: 1px 7px; border-radius: 999px; font-size: 0.64rem; font-weight: 700; color: #fca5a5; background: rgba(239, 68, 68, 0.14); border: 1px solid rgba(239, 68, 68, 0.35); }
html.as-rail .as-hid { display: none; }
.as-grp-founder .as-h { color: #fbbf24; }
.as-blocked { max-width: 520px; margin: 80px auto; padding: 28px; text-align: center; border-radius: 16px; background: #0a1226; border: 1px solid rgba(255, 255, 255, 0.08); color: #e8ecf8; }
.as-blocked h2 { margin: 0 0 14px; font-size: 1.2rem; }
.as-blocked a { color: #38b6ff; font-weight: 600; }

/* ===== Founder pages (founder-*.html) and Notifications page ===== */
.fp { max-width: 1240px; margin: 0 auto; padding: 26px 28px 64px; color: #e8ecf8; }
.fp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; padding: 20px 22px; border-radius: 14px; background: #0a1226; border: 1px solid rgba(255, 255, 255, 0.08); }
.fp-head h1 { margin: 0 0 4px; font-family: var(--font-head, inherit); font-size: 1.55rem; }
.fp-head p { margin: 0; color: #8b93ad; }
.fp-role { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 8px; font-weight: 700; font-size: 0.86rem; color: #1a1200; background: linear-gradient(135deg, #fde68a, #f59e0b); }
.fp-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 16px; }
.fp-tile { padding: 16px 18px; border-radius: 12px; background: #0a1226; border: 1px solid rgba(255, 255, 255, 0.08); }
.fp-tile strong { display: block; font-family: var(--font-head, inherit); font-size: 1.6rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.fp-tile span { font-size: 0.8rem; color: #8b93ad; }
.fp-tile.is-ok strong { color: #34d399; } .fp-tile.is-bad { border-color: rgba(239, 68, 68, 0.35); background: rgba(239, 68, 68, 0.08); } .fp-tile.is-bad strong { color: #f87171; }
.fp-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.fp-search { flex: 1 1 260px; height: 40px; padding: 0 12px; border-radius: 9px; font: inherit; font-size: 0.9rem; color: #fff; background: #050b1a; border: 1px solid rgba(255, 255, 255, 0.14); }
.fp-search:focus { outline: none; border-color: #38b6ff; }
.fp-seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 9px; background: #050b1a; border: 1px solid rgba(255, 255, 255, 0.1); }
.fp-seg button { padding: 6px 12px; border-radius: 7px; font: inherit; font-size: 0.8rem; font-weight: 600; color: #8b93ad; background: transparent; border: 0; cursor: pointer; }
.fp-seg button.is-on { color: #fff; background: rgba(255, 255, 255, 0.1); }
.fp-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 13px; border-radius: 8px; font: inherit; font-size: 0.82rem; font-weight: 600; color: #e8ecf8; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); cursor: pointer; }
.fp-btn:hover { background: rgba(255, 255, 255, 0.12); }
.fp-btn.is-danger { color: #fff; background: #dc2626; border-color: transparent; }
.fp-btn.is-primary { color: #fff; background: linear-gradient(135deg, #1f7bff, #38b6ff); border-color: transparent; }
.fp-btn:disabled { opacity: 0.55; cursor: wait; }
.fp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.fp-card { padding: 14px 16px; border-radius: 12px; background: #0a1226; border: 1px solid rgba(52, 211, 153, 0.35); }
.fp-card.is-hidden { border-color: rgba(239, 68, 68, 0.4); background: rgba(239, 68, 68, 0.05); }
.fp-card-top { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.fp-card-ic { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; color: #8b93ad; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); flex-shrink: 0; }
.fp-card-ic svg { width: 18px; height: 18px; }
.fp-card strong { display: block; font-size: 0.95rem; }
.fp-card code { font-size: 0.74rem; color: #8b93ad; }
.fp-card-acts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.fp-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 6px; font: inherit; font-size: 0.74rem; font-weight: 600; text-decoration: none; cursor: pointer; color: #c3cae0; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); }
.fp-chip.is-show { color: #34d399; border-color: rgba(52, 211, 153, 0.4); }
.fp-chip.is-hide { color: #f87171; border-color: rgba(239, 68, 68, 0.4); }
.fp-state { margin-left: auto; padding: 3px 8px; border-radius: 5px; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.06em; }
.fp-state.on { color: #34d399; border: 1px solid rgba(52, 211, 153, 0.5); } .fp-state.off { color: #f87171; border: 1px solid rgba(239, 68, 68, 0.5); }
.fp-grp { margin: 18px 0 8px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #8b93ad; }
.fp-table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.08); background: #0a1226; }
.fp-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
.fp-table th { position: sticky; top: 0; padding: 10px 12px; text-align: left; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #8b93ad; background: #0c1630; border-bottom: 1px solid rgba(255, 255, 255, 0.08); white-space: nowrap; }
.fp-table td { padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); vertical-align: middle; }
.fp-table tr:hover td { background: rgba(255, 255, 255, 0.025); }
.fp-user { display: flex; align-items: center; gap: 10px; min-width: 200px; }
.fp-user .as-av { width: 30px; height: 30px; font-size: 0.72rem; }
.fp-user small { display: block; color: #8b93ad; font-size: 0.76rem; }
.fp-pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 0.72rem; font-weight: 600; background: rgba(255, 255, 255, 0.06); color: #c3cae0; white-space: nowrap; }
.fp-pill.is-ok { color: #34d399; background: rgba(52, 211, 153, 0.12); }
.fp-muted { color: #8b93ad; }
.fp-pager { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; color: #8b93ad; font-size: 0.84rem; }
.fp-panels { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; margin-bottom: 12px; }
.fp-panel { padding: 16px 18px; border-radius: 12px; background: #0a1226; border: 1px solid rgba(255, 255, 255, 0.08); min-width: 0; }
.fp-panel h2 { margin: 0 0 12px; font-size: 0.95rem; }
.fp-chart { display: flex; align-items: flex-end; gap: 4px; height: 170px; padding-top: 6px; }
.fp-chart div { flex: 1 1 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; min-width: 0; height: 100%; }
.fp-chart i { display: block; width: 100%; min-height: 2px; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #38b6ff, #1f7bff); }
.fp-chart small { font-size: 0.6rem; color: #6f789a; }
.fp-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fp-rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; font-size: 0.85rem; }
.fp-rows li i { grid-column: 1 / -1; display: block; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.fp-rows li i b { display: block; height: 100%; background: linear-gradient(90deg, #1f7bff, #38b6ff); }
.fp-empty { padding: 26px; text-align: center; color: #8b93ad; }
.fp-form { display: grid; gap: 8px; margin-bottom: 16px; padding: 16px 18px; border-radius: 12px; background: #0a1226; border: 1px solid rgba(251, 191, 36, 0.3); }
.fp-form h2 { margin: 0 0 4px; font-size: 0.95rem; }
.fp-form input, .fp-form textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; border-radius: 9px; font: inherit; font-size: 0.9rem; color: #fff; background: #050b1a; border: 1px solid rgba(255, 255, 255, 0.14); }
.fp-form textarea { min-height: 70px; resize: vertical; }
.fp-form p { margin: 0; font-size: 0.82rem; color: #8b93ad; }
.fp-nlist { display: grid; gap: 8px; }
.fp-n { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: #0a1226; border: 1px solid rgba(255, 255, 255, 0.08); color: inherit; text-decoration: none; }
.fp-n .as-np-tx strong { font-size: 0.95rem; }
.fp-n button { margin-left: auto; }
@media (max-width: 900px) { .fp-panels { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .fp { padding: 18px 14px 48px; } .fp-head { padding: 16px; } }
.al-founder { margin: 14px 0 0; text-align: center; }
