/* Seplo — sdílené styly pro nové stránky (registrace, student, kredity) */
:root{
  --paper:#FAF8F2; --paper-2:#F3F1EA; --ink:#1C1C1C; --ink-soft:#2E2E2E;
  --yellow:#FFD64F; --yellow-deep:#F2BE2E; --yellow-pale:#FFEFB0;
  --text:#1C1C1C; --text-muted:#68675F;
  --line:rgba(28,28,28,0.12); --line-strong:rgba(28,28,28,0.22);
  --green:#3FA66B; --red:#B8362A; --radius:8px;
  --hard:6px 6px 0 var(--ink); --hard-sm:4px 4px 0 var(--ink);
}
*{box-sizing:border-box; margin:0; padding:0;}
[hidden]{display:none !important;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.01ms !important; transition-duration:0.01ms !important; scroll-behavior:auto !important;}
}
body{
  background:var(--paper);
  background-image:radial-gradient(var(--line-strong) 1px, transparent 1px);
  background-size:26px 26px;
  color:var(--text); font-family:'Inter',sans-serif; line-height:1.55; -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{font-family:'Seplo Display',sans-serif; letter-spacing:-0.01em; line-height:1.12;}
a{color:inherit; text-decoration:none;}
img,svg{display:block;}
ul{list-style:none;}
.wrap{max-width:1180px; margin:0 auto; padding:0 28px;}
::selection{background:var(--yellow); color:var(--ink);}
a:focus-visible, button:focus-visible{outline:3px solid var(--ink); outline-offset:2px; border-radius:4px;}
.bolt{width:1em; height:1em; display:inline-block;}

/* NAV */
header.nav{position:sticky; top:0; z-index:60; background:rgba(255,252,242,0.88); backdrop-filter:blur(10px); border-bottom:1px solid var(--line);}
.nav-inner{max-width:1180px; margin:0 auto; padding:14px 28px; display:flex; align-items:center; justify-content:space-between; gap:20px;}
.logo{display:flex; align-items:center; gap:9px; font-family:'Seplo Display'; font-weight:800; font-size:1.15rem;}
.logo .bolt{width:22px; height:22px;}
.nav-cta{display:flex; align-items:center; gap:14px;}
.nav-login{font-size:0.9rem; font-weight:600; color:var(--text-muted);}
.nav-login:hover{color:var(--text);}

/* BUTTONS */
.btn{
  font-family:'Inter'; font-weight:700; font-size:0.92rem; padding:13px 22px; border-radius:9px; border:2px solid transparent;
  display:inline-flex; align-items:center; justify-content:center; gap:8px; cursor:pointer; background:none; color:var(--text);
  transition:transform .15s ease, box-shadow .15s ease, background .2s ease, border-color .2s ease;
}
.btn-yellow{background:var(--yellow); color:var(--ink); border-color:var(--ink); box-shadow:0 4px 0 var(--ink);}
.btn-yellow:hover{background:var(--yellow-deep); transform:translate(-2px,-2px); box-shadow:6px 6px 0 var(--ink);}
.btn-yellow:active{transform:translate(1px,1px); box-shadow:0 2px 0 var(--ink);}
.btn-outline{border-color:var(--ink); color:var(--text);}
.btn-outline:hover{background:var(--ink); color:var(--paper); transform:translate(-2px,-2px); box-shadow:6px 6px 0 var(--yellow);}
.btn-ink{background:var(--ink); color:var(--paper); border-color:var(--ink);}
.btn-ink:hover{background:var(--ink-soft);}
.btn-sm{padding:9px 16px; font-size:0.83rem;}
.btn-block{width:100%;}
.btn[disabled], .btn[aria-disabled="true"]{opacity:.5; pointer-events:none;}

/* SECTION SCAFFOLD */
section.block{padding:56px 0;}
.eyebrow{
  font-family:'IBM Plex Mono'; font-size:0.76rem; letter-spacing:0.08em; text-transform:uppercase;
  color:var(--yellow-deep); background:var(--ink); display:inline-block; padding:4px 10px; border-radius:4px;
  margin-bottom:16px; font-weight:600; border:1.5px solid var(--ink);
}
.section-head{max-width:680px; margin-bottom:34px;}
.section-head h1, .section-head h2{font-size:clamp(1.7rem,3.2vw,2.4rem); margin-bottom:12px;}
.section-head p{color:var(--text-muted); font-size:1.02rem;}

/* AUTH (registrace) */
.auth-page{min-height:100vh; display:flex; align-items:center; justify-content:center; padding:40px 20px;}
.auth-wrap{width:100%; max-width:420px;}
.auth-logo{display:flex; align-items:center; justify-content:center; gap:8px; margin-bottom:28px; font-family:'Seplo Display'; font-weight:800; font-size:1.15rem;}
.auth-logo .bolt{width:22px; height:22px;}
.auth-card{background:var(--paper); border:2px solid var(--ink); border-radius:var(--radius); padding:32px 28px; box-shadow:var(--hard);}
.auth-card h1{font-size:1.4rem; margin-bottom:8px; text-align:center;}
.auth-card .auth-sub{color:var(--text-muted); font-size:0.92rem; margin-bottom:24px; text-align:center;}
.auth-form{display:flex; flex-direction:column; gap:16px;}
.form-group{display:flex; flex-direction:column; gap:6px;}
.form-group label{font-size:0.8rem; font-weight:700; font-family:'IBM Plex Mono';}
.form-group input{font-family:'Inter'; font-size:0.95rem; padding:12px 14px; border:2px solid var(--line-strong); border-radius:8px; background:var(--paper); color:var(--text); transition:border-color .15s ease;}
.form-group input:focus{outline:none; border-color:var(--ink);}
.form-group.has-error input{border-color:var(--red);}
.form-error{font-size:0.78rem; color:var(--red); display:none;}
.form-group.has-error .form-error{display:block;}
.auth-alt{margin-top:20px; text-align:center; font-size:0.88rem; color:var(--text-muted);}
.auth-alt a{color:var(--ink); font-weight:700; text-decoration:underline; text-underline-offset:2px;}
.auth-alt a:hover{color:var(--yellow-deep);}
.auth-bonus{display:flex; gap:10px; align-items:flex-start; background:var(--yellow-pale); border:1.5px solid var(--line-strong); border-radius:8px; padding:12px 14px; font-size:0.82rem; margin-bottom:20px;}

/* STAT CARDS (student) */
.stat-cards{display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-bottom:8px;}
@media (max-width:760px){ .stat-cards{grid-template-columns:1fr;} }
.stat-card{background:var(--paper); border:2px solid var(--ink); border-radius:var(--radius); padding:22px 22px 20px; box-shadow:var(--hard-sm); display:flex; flex-direction:column; gap:4px;}
.stat-card.yellow{background:var(--yellow);}
.stat-card .sc-label{font-size:0.78rem; font-family:'IBM Plex Mono'; font-weight:600; color:var(--text-muted);}
.stat-card.yellow .sc-label{color:var(--ink-soft);}
.stat-card .sc-value{font-family:'Seplo Display'; font-size:2.1rem; font-weight:800; line-height:1.1;}
.stat-card .sc-value small{font-size:1rem; font-weight:600; color:var(--text-muted);}
.stat-card.yellow .sc-value small{color:var(--ink-soft);}
.stat-card .sc-action{margin-top:12px;}

/* COURSE CARDS (student) */
.course-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px;}
@media (max-width:980px){ .course-grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width:640px){ .course-grid{grid-template-columns:1fr;} }
.vc{background:var(--paper); border:2px solid var(--ink); border-radius:var(--radius); overflow:hidden; box-shadow:var(--hard-sm); display:flex; flex-direction:column; transition:transform .2s ease, box-shadow .2s ease;}
.vc:hover{transform:translate(-3px,-3px); box-shadow:var(--hard);}
.vc-thumb{height:92px; position:relative; background:linear-gradient(135deg,var(--ink),var(--ink-soft)); display:flex; align-items:center; justify-content:center;}
.vc-thumb svg{width:40px; height:40px;}
.vc-level{position:absolute; top:10px; left:10px; background:var(--yellow); color:var(--ink); font-size:0.68rem; font-weight:700; padding:4px 9px; border-radius:100px;}
.vc-done{position:absolute; top:10px; right:10px; background:var(--paper); color:var(--ink); font-size:0.68rem; font-weight:700; padding:4px 9px; border-radius:100px; border:1.5px solid var(--ink);}
.vc-body{padding:18px 18px 20px; display:flex; flex-direction:column; gap:10px; flex:1;}
.vc-body h3{font-family:'Inter'; font-size:1rem; font-weight:700; line-height:1.3;}
.vc-meta{display:flex; gap:12px; font-size:0.78rem; color:var(--text-muted); flex-wrap:wrap;}
.vc-progress{height:8px; background:var(--line); border-radius:6px; overflow:hidden;}
.vc-progress > span{display:block; height:100%; background:var(--yellow-deep); border-right:2px solid var(--ink); transition:width .3s ease;}
.vc-progress.full > span{background:var(--green); border-right:none;}
.vc-pct{font-family:'IBM Plex Mono'; font-size:0.74rem; color:var(--text-muted);}
.vc-foot{margin-top:auto; display:flex; align-items:center; justify-content:space-between; gap:10px; padding-top:12px; border-top:1px solid var(--line); flex-wrap:wrap;}
.vc-cost{font-family:'IBM Plex Mono'; font-weight:700; font-size:1.05rem;}
.vc-missing{font-size:0.76rem; color:var(--red); font-weight:600;}
.empty-box{border:2px dashed var(--line-strong); border-radius:var(--radius); padding:26px; text-align:center; color:var(--text-muted); font-size:0.92rem;}
.demo-note{margin-top:18px; font-size:0.78rem; color:var(--text-muted);}

