

[hidden] { display: none !important; }

:root {
  --ink: #223653;
  --ink-strong: #142849;
  --muted: #66768d;
  --paper: #f3f6fb;
  --card: #ffffff;
  --line: #dce4ef;
  --tatami: #edf2fa;
  --lime: #8fbbff;
  --lime-soft: #e8f0ff;
  --orange: #ee6c3a;
  --blue: #3271a8;
  --violet: #7c58a5;
  --shadow: 0 18px 50px rgba(34, 62, 51, .08);
}

:root[data-theme="dark"] {
  --ink: #edf5ee;
  --ink-strong: #f5faf5;
  --muted: #9eaca4;
  --paper: #101813;
  --card: #18231d;
  --line: #2c3a32;
  --tatami: #1b2a21;
  --lime-soft: #314029;
  --shadow: 0 18px 50px rgba(0, 0, 0, .24);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, video:focus-visible { outline: 3px solid rgba(217, 239, 99, .95); outline-offset: 3px; }

.app-shell { min-height: 100vh; }
.app-content { margin-left: 92px; min-height: 100vh; }
.sidebar {
  position: fixed; inset: 0 auto 0 0; width: 92px; z-index: 50;
  padding: 22px 12px 18px; background: var(--ink-strong); color: #f7faff;
  display: flex; flex-direction: column; align-items: center;
}
.brand-mark {
  position: relative; width: 52px; height: 52px; border: 0; border-radius: 17px;
  background: var(--lime); color: #223653; font-weight: 900; font-size: 23px; cursor: pointer;
  letter-spacing: -2px; box-shadow: 0 9px 22px rgba(0,0,0,.22);
}
.brand-mark i { position: absolute; width: 19px; height: 3px; background: #223653; border-radius: 3px; bottom: 12px; left: 17px; transform: rotate(-42deg); }
.sidebar nav { width: 100%; display: flex; flex-direction: column; gap: 8px; margin: auto 0; }
.sidebar nav button {
  min-height: 62px; padding: 8px 2px; border: 0; border-radius: 14px; background: transparent;
  color: #a6bad5; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  font-size: 10px; font-weight: 800; letter-spacing: .04em;
}
.sidebar nav button.active { color: var(--lime); background: rgba(255,255,255,.07); }
.nav-symbol { font-size: 22px; line-height: 1; font-weight: 400; }
.side-help { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); color: #9aada5; background: transparent; cursor: pointer; }
.mobile-nav { display: none; }

.topbar {
  height: 112px; padding: 28px clamp(24px, 4vw, 64px) 18px;
  display: flex; align-items: center; justify-content: space-between;
}
.eyebrow, .section-kicker { display: block; color: #89958e; font-size: 10px; line-height: 1.2; font-weight: 900; letter-spacing: .18em; }
.topbar h1 { font-size: 24px; letter-spacing: -.04em; margin: 8px 0 0; font-weight: 800; }
.top-actions { display: flex; gap: 12px; align-items: center; }
.icon-button, .avatar { border: 1px solid var(--line); background: var(--card); cursor: pointer; }
.icon-button { width: 44px; height: 44px; border-radius: 14px; font-size: 20px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--card); font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.view { padding: 0 clamp(24px, 4vw, 64px) 64px; animation: view-in .35s ease both; }
@keyframes view-in { from { opacity: 0; transform: translateY(8px); } }

.hero-class {
  position: relative; min-height: 444px; overflow: hidden; border-radius: 28px; color: white;
  box-shadow: 0 30px 60px rgba(20, 54, 44, .14); isolation: isolate;
}
.hero-photo {
  position: absolute; inset: 0; z-index: -2;
  background-image: url("https://commons.wikimedia.org/wiki/Special:Redirect/file/Brazilian%20Jiu-Jitsu%20training%20with%20CJTF-HOA%20and%20French%20Partners%20(9406543).jpg");
  background-position: center 43%; background-size: cover; transform: scale(1.02);
}
.hero-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,39,31,.98) 0%, rgba(12,44,35,.91) 48%, rgba(13,41,33,.5) 100%), linear-gradient(0deg, rgba(7,25,21,.5), transparent 60%); }
.hero-content { min-height: 444px; padding: 28px 34px 32px; display: flex; flex-direction: column; }
.hero-topline { display: flex; justify-content: space-between; font-size: 10px; font-weight: 900; letter-spacing: .13em; color: rgba(255,255,255,.7); }
.live-dot { color: var(--lime); }
.live-dot i { display: inline-block; width: 7px; height: 7px; background: var(--lime); border-radius: 50%; margin-right: 7px; box-shadow: 0 0 0 5px rgba(217,239,99,.11); }
.hero-main { flex: 1; display: grid; grid-template-columns: 1fr 1.05fr; align-items: end; gap: 60px; padding: 38px 0 26px; }
.hero-kicker { color: rgba(255,255,255,.55); font-size: 10px; font-weight: 900; letter-spacing: .19em; }
.hero-main h2 { font-size: clamp(36px, 4.4vw, 64px); line-height: .96; letter-spacing: -.055em; margin: 13px 0 20px; max-width: 640px; }
.hero-badges { display: flex; gap: 8px; }
.hero-badges span { font-size: 9px; font-weight: 900; letter-spacing: .11em; border: 1px solid rgba(255,255,255,.28); border-radius: 7px; padding: 7px 10px; background: rgba(255,255,255,.08); backdrop-filter: blur(10px); }
.hero-techniques { border-top: 1px solid rgba(255,255,255,.16); }
.hero-techniques button {
  width: 100%; border: 0; border-bottom: 1px solid rgba(255,255,255,.16); background: transparent; color: white; cursor: pointer;
  min-height: 68px; padding: 10px 4px; display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px; text-align: left;
}
.hero-techniques button:hover { background: rgba(255,255,255,.06); }
.hero-techniques b { color: var(--lime); font-size: 12px; }
.hero-techniques span { font-size: 15px; font-weight: 800; }
.hero-techniques small { display: block; color: rgba(255,255,255,.52); font-size: 11px; margin-top: 5px; font-weight: 400; }
.hero-techniques em { font-style: normal; font-size: 18px; opacity: .7; }
.hero-actions { display: flex; gap: 10px; }
.primary-action, .ghost-action { min-height: 50px; border-radius: 13px; padding: 0 22px; cursor: pointer; font-size: 12px; font-weight: 900; letter-spacing: .03em; }
.primary-action { background: var(--lime); color: #223653; border: 0; }
.primary-action span { margin-right: 9px; }
.ghost-action { color: white; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.08); backdrop-filter: blur(12px); }

