/* Capoeira Læring: shared navigation, reading rhythm and responsive layout. */
:root {
  --bg: #151c19;
  --panel: #1d2621;
  --panel2: #253129;
  --line: #35423a;
  --text: #f6f4ea;
  --muted: #afb9ae;
  --green: #bed89c;
  --gold: #e8c664;
  --radius: 18px;
  color-scheme: dark;
}
body { background: var(--bg); }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a, button { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
[hidden] { display: none !important; }
svg.icon { flex-shrink: 0; }
#sidebar { width: 246px; height: 100dvh; padding: 26px 16px 16px; background: #101a15; border-right: 1px solid #2b382f; gap: 0; z-index: 60; overflow: hidden; }
.sidebar-head { display: flex; align-items: center; flex: 0 0 auto; padding: 0 8px 22px; }
.nv-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); }
.nv-brand img { width: 48px; height: 48px; object-fit: contain; background: white; border-radius: 13px; }
.nv-brand > span { font-family: Manrope, sans-serif; font-size: 1rem; font-weight: 800; letter-spacing: -.04em; white-space: nowrap; }
.nv-brand b { color: var(--gold); }
.nv-brand small { display: block; font-family: 'DM Sans',sans-serif; font-size: .7rem; letter-spacing: .04em; font-weight: 450; color: var(--muted); margin-top: 4px; }
.nv-navigation { min-height: 0; flex: 1; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #35423a transparent; padding-right: 3px; }
.nav-section + .nav-section { margin-top: 22px; }
#sidebar .nav-label { margin: 0 12px 7px; font-size: .64rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: #91a18f; }
#sidebar nav a { display: flex; align-items: center; gap: 11px; min-height: 42px; padding: 10px 12px; margin: 2px 0; border: 1px solid transparent; border-radius: 10px; font-size: .86rem; color: #bcc6bb; text-decoration: none; font-weight: 500; transition: background .15s, color .15s; }
#sidebar nav a .icon { width: 18px; height: 18px; color: #94a78f; }
#sidebar nav a:hover { background: #1d2b22; color: white; }
#sidebar nav a.active { background: #2b3b29; border-color: #44553a; color: #eef3e6; box-shadow: inset 3px 0 var(--gold); }
#sidebar nav a.active .icon { color: var(--gold); }
.nv-utilities { flex: 0 0 auto; border-top: 1px solid #2b382f; padding-top: 10px; margin-top: 18px; }
#sidebar .nv-utilities a { min-height: 38px; padding: 8px 12px; font-size: .79rem; }
.nav-close { display: none; }
.workspace { margin-left: 246px; }
#topbar { height: 76px; padding: 0 clamp(24px, 3.3vw, 58px); border-bottom: 1px solid #2b382f; gap: 16px; background: var(--bg); }
.nv-breadcrumb { display: flex; align-items: center; gap: 13px; min-width: 0; font-size: .8rem; color: var(--muted); }
.nv-breadcrumb > span:first-child { color: #91a18f; }
.nv-breadcrumb strong { font-weight: 500; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#topbar .top-search { margin-left: auto; display: flex; align-items: center; gap: 9px; min-height: 40px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; background: var(--panel); color: var(--muted); font-size: .8rem; flex-shrink: 0; }
.top-search svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.top-search kbd { font: inherit; font-size: .65rem; color: #98a594; border: 1px solid var(--line); border-radius: 4px; padding: 1px 4px; margin-left: 12px; }
.mobile-menu { display: none; }
#main { padding: 34px clamp(24px, 3.3vw, 58px) 48px; max-width: 1440px; margin: 0 auto; min-width: 0; }
#main:focus { outline: none; }
.workspace > footer { max-width: 1440px; margin: 0 auto; padding: 24px clamp(24px, 3.3vw, 58px); border-top: 1px solid #2b382f; font-size: .75rem; color: #99a796; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.workspace > footer a { color: var(--muted); }
.page-heading { margin-bottom: 26px; align-items: center; gap: 20px; }
.page-heading h1 { font-size: clamp(1.8rem, 3.1vw, 2.6rem); line-height: 1.15; letter-spacing: -.045em; }
.page-heading p { max-width: 64ch; line-height: 1.65; margin-top: 12px; }
.eyebrow { color: var(--muted); font-size: .66rem; letter-spacing: .14em; line-height: 1.7; }
h2, h3 { letter-spacing: -.035em; }
.section-head h2 { font-size: 1.35rem; }
.section-head p { margin-top: 6px; }
.btn { min-height: 46px; border-radius: 10px; background: var(--gold); color: #192017; border: 1px solid transparent; font-weight: 650; box-shadow: none; }
.btn:hover { background: #f2d887; transform: none; }
.btn.secondary { background: #253129; color: var(--text); border-color: var(--line); }
.btn.secondary:hover { background: #304034; }
.textlink { color: var(--gold); }
.filters { gap: 8px; }
.filters button { min-height: 40px; border-radius: 9px; }
.filters button.active { background: #34442c; border-color: #8caa68; color: #e7f0d9; }
input.search, input[type=search], select { min-height: 44px; border-radius: 10px; }
.panel { border-radius: var(--radius); }
.notice { line-height: 1.7; }
.context-nav { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid var(--line); padding: 0 0 16px; margin: -3px 0 28px; }
.context-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; border-radius: 9px; border: 1px solid transparent; padding: 9px 15px; text-decoration: none; color: var(--muted); font-size: .83rem; font-weight: 500; }
.context-nav a:hover { background: var(--panel2); color: var(--text); }
.context-nav a.active { background: #2c3d2c; border-color: #425a3b; color: #dbebc6; }
.nv-practice-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; margin: -8px 0 24px; font-size: .8rem; }
.nv-practice-links > span { color: var(--muted); }
.nv-practice-links > a { display: inline-flex; align-items: center; min-height: 44px; color: var(--gold); text-decoration: none; }
.nv-practice-links > a:hover { text-decoration: underline; }
.app-icon-preview { background: white; border-radius: 24px; overflow: hidden; }
.app-icon-preview img { width: 100%; height: 100%; object-fit: contain; display: block; }
/* A calm starting point with one next step and three subject areas. */
.nv-welcome { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 19px; }
.nv-language-note { font-size: .75rem; color: #98a594; }
.nv-hero { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 32px; padding: clamp(28px, 3.4vw, 52px); background: #213226; border: 1px solid #3d5239; border-radius: 24px; overflow: hidden; }
.nv-hero h1 { font-family: Manrope,sans-serif; font-size: clamp(2.8rem, 4.2vw, 4.7rem); font-weight: 750; line-height: 1.04; letter-spacing: -.06em; margin: 0 0 18px; }
.nv-hero-copy > p { color: #c3cdbf; line-height: 1.75; font-size: .95rem; }
.nv-next { border-top: 1px solid #41553c; padding-top: 22px; margin-top: 26px; max-width: 430px; }
.nv-next .eyebrow { color: #cfdbbe; font-size: .61rem; }
.nv-next h2 { font-size: 1.1rem; margin: 5px 0 7px; }
.nv-next p { margin: 0; font-size: .85rem; color: #b4c2ae; line-height: 1.65; }
.nv-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px 22px; margin-top: 22px; }
.nv-hero-actions .textlink { font-size: .8rem; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }
.nv-hero-identity { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.nv-logo-stage { width: min(100%, 320px); aspect-ratio: 1; border-radius: 50%; background: white; border: 10px solid #f5f2e6; box-shadow: 0 0 0 1px #576347, 0 0 0 16px #31412c, 0 0 0 17px #445338; overflow: hidden; }
.nv-logo-stage img { display: block; width: 100%; height: 100%; object-fit: contain; }
.nv-hero-identity > span { font-size: .55rem; font-weight: 600; letter-spacing: .19em; color: #c3d2b3; margin-top: 8px; }
.nv-progress { display: flex; align-items: center; gap: 28px; padding: 20px 2px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.nv-progress > div:first-child { display: flex; flex-direction: column; gap: 4px; flex-shrink: 0; }
.nv-progress-label { font-size: .73rem; color: var(--muted); }
.nv-progress strong { font-size: 1rem; font-weight: 600; }
.nv-progress strong span { font-size: .78rem; font-weight: 400; color: var(--muted); }
.nv-progress-track { display: flex; gap: 6px; flex: 1; max-width: 350px; }
.nv-progress-track span { height: 7px; background: #334237; border-radius: 4px; flex: 1; }
.nv-progress-track span.done { background: var(--green); }
.nv-progress > a { display: flex; align-items: center; gap: 10px; margin-left: auto; font-size: .77rem; color: var(--muted); text-decoration: none; min-height: 44px; }
.nv-progress > a:hover { color: var(--gold); }
.nv-explore .section-head { margin-bottom: 19px; }
.nv-explore .section-head p { font-size: .82rem; }
.nv-areas { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.nv-area { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); color: var(--text); text-decoration: none; transition: border-color .15s, background .15s; }
.nv-area:hover { border-color: #809368; background: #253329; }
.nv-area-top { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.nv-area-top .eyebrow { font-size: .59rem; letter-spacing: .11em; }
.nv-area-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #344a32; color: #c4de9d; }
.nv-area-icon .icon { width: 24px; height: 24px; }
.nv-area-music .nv-area-icon { background: #4b4129; color: #eed17d; }
.nv-area-language .nv-area-icon { background: #313d4c; color: #b9d0e0; }
.nv-area h3 { font-size: 1.16rem; margin: 0 0 10px; }
.nv-area p { font-size: .83rem; color: var(--muted); line-height: 1.7; margin: 0 0 22px; }
.nv-area-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .75rem; color: #dce6d0; margin-top: auto; }
.nv-area-link .icon { width: 17px; height: 17px; }
.nv-quick-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 20px; }
.nv-quick-links a { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); text-decoration: none; }
.nv-quick-links a:hover { background: var(--panel); border-color: #6c805f; }
.nv-quick-icon { color: var(--muted); display: flex; }
.nv-quick-links strong { font-size: .83rem; font-weight: 550; display: block; }
.nv-quick-links small { display: block; font-size: .72rem; color: var(--muted); margin-top: 5px; }
.nv-quick-links a > .icon { margin-left: auto; color: #8a9d80; width: 17px; }
.nv-save-note { font-size: .7rem; color: #96a490; text-align: center; margin: 23px 0 0; }
#nav-backdrop { position: fixed; inset: 0; background: #07110bc9; border: 0; z-index: 50; cursor: pointer; backdrop-filter: blur(3px); }
@media(min-width:961px) and (max-height:800px) {
  #sidebar { padding-top: 18px; }
  .sidebar-head { padding-bottom: 15px; }
  .nav-section + .nav-section { margin-top: 7px; }
  #sidebar nav a { min-height: 34px; padding-top: 5px; padding-bottom: 5px; }
  .nv-utilities { margin-top: 12px; }
}
@media(max-width:1100px) and (min-width:961px) {
  .nv-hero { gap: 25px; padding: 28px; }
  .nv-hero h1 { font-size: 3rem; }
  .nv-area { padding: 18px; }
}
@media(max-width:960px) {
  #sidebar { width: min(310px, calc(100vw - 38px)); transform: translateX(-100%); transition: transform .2s; box-shadow: none; }
  #sidebar.open { transform: translateX(0); box-shadow: 15px 0 80px #0005; }
  .workspace { margin-left: 0; }
  #topbar { height: 68px; padding: 0 24px; justify-content: flex-start; }
  .mobile-menu, .nav-close { display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; background: transparent; color: var(--text); width: 44px; height: 44px; flex-shrink: 0; padding: 0; }
  .nav-close { margin-left: auto; width: 40px; height: 40px; }
  .sidebar-head { gap: 8px; padding-left: 5px; padding-right: 0; }
  .nv-brand img { width: 43px; height: 43px; }
  .nav-is-open { overflow: hidden; }
  .nv-breadcrumb > span { display: none; }
  #main { padding: 28px 24px 40px; }
  .workspace > footer { padding: 22px 24px; }
  #sidebar nav a { min-height: 44px; }
}
@media(max-width:650px) {
  #topbar { padding: 0 16px; gap: 12px; }
  #main { padding: 24px 16px 32px; }
  .workspace > footer { padding: 20px 16px; }
  #topbar .top-search { padding: 10px; min-width: 44px; min-height: 44px; justify-content: center; }
  .top-search kbd, .top-search > span { display: none; }
  .nv-breadcrumb { font-size: .8rem; }
  .page-heading { margin-bottom: 22px; }
  .page-heading h1 { font-size: 2rem; }
  .page-heading p { font-size: .88rem; }
  .context-nav { gap: 4px; margin-bottom: 22px; padding-bottom: 12px; }
  .context-nav a { min-height: 44px; padding: 8px 11px; font-size: .75rem; }
  .nv-welcome { margin-bottom: 14px; }
  .nv-language-note { display: none; }
  .nv-hero { grid-template-columns: 1fr; padding: 26px 24px; gap: 24px; border-radius: 20px; }
  .nv-hero-identity { grid-row: 1; gap: 0; }
  .nv-logo-stage { width: 145px; border-width: 5px; box-shadow: 0 0 0 1px #576347, 0 0 0 8px #31412c, 0 0 0 9px #445338; }
  .nv-hero-identity > span { display: none; }
  .nv-hero h1 { font-size: 2.8rem; margin-bottom: 14px; }
  .nv-hero-copy > p { font-size: .87rem; }
  .nv-next { margin-top: 22px; padding-top: 18px; }
  .nv-next h2 { font-size: 1rem; }
  .nv-next p { font-size: .8rem; }
  .nv-hero-actions { gap: 4px; flex-direction: column; align-items: stretch; margin-top: 20px; }
  .nv-hero-actions .btn, .nv-hero-actions .textlink { justify-content: center; }
  .nv-progress { gap: 15px; flex-wrap: wrap; padding: 18px 0; margin-bottom: 25px; }
  .nv-progress-track { max-width: none; min-width: 90px; }
  .nv-progress > a { width: 100%; margin: -3px 0 -10px; font-size: .73rem; }
  .nv-areas { grid-template-columns: 1fr; gap: 12px; }
  .nv-area { padding: 21px; }
  .nv-area-top { margin-bottom: 15px; }
  .nv-area p { margin-bottom: 16px; }
  .nv-quick-links { grid-template-columns: 1fr; gap: 12px; }
  .nv-save-note { line-height: 1.7; }
}
@media(max-width:960px) and (max-height:850px) {
  #sidebar { padding-top: 22px; }
  .sidebar-head { padding-bottom: 16px; }
  .nav-section + .nav-section { margin-top: 12px; }
}
@media(prefers-reduced-motion:reduce) {
  #sidebar, .nv-area, #sidebar nav a { transition: none; }
  html { scroll-behavior: auto; }
}

/* Neutral learning identity. */
.nv-brand img{background:transparent}.nv-logo-stage img{border-radius:24%;box-shadow:0 24px 70px #0003}.nv-brand b{color:var(--green)}

:root{--bg:#171d22;--panel:#20282e;--panel2:#29333b;--line:#3b464d;--muted:#b0bdc4}#sidebar{background:#121b20;border-right-color:#303c44}.nv-navigation a.active{border-color:#586f75}.nv-brand small{letter-spacing:0}.nv-hero-identity{background:radial-gradient(ellipse at center,#adcbd314,transparent 70%)}

/* The learning overview uses a book tile, not the former club crest treatment. */
:root{--gold:#b5d4e7}
#sidebar nav a.active{background:#243b47;border-color:#476477;box-shadow:inset 3px 0 #a9d0df;color:#f0f6fa}
.nv-hero{background:linear-gradient(125deg,#23343f,#1d2c35);border-color:#405765}
.nv-hero-copy>p{color:#c3d0d7}
.nv-logo-stage{width:min(100%,230px);border:0;border-radius:24%;background:transparent;box-shadow:none;overflow:visible}
.nv-logo-stage img{border-radius:24%;box-shadow:0 20px 65px #0002}
.nv-hero-identity>span{color:#b6ceda;letter-spacing:.14em}
.nv-hero .btn{background:#b5dce5;border-color:#b5dce5;color:#19313b}
.nv-hero .btn:hover{background:#cce8ef}
.nv-hero .textlink{color:#b5dce5}
@media(max-width:680px){.nv-logo-stage{width:120px;border:0;box-shadow:none}}