/* KREDITY */
.balance-card{display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; background:var(--ink); color:var(--paper); border-radius:var(--radius); padding:24px 28px; box-shadow:6px 6px 0 var(--yellow); margin-bottom:36px;}
.balance-card .bc-label{font-size:0.78rem; font-family:'IBM Plex Mono'; color:rgba(255,252,242,.65);}
.balance-card .bc-value{font-family:'Seplo Display'; font-size:2.4rem; font-weight:800; color:var(--yellow); line-height:1.1;}
.balance-card .bc-hint{font-size:0.88rem; color:rgba(255,252,242,.7); max-width:36ch;}
.pack-grid{display:grid; grid-template-columns:repeat(5,1fr); gap:18px;}
@media (max-width:1100px){ .pack-grid{grid-template-columns:repeat(3,1fr);} }
@media (max-width:700px){ .pack-grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width:440px){ .pack-grid{grid-template-columns:1fr;} }
.pack{position:relative; background:var(--paper); border:2px solid var(--ink); border-radius:var(--radius); padding:26px 18px 20px; box-shadow:var(--hard-sm); display:flex; flex-direction:column; align-items:center; text-align:center; gap:6px; transition:transform .2s ease, box-shadow .2s ease;}
.pack:hover{transform:translate(-3px,-3px); box-shadow:var(--hard);}
.pack.recommended{background:var(--yellow-pale); box-shadow:6px 6px 0 var(--yellow-deep);}
.pack-tag{position:absolute; top:-14px; left:50%; transform:translateX(-50%); background:var(--yellow); color:var(--ink); font-size:0.7rem; font-weight:700; padding:5px 12px; border-radius:5px; border:2px solid var(--ink); white-space:nowrap;}
.pack-bolt{font-size:1.8rem; line-height:1;}
.pack-amount{font-family:'Seplo Display'; font-size:2rem; font-weight:800; line-height:1.1;}
.pack-amount small{display:block; font-family:'Inter'; font-size:0.8rem; font-weight:600; color:var(--text-muted); margin-top:2px;}
.pack-price{font-family:'IBM Plex Mono'; font-weight:700; font-size:1.05rem; margin-top:8px;}
.pack-unit{font-size:0.76rem; color:var(--text-muted);}
.pack-save{font-size:0.74rem; font-weight:700; color:var(--green); min-height:1.2em;}
.pack .btn{margin-top:12px; width:100%;}
.info-strip{margin-top:36px; display:grid; grid-template-columns:repeat(3,1fr); gap:20px;}
@media (max-width:760px){ .info-strip{grid-template-columns:1fr;} }
.info-item{border-top:2.5px solid var(--ink); padding-top:14px; font-size:0.88rem; color:var(--text-muted);}
.info-item strong{display:block; color:var(--text); font-size:0.95rem; margin-bottom:4px;}