.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, .75fr); gap: 22px; margin-top: 22px; }
.dashboard-grid main, .dashboard-aside { display: flex; flex-direction: column; gap: 22px; }
.section-card, .quick-add, .focus-card, .timeline-card, .auto-panel, .backup-card { border: 1px solid var(--line); background: var(--card); border-radius: 21px; box-shadow: var(--shadow); }
.section-card { padding: 25px 28px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.section-heading h3, .quick-add h3, .focus-card h3 { margin: 7px 0 0; font-size: 20px; letter-spacing: -.03em; }
.muted { color: var(--muted); font-size: 11px; font-weight: 700; }
.week-strip { display: grid; grid-template-columns: repeat(7,1fr); gap: 8px; margin: 24px 0; }
.week-strip button { position: relative; min-height: 76px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); cursor: default; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.week-strip button span { font-size: 9px; color: var(--muted); font-weight: 900; }
.week-strip button b { font-size: 17px; }
.week-strip button i { position: absolute; bottom: 6px; height: 12px; font-size: 12px; color: var(--orange); font-style: normal; font-weight: 900; }
.week-strip button.today { background: var(--ink); color: white; border-color: var(--ink); box-shadow: 0 8px 18px rgba(20,51,42,.18); }
.week-strip button.today span { color: var(--lime); }
.week-strip button.done { background: var(--tatami); cursor: pointer; }
.week-strip button.done i { color: #2a7a57; }
.next-class-row { min-height: 68px; border-top: 1px solid var(--line); padding-top: 18px; display: grid; grid-template-columns: 50px 1fr auto; align-items: center; gap: 14px; }
.date-block { border-right: 1px solid var(--line); text-align: center; }
.date-block b { display: block; font-size: 22px; letter-spacing: -.05em; }
.date-block small, .next-class-row div small { display: block; font-size: 9px; color: var(--muted); font-weight: 800; margin-top: 3px; }
.next-class-row div b { font-size: 13px; }
.next-class-row button, .text-button { border: 0; background: transparent; color: #477052; font-size: 11px; font-weight: 900; cursor: pointer; }
.stats-row { display: grid; grid-template-columns: repeat(3,1fr); margin: 25px 0; }
.stats-row > div { padding: 0 24px; border-right: 1px solid var(--line); }
.stats-row > div:first-child { padding-left: 0; }.stats-row > div:last-child { border: 0; }
.stats-row strong { display: block; font-size: 34px; letter-spacing: -.06em; }
.stats-row span { display: block; font-size: 11px; font-weight: 800; margin-top: 3px; }
.stats-row small { display: block; font-size: 9px; color: #65805f; margin-top: 7px; }
.coverage-copy { display: flex; justify-content: space-between; font-size: 10px; font-weight: 900; margin-bottom: 9px; }
.progress-track { height: 7px; overflow: hidden; border-radius: 8px; background: var(--tatami); }
.progress-track i { display: block; height: 100%; background: linear-gradient(90deg, #275f49, var(--lime)); border-radius: inherit; }
.quick-add { padding: 25px; background: var(--ink); color: white; border-color: var(--ink); }
.quick-add .section-kicker { color: var(--lime); }
.capture-icon { float: right; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: rgba(255,255,255,.09); color: var(--lime); }
.quick-add p { color: #aebeb8; font-size: 12px; line-height: 1.5; }
.url-field { display: grid; grid-template-columns: auto 1fr auto; gap: 9px; align-items: center; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.13); padding: 5px 5px 5px 13px; }
.url-field input { min-width: 0; color: white; border: 0; background: transparent; outline: 0; font-size: 11px; }
.url-field input::placeholder { color: #879991; }
.url-field button { width: 36px; height: 36px; border: 0; border-radius: 9px; background: var(--lime); color: var(--ink); cursor: pointer; font-size: 19px; }
.saved-message { display: block; height: 0; margin-top: 0; color: var(--lime); overflow: hidden; font-size: 10px; opacity: 0; transition: .2s ease; }.saved-message.visible { height: 13px; margin-top: 10px; opacity: 1; }
.focus-card { padding: 25px; }
.focus-top { display: flex; justify-content: space-between; color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.focus-card p { color: var(--muted); font-size: 12px; line-height: 1.5; }
.focus-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 17px 0 20px; }
.focus-tags span { border: 1px solid var(--line); background: var(--paper); padding: 7px 9px; border-radius: 8px; font-size: 9px; font-weight: 800; }
.focus-tags span:last-child { color: var(--orange); border-color: rgba(238,108,58,.3); background: rgba(238,108,58,.06); }
.focus-card > button { width: 100%; min-height: 44px; border: 1px solid var(--line); background: transparent; border-radius: 11px; cursor: pointer; font-size: 11px; font-weight: 900; display: flex; justify-content: space-between; align-items: center; padding: 0 14px; }

.page-intro { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin: 6px 0 28px; }
.page-intro.compact { align-items: center; }
.page-intro h2 { font-size: clamp(34px, 4vw, 55px); line-height: 1; letter-spacing: -.055em; margin: 12px 0 10px; }
.page-intro p { max-width: 620px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.solid-button { min-height: 48px; flex: 0 0 auto; padding: 0 20px; border: 0; border-radius: 13px; background: var(--ink); color: var(--card); font-size: 11px; font-weight: 900; cursor: pointer; }
.segmented { display: inline-flex; background: var(--tatami); padding: 4px; border-radius: 12px; margin-bottom: 20px; }
.segmented button { min-height: 39px; padding: 0 18px; border: 0; border-radius: 9px; background: transparent; cursor: pointer; color: var(--muted); font-size: 11px; font-weight: 900; }
.segmented button.active { background: var(--card); color: var(--ink); box-shadow: 0 4px 12px rgba(30,50,42,.08); }
.calendar-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(270px, .65fr); gap: 22px; }
.timeline-card { overflow: hidden; }
.timeline-head { padding: 23px 27px; background: var(--ink); color: white; display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 15px; }
.timeline-head span { font-size: 9px; font-weight: 900; letter-spacing: .16em; color: var(--lime); }.timeline-head b { font-size: 16px; }.timeline-head small { color: #9aada6; }
.class-row { min-height: 94px; padding: 16px 24px; display: grid; grid-template-columns: 36px 70px 1fr auto auto; gap: 14px; align-items: center; border-bottom: 1px solid var(--line); }
.class-row:last-child { border: 0; }
.timeline-dot { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); font-size: 10px; font-weight: 900; }
.timeline-dot.done { background: #dfeee1; color: #2f694d; border-color: #c8e0cd; }.timeline-dot.now { background: var(--orange); color: white; border-color: var(--orange); }.timeline-dot.next { background: var(--paper); }
.class-date { font-size: 9px; font-weight: 900; color: var(--muted); }
.class-info b { display: block; font-size: 13px; }.class-info small { display: block; color: var(--muted); font-size: 10px; margin-top: 7px; }
.badge { display: inline-flex; align-items: center; min-height: 25px; padding: 0 8px; border-radius: 7px; font-size: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.badge-green { background: #dfefdf; color: #347250; }.badge-orange { background: #fbe2d5; color: #b84b23; }.badge-stone { background: var(--tatami); color: var(--muted); }
.mini-play { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--ink); color: white; cursor: pointer; font-size: 10px; }
.auto-panel { padding: 27px; background: linear-gradient(155deg, var(--ink), #244c3e); color: white; }
.auto-panel .spark { float: right; color: var(--lime); font-size: 27px; }.auto-panel .section-kicker { color: var(--lime); }.auto-panel h3 { margin: 12px 0; font-size: 26px; letter-spacing: -.04em; }
.auto-panel p { color: #a9bbb4; font-size: 12px; line-height: 1.6; }.auto-panel ul { list-style: none; padding: 5px 0; margin: 12px 0 22px; }.auto-panel li { padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 11px; }.auto-panel li::before { content: "✓"; color: var(--lime); margin-right: 9px; font-weight: 900; }
.auto-panel button { width: 100%; min-height: 45px; border: 1px solid rgba(255,255,255,.2); border-radius: 11px; background: rgba(255,255,255,.06); color: white; cursor: pointer; font-size: 11px; font-weight: 900; }
.curriculum-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.curriculum-week { position: relative; overflow: hidden; min-height: 142px; padding: 17px; text-align: left; border: 1px solid var(--line); border-radius: 16px; background: var(--card); cursor: pointer; box-shadow: 0 10px 25px rgba(25,50,40,.03); }
.curriculum-week > div { display: flex; justify-content: space-between; font-size: 8px; font-weight: 900; letter-spacing: .12em; color: var(--muted); }.curriculum-week em { color: #4d755c; font-style: normal; }.curriculum-week b { display: block; margin: 24px 0 7px; font-size: 15px; }.curriculum-week small { color: var(--muted); }.curriculum-week > i { position: absolute; left: 0; bottom: 0; height: 4px; background: var(--lime); }.curriculum-week.review { background: var(--ink); color: white; }.curriculum-week.review small, .curriculum-week.review div { color: #96a9a2; }

.map-view { --neural-bg: #071510; --neural-panel: #0d2019; --neural-line: rgba(158, 210, 186, .12); }
.map-legend { display: flex; flex-wrap: wrap; gap: 15px; font-size: 9px; font-weight: 900; color: var(--muted); }
.map-legend i { display: inline-block; width: 17px; height: 3px; border-radius: 3px; margin-right: 5px; vertical-align: middle; box-shadow: 0 0 9px currentColor; }
.map-legend .takedown { background: #ff8d62; }.map-legend .sweep { background: #e6db5c; }.map-legend .pass { background: #4fb8ff; }.map-legend .escape { background: #ff5e73; }
.neural-toolbar { margin-bottom: 12px; display: grid; grid-template-columns: auto minmax(410px, 1fr); gap: 12px; align-items: stretch; }
.map-filters { display: flex; gap: 5px; padding: 5px; border: 1px solid #1f3b31; border-radius: 14px; background: #0b1b15; overflow-x: auto; }
.map-filters button { min-height: 40px; border-radius: 10px; border: 0; background: transparent; color: #7e9a8f; padding: 0 13px; font-size: 8px; font-weight: 900; letter-spacing: .04em; cursor: pointer; white-space: nowrap; }
.map-filters button.active { color: #12281f; background: var(--lime); box-shadow: 0 0 18px rgba(217,239,99,.18); }
.dot { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }.dot.takedown { color: #ff8d62; }.dot.sweep { color: #e6db5c; }.dot.pass { color: #4fb8ff; }.dot.back { color: #bf7dff; }.dot.escape { color: #ff5e73; }
.route-planner { min-height: 52px; display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 10px; padding: 6px 7px 6px 15px; border: 1px solid #1f3b31; border-radius: 14px; background: #0b1b15; color: white; }
.route-label { display: flex; align-items: center; margin-right: 5px; color: #7e9a8f; font-size: 7px; font-weight: 900; letter-spacing: .14em; white-space: nowrap; }.route-label i { width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #70e0bd; box-shadow: 0 0 10px #70e0bd; animation: signal 1.8s ease-in-out infinite; }
.route-planner label { min-width: 0; display: grid; gap: 2px; }.route-planner label span { color: #5f8073; font-size: 6px; font-weight: 900; letter-spacing: .13em; }.route-planner select { width: 100%; border: 0; outline: 0; background: transparent; color: #e7f1ec; font-size: 9px; font-weight: 800; }.route-planner option { color: #142f26; }.route-planner > b { color: var(--lime); }.route-planner > button { height: 40px; border: 0; border-radius: 10px; padding: 0 13px; background: #173b2e; color: var(--lime); cursor: pointer; font-size: 8px; font-weight: 900; }
.position-map { position: relative; height: 720px; border: 1px solid #204235; background: var(--neural-bg); border-radius: 24px; overflow: hidden; box-shadow: 0 25px 70px rgba(5,25,17,.22), inset 0 0 80px rgba(21,71,51,.18); }
.position-map::before { content: ""; position: absolute; z-index: 0; inset: 0; background-image: linear-gradient(rgba(101,170,139,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(101,170,139,.055) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000); }
.position-map::after { content: ""; position: absolute; z-index: 0; inset: 0; pointer-events: none; background: radial-gradient(circle at 24% 42%, rgba(36,170,120,.13), transparent 23%), radial-gradient(circle at 74% 62%, rgba(79,184,255,.1), transparent 26%), linear-gradient(90deg, rgba(6,19,14,.35), transparent 20%); }
.neural-noise { position: absolute; z-index: 1; inset: 0; pointer-events: none; opacity: .35; background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,.012) 4px); }
.map-band-labels { position: absolute; z-index: 4; inset: 0 auto 0 0; width: 94px; display: grid; grid-template-rows: repeat(7, 1fr); background: rgba(5,18,13,.72); border-right: 1px solid rgba(120,191,159,.15); backdrop-filter: blur(10px); }
.map-band-labels span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #537267; font-size: 6px; font-weight: 900; letter-spacing: .18em; border-bottom: 1px solid rgba(120,191,159,.1); writing-mode: vertical-rl; transform: rotate(180deg); }.map-band-labels span i { width: 4px; height: 4px; border-radius: 50%; background: #456a5b; box-shadow: 0 0 7px #456a5b; }
.map-network { --map-scale: 1; position: absolute; z-index: 2; inset: 0 0 0 94px; transform: scale(var(--map-scale)); transition: transform .3s ease; }
#neural-canvas { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.neural-glow { position: absolute; z-index: 0; width: 220px; height: 220px; border-radius: 50%; filter: blur(55px); opacity: .08; pointer-events: none; }.glow-a { left: 8%; top: 8%; background: #8fbbff; }.glow-b { right: 8%; top: 36%; background: #4fb8ff; }.glow-c { left: 36%; bottom: 1%; background: #ff5e73; }
.position-node { position: absolute; z-index: 3; left: var(--x); top: var(--y); width: 146px; min-height: 46px; padding: 5px 24px 5px 6px; transform: translate(-50%,-50%); display: grid; grid-template-columns: 35px 1fr; gap: 8px; align-items: center; border-radius: 14px; border: 1px solid rgba(117,167,145,.22); background: rgba(10,29,22,.88); box-shadow: 0 8px 22px rgba(0,0,0,.22), inset 0 1px rgba(255,255,255,.025); color: #adc0b7; cursor: pointer; text-align: left; transition: opacity .25s ease, transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease; backdrop-filter: blur(9px); }
.position-node:hover { z-index: 6; transform: translate(-50%,-50%) scale(1.04); border-color: rgba(217,239,99,.65); color: white; }
.node-orb { position: relative; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(111,224,189,.5); border-radius: 50%; background: #0d2c21; box-shadow: 0 0 0 4px rgba(112,224,189,.035), 0 0 16px rgba(112,224,189,.13); }.node-orb::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 1px dashed rgba(154,232,206,.28); animation: orbit 8s linear infinite; }.node-orb i { font-style: normal; color: #8bcbb6; font-size: 8px; font-weight: 900; letter-spacing: -.03em; }
.node-label { min-width: 0; }.node-label small { display: block; color: #507165; font-size: 5px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }.node-label b { display: block; overflow: hidden; margin-top: 3px; color: inherit; font-size: 8px; line-height: 1.08; text-overflow: ellipsis; white-space: nowrap; }.position-node > em { position: absolute; right: -6px; top: -7px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; border: 2px solid #10241c; background: #ff5e73; color: white; box-shadow: 0 0 11px rgba(255,94,115,.5); font-size: 7px; font-weight: 900; font-style: normal; }
.position-node.level-0 .node-orb,.position-node.level-1 .node-orb { border-color: rgba(217,239,99,.55); background: #22391c; }.position-node.level-0 .node-orb i,.position-node.level-1 .node-orb i { color: var(--lime); }.position-node.level-2 .node-orb { border-color: rgba(79,184,255,.55); background: #102d3d; }.position-node.level-2 .node-orb i { color: #79caff; }.position-node.level-3 .node-orb,.position-node.level-4 .node-orb { border-color: rgba(112,224,189,.52); }.position-node.level-5 .node-orb,.position-node.level-6 .node-orb { border-color: rgba(255,94,115,.52); background: #361c24; }.position-node.level-5 .node-orb i,.position-node.level-6 .node-orb i { color: #ff8495; }
.position-node.related { opacity: 1; color: #edf6f2; border-color: rgba(112,224,189,.38); }.position-node.muted-node { opacity: .28; }.position-node.selected,.position-node.route-node { z-index: 7; transform: translate(-50%,-50%) scale(1.1); background: #163c2d; color: white; border-color: var(--lime); box-shadow: 0 0 0 4px rgba(217,239,99,.09), 0 0 32px rgba(217,239,99,.2), 0 15px 30px rgba(0,0,0,.42); }.position-node.selected .node-orb { border-color: var(--lime); box-shadow: 0 0 18px rgba(217,239,99,.6); }.position-node.selected .node-orb i { color: var(--lime); }.position-node.selected::after { content: ""; position: absolute; inset: -9px; border: 1px solid rgba(217,239,99,.22); border-radius: 19px; animation: node-pulse 2s ease-out infinite; }
.map-status { position: absolute; z-index: 5; left: 112px; bottom: 16px; display: flex; gap: 13px; align-items: center; padding: 9px 13px; border: 1px solid rgba(118,178,151,.16); border-radius: 11px; background: rgba(5,18,13,.72); backdrop-filter: blur(10px); color: #607c70; font-size: 7px; }.map-status span { color: #7ebca4; font-weight: 900; letter-spacing: .12em; }.map-status span i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #70e0bd; box-shadow: 0 0 8px #70e0bd; }.map-status b { color: #a8bbb3; }.map-status em { font-style: normal; }
.map-zoom { position: absolute; z-index: 6; right: 16px; bottom: 16px; display: flex; align-items: center; border: 1px solid rgba(118,178,151,.16); border-radius: 11px; overflow: hidden; background: rgba(5,18,13,.78); backdrop-filter: blur(10px); }.map-zoom button { width: 36px; height: 36px; border: 0; background: transparent; color: #a9bcb4; cursor: pointer; }.map-zoom span { min-width: 47px; text-align: center; color: #678276; font-size: 7px; font-weight: 900; }
.map-detail { margin-top: 12px; border-radius: 20px; background: #0b1b15; color: white; border: 1px solid #1f3b31; box-shadow: 0 18px 45px rgba(7,26,18,.14); }.neural-detail { display: grid; grid-template-columns: minmax(210px,.7fr) minmax(410px,1.5fr) minmax(210px,.7fr); align-items: stretch; overflow: hidden; }
.selected-position-card { padding: 23px; border-right: 1px solid #1f3b31; }.position-signal { display: flex; align-items: center; gap: 7px; color: #648378; font-size: 7px; font-weight: 900; letter-spacing: .14em; }.position-signal i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); animation: signal 1.8s ease-in-out infinite; }.selected-position-card h3 { margin: 12px 0 8px; font-size: 23px; letter-spacing: -.04em; }.selected-position-card p { min-height: 46px; margin: 0; color: #879f95; font-size: 10px; line-height: 1.55; }.selected-meta { display: flex; gap: 6px; margin-top: 15px; }.selected-meta span { padding: 6px 8px; border-radius: 7px; background: #142a21; color: #9db2a9; font-size: 7px; font-weight: 900; }
.connection-panel { min-width: 0; padding: 18px 20px; border-right: 1px solid #1f3b31; }.connection-panel-head { display: flex; justify-content: space-between; margin-bottom: 9px; color: #648378; font-size: 7px; font-weight: 900; letter-spacing: .13em; }.connection-panel-head small { color: #47635a; font-weight: 400; letter-spacing: 0; }.connection-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }.connection-list > button { min-width: 0; min-height: 55px; padding: 7px 8px; display: grid; grid-template-columns: 5px minmax(100px,1fr) auto 18px; gap: 8px; align-items: center; border: 1px solid #1b3b2f; border-radius: 10px; background: #10251d; color: white; text-align: left; cursor: pointer; }.connection-list > button:hover { border-color: #4a7f68; background: #142e24; }.connection-list > button > i,.incoming-list button i { width: 4px; height: 28px; border-radius: 4px; background: var(--edge); box-shadow: 0 0 8px var(--edge); }.connection-list small { display: block; color: #59776b; font-size: 6px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }.connection-list b { display: block; margin-top: 3px; overflow: hidden; color: #dbe8e2; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }.connection-list em { max-width: 120px; overflow: hidden; color: #557066; font-size: 6px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }.connection-list strong { color: var(--lime); }.dead-end { grid-column: 1/-1; padding: 15px; border: 1px dashed #29473b; border-radius: 10px; }.dead-end b,.dead-end span { display: block; }.dead-end b { font-size: 10px; }.dead-end span { margin-top: 5px; color: #648076; font-size: 8px; }
.route-result { padding: 22px; }.route-result > span { color: #648378; font-size: 7px; font-weight: 900; letter-spacing: .14em; }.route-result > p { min-height: 44px; margin: 10px 0 16px; color: #819a90; font-size: 9px; line-height: 1.5; }.route-result .solid-button { width: 100%; min-height: 38px; background: var(--lime); color: #13271f; }.incoming-list { display: grid; gap: 6px; margin: 12px 0 15px; }.incoming-list button { min-height: 29px; display: grid; grid-template-columns: 4px 1fr; gap: 8px; align-items: center; border: 0; border-bottom: 1px solid #193127; background: transparent; color: #aabdb5; cursor: pointer; text-align: left; font-size: 8px; }.incoming-list button i { height: 17px; }.route-steps { display: flex; flex-wrap: wrap; gap: 5px; margin: 12px 0 10px; }.route-steps b { display: flex; align-items: center; gap: 5px; padding: 6px 7px; border-radius: 7px; background: #153126; color: #c9dad2; font-size: 7px; }.route-steps i { color: var(--lime); font-style: normal; }.route-result > small { display: block; color: #6d877c; font-size: 7px; line-height: 1.5; }.route-result > button:not(.solid-button) { margin-top: 12px; border: 0; background: transparent; color: var(--lime); cursor: pointer; padding: 0; font-size: 8px; font-weight: 900; }
@keyframes orbit { to { transform: rotate(360deg); } } @keyframes node-pulse { from { opacity: .8; transform: scale(.94); } to { opacity: 0; transform: scale(1.12); } } @keyframes signal { 50% { opacity: .35; box-shadow: 0 0 2px currentColor; } }

.library-toolbar { display: grid; grid-template-columns: minmax(260px,1fr) auto auto; gap: 10px; align-items: center; }.search-field { min-height: 49px; padding: 0 14px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: var(--card); border-radius: 13px; }.search-field span { font-size: 22px; color: var(--muted); }.search-field input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 12px; }.filter-pills { display: flex; gap: 4px; padding: 4px; background: var(--tatami); border-radius: 12px; }.type-filters { grid-column: 1 / -1; overflow-x: auto; }.type-filters,.map-filters { scrollbar-width: none; }.type-filters::-webkit-scrollbar,.map-filters::-webkit-scrollbar { display: none; }.filter-pills button { min-height: 40px; padding: 0 13px; border-radius: 9px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 9px; font-weight: 900; white-space: nowrap; }.filter-pills button.active { background: var(--card); color: var(--ink); box-shadow: 0 4px 9px rgba(23,53,45,.08); }.modality-toggle { min-height: 49px; padding: 4px 5px 4px 12px; display: flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 13px; background: var(--card); }.modality-toggle > span { margin-right: 5px; color: var(--muted); font-size: 7px; font-weight: 900; letter-spacing: .12em; }.modality-toggle button { min-height: 38px; padding: 0 12px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); cursor: pointer; font-size: 9px; font-weight: 900; }.modality-toggle button.active { background: var(--ink); color: var(--lime); box-shadow: 0 5px 12px rgba(20,48,39,.13); }.filter-button { min-height: 48px; border: 1px solid var(--line); background: var(--card); border-radius: 12px; padding: 0 15px; font-size: 10px; font-weight: 900; cursor: pointer; }.filter-button.active { border-color: var(--ink); background: var(--ink); color: var(--lime); }.filter-button span { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-left: 4px; border-radius: 50%; background: var(--lime); color: #223653; font-size: 8px; }.results-line { margin: 24px 0 14px; color: var(--muted); font-size: 10px; }.results-line b { color: var(--ink); }.results-line span { margin: 0 5px; }.results-line em { font-style: normal; }
.technique-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }.technique-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: 0 10px 28px rgba(29,52,44,.05); }.tech-image { position: relative; display: block; width: 100%; height: 190px; border: 0; padding: 0; overflow: hidden; background: var(--tatami); cursor: pointer; }.tech-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,35,29,.5), transparent 55%); }.tech-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) contrast(1.05); transition: transform .5s ease; }.technique-card:hover img { transform: scale(1.05); }.play-chip, .type-chip,.media-count { position: absolute; z-index: 2; font-size: 8px; font-weight: 900; letter-spacing: .08em; border-radius: 7px; }.play-chip { left: 11px; bottom: 10px; color: white; background: rgba(14,40,32,.68); backdrop-filter: blur(8px); padding: 7px 9px; }.media-count { right: 11px; bottom: 10px; color: rgba(255,255,255,.74); background: rgba(14,40,32,.58); padding: 7px 8px; }.type-chip { top: 11px; left: 11px; color: white; padding: 6px 8px; background: var(--orange); }.type-raspado { background: #9d8e29; }.type-pase { background: #3271a8; }.type-derribo { background: #bd5c38; }.type-espalda { background: #78529b; }.type-escape { background: #4b8170; }.type-transicion { background: #237d73; }.tech-card-copy { padding: 16px; }.tech-card-copy > div { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }.favorite { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: #9eaaa3; cursor: pointer; }.favorite.active { color: var(--orange); background: #fde9df; border-color: #f4c6b2; }.tech-name { display: block; width: 100%; padding: 0; margin: 9px 0 5px; border: 0; background: transparent; text-align: left; color: var(--ink); cursor: pointer; font-weight: 900; font-size: 16px; letter-spacing: -.025em; }.tech-card-copy p { min-height: 30px; margin: 0 0 14px; color: var(--muted); font-size: 10px; line-height: 1.45; }.tech-card-copy footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 12px; }.tech-card-copy footer small { color: var(--muted); font-size: 9px; font-weight: 800; }.modality-badge { padding: 4px 7px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }.empty-state { grid-column: 1 / -1; padding: 70px 20px; text-align: center; color: var(--muted); }.empty-state span { font-size: 38px; }.empty-state h3 { color: var(--ink); }

.tools-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }.tool-card { min-height: 160px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); cursor: pointer; text-align: left; display: grid; grid-template-columns: 47px 1fr; gap: 15px; position: relative; box-shadow: var(--shadow); }.tool-icon { width: 47px; height: 47px; display: grid; place-items: center; border-radius: 14px; background: var(--tatami); color: var(--ink); font-size: 19px; font-weight: 900; }.tool-card h3 { margin: 3px 0 7px; font-size: 18px; }.tool-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }.tool-card em { position: absolute; right: 20px; bottom: 18px; color: #4f705e; font-style: normal; font-size: 9px; font-weight: 900; }.tool-0 .tool-icon { color: white; background: var(--orange); }.tool-1 .tool-icon { color: #223653; background: var(--lime); }.tool-4 .tool-icon { color: white; background: var(--ink); }.backup-card { margin-top: 16px; padding: 26px; display: flex; justify-content: space-between; align-items: center; background: linear-gradient(100deg, var(--tatami), var(--card)); }.backup-card h3 { margin: 8px 0; }.backup-card p { margin: 0; color: var(--muted); font-size: 11px; }.backup-card button { min-height: 43px; border: 1px solid var(--line); background: var(--card); border-radius: 11px; padding: 0 16px; font-size: 10px; font-weight: 900; cursor: pointer; }.media-credit { text-align: center; margin: 28px 0 0; color: var(--muted); font-size: 9px; }

/* Student intelligence */
.student-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 16px; }.student-stats article { min-height: 125px; padding: 20px; border: 1px solid var(--line); border-radius: 17px; background: var(--card); box-shadow: 0 10px 25px rgba(26,57,46,.04); }.student-stats span { color: var(--muted); font-size: 7px; font-weight: 900; letter-spacing: .14em; }.student-stats b { display: block; margin: 13px 0 5px; font-size: 31px; letter-spacing: -.05em; }.student-stats small { color: var(--muted); font-size: 9px; }.student-stats .student-stat-accent { background: var(--ink); color: white; }.student-stat-accent span,.student-stat-accent small { color: #a8b8b1; }.student-stat-accent b { color: var(--lime); font-size: 20px; letter-spacing: -.02em; }
.students-workspace { display: grid; grid-template-columns: 300px minmax(0,1fr); min-height: 660px; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--card); box-shadow: var(--shadow); }.student-directory { padding: 22px 17px; border-right: 1px solid var(--line); background: color-mix(in srgb,var(--tatami) 55%,var(--card)); }.directory-head { display: flex; align-items: center; justify-content: space-between; padding: 0 5px 15px; }.directory-head h3 { margin: 6px 0 0; font-size: 21px; }.directory-head button { width: 37px; height: 37px; border: 0; border-radius: 11px; background: var(--ink); color: var(--lime); cursor: pointer; font-size: 18px; }.student-search { min-height: 43px; padding: 0 12px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 11px; background: var(--card); }.student-search span { color: var(--muted); }.student-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 10px; }.student-list { display: grid; gap: 7px; margin-top: 14px; }.student-list-item { width: 100%; min-height: 76px; padding: 10px; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 10px; border: 1px solid transparent; border-radius: 13px; background: transparent; color: var(--ink); text-align: left; cursor: pointer; }.student-list-item:hover,.student-list-item.active { border-color: var(--line); background: var(--card); box-shadow: 0 6px 16px rgba(22,50,40,.06); }.student-avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--lime); font-size: 10px; font-weight: 900; }.student-list-item.active .student-avatar { background: var(--orange); color: white; }.student-list-copy b,.student-list-copy small { display: block; }.student-list-copy b { font-size: 11px; }.student-list-copy small { margin-top: 5px; color: var(--muted); font-size: 8px; }.student-list-item > em { color: var(--muted); font-size: 13px; font-style: normal; }.student-loading,.student-list-empty { padding: 34px 12px; color: var(--muted); text-align: center; font-size: 10px; line-height: 1.6; }
.student-detail { min-width: 0; padding: 30px; background: var(--paper); }.student-empty { min-height: 560px; display: grid; place-content: center; justify-items: center; text-align: center; }.student-empty > span { width: 65px; height: 65px; display: grid; place-items: center; border-radius: 20px; background: var(--tatami); color: var(--ink); font-size: 27px; }.student-empty h3 { margin: 18px 0 7px; font-size: 24px; }.student-empty p { max-width: 320px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }.student-profile-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; }.student-identity { display: flex; gap: 15px; align-items: center; }.student-identity .student-avatar { width: 58px; height: 58px; font-size: 14px; }.student-identity h2 { margin: 4px 0 5px; font-size: 29px; letter-spacing: -.04em; }.student-identity p { margin: 0; color: var(--muted); font-size: 10px; }.student-profile-actions { display: flex; gap: 8px; }.student-profile-actions button { min-height: 42px; padding: 0 13px; border: 1px solid var(--line); border-radius: 11px; background: var(--card); color: var(--ink); cursor: pointer; font-size: 9px; font-weight: 900; }.student-profile-actions .email-summary { border-color: var(--ink); background: var(--ink); color: white; }.profile-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 15px; }.profile-chips span { padding: 7px 9px; border-radius: 8px; background: var(--tatami); color: var(--muted); font-size: 8px; font-weight: 900; }.student-analysis-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 12px; margin-top: 20px; }.analysis-card { padding: 21px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }.analysis-card h3 { margin: 7px 0 8px; font-size: 19px; }.analysis-card p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.6; }.analysis-score { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 16px; }.score-ring { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--lime) var(--score),var(--line) 0); position: relative; }.score-ring::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--card); }.score-ring b { z-index: 1; font-size: 19px; }.analysis-priorities { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }.analysis-priorities li { padding: 9px 11px; border-left: 3px solid var(--orange); border-radius: 0 8px 8px 0; background: color-mix(in srgb,var(--orange) 7%,transparent); font-size: 9px; line-height: 1.45; }.student-section-head { margin: 24px 0 11px; display: flex; align-items: center; justify-content: space-between; }.student-section-head h3 { margin: 6px 0 0; font-size: 20px; }.student-section-head button { min-height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); cursor: pointer; font-size: 9px; font-weight: 900; }.skills-list { display: grid; gap: 8px; }.skill-row { padding: 13px 15px; display: grid; grid-template-columns: minmax(130px,1.2fr) .8fr minmax(180px,1.4fr); align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }.skill-row h4 { margin: 0 0 5px; font-size: 11px; }.skill-row small { color: var(--muted); font-size: 8px; }.skill-meter { display: grid; grid-template-columns: repeat(5,1fr); gap: 3px; }.skill-meter i { height: 7px; border-radius: 10px; background: var(--line); }.skill-meter i.on { background: var(--lime); }.skill-issue { font-size: 9px; line-height: 1.45; color: var(--muted); }.skill-issue b { display: block; margin-bottom: 3px; color: var(--orange); font-size: 7px; letter-spacing: .1em; }.no-evaluations { padding: 30px; border: 1px dashed var(--line); border-radius: 13px; text-align: center; color: var(--muted); font-size: 10px; }
.student-form .form-hint { margin: -8px 0 22px; color: var(--muted); font-size: 10px; line-height: 1.6; }.rating-picker { display: grid; grid-template-columns: repeat(5,1fr); gap: 6px; }.rating-picker input { position: absolute; opacity: 0; pointer-events: none; }.rating-picker label { min-height: 45px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--card); cursor: pointer; margin: 0; }.rating-picker input:checked + label { border-color: var(--ink); background: var(--ink); color: var(--lime); }.create-form textarea { width: 100%; min-height: 90px; resize: vertical; padding: 12px 13px; border: 1px solid var(--line); border-radius: 11px; background: var(--card); color: var(--ink); font: inherit; font-size: 11px; letter-spacing: 0; text-transform: none; outline: 0; }

/* IBJJF rules center */
.ghost-ink-button { min-height: 43px; padding: 0 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--card); color: var(--ink); cursor: pointer; font-size: 9px; font-weight: 900; }.rules-notice { padding: 17px 19px; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 13px; border: 1px solid color-mix(in srgb,var(--orange) 30%,var(--line)); border-radius: 15px; background: color-mix(in srgb,var(--orange) 7%,var(--card)); }.rules-notice > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--orange); color: white; font-size: 19px; font-weight: 900; }.rules-notice b { font-size: 11px; }.rules-notice p { margin: 4px 0 0; color: var(--muted); font-size: 9px; line-height: 1.5; }.rules-notice a { color: var(--ink); font-size: 9px; font-weight: 900; text-decoration: none; }.rules-controls { display: grid; grid-template-columns: repeat(4,1fr); gap: 9px; margin: 14px 0; padding: 12px; border: 1px solid var(--line); border-radius: 15px; background: var(--card); }.rules-controls label { padding: 0 10px; border-right: 1px solid var(--line); }.rules-controls label:last-child { border: 0; }.rules-controls span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 7px; font-weight: 900; letter-spacing: .13em; }.rules-controls select { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 10px; font-weight: 900; }.rules-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 12px; }.rules-card { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: 0 10px 28px rgba(27,55,45,.04); }.rules-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; }.rules-card h3 { margin: 7px 0 0; font-size: 21px; letter-spacing: -.03em; }.rules-status { padding: 7px 9px; border-radius: 8px; background: var(--lime-soft); color: #486039; font-size: 7px; font-weight: 900; text-transform: uppercase; }.rules-status.neutral { background: var(--tatami); color: var(--muted); }.legal-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }.legal-title { display: block; padding-bottom: 9px; border-bottom: 1px solid var(--line); font-size: 8px; font-weight: 900; letter-spacing: .12em; }.legal-title.allowed { color: #447551; }.legal-title.prohibited { color: var(--orange); }.rule-tech-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }.rule-tech-list span { padding: 7px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); font-size: 8px; font-weight: 800; }.rule-tech-list .danger { border-color: color-mix(in srgb,var(--orange) 32%,var(--line)); background: color-mix(in srgb,var(--orange) 7%,var(--card)); }.weight-table { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 17px; }.weight-table span { padding: 9px 10px; display: flex; align-items: center; justify-content: space-between; border-radius: 9px; background: var(--tatami); font-size: 8px; }.weight-table b { font-size: 9px; }.rule-footnote { margin: 13px 0 0; color: var(--muted); font-size: 8px; line-height: 1.5; }.scoring-card,.duration-card { min-height: 245px; }.score-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 6px; margin: 20px 0 15px; }.score-grid div { padding: 12px 5px; border-radius: 10px; background: var(--tatami); text-align: center; }.score-grid b,.score-grid span { display: block; }.score-grid b { color: var(--ink); font-size: 20px; }.score-grid span { margin-top: 4px; color: var(--muted); font-size: 7px; }.scoring-card > p,.duration-card > p { color: var(--muted); font-size: 9px; line-height: 1.55; }.duration-card #duration-title { color: var(--orange); font-size: 31px; }.duration-track { height: 7px; margin: 18px 0; overflow: hidden; border-radius: 9px; background: var(--line); }.duration-track i { display: block; height: 100%; border-radius: inherit; background: var(--lime); }.safety-list { padding: 13px; border-radius: 11px; background: var(--ink); color: white; }.safety-list span { color: var(--lime); font-size: 7px; font-weight: 900; letter-spacing: .12em; }.safety-list p { margin: 7px 0 0; color: #b3c1bb; font-size: 8px; line-height: 1.5; }.age-table-card { margin-top: 12px; padding: 23px; display: grid; grid-template-columns: 260px 1fr; gap: 25px; align-items: center; border-radius: 18px; background: var(--ink); color: white; }.age-table-card h3 { margin: 8px 0 0; font-size: 20px; }.age-table { display: grid; grid-template-columns: repeat(5,1fr); }.age-table span { padding: 5px 14px; border-left: 1px solid rgba(255,255,255,.12); color: #9fb0a9; font-size: 8px; line-height: 1.5; }.age-table b { display: block; margin-bottom: 5px; color: white; font-size: 9px; }

.drawer-backdrop { position: fixed; z-index: 100; inset: 0; background: rgba(8,22,18,.58); backdrop-filter: blur(4px); display: flex; justify-content: flex-end; animation: fade-in .2s ease both; }.tech-drawer { width: min(680px, 100%); height: 100%; overflow-y: auto; background: var(--paper); box-shadow: -30px 0 80px rgba(4,20,15,.28); animation: drawer-in .32s cubic-bezier(.2,.75,.25,1) both; }.drawer-top { height: 66px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: var(--card); }.drawer-top > span { font-size: 9px; font-weight: 900; letter-spacing: .16em; color: var(--muted); }.drawer-top button { width: 38px; height: 38px; margin-left: 6px; border: 1px solid var(--line); background: var(--paper); border-radius: 11px; cursor: pointer; font-size: 20px; }.drawer-top button.active { color: var(--orange); }.drawer-media { position: relative; height: 315px; background: #0c1f19; overflow: hidden; }.drawer-media img { width: 100%; height: 100%; object-fit: cover; opacity: .25; filter: grayscale(.2); }.drawer-media video { position: absolute; inset: 20px 25px 30px; width: calc(100% - 50px); height: calc(100% - 50px); object-fit: cover; border-radius: 14px; background: #081713; box-shadow: 0 15px 35px rgba(0,0,0,.35); }.drawer-media > span { position: absolute; left: 34px; bottom: 7px; color: rgba(255,255,255,.75); font-size: 8px; font-weight: 900; letter-spacing: .12em; }.drawer-body { padding: 28px 32px 50px; }.drawer-title { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }.drawer-title span { font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }.drawer-title h2 { margin: 8px 0 6px; font-size: 34px; letter-spacing: -.05em; }.drawer-title p { margin: 0; color: var(--muted); font-size: 12px; }.taught { flex: 0 0 auto; min-height: 41px; padding: 0 13px; border: 1px solid var(--line); border-radius: 11px; background: var(--card); cursor: pointer; font-size: 9px; font-weight: 900; }.taught.done { background: #dfeee1; color: #2d6a4b; }.spec-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; margin: 28px 0 0; padding: 18px; border-radius: 14px 14px 0 0; background: var(--ink); color: white; }.spec-row span { font-size: 12px; font-weight: 900; }.spec-row small, .meta-strip small { display: block; color: #93a69f; font-size: 7px; letter-spacing: .13em; margin-bottom: 6px; }.spec-row i { color: var(--lime); font-style: normal; font-size: 22px; }.meta-strip { display: grid; grid-template-columns: repeat(3,1fr); padding: 14px 18px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 14px 14px; background: var(--card); }.meta-strip span { font-size: 10px; font-weight: 900; }.meta-strip span + span { border-left: 1px solid var(--line); padding-left: 16px; }.drawer-section-title { display: flex; justify-content: space-between; margin: 30px 0 8px; color: var(--muted); font-size: 8px; font-weight: 900; letter-spacing: .13em; }.step { display: grid; grid-template-columns: 40px 1fr; gap: 13px; align-items: center; border-top: 1px solid var(--line); padding: 15px 0; }.step b { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 10px; background: var(--lime-soft); color: #3c5c3e; font-size: 10px; }.step p { margin: 0; font-size: 11px; line-height: 1.55; }.coaching-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }.coaching-grid div { padding: 17px; border-radius: 13px; background: var(--tatami); }.coaching-grid div:last-child { background: rgba(238,108,58,.09); }.coaching-grid span { color: var(--muted); font-size: 8px; font-weight: 900; letter-spacing: .12em; }.coaching-grid p { margin: 9px 0 0; font-size: 11px; line-height: 1.5; }.history-row { margin-top: 12px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 20px; padding: 17px; border: 1px solid var(--line); background: var(--card); border-radius: 13px; }.history-row span { display: block; color: var(--muted); font-size: 7px; font-weight: 900; letter-spacing: .12em; }.history-row b { display: block; margin-top: 5px; font-size: 11px; }.history-dots { display: flex; gap: 5px; }.history-dots i { width: 7px; height: 7px; background: #5b8769; border-radius: 50%; }.history-dots i.off { background: var(--line); }.history-row button { border: 0; background: transparent; color: #4d705b; cursor: pointer; font-size: 9px; font-weight: 900; }
.info-backdrop { align-items: center; justify-content: center; padding: 20px; }.info-panel { position: relative; width: min(520px,100%); padding: 48px; border-radius: 24px; background: var(--paper); box-shadow: 0 35px 90px rgba(3,18,13,.35); animation: drawer-in .28s ease both; }.info-panel > span { color: var(--orange); font-size: 8px; font-weight: 900; letter-spacing: .16em; }.info-panel h2 { margin: 12px 0; font-size: 34px; letter-spacing: -.04em; }.info-panel p { color: var(--muted); font-size: 13px; line-height: 1.7; }.info-panel .solid-button { margin-top: 16px; }.info-close { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 11px; background: var(--card); color: var(--ink); cursor: pointer; font-size: 20px; }.create-form { padding: 42px 38px 70px; }.create-form h2 { margin: 10px 0 8px; font-size: 36px; letter-spacing: -.04em; }.create-form > p { margin: 0 0 28px; color: var(--muted); line-height: 1.6; }.create-form label { display: grid; gap: 7px; margin-bottom: 16px; color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }.create-form input,.create-form select { width: 100%; min-height: 48px; padding: 0 13px; border: 1px solid var(--line); border-radius: 11px; background: var(--card); color: var(--ink); font: inherit; font-size: 11px; letter-spacing: 0; text-transform: none; outline: 0; }.create-form input:focus,.create-form select:focus { border-color: var(--lime); box-shadow: 0 0 0 3px color-mix(in srgb,var(--lime) 20%,transparent); }.create-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }.create-form .solid-button { width: 100%; margin-top: 8px; }.app-toast { position: fixed; z-index: 140; left: 50%; bottom: 28px; transform: translate(-50%,20px); padding: 13px 18px; border-radius: 12px; background: var(--ink); color: white; box-shadow: 0 14px 40px rgba(4,24,18,.3); font-size: 10px; font-weight: 900; opacity: 0; pointer-events: none; transition: .24s ease; }.app-toast.visible { opacity: 1; transform: translate(-50%,0); }
@keyframes fade-in { from { opacity: 0; } } @keyframes drawer-in { from { transform: translateX(50px); opacity: .6; } }

.teach-mode { position: fixed; z-index: 90; inset: 0; overflow-y: auto; background: var(--paper); color: var(--ink); }.teach-mode > header { position: sticky; top: 0; z-index: 4; height: 84px; padding: 0 4vw; display: grid; grid-template-columns: 180px 1fr 180px; align-items: center; background: var(--ink); color: white; }.teach-mode header > button { justify-self: start; border: 0; background: transparent; color: white; cursor: pointer; font-size: 11px; font-weight: 800; }.teach-mode header div { text-align: center; }.teach-mode header div span { display: block; color: var(--lime); font-size: 8px; font-weight: 900; letter-spacing: .15em; }.teach-mode header div b { display: block; margin-top: 6px; font-size: 15px; }.wake { justify-self: end; color: #9fb1aa; font-size: 9px; }.wake::first-letter { color: var(--lime); }.teach-mode > main { max-width: 1050px; margin: 0 auto; padding: 30px 30px 130px; }.teach-progress { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; color: var(--muted); font-size: 9px; font-weight: 900; }.teach-progress > div { height: 6px; background: var(--line); border-radius: 10px; overflow: hidden; }.teach-progress i { display: block; height: 100%; background: var(--lime); }.teach-list { margin-top: 22px; }.teach-block { min-height: 108px; padding: 16px 20px; display: grid; grid-template-columns: 50px 1fr auto; align-items: center; gap: 18px; border: 1px solid var(--line); background: var(--card); border-radius: 16px; margin-bottom: 10px; }.teach-block.complete { opacity: .52; }.check { width: 48px; height: 48px; border: 2px solid var(--line); border-radius: 14px; background: var(--paper); cursor: pointer; color: #2d6048; font-size: 20px; }.complete .check { background: var(--lime); border-color: var(--lime); }.teach-block span { color: var(--orange); font-size: 8px; font-weight: 900; letter-spacing: .13em; }.teach-block h2 { margin: 7px 0 0; font-size: 21px; letter-spacing: -.03em; }.teach-block p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }.see-tech { min-height: 40px; border: 1px solid var(--line); background: transparent; border-radius: 10px; cursor: pointer; padding: 0 14px; font-size: 9px; font-weight: 900; }.round-timer { padding: 25px; margin-top: 20px; border-radius: 20px; background: var(--ink); color: white; text-align: center; }.round-timer > span { color: var(--lime); font-size: 8px; font-weight: 900; letter-spacing: .16em; }.round-timer h2 { margin: 13px 0 2px; font-size: 72px; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }.round-timer p { color: #9eafa9; font-size: 10px; }.round-timer > div { display: flex; justify-content: center; gap: 9px; margin-top: 16px; }.round-timer button { min-height: 48px; border-radius: 12px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06); color: white; cursor: pointer; padding: 0 18px; }.round-timer .timer-main { min-width: 160px; border: 0; background: var(--lime); color: var(--ink); font-weight: 900; }.teach-mode > footer { position: fixed; z-index: 5; inset: auto 0 0; height: 78px; padding: 0 4vw; display: flex; align-items: center; justify-content: space-between; background: color-mix(in srgb, var(--paper) 92%, transparent); border-top: 1px solid var(--line); backdrop-filter: blur(14px); }.teach-mode footer span { color: var(--muted); font-size: 10px; }.teach-mode footer button { min-height: 48px; border: 0; border-radius: 12px; padding: 0 20px; background: var(--ink); color: white; cursor: pointer; font-size: 10px; font-weight: 900; }.teach-mode footer b { color: var(--lime); margin-left: 15px; }

@media (max-width: 1100px) {
  .hero-main { grid-template-columns: 1.15fr 1fr; gap: 30px; }
  .technique-grid { grid-template-columns: repeat(3,1fr); }
  .curriculum-grid { grid-template-columns: repeat(3,1fr); }
  .tools-grid { grid-template-columns: repeat(2,1fr); }
  .student-stats { grid-template-columns: repeat(2,1fr); }.students-workspace { grid-template-columns: 260px minmax(0,1fr); }.student-analysis-grid { grid-template-columns: 1fr; }
  .rules-grid { grid-template-columns: 1fr; }.age-table-card { grid-template-columns: 1fr; }.age-table { grid-template-columns: repeat(5,1fr); }
}

@media (max-width: 850px) {
  .app-content { margin-left: 0; padding-bottom: 82px; }
  .sidebar { display: none; }
  .mobile-nav { position: fixed; z-index: 60; inset: auto 0 0; min-height: 72px; padding: 7px max(8px, env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)); background: color-mix(in srgb, var(--ink-strong) 95%, transparent); color: #91a39b; backdrop-filter: blur(16px); display: grid; grid-template-columns: repeat(6,1fr); }
  .mobile-nav button { min-height: 54px; border: 0; border-radius: 10px; background: transparent; color: inherit; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; font-size: 8px; font-weight: 900; }
  .mobile-nav button span { font-size: 17px; line-height: 1; }.mobile-nav button.active { color: var(--lime); background: rgba(255,255,255,.07); }
  .topbar { height: 92px; padding-top: 20px; }
  .dashboard-grid, .calendar-layout { grid-template-columns: 1fr; }
  .hero-main { grid-template-columns: 1fr; align-items: start; padding-top: 34px; }
  .hero-techniques { align-self: end; }
  .curriculum-grid { grid-template-columns: repeat(2,1fr); }
  .neural-toolbar { grid-template-columns: 1fr; }.route-planner { grid-template-columns: auto 1fr auto 1fr auto; }
  .neural-detail { grid-template-columns: 1fr 1.5fr; }.route-result { grid-column: 1 / -1; border-top: 1px solid #1f3b31; }.connection-panel { border-right: 0; }
  .position-map { height: 700px; }.position-node { width: 128px; }
  .technique-grid { grid-template-columns: repeat(2,1fr); }
  .library-toolbar { grid-template-columns: 1fr auto; }.search-field { grid-column: 1 / -1; }.modality-toggle { grid-column: 1; grid-row: 2; }.filter-button { grid-column: 2; grid-row: 2; }.type-filters { grid-column: 1 / -1; grid-row: 3; overflow-x: auto; }.filter-pills button { flex: 0 0 auto; }
  .students-workspace { grid-template-columns: 230px minmax(0,1fr); }.student-detail { padding: 22px; }.student-profile-head { flex-direction: column; }.skill-row { grid-template-columns: 1fr .8fr; }.skill-issue { grid-column: 1 / -1; }
  .rules-controls { grid-template-columns: 1fr 1fr; }.rules-controls label:nth-child(2) { border-right: 0; }.age-table { grid-template-columns: repeat(3,1fr); gap: 10px 0; }
}

@media (max-width: 560px) {
  .view { padding: 0 14px 38px; }.topbar { padding-left: 18px; padding-right: 18px; }.topbar h1 { font-size: 21px; }.eyebrow { font-size: 8px; }
  .hero-class { min-height: 610px; border-radius: 20px; }.hero-content { min-height: 610px; padding: 22px 19px; }.hero-overlay { background: linear-gradient(180deg, rgba(9,38,30,.82), rgba(9,38,30,.98) 58%); }.hero-main { gap: 20px; padding: 32px 0 19px; }.hero-main h2 { font-size: 38px; }.hero-techniques button { min-height: 60px; }.hero-actions button { flex: 1; padding: 0 10px; }
  .dashboard-grid { margin-top: 14px; gap: 14px; }.dashboard-grid main, .dashboard-aside { gap: 14px; }.section-card, .quick-add, .focus-card { border-radius: 18px; padding: 20px; }.week-strip { gap: 4px; }.week-strip button { min-height: 67px; border-radius: 10px; }.week-strip button b { font-size: 14px; }.next-class-row { grid-template-columns: 43px 1fr; }.next-class-row button { grid-column: 2; justify-self: start; }.stats-row > div { padding: 0 10px; }.stats-row strong { font-size: 27px; }.stats-row span { font-size: 9px; }
  .page-intro { align-items: flex-start; flex-direction: column; margin-bottom: 22px; }.page-intro h2 { font-size: 37px; }.solid-button { width: 100%; }.timeline-head { grid-template-columns: 1fr; gap: 6px; }.class-row { grid-template-columns: 32px 53px 1fr; padding: 15px 13px; }.class-row .badge, .class-row .mini-play { grid-column: 3; justify-self: start; }.curriculum-grid { grid-template-columns: 1fr 1fr; gap: 8px; }.curriculum-week { min-height: 130px; padding: 13px; }.curriculum-week b { margin-top: 20px; font-size: 13px; }
  .map-legend { display: none; }.neural-toolbar { gap: 8px; }.map-filters { padding: 4px; }.map-filters button { min-height: 36px; padding: 0 11px; }.route-planner { grid-template-columns: 1fr auto 1fr auto; padding-left: 9px; }.route-label { grid-column: 1 / -1; margin: 2px 0 1px; }.route-planner > button { padding: 0 10px; }.position-map { height: 1120px; border-radius: 18px; }.map-band-labels { width: 42px; }.map-band-labels span { font-size: 5px; }.map-network { inset: 0 0 0 42px; }.position-node { left: var(--mx); top: var(--my); width: 112px; min-height: 38px; grid-template-columns: 27px 1fr; gap: 5px; padding: 4px 15px 4px 4px; border-radius: 11px; }.node-orb { width: 27px; height: 27px; }.node-orb i { font-size: 6px; }.node-label b { font-size: 7px; }.position-node > em { width: 17px; height: 17px; font-size: 6px; }.map-status { left: 53px; bottom: 11px; }.map-status em,.map-status b { display: none; }.map-zoom { right: 10px; bottom: 10px; }.neural-detail { grid-template-columns: 1fr; }.selected-position-card,.connection-panel { border-right: 0; border-bottom: 1px solid #1f3b31; }.connection-list { grid-template-columns: 1fr; }.connection-list > button { grid-template-columns: 5px minmax(100px,1fr) 18px; }.connection-list em { display: none; }
  .library-toolbar { grid-template-columns: 1fr auto; }.search-field { grid-column: 1 / -1; }.modality-toggle { grid-column: 1; grid-row: 2; overflow-x: auto; }.modality-toggle > span { display: none; }.modality-toggle button { padding: 0 10px; }.filter-button { grid-column: 2; grid-row: 2; }.type-filters { grid-column: 1 / -1; grid-row: 3; }.filter-pills button { padding: 0 10px; }.technique-grid { grid-template-columns: 1fr; }.tech-image { height: 220px; }
  .tools-grid { grid-template-columns: 1fr; }.tool-card { min-height: 130px; }.backup-card { align-items: flex-start; flex-direction: column; gap: 20px; }.backup-card button { width: 100%; }
  .student-stats { grid-template-columns: 1fr 1fr; gap: 8px; }.student-stats article { min-height: 112px; padding: 15px; }.student-stats b { font-size: 26px; }.students-workspace { display: block; overflow: visible; border: 0; background: transparent; box-shadow: none; }.student-directory { border: 1px solid var(--line); border-radius: 18px; }.student-detail { margin-top: 10px; padding: 17px; border: 1px solid var(--line); border-radius: 18px; }.student-empty { min-height: 280px; }.student-profile-actions { width: 100%; }.student-profile-actions button { flex: 1; }.student-analysis-grid { grid-template-columns: 1fr; }.analysis-score { grid-template-columns: 62px 1fr; }.score-ring { width: 62px; height: 62px; }.skill-row { grid-template-columns: 1fr; }.skill-issue { grid-column: auto; }.student-section-head { align-items: flex-start; gap: 12px; }.student-section-head button { flex: 0 0 auto; }.student-list { max-height: 290px; overflow-y: auto; }
  .rules-notice { grid-template-columns: 34px 1fr; }.rules-notice a { grid-column: 2; }.rules-controls { grid-template-columns: 1fr; }.rules-controls label,.rules-controls label:nth-child(2) { padding: 4px 7px 10px; border-right: 0; border-bottom: 1px solid var(--line); }.rules-controls label:last-child { border-bottom: 0; }.rules-card { padding: 18px; }.legal-columns { grid-template-columns: 1fr; }.weight-table { grid-template-columns: 1fr; }.score-grid { grid-template-columns: repeat(3,1fr); }.age-table-card { padding: 20px; }.age-table { grid-template-columns: 1fr 1fr; }.age-table span { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); padding: 10px 7px; }
  .drawer-media { height: 260px; }.drawer-media video { inset: 14px 14px 27px; width: calc(100% - 28px); height: calc(100% - 41px); }.drawer-body { padding: 22px 18px 42px; }.drawer-title { flex-direction: column; }.drawer-title h2 { font-size: 29px; }.taught { width: 100%; }.coaching-grid { grid-template-columns: 1fr; }.history-row { grid-template-columns: 1fr auto; }.history-row button { grid-column: 1 / -1; justify-self: start; }
  .info-panel { padding: 42px 24px 28px; }.info-panel h2 { font-size: 29px; }.create-form { padding: 28px 18px 50px; }.create-form h2 { font-size: 30px; }.create-grid { grid-template-columns: 1fr; }.app-toast { bottom: 92px; width: max-content; max-width: calc(100% - 32px); text-align: center; }
  .teach-mode > header { height: 86px; padding: 0 16px; grid-template-columns: 65px 1fr 65px; }.teach-mode header div b { font-size: 12px; }.wake { font-size: 0; }.wake::first-letter { font-size: 14px; }.teach-mode > main { padding: 20px 14px 120px; }.teach-block { min-height: 116px; grid-template-columns: 43px 1fr; padding: 14px 13px; gap: 12px; }.check { width: 42px; height: 42px; }.teach-block h2 { font-size: 17px; }.see-tech { grid-column: 2; justify-self: start; }.round-timer h2 { font-size: 58px; }.teach-mode > footer { padding: 0 14px; }.teach-mode footer span { display: none; }.teach-mode footer button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
