/* SS Jena — neon style: purple-magenta header, cyan-pink-yellow gradient titles, gradient tiles,
   coloured stripes on cards, glowing buttons, with a calm readable body. Tuned to the logo navy + red. */
:root {
  --navy: #14205c;
  --navy-2: #1d2b7a;
  --red: #e0263c;
  --purple: #5b1fa8;
  --magenta: #c2188f;
  --pink: #ff3d8b;
  --orange: #ff8a2b;
  --cyan: #19d3e6;
  --yellow: #ffd23f;
  --green: #18a957;
  --ink: #1b1d2e;
  --muted: #5c6080;
  --line: #e4e6f2;
  --bg: #f6f7fc;
  --card: #ffffff;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(20, 32, 92, .08);
  --grad-head: linear-gradient(110deg, #2a1170 0%, var(--purple) 40%, var(--magenta) 100%);
  --grad-title: linear-gradient(90deg, var(--cyan), var(--pink) 55%, var(--yellow));
  --grad-btn: linear-gradient(90deg, var(--pink), var(--orange));
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg); }
h1, h2, h3, h4 { font-family: 'Rubik', system-ui, sans-serif; line-height: 1.2; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--magenta); }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; }
.hide { display: none !important; }

/* ---------- Header ---------- */
.topbar { background: var(--navy); color: #cfd5ff; font-size: .85rem; }
.topbar .wrap { display: flex; gap: 16px; justify-content: space-between; align-items: center; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.site-head { background: var(--grad-head); color: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 4px 20px rgba(91, 31, 168, .35); }
.site-head .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 1.1rem; }
.brand img { height: 44px; width: 44px; border-radius: 10px; background: #fff; padding: 3px; object-fit: contain; }
.brand small { display: block; font-weight: 400; font-size: .72rem; opacity: .85; letter-spacing: .02em; }
.nav { margin-left: auto; display: flex; gap: 2px; align-items: center; flex-wrap: nowrap; }
.brand > span { white-space: nowrap; }
.nav a { color: #fff; text-decoration: none; padding: 8px 7px; border-radius: 10px; font-weight: 600; font-size: .92rem; white-space: nowrap; }
.nav a:hover, .nav a.on { background: rgba(255, 255, 255, .16); }
.nav-toggle { display: none; margin-left: auto; background: rgba(255,255,255,.15); color: #fff; border: 0; border-radius: 10px; padding: 8px 12px; font-size: 1rem; cursor: pointer; }
@media (max-width: 1200px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #3a1490; flex-direction: column; align-items: stretch; padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
}
.announce { background: var(--yellow); color: var(--navy); text-align: center; padding: 8px 16px; font-weight: 700; font-size: .92rem; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none; font-family: 'Rubik', sans-serif; font-weight: 600; font-size: 1rem; padding: 12px 22px; border-radius: 999px; color: #fff; background: var(--grad-btn); box-shadow: 0 6px 22px rgba(255, 61, 139, .45); transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(255, 61, 139, .55); }
.btn.ghost { background: transparent; color: var(--navy); border: 2px solid var(--navy); box-shadow: none; }
.btn.light { background: #fff; color: var(--purple); box-shadow: 0 6px 18px rgba(0,0,0,.15); }
.btn.navy { background: var(--navy); box-shadow: 0 6px 18px rgba(20, 32, 92, .3); }
.btn.green { background: var(--green); box-shadow: 0 6px 18px rgba(24, 169, 87, .35); }
.btn.red { background: var(--red); box-shadow: 0 6px 18px rgba(224, 38, 60, .35); }
.btn.sm { padding: 7px 14px; font-size: .88rem; }
.btn.xs { padding: 4px 10px; font-size: .8rem; box-shadow: none; }
.btns { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.linkbtn { background: none; border: 0; color: var(--magenta); cursor: pointer; padding: 0; font: inherit; text-decoration: underline; }

/* ---------- Hero ---------- */
.hero { background: var(--grad-head); color: #fff; padding: 56px 0 72px; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(25, 211, 230, .45), transparent 65%); }
.hero h1 { color: #fff; }
.hero p.lead { font-size: 1.15rem; max-width: 640px; opacity: .95; }
.grad-text { background: var(--grad-title); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .grid2 { align-items: center; }
.hero-card { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--radius); padding: 22px; backdrop-filter: blur(4px); position: relative; z-index: 1; }
.hero-card h3 { color: #fff; }
.page-head { background: var(--grad-head); color: #fff; padding: 36px 0 40px; }
.page-head h1 { color: #fff; margin: 0; }
.page-head p { margin: 8px 0 0; opacity: .92; max-width: 760px; }

/* ---------- Layout ---------- */
section.block { padding: 48px 0; }
section.block.alt { background: #fff; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .grid3, .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid2, .grid3, .grid4 { grid-template-columns: 1fr; } }
.section-title { margin-bottom: 24px; }
.section-title h2 { display: inline-block; }
.section-title h2::after { content: ''; display: block; height: 5px; width: 70px; margin-top: 8px; border-radius: 5px; background: var(--grad-title); }

/* ---------- Cards and tiles ---------- */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; position: relative; overflow: hidden; border-top: 5px solid var(--purple); }
.card.s-cyan { border-top-color: var(--cyan); } .card.s-pink { border-top-color: var(--pink); } .card.s-yellow { border-top-color: var(--yellow); }
.card.s-orange { border-top-color: var(--orange); } .card.s-navy { border-top-color: var(--navy); } .card.s-red { border-top-color: var(--red); } .card.s-green { border-top-color: var(--green); }
.card.plain { border-top: 0; }
.card h3 { margin-top: 0; }
.tile { border-radius: var(--radius); padding: 22px; color: #fff; text-decoration: none; display: block; box-shadow: var(--shadow); transition: transform .15s; min-height: 140px; }
.tile:hover { transform: translateY(-3px); }
.tile h3 { color: #fff; margin-bottom: 6px; }
.tile p { margin: 0; opacity: .92; font-size: .95rem; }
.tile .ico { font-size: 1.8rem; display: block; margin-bottom: 6px; }
.t1 { background: linear-gradient(135deg, #5b1fa8, #c2188f); }
.t2 { background: linear-gradient(135deg, #0aa6c2, #3b5bdb); }
.t3 { background: linear-gradient(135deg, #ff3d8b, #ff8a2b); }
.t4 { background: linear-gradient(135deg, #14205c, #5b1fa8); }
.t5 { background: linear-gradient(135deg, #18a957, #0aa6c2); }
.t6 { background: linear-gradient(135deg, #e0263c, #ff8a2b); }
.t7 { background: linear-gradient(135deg, #f5b700, #ff6a3d); color: #1b1d2e; } .t7 h3 { color: #1b1d2e; }
.t8 { background: linear-gradient(135deg, #2a1170, #19d3e6); }

.stat { background: #fff; border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); border-left: 6px solid var(--pink); }
.stat b { display: block; font-family: 'Rubik', sans-serif; font-size: 1.8rem; color: var(--navy); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .9rem; }
.stat:nth-child(4n+2) { border-left-color: var(--cyan); } .stat:nth-child(4n+3) { border-left-color: var(--yellow); } .stat:nth-child(4n+4) { border-left-color: var(--purple); }
a.stat { text-decoration: none; color: inherit; display: block; }

.person { text-align: center; }
.person img, .avatar { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; border: 5px solid #fff; box-shadow: 0 0 0 4px var(--pink), var(--shadow); background: linear-gradient(135deg, #eee, #ddd); }
.avatar { display: inline-flex; align-items: center; justify-content: center; font-family: 'Rubik'; font-size: 3rem; color: #fff; background: var(--grad-head); }
.quote { font-size: 1.02rem; }
.quote::before { content: '“'; font-family: Georgia, serif; font-size: 3rem; line-height: 0; vertical-align: -0.4em; color: var(--pink); margin-right: 4px; }
.tag { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #f0eafc; color: var(--purple); font-size: .78rem; font-weight: 700; margin: 0 4px 4px 0; }
.tag.red { background: #ffe5e8; color: var(--red); } .tag.yellow { background: #fff4cf; color: #8a6400; } .tag.green { background: #e1f6ea; color: #0f7a3d; } .tag.cyan { background: #dff7fa; color: #08717e; } .tag.navy { background: #e5e8f7; color: var(--navy); }
.post-cover { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; margin-bottom: 12px; background: #eee; }
.article { background: #fff; border-radius: var(--radius); padding: clamp(18px, 4vw, 40px); box-shadow: var(--shadow); max-width: 820px; margin: 0 auto; font-size: 1.07rem; }
.article h2 { margin-top: 1.4em; }
.locked { background: linear-gradient(180deg, rgba(255,255,255,0), #fff 60%); border: 2px dashed var(--pink); border-radius: var(--radius); padding: 24px; text-align: center; }
.video { position: relative; padding-top: 56.25%; border-radius: 12px; overflow: hidden; margin-bottom: 16px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Forms ---------- */
form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
form .row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 640px) { form .row, form .row3 { grid-template-columns: 1fr; } }
label { display: block; font-weight: 700; font-size: .9rem; margin: 0 0 4px; color: var(--navy); }
.field { margin-bottom: 14px; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=date], input[type=time], input[type=datetime-local], input[type=search], input[type=url], select, textarea {
  width: 100%; padding: 11px 12px; border: 1.5px solid #cfd3e6; border-radius: 10px; font: inherit; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(91, 31, 168, .15); }
textarea { resize: vertical; }
.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.check input { margin-top: 5px; width: 18px; height: 18px; flex: none; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.inline-form { display: inline; }
.form-card { max-width: 560px; margin: 0 auto; }
fieldset { border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 0 0 16px; }
legend { font-family: 'Rubik'; font-weight: 600; color: var(--purple); padding: 0 6px; }

/* ---------- Flash ---------- */
.flash { padding: 12px 16px; border-radius: 12px; margin: 16px 0; font-weight: 600; }
.flash.ok { background: #e1f6ea; color: #0f6a35; border: 1px solid #b6e6c9; }
.flash.error { background: #ffe5e8; color: #a3122a; border: 1px solid #f7bcc5; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #f2f0fb; color: var(--navy); font-family: 'Rubik'; font-weight: 600; white-space: nowrap; }
tr:hover td { background: #fbfaff; }
td.num, th.num { text-align: right; white-space: nowrap; }

/* ---------- Health check ---------- */
.hc-item { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); }
@media (max-width: 760px) { .hc-item { grid-template-columns: 1fr 1fr; } .hc-item .hc-label { grid-column: 1 / -1; } }
.hc-label { font-weight: 700; }
.seg { display: inline-flex; border-radius: 999px; overflow: hidden; border: 1.5px solid #cfd3e6; }
.seg input { display: none; }
.seg label { margin: 0; padding: 6px 12px; cursor: pointer; font-size: .85rem; color: var(--muted); background: #fff; }
.seg input:checked + label { background: var(--purple); color: #fff; }
.zone { border-radius: var(--radius); padding: 24px; color: #fff; }
.zone.Red { background: linear-gradient(135deg, #b3122a, #ff3d5c); }
.zone.Yellow { background: linear-gradient(135deg, #c98a00, #ffc93f); color: #2b2100; } .zone.Yellow h2, .zone.Yellow h3 { color: #2b2100; }
.zone.Green { background: linear-gradient(135deg, #0f7a3d, #2fd17a); }
.zone h2, .zone h3 { color: #fff; }
.meter { height: 14px; border-radius: 999px; background: #eceef7; overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 999px; }
.meter i.Red { background: var(--red); } .meter i.Yellow { background: #f2b600; } .meter i.Green { background: var(--green); }
.big-score { font-family: 'Rubik'; font-size: 4rem; font-weight: 700; line-height: 1; }

/* ---------- Footer ---------- */
.site-foot { background: var(--navy); color: #c9cff5; padding: 40px 0 24px; margin-top: 40px; font-size: .93rem; }
.site-foot h4 { color: #fff; }
.site-foot a { color: #fff; text-decoration: none; display: block; padding: 2px 0; }
.site-foot .legal { border-top: 1px solid rgba(255,255,255,.15); margin-top: 24px; padding-top: 16px; font-size: .82rem; color: #a7aedb; }
.wa-float { position: fixed; right: 16px; bottom: 16px; background: #25d366; color: #fff; border-radius: 999px; padding: 12px 18px; font-weight: 700; text-decoration: none; box-shadow: 0 8px 24px rgba(37, 211, 102, .45); z-index: 60; }

/* ---------- App shell ---------- */
.app { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.side { background: linear-gradient(180deg, #1a0d55, #3b1590 60%, #6a1a9a); color: #fff; padding: 16px 12px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.side .brand { margin-bottom: 14px; padding: 0 6px; }
.side h5 { margin: 14px 8px 4px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #c8b9ff; font-family: 'Rubik'; }
.side a { display: block; color: #fff; text-decoration: none; padding: 7px 10px; border-radius: 9px; font-size: .93rem; }
.side a:hover, .side a.on { background: rgba(255,255,255,.14); }
.side a.on { box-shadow: inset 4px 0 0 var(--pink); }
.main { padding: 0 0 40px; min-width: 0; }
.appbar { background: #fff; border-bottom: 1px solid var(--line); padding: 10px 20px; display: flex; gap: 12px; align-items: center; position: sticky; top: 0; z-index: 20; }
.appbar form { flex: 1; max-width: 420px; }
.appbar .who { margin-left: auto; display: flex; gap: 10px; align-items: center; font-size: .9rem; }
.app-content { padding: 20px; }
.app-content h1 { font-size: 1.7rem; }
.side-toggle { display: none; }
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .side { position: fixed; left: -260px; width: 250px; z-index: 80; transition: left .2s; }
  .side.open { left: 0; box-shadow: 10px 0 30px rgba(0,0,0,.3); }
  .side-toggle { display: inline-block; background: var(--purple); color: #fff; border: 0; border-radius: 8px; padding: 6px 12px; font-size: 1rem; }
  .appbar .who span { display: none; }
}
.panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; margin-bottom: 18px; }
.panel h2 { font-size: 1.2rem; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: 9px 0; border-bottom: 1px solid var(--line); display: flex; gap: 10px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.list li:last-child { border-bottom: 0; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.tabs a { padding: 7px 14px; border-radius: 999px; background: #fff; text-decoration: none; color: var(--navy); font-weight: 700; font-size: .9rem; box-shadow: var(--shadow); }
.tabs a.on { background: var(--grad-head); color: #fff; }
.kanban { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 12px; }
.kcol { flex: 0 0 240px; background: #eef0fa; border-radius: 14px; padding: 10px; }
.kcol h4 { font-size: .9rem; margin: 2px 4px 8px; display: flex; justify-content: space-between; }
.kcard { background: #fff; border-radius: 10px; padding: 10px; margin-bottom: 8px; box-shadow: 0 2px 8px rgba(20,32,92,.06); border-left: 4px solid var(--pink); font-size: .9rem; }
.kcard a { font-weight: 700; color: var(--navy); text-decoration: none; }
.kcard select { padding: 4px 6px; font-size: .8rem; margin-top: 6px; }
details summary { cursor: pointer; font-weight: 700; color: var(--purple); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; margin-bottom: 14px; }
.filters > * { flex: 1 1 150px; }
.filters .btn { flex: 0 0 auto; }
.alert { background: #fff4cf; border-left: 5px solid #f2b600; padding: 10px 14px; border-radius: 10px; margin-bottom: 8px; }
.bar { height: 10px; background: #eceef7; border-radius: 999px; overflow: hidden; min-width: 80px; }
.bar i { display: block; height: 100%; background: var(--grad-btn); }
.task-done { text-decoration: line-through; color: var(--muted); }
.pill-high { color: var(--red); font-weight: 800; }
.soon { opacity: .55; }
@media print { .noprint, .tabs, .alert .noprint { display: none !important; } .panel { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; } .site-head, .site-foot, .side, .appbar, .wa-float, .btn { display: none !important; } .app { display: block; } }

/* ---- Dashboards ---- */
.dash-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.dash-tabs a { padding: 7px 14px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); font-weight: 700; font-size: .9rem; color: var(--navy); text-decoration: none; }
.dash-tabs a.on { background: var(--grad-btn); color: #fff; }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpis .stat b { font-size: 1.45rem; }
.kpis .stat small { display: block; color: var(--muted); font-size: .78rem; margin-top: 2px; }
.hbars { display: grid; gap: 6px; }
.hb { display: grid; grid-template-columns: minmax(90px, 34%) 1fr auto; gap: 8px; align-items: center; font-size: .88rem; }
.hb-k { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-bar { height: 12px; background: #eceef7; border-radius: 999px; overflow: hidden; }
.hb-bar i { display: block; height: 100%; background: var(--grad-btn); border-radius: 999px; }
.hb-v { font-weight: 700; white-space: nowrap; }
.vbars { display: flex; align-items: flex-end; gap: 4px; overflow-x: auto; padding-top: 4px; }
.vb { flex: 1 0 22px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; font-size: .7rem; }
.vb i { display: block; width: 70%; background: var(--grad-btn); border-radius: 4px 4px 0 0; }
.vb-k { color: var(--muted); margin-top: 3px; white-space: nowrap; }
.vb-v { color: var(--navy); font-weight: 700; margin-bottom: 2px; white-space: nowrap; }
table.heat td { text-align: center; font-size: .8rem; min-width: 30px; padding: 6px 4px; }
table.heat th { font-size: .78rem; padding: 6px 4px; }
.insights { border-left: 6px solid var(--navy); }
.insights li { margin-bottom: 7px; }
.ideas { border-left: 6px solid var(--green); }
.ideas li { margin-bottom: 7px; }
.funnel-step { display: grid; grid-template-columns: 170px 1fr 70px; gap: 10px; align-items: center; margin-bottom: 6px; }
.funnel-step .f-bar { height: 26px; background: var(--grad-btn); border-radius: 6px; min-width: 4px; }
.funnel-drop { font-size: .8rem; color: var(--muted); margin: -2px 0 6px 180px; }
@media (max-width: 640px) { .funnel-step { grid-template-columns: 110px 1fr 50px; } .funnel-drop { margin-left: 120px; } }

/* ---- Awards ---- */
.award-card { display: block; text-decoration: none; color: inherit; transition: transform .15s; }
.award-card:hover { transform: translateY(-3px); }
.award-img { position: relative; margin: -20px -20px 0; aspect-ratio: 4 / 3; background: #f3f4fa; overflow: hidden; }
.award-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.award-noimg { display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.award-count { position: absolute; right: 10px; bottom: 10px; background: rgba(27,31,75,.8); color: #fff; font-size: .75rem; padding: 3px 8px; border-radius: 999px; }
.timeline { position: relative; margin-left: 10px; border-left: 3px solid #ece7ff; padding-left: 22px; }
.tl-year { margin: 22px 0 10px -40px; } .tl-year span { background: var(--grad-btn); color: #fff; font-weight: 800; padding: 6px 14px; border-radius: 999px; font-family: 'Rubik', sans-serif; }
.tl-item { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 12px; margin-bottom: 12px; text-decoration: none; color: inherit; }
.tl-item img { width: 110px; height: 82px; object-fit: cover; border-radius: 10px; flex: none; }
.tl-icon { width: 110px; height: 82px; display: flex; align-items: center; justify-content: center; font-size: 2rem; background: #f6f3ff; border-radius: 10px; flex: none; }
.award-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.award-gallery a { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 1; background: #f3f4fa; }
.award-gallery a.big { grid-column: span 2; grid-row: span 2; }
.award-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lightbox { position: fixed; inset: 0; background: rgba(10,12,30,.92); display: flex; align-items: center; justify-content: center; z-index: 1000; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.15); color: #fff; border: 0; font-size: 2.2rem; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; }
.lb-close { top: 16px; right: 16px; } .lb-prev { left: 16px; } .lb-next { right: 16px; }
@media (max-width: 640px) { .award-gallery { grid-template-columns: repeat(2, 1fr); } .tl-item img, .tl-icon { width: 80px; height: 64px; } .timeline { padding-left: 14px; } .tl-year { margin-left: -30px; } }

/* ---- Call to action, Academy ---- */
.cta-box { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; background: linear-gradient(120deg, #fff6fb, #f1fbff); border: 2px solid #ffd3e8; border-radius: 18px; padding: 20px; margin: 26px 0; }
.cta-box.digital { background: linear-gradient(120deg, #eef7ff, #f1fffb); border-color: #c9e8ff; }
.cta-box h3 { margin: 0 0 6px; }
.cta-form { display: grid; gap: 8px; align-content: start; }
.cta-form input[type=text], .cta-form input[type=tel] { width: 100%; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 760px) { .cta-box { grid-template-columns: 1fr; } }
.legal-note { margin-top: 18px; line-height: 1.5; }
.ac-tracks { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.ac-tracks a, .ac-stages a { padding: 8px 14px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); text-decoration: none; color: var(--navy); font-weight: 700; font-size: .92rem; }
.ac-tracks a.on, .ac-stages a.on { background: var(--grad-btn); color: #fff; }
.ac-stages { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 18px; } .ac-stages a { font-size: .82rem; padding: 6px 12px; font-weight: 600; }
.ac-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.ac-card .ico { font-size: 2rem; }
.ac-card .meta { margin-top: auto; font-size: .85rem; color: var(--muted); }
.ac-lessons li { margin-bottom: 8px; }
.ac-progress { height: 8px; background: #eceef7; border-radius: 999px; overflow: hidden; margin: 6px 0; } .ac-progress i { display: block; height: 100%; background: var(--grad-btn); }
.ac-q { background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 16px; margin-bottom: 12px; }
.ac-q label.check { display: flex; gap: 8px; margin: 6px 0; align-items: flex-start; }
.ac-score { font-family: 'Rubik', sans-serif; font-size: 3rem; font-weight: 800; color: var(--navy); }
.smart-badge { display: inline-flex; align-items: center; gap: 10px; background: var(--grad-btn); color: #fff; padding: 10px 16px; border-radius: 14px; font-weight: 700; }
.lang-switch a { padding: 4px 10px; border-radius: 999px; border: 1px solid #ddd; text-decoration: none; margin-right: 4px; font-size: .85rem; color: var(--navy); }
.lang-switch a.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.expert-bar { display: none; }
@media (max-width: 760px) {
  .expert-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #1b1f4b; box-shadow: 0 -4px 14px rgba(0,0,0,.2); }
  .expert-bar a { flex: 1; text-align: center; color: #fff; padding: 12px 4px; font-weight: 700; text-decoration: none; font-size: .9rem; }
  .expert-bar a + a { border-left: 1px solid rgba(255,255,255,.15); }
  .wa-float { display: none !important; }
  body { padding-bottom: 52px; }
}

/* ---- Edit mode ---- */
.edit-bar { position: fixed; left: 16px; bottom: 16px; z-index: 900; background: #1b1f4b; color: #fff; border-radius: 14px; padding: 8px 12px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; box-shadow: 0 6px 20px rgba(0,0,0,.25); max-width: calc(100vw - 32px); font-size: .88rem; }
.edit-bar a { color: #fff; font-weight: 700; text-decoration: none; background: rgba(255,255,255,.12); padding: 6px 10px; border-radius: 8px; }
.edit-bar a.done { background: var(--green, #1a9e5a); }
.ed { outline: 2px dashed rgba(255,61,139,.75); outline-offset: 2px; cursor: pointer; border-radius: 3px; }
.ed:hover, .ed-img:hover { background: rgba(255,61,139,.12); }
.ed-img { outline: 3px dashed rgba(25,211,230,.9); outline-offset: 2px; cursor: pointer; }
.ed-modal { position: fixed; inset: 0; background: rgba(10,12,30,.55); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.ed-modal[hidden] { display: none; }
.ed-box { background: #fff; border-radius: 16px; padding: 18px; width: min(620px, 100%); max-height: 90vh; overflow: auto; color: #1b1f4b; }
.ed-box textarea, .ed-box input[type=text] { width: 100%; }
.ed-box label { display: block; font-weight: 700; font-size: .85rem; margin-top: 8px; }
.ed-msg { color: var(--red); font-weight: 700; }
@media (max-width: 760px) { .edit-bar { bottom: 60px; } }

/* ---- Visitor pop-up ---- */
.lp { position: fixed; inset: 0; z-index: 950; background: rgba(10,12,30,.45); display: flex; align-items: center; justify-content: center; padding: 16px; }
.lp[hidden] { display: none; }
.lp-box { position: relative; background: #fff; border-radius: 18px; padding: 22px; width: min(440px, 100%); max-height: 92vh; overflow: auto; box-shadow: 0 20px 60px rgba(0,0,0,.3); border-top: 6px solid var(--pink); }
.lp-box h3 { margin: 0 24px 6px 0; }
.lp-box form { display: grid; gap: 8px; }
.lp-box input[type=text], .lp-box input[type=tel], .lp-box input[type=email], .lp-box select { width: 100%; }
.lp-x { position: absolute; top: 8px; right: 10px; border: 0; background: #f1f2f8; width: 34px; height: 34px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; }
.lp-notice { font-size: .75rem; color: var(--muted); margin: 2px 0; line-height: 1.4; }
.lp-err { color: var(--red); font-weight: 700; margin: 0; font-size: .85rem; }
@media (max-width: 640px) {
  .lp { align-items: flex-end; padding: 0; background: rgba(10,12,30,.25); }
  .lp-box { width: 100%; border-radius: 18px 18px 0 0; max-height: 80vh; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); }
}
@media print { .lp, .edit-bar, .expert-bar { display: none !important; } }