/* FOOTER */
.mini-footer{border-top:1px solid var(--line); padding:26px 0 34px; font-size:0.8rem; color:var(--text-muted); text-align:center;}

/* ===== Rozhraní přihlášeného uživatele: boční panel a přehled ===== */
.app-main{max-width:1080px; margin:0 auto; padding:26px 28px 40px;}
@media (max-width:600px){ .app-main{padding:16px 14px 30px;} }

.dash-hero{position:relative; display:flex; align-items:flex-end; justify-content:space-between; gap:20px; min-height:150px; margin-bottom:18px;}
.dash-hero h1{font-size:clamp(2.2rem,6vw,4.2rem); font-weight:900; letter-spacing:-.03em; line-height:1; padding-top:8px;}
.dash-hero p{color:var(--text-muted); margin-top:10px; font-size:1rem;}
.dash-hero .dash-mascot{width:clamp(140px,22vw,260px); flex:none; margin-bottom:-14px; margin-right:6px;}
.dash-hero .dash-line{position:absolute; left:0; right:0; bottom:2px; height:2px; background:repeating-linear-gradient(90deg,#E8C21B 0 10px,transparent 10px 16px); opacity:.55; z-index:0;}

.dash-active{background:#14110B; color:#FAF8F2; border-radius:20px; padding:26px 30px; display:grid; grid-template-columns:1.4fr 1.5fr auto; gap:28px; align-items:center; box-shadow:0 8px 22px rgba(28,28,28,.3); margin-bottom:18px;}
.dash-active .lbl{font-size:.76rem; color:#FFD64F; text-transform:uppercase; letter-spacing:.04em; font-weight:600;}
.dash-active h2{font-size:1.7rem; margin:8px 0 10px; font-family:'Inter'; font-weight:800; letter-spacing:-.01em;}
.dash-active p{font-size:.9rem; color:#cfc7b3;}
.dash-active .cnt{font-size:1.9rem; font-weight:300; margin:8px 0 14px;}
.dots{display:flex; align-items:center;}
.dots i{width:16px; height:16px; border-radius:50%; border:2px solid #8a826d; flex:none;}
.dots i.on{background:#FFD64F; border-color:#FFD64F;}
.dots u{height:2px; width:28px; background:#6c6553; flex:none; text-decoration:none;}
.dots u.on{background:#FFD64F;}
.ring{--p:50; width:132px; height:132px; border-radius:50%; background:conic-gradient(#FFD64F calc(var(--p) * 1%), #2e2a20 0); display:grid; place-items:center;}
.ring div{width:104px; height:104px; border-radius:50%; background:#14110B; display:flex; flex-direction:column; align-items:center; justify-content:center;}
.ring b{font-size:1.7rem; font-weight:800;}
.ring span{font-size:.72rem; color:#cfc7b3; letter-spacing:.06em;}
.dash-active .go{margin-top:16px; display:inline-flex;}
@media (max-width:860px){ .dash-active{grid-template-columns:1fr; gap:18px;} .ring{justify-self:start;} }

.dash-stats{display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-bottom:18px;}
@media (max-width:860px){ .dash-stats{grid-template-columns:1fr;} }
.ds{background:#fff; border:1px solid var(--line); border-radius:18px; padding:22px 24px; display:flex; align-items:center; justify-content:space-between; gap:12px; box-shadow:0 3px 0 rgba(28,28,28,.12), 0 8px 18px rgba(28,28,28,.08);}
.ds .k{font-size:.78rem; font-weight:700; letter-spacing:.03em; text-transform:uppercase;}
.ds .v{font-size:1.9rem; font-weight:800; margin:6px 0 4px; font-family:'Inter'; letter-spacing:-.01em;}
.ds .s{font-size:.85rem; color:var(--text-muted);}
.ds .ic{font-size:2.6rem; line-height:1; flex:none;}
.ds .ic svg{width:54px; height:54px;}

.cc-grid{display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); gap:18px;}
.cc{background:#fff; border-radius:16px; overflow:hidden; border:1px solid var(--line); box-shadow:0 3px 0 rgba(28,28,28,.12), 0 8px 18px rgba(28,28,28,.08); display:flex; flex-direction:column; transition:transform .15s ease;}
.cc:hover{transform:translateY(-3px);}
.cc::before{content:''; height:20px; background:var(--cc, #FFD64F); border-radius:0 0 0 0;}
.cc-body{padding:20px 20px 22px; display:flex; flex-direction:column; gap:14px; flex:1;}
.cc h3{font-family:'Inter'; font-weight:800; font-size:1.15rem; letter-spacing:-.01em; line-height:1.2;}
.cc ul{display:flex; flex-direction:column; gap:4px; font-size:.95rem; font-weight:600; margin-top:auto; padding-left:6px;}
.cc .tag{font-size:.74rem; font-weight:700; color:var(--text-muted);}
.cc .bar{height:6px; border-radius:99px; background:#eee7d3; overflow:hidden;}
.cc .bar span{display:block; height:100%; background:var(--cc,#FFD64F);}
.cc-0{--cc:#FFD64F;} .cc-1{--cc:#2F66A8;} .cc-2{--cc:#E8801C;} .cc-3{--cc:#3FA66B;} .cc-4{--cc:#8C54D6;} .cc-5{--cc:#D6453A;}
.sec-title{font-size:1.3rem; margin:30px 0 16px; font-family:'Inter'; font-weight:800;}

/* karty ve stylu přehledu i pro starší sekce */
.app-main .vc, .app-main .pack, .app-main .stat-card, .app-main .balance-card{border-radius:16px;}
.page-title{font-size:clamp(1.8rem,4vw,2.8rem); font-weight:900; letter-spacing:-.02em; margin-bottom:6px;}
.page-sub{color:var(--text-muted); margin-bottom:24px;}
.lab-grid{display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:18px;}
.lab{background:#fff; border:1px solid var(--line); border-radius:16px; box-shadow:0 3px 0 rgba(28,28,28,.12), 0 8px 18px rgba(28,28,28,.08); overflow:hidden;}
.lab::before{content:''; display:block; height:14px; background:var(--cc,#FFD64F);}
.lab-b{padding:18px 20px 22px;}
.lab h3{font-family:'Inter'; font-weight:800; font-size:1.1rem; margin-bottom:4px;}
.lab .hint{font-size:.82rem; color:var(--text-muted); margin-bottom:12px;}
.lab label{display:flex; align-items:center; gap:10px; font-size:.88rem; font-weight:600; margin-top:8px;}
.lab label span{width:96px; flex:none;}
.lab input{flex:1; min-width:0; font-family:'IBM Plex Mono'; font-size:1rem; padding:9px 12px; border:2px solid var(--line-strong); border-radius:8px; background:var(--paper);}
.lab input:focus{outline:none; border-color:var(--ink);}
.lab .out{margin-top:14px; padding:12px 14px; background:#14110B; color:#FFD64F; border-radius:10px; font-family:'IBM Plex Mono'; font-size:.92rem; min-height:2.6em;}
.res-list{display:flex; flex-direction:column; gap:8px; margin-top:6px;}
.res-list div{display:flex; justify-content:space-between; gap:10px; font-size:.92rem; padding:9px 12px; border-radius:9px; background:var(--paper-2);}
.res-list b{font-family:'IBM Plex Mono';}
.badge-grid{display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:16px;}
.badge{background:#fff; border:1px solid var(--line); border-radius:16px; padding:20px; text-align:center; box-shadow:0 3px 0 rgba(28,28,28,.12);}
.badge .bi{font-size:2.6rem; line-height:1; margin-bottom:8px;}
.badge h3{font-family:'Inter'; font-weight:800; font-size:1rem; margin-bottom:4px;}
.badge p{font-size:.82rem; color:var(--text-muted);}
.badge.off{opacity:.5; filter:grayscale(1);}
.badge.on{border-color:var(--yellow-deep); background:linear-gradient(#FFFBE0,#fff);}
.prof{display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:18px;}
.pcard{background:#fff; border:1px solid var(--line); border-radius:16px; padding:22px; box-shadow:0 3px 0 rgba(28,28,28,.12), 0 8px 18px rgba(28,28,28,.08);}
.pcard h2{font-family:'Inter'; font-weight:800; font-size:1.1rem; margin-bottom:12px;}
.pcard dl{display:grid; grid-template-columns:auto 1fr; gap:8px 16px; font-size:.92rem;}
.pcard dt{color:var(--text-muted);} .pcard dd{font-weight:600; word-break:break-word;}
.pcard form label{display:block; font-size:.85rem; font-weight:600; margin:10px 0 4px;}
.pcard form input{width:100%; font-size:.95rem; padding:10px 12px; border:2px solid var(--line-strong); border-radius:8px; background:var(--paper);}
.pcard form input:focus{outline:none; border-color:var(--ink);}
.pcard .msg{font-size:.85rem; margin-top:10px; min-height:1.2em;}

/* ---- sjednocení se stylem webu (tvrdé stíny, inkoustové okraje) ---- */
.dash-hero h1{font-family:'Seplo Display'; letter-spacing:-.02em;}
.dash-active{border:2px solid var(--ink); border-radius:var(--radius); box-shadow:var(--hard);}
.ds, .cc, .lab, .badge, .pcard{border:2px solid var(--ink); border-radius:var(--radius); box-shadow:var(--hard-sm);}
.ds{background:var(--paper);}
.cc::before, .lab::before{border-bottom:2px solid var(--ink);}
.cc h3, .lab h3, .pcard h2, .badge h3, .sec-title{font-family:'Seplo Display'; letter-spacing:-.01em;}
.ds .v{font-family:'Seplo Display';}
.badge.on{background:var(--yellow-pale);}

/* ===== DESIGN SYSTÉM SEPLO (tokeny, tlačítka, štítky, karty, pruhy postupu) ===== */
:root{
  --blue:#2F66A8; --blue-dark:#1E3F73; --orange:#E8801C; --green:#3FA66B;
  --yellow:#FFD64F; --ink:#1C1C1C; --paper:#FAF8F2;
  --hard:6px 6px 0 var(--ink); --hard-sm:4px 4px 0 var(--ink);
}
h1{font-size:clamp(2rem,4.4vw,2.5rem); line-height:1.2;}
h2{line-height:1.2;}
.lead{font-size:1.25rem; line-height:1.4;}
.mono, .vc-pct, .vc-cost, .mod-steps, .tg-num{font-family:'IBM Plex Mono',monospace;}

/* Tlačítka: hlavní / tmavé / ghost – stavy výchozí, hover, stisknuté */
.btn{border:2px solid var(--ink); border-radius:var(--radius); font-weight:700; letter-spacing:.01em; cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;}
.btn-yellow, .btn-primary{background:var(--yellow); color:var(--ink); box-shadow:3px 3px 0 var(--ink);}
.btn-yellow:hover, .btn-primary:hover{background:#FFE07A; transform:translate(-2px,-2px); box-shadow:6px 6px 0 var(--ink);}
.btn-yellow:active, .btn-primary:active{background:#F2BE2E; transform:translate(2px,2px); box-shadow:0 0 0 var(--ink);}
.btn-ink, .btn-dark{background:var(--ink); color:#fff; box-shadow:3px 3px 0 var(--yellow);}
.btn-ink:hover, .btn-dark:hover{background:#2E2E2E; color:#fff; transform:translate(-2px,-2px); box-shadow:6px 6px 0 var(--yellow);}
.btn-ink:active, .btn-dark:active{background:#000; transform:translate(2px,2px); box-shadow:0 0 0 var(--yellow);}
.btn-outline, .btn-ghost{background:transparent; color:var(--ink); box-shadow:none;}
.btn-outline:hover, .btn-ghost:hover{background:#fff; color:var(--ink); transform:translate(-2px,-2px); box-shadow:4px 4px 0 var(--ink);}
.btn-outline:active, .btn-ghost:active{background:var(--yellow); transform:translate(1px,1px); box-shadow:0 0 0 var(--ink);}
.btn:focus-visible{outline:3px solid var(--blue); outline-offset:3px;}

/* Štítky: info (žlutý) / důležité (modrý) / hotovo (zelený) */
.tg{display:inline-flex; align-items:center; gap:6px; padding:4px 11px; border-radius:100px; font-size:.72rem; font-weight:700; letter-spacing:.03em; border:1.5px solid var(--ink); line-height:1.3;}
.tg-info{background:var(--yellow); color:var(--ink);}
.tg-key{background:var(--blue); color:#fff; border-color:var(--blue-dark);}
.tg-ok{background:var(--green); color:#fff; border-color:#2C7F52;}
.tg-hot{background:var(--orange); color:#fff; border-color:#B8620F;}
.vc-level{background:var(--yellow); border:1.5px solid var(--ink); padding:4px 10px; font-size:.7rem;}
.vc-done{background:var(--green); color:#fff; border:1.5px solid #2C7F52;}
.vc-done.sale{background:var(--orange); color:#fff; border-color:#B8620F;}

/* Pruhy stavu modulu: nesplněno / probíhá / dokončeno / ověřeno */
.st{display:flex; flex-direction:column; gap:6px;}
.st-bar{height:10px; border-radius:99px; border:2px solid var(--ink); background:#fff; overflow:hidden;}
.st-bar > span{display:block; height:100%; border-radius:99px; transition:width .35s ease;}
.st-run .st-bar > span{background:var(--blue);}
.st-done .st-bar > span{background:var(--green);}
.st-ver .st-bar > span{background:var(--orange);}
.st-lbl{display:flex; justify-content:space-between; align-items:center; font-family:'IBM Plex Mono',monospace; font-size:.72rem; font-weight:600; color:var(--text-muted);}
.st-lbl b{display:inline-flex; align-items:center; gap:6px; color:var(--ink);}
.st-lbl b::before{content:''; width:9px; height:9px; border-radius:50%; border:2px solid var(--ink); background:#fff;}
.st-run .st-lbl b::before{background:var(--blue);}
.st-done .st-lbl b::before{background:var(--green);}
.st-ver .st-lbl b::before{background:var(--orange);}
.vc-progress{display:none;}

/* Karta modulu */
.mod{background:#fff; border:2px solid var(--ink); border-radius:var(--radius); box-shadow:var(--hard-sm); padding:18px; display:flex; flex-direction:column; gap:12px; transition:transform .18s ease, box-shadow .18s ease; color:var(--ink);}
.mod:hover{transform:translate(-3px,-3px); box-shadow:var(--hard);}
.mod-ic{width:52px; height:52px; border:2px solid var(--ink); border-radius:var(--radius); display:flex; align-items:center; justify-content:center; background:var(--paper);}
.mod-ic svg{width:34px; height:34px;}
.mod h3{font-family:'Seplo Display',sans-serif; font-size:1rem; line-height:1.25;}
.mod-steps{font-size:.78rem; font-weight:600; color:var(--text-muted);}
.mod-more{margin-top:auto; font-family:'IBM Plex Mono',monospace; font-size:.8rem; font-weight:600; color:var(--blue);}
.mod:hover .mod-more{text-decoration:underline;}
.cc-grid .mod{height:100%;}

/* Tip */
.tip{display:flex; gap:14px; align-items:flex-start; background:#FFF6D1; border:2px solid var(--ink); border-left:8px solid var(--yellow); border-radius:var(--radius); padding:14px 18px; box-shadow:var(--hard-sm);}
.tip-ic{flex:0 0 38px; width:38px; height:38px;}
.tip-ic svg{width:38px; height:38px;}
.tip b{display:block; font-family:'Seplo Display',sans-serif; font-size:.82rem; margin-bottom:2px;}
.tip p{font-size:.92rem; line-height:1.45; color:#3a3a36;}
.tip-blue{background:#E8F0FA; border-left-color:var(--blue);}

/* ===== Moje rezervace ===== */
.rz-bar{display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:18px;} .rz-bar .rz-tabs{margin-bottom:0;}
.rz-tabs{display:flex; gap:8px; flex-wrap:wrap; margin-bottom:18px;}
.rz-tabs button, .ctabs button{font:700 .9rem 'Inter',sans-serif; padding:10px 18px; border:2px solid var(--ink); border-radius:var(--radius); background:#fff; color:var(--ink); cursor:pointer; display:inline-flex; align-items:center; gap:8px; transition:transform .15s, box-shadow .15s, background .15s;}
.rz-tabs button:hover, .ctabs button:hover{transform:translate(-2px,-2px); box-shadow:3px 3px 0 var(--ink);}
.rz-tabs button.on, .ctabs button.on{background:var(--ink); color:#fff; box-shadow:3px 3px 0 var(--yellow);}
.rz-tabs button span, .ctabs button span{font-family:'IBM Plex Mono',monospace; font-size:.75rem; background:var(--yellow); color:var(--ink); border-radius:99px; padding:1px 8px; border:1.5px solid var(--ink);}
.rz{display:grid; grid-template-columns:76px 1fr auto; gap:18px; align-items:center; background:#fff; border:2px solid var(--ink); border-radius:var(--radius); box-shadow:var(--hard-sm); padding:16px 20px; margin-bottom:14px;}
.rz-date{width:76px; height:76px; border:2px solid var(--ink); border-radius:var(--radius); background:var(--yellow); display:flex; flex-direction:column; align-items:center; justify-content:center; line-height:1;}
.rz-date b{font-family:'Seplo Display',sans-serif; font-size:1.7rem;}
.rz-date span{font-family:'IBM Plex Mono',monospace; font-size:.78rem; text-transform:uppercase; margin-top:4px;}
.rz-body h3{font-family:'Seplo Display',sans-serif; font-size:1rem; margin-bottom:4px;}
.rz-body p{font-size:.92rem; color:var(--text-muted);}
.rz-body strong{color:var(--ink);}
.rz-role{display:block; font-size:.8rem;}
.rz-act{display:flex; gap:8px; align-items:center; flex-wrap:wrap; justify-content:flex-end;}
@media (max-width:700px){ .rz{grid-template-columns:60px 1fr; padding:14px;} .rz-date{width:60px; height:60px;} .rz-act{grid-column:1/-1; justify-content:flex-start;} }

/* Záložky ve stránce Kurzy */
.ctabs{display:flex; gap:8px; flex-wrap:wrap; margin:6px 0 20px;}
.cpane[hidden]{display:none !important;}

/* Admin: kurzy a testy */
.kform{display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-top:16px; padding:16px; border:2px solid var(--ink); border-radius:var(--radius); background:#fff;}
.kform h3{grid-column:1/-1; font-size:1rem;}
.kform label, .trow label{display:flex; flex-direction:column; gap:4px; font-size:.82rem; font-weight:600;}
.kform label:first-of-type{grid-column:span 2;}
.kform .wide{grid-column:1/-1;}
.kform input, .kform select, .kform textarea, .trow input, .trow select, .tq-ed input[type=text], .tq-ed textarea, .tq-ed select{font:inherit; font-size:.9rem; padding:8px 10px; border:2px solid var(--ink); border-radius:var(--radius); background:#fff; width:100%;}
.trow{display:grid; grid-template-columns:2fr 1fr; gap:14px; margin-bottom:14px;}
.tq-ed{border:2px solid var(--ink); border-radius:var(--radius); background:#fff; padding:14px; margin-bottom:12px; display:flex; flex-direction:column; gap:8px;}
.tq-h{display:flex; align-items:center; gap:10px;} .tq-h select{width:auto; margin-left:auto;}
.tq-o{display:flex; gap:8px; align-items:center;} .tq-o input[type=radio], .tq-o input[type=checkbox]{width:20px; height:20px; accent-color:var(--green); flex:none;}
@media (max-width:760px){ .kform{grid-template-columns:1fr 1fr;} .trow{grid-template-columns:1fr;} }

/* Katalog: ikony, chipy, detail */
.vc-thumb{background:linear-gradient(135deg,#FAF8F2,#F3F1EA) !important; border-bottom:2px solid var(--ink);}
.vc-ic svg{width:52px; height:52px;}
.vc-detail{align-self:flex-start; background:none; border:0; font:600 .8rem 'IBM Plex Mono',monospace; color:var(--blue); cursor:pointer; padding:2px 0;}
.vc-detail:hover{text-decoration:underline;}
.lvchips{display:flex; gap:8px; flex-wrap:wrap; margin-bottom:12px;}
.lvchips button{font:700 .85rem 'Inter',sans-serif; padding:7px 14px; border:2px solid var(--ink); border-radius:99px; background:#fff; cursor:pointer; transition:background .12s;}
.lvchips button:hover{background:#FFF6D1;} .lvchips button.on{background:var(--ink); color:#fff;}
.cdlg{position:fixed; inset:0; background:rgba(28,28,28,.55); z-index:5000; display:flex; align-items:center; justify-content:center; padding:18px;}
.cdlg-in{background:var(--paper); border:2px solid var(--ink); border-radius:12px; box-shadow:var(--hard); max-width:520px; width:100%; max-height:90vh; overflow:auto; padding:26px; position:relative; display:flex; flex-direction:column; gap:12px;}
.cdlg-in .mod-ic{align-self:flex-start;}
.cdlg-in h2{font-size:1.35rem;}
.cdlg-d{color:#3a3a36; line-height:1.5;}
.cdlg-l{display:grid; gap:6px; font-size:.92rem; padding:12px 14px; border:2px solid var(--ink); border-radius:var(--radius); background:#fff;}
.cdlg-f{display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-top:4px;}
.cdlg-x{position:absolute; top:12px; right:12px; width:34px; height:34px; border:2px solid var(--ink); border-radius:50%; background:#fff; cursor:pointer; font-weight:700;}
.cdlg-in .tg{align-self:flex-start;}

.qb.picked{background:#FFEFB0 !important; border-color:var(--ink) !important; font-weight:700;}
/*DARK-BEGIN*/
html[data-theme=dark] ::selection{--ink:#1C1C1C;--text:#1C1C1C;--ink-soft:#2E2E2E;--text-muted:#4a4a44;color:#1C1C1C}
html[data-theme=dark] .btn-yellow{--ink:#1C1C1C;--text:#1C1C1C;--ink-soft:#2E2E2E;--text-muted:#4a4a44;color:#1C1C1C}
html[data-theme=dark] .btn-yellow:hover{--ink:#1C1C1C;--text:#1C1C1C;--ink-soft:#2E2E2E;--text-muted:#4a4a44;color:#1C1C1C}
html[data-theme=dark] .stat-card.yellow{--ink:#1C1C1C;--text:#1C1C1C;--ink-soft:#2E2E2E;--text-muted:#4a4a44;color:#1C1C1C}
html[data-theme=dark] .vc-level{--ink:#1C1C1C;--text:#1C1C1C;--ink-soft:#2E2E2E;--text-muted:#4a4a44;color:#1C1C1C}
html[data-theme=dark] .vc-progress > span{--ink:#1C1C1C;--text:#1C1C1C;--ink-soft:#2E2E2E;--text-muted:#4a4a44;color:#1C1C1C}
html[data-theme=dark] .pack-tag{--ink:#1C1C1C;--text:#1C1C1C;--ink-soft:#2E2E2E;--text-muted:#4a4a44;color:#1C1C1C}
html[data-theme=dark] .dots i.on{--ink:#1C1C1C;--text:#1C1C1C;--ink-soft:#2E2E2E;--text-muted:#4a4a44;color:#1C1C1C}
html[data-theme=dark] .dots u.on{--ink:#1C1C1C;--text:#1C1C1C;--ink-soft:#2E2E2E;--text-muted:#4a4a44;color:#1C1C1C}
html[data-theme=dark] .ds{background:#2A281F;color:var(--text)}
html[data-theme=dark] .cc{background:#2A281F;color:var(--text)}
html[data-theme=dark] .cc .bar{background:#2E2B20;color:var(--text)}
html[data-theme=dark] .lab{background:#2A281F;color:var(--text)}
html[data-theme=dark] .badge{background:#2A281F;color:var(--text)}
html[data-theme=dark] .pcard{background:#2A281F;color:var(--text)}
html[data-theme=dark] .btn-yellow,html[data-theme=dark] .btn-primary{--ink:#1C1C1C;--text:#1C1C1C;--ink-soft:#2E2E2E;--text-muted:#4a4a44;color:#1C1C1C}
html[data-theme=dark] .btn-yellow:hover,html[data-theme=dark] .btn-primary:hover{background:#5A4B14;color:var(--text)}
html[data-theme=dark] .btn-yellow:active,html[data-theme=dark] .btn-primary:active{--ink:#1C1C1C;--text:#1C1C1C;--ink-soft:#2E2E2E;--text-muted:#4a4a44;color:#1C1C1C}
html[data-theme=dark] .btn-outline:hover,html[data-theme=dark] .btn-ghost:hover{background:#2A281F;color:var(--text)}
html[data-theme=dark] .btn-outline:active,html[data-theme=dark] .btn-ghost:active{--ink:#1C1C1C;--text:#1C1C1C;--ink-soft:#2E2E2E;--text-muted:#4a4a44;color:#1C1C1C}
html[data-theme=dark] .tg-info{--ink:#1C1C1C;--text:#1C1C1C;--ink-soft:#2E2E2E;--text-muted:#4a4a44;color:#1C1C1C}
html[data-theme=dark] .st-bar{background:#2A281F;color:var(--text)}
html[data-theme=dark] .st-lbl b::before{background:#2A281F;color:var(--text)}
html[data-theme=dark] /* Karta modulu */
.mod{background:#2A281F;color:var(--text)}
html[data-theme=dark] /* Tip */
.tip{background:#3B3516;color:var(--text)}
html[data-theme=dark] .tip-blue{background:#1F2C3F;color:var(--text)}
html[data-theme=dark] .rz-tabs button,html[data-theme=dark] .ctabs button{background:#2A281F;color:var(--text)}
html[data-theme=dark] .rz-tabs button span,html[data-theme=dark] .ctabs button span{--ink:#1C1C1C;--text:#1C1C1C;--ink-soft:#2E2E2E;--text-muted:#4a4a44;color:#1C1C1C}
html[data-theme=dark] .rz{background:#2A281F;color:var(--text)}
html[data-theme=dark] .rz-date{--ink:#1C1C1C;--text:#1C1C1C;--ink-soft:#2E2E2E;--text-muted:#4a4a44;color:#1C1C1C}
html[data-theme=dark] /* Admin: kurzy a testy */
.kform{background:#2A281F;color:var(--text)}
html[data-theme=dark] .kform input,html[data-theme=dark] .kform select,html[data-theme=dark] .kform textarea,html[data-theme=dark] .trow input,html[data-theme=dark] .trow select,html[data-theme=dark] .tq-ed input[type=text],html[data-theme=dark] .tq-ed textarea,html[data-theme=dark] .tq-ed select{background:#2A281F;color:var(--text)}
html[data-theme=dark] .tq-ed{background:#2A281F;color:var(--text)}
html[data-theme=dark] .lvchips button{background:#2A281F;color:var(--text)}
html[data-theme=dark] .lvchips button:hover{background:#3B3516;color:var(--text)}
html[data-theme=dark] .cdlg-l{background:#2A281F;color:var(--text)}
html[data-theme=dark] .cdlg-x{background:#2A281F;color:var(--text)}
html[data-theme=dark] .qb.picked{background:#3B3516;color:var(--text)}
/*DARK-END*/

/* mobil: drobné opravy přetékání */
@media (max-width:620px){ .hero-sticker{max-width:100%; right:0 !important; left:auto !important; overflow:hidden;} .ds{padding:16px 18px;} }
