:root{font-family:Inter,Segoe UI,system-ui,-apple-system,sans-serif;color:#142139;background:#f3f5fa;font-size:14px;--blue:#1044ac;--bright:#2465e4;--yellow:#ffc000;--muted:#6d788d;--line:#e1e6ef;--shadow:0 3px 14px #1f3a6810}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #87b4ff;outline-offset:2px}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1{font-size:clamp(28px,2.7vw,43px);letter-spacing:-.045em;line-height:1.13}h2{font-size:21px;letter-spacing:-.035em}h3{font-size:15px;letter-spacing:-.015em}.muted{color:var(--muted);font-size:12px;line-height:1.55}.icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}.brand{display:flex;align-items:center;gap:10px;line-height:1.05}.brand img{width:53px;height:53px;border-radius:13px;box-shadow:0 5px 13px #1344aa30}.brand strong{font-size:21px;font-weight:800;letter-spacing:-.06em}.brand strong span,.hero h1 span{color:var(--bright)}.brand small{font-size:10px;display:block;margin-top:6px;color:var(--muted);letter-spacing:0}.shell{min-height:100vh;display:grid;grid-template-columns:235px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;background:#fbfcfe;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:28px 17px 18px;overflow:hidden}.sidebar .brand{margin:0 4px 45px}.nav-title{font-size:10px;letter-spacing:.13em;color:#8993a5;font-weight:700;padding:0 13px 10px}.sidebar nav{display:grid;gap:5px}.nav-item{border:0;background:transparent;color:#445169;width:100%;text-align:left;display:flex;gap:13px;align-items:center;padding:13px 14px;border-radius:9px;font-weight:600;white-space:nowrap}.nav-item:hover{background:#eaf0fc}.nav-item.active{color:#fff;background:linear-gradient(115deg,#0d3a9c,#1855c6);box-shadow:0 5px 13px #1344aa25}.sidebar-bottom{margin-top:auto}.side-art{position:relative;overflow:hidden;height:185px;margin:12px -17px;background:linear-gradient(145deg,#f8faff,#e8eef9);isolation:isolate}.road{position:absolute;width:260px;height:160px;border-radius:50%;border:28px solid #c7d2e6;transform:rotate(-30deg);left:48px;top:40px}.road:after{content:'';position:absolute;inset:-15px;border:2px dashed white;border-radius:50%}.road-sign{position:absolute;top:54px;left:45px;border:3px solid white;box-shadow:0 3px 8px #1a356c40;width:48px;height:52px;background:#2264d6;color:white;font-size:34px;font-weight:800;display:grid;place-items:center;border-radius:7px;transform:rotate(-6deg)}.road-sign:after{content:'';position:absolute;top:49px;width:5px;height:53px;background:#a0aec0;z-index:-1}.side-footer{font-size:10px;color:#8b96a9;letter-spacing:.08em;padding:8px 13px;line-height:1.7}.side-footer small{font-size:10px;letter-spacing:0}.workspace{min-width:0}.topbar{height:74px;padding:0 26px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px}.search-box{display:flex;align-items:center;gap:10px;border:1px solid #dfe5ef;background:#f9fafc;border-radius:9px;padding:0 12px;min-width:0;color:#6b7890;min-height:42px}.search-box input{width:100%;min-width:0;border:0!important;background:transparent!important;outline:none!important;box-shadow:none;padding:11px 0!important}.top-search{width:min(420px,40%)}kbd{background:#e9edf4;border-radius:5px;white-space:nowrap;font-size:10px;padding:4px 6px;color:#78849a}.top-right{display:flex;gap:17px;align-items:center}.live{font-size:11px;white-space:nowrap;color:#74664b;background:#fff4d8;border-radius:20px;display:inline-flex;align-items:center;gap:7px;padding:7px 10px;font-weight:650}.live i{width:8px;height:8px;background:#c89116;border-radius:50%}.live.connected{color:#167449;background:#e6f7ed}.live.connected i{background:#16a360;box-shadow:0 0 0 3px #b8e9ca}.account{display:flex;gap:9px;align-items:center;border-left:1px solid var(--line);padding-left:17px}.account strong,.account small{display:block;white-space:nowrap}.account strong{font-size:12px}.account small{font-size:10px;color:var(--muted);margin-top:3px}.user-avatar{width:35px;height:35px;display:grid;place-items:center;border-radius:50%;background:#e4e9f4;color:#536783;font-weight:700}.main{max-width:1800px;margin:auto;padding:20px 24px 36px}.hero{height:182px;border-radius:15px;background:#e8effb url('hero.webp') right center/auto 100% no-repeat;position:relative;overflow:hidden;display:flex;align-items:center;box-shadow:var(--shadow);border:1px solid #e4eaf3}.hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#f7f9fd 0%,#f7f9fdfc 22%,#f7f9fdec 37%,#f7f9fd00 69%)}.hero-text{position:relative;padding:22px 26px;z-index:1}.eyebrow{font-size:10px;letter-spacing:.14em;font-weight:800;color:#52617d;display:flex;align-items:center;gap:9px;margin-bottom:12px}.eyebrow i{width:30px;height:4px;border-radius:5px;background:var(--yellow)}.hero p{margin-top:10px;font-size:14px;color:#56647b}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:17px 0 20px}.kpi{display:flex;align-items:center;gap:12px;background:white;border:1px solid var(--line);border-radius:13px;padding:15px 13px;box-shadow:var(--shadow);min-width:0}.kpi-icon,.lesson-icon{display:grid;place-items:center;flex-shrink:0;border-radius:12px;color:#2464d9;background:#eaf1ff;width:47px;height:47px}.kpi-icon .icon{width:25px;height:25px}.gold{background:#fff4cf!important;color:#c38b00!important}.kpi small,.kpi strong,.kpi div>span{display:block}.kpi small{font-size:11px;color:#53617a}.kpi strong{font-size:27px;font-weight:800;line-height:1.1;margin:4px 0;letter-spacing:-.055em}.kpi div>span{font-size:10px;color:#8590a3;overflow-wrap:anywhere}.content-grid{display:grid;grid-template-columns:minmax(290px, .87fr) minmax(420px,1.3fr);gap:15px;align-items:start}.panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:17px;box-shadow:var(--shadow);min-width:0}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px}.panel-head p{margin-top:3px}.button,.icon-button,.chip{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #dfe5ef;border-radius:8px;padding:10px 12px;font-weight:650;font-size:12px;color:#334460;background:#fff;white-space:nowrap;line-height:1.25}.button .icon,.icon-button .icon{width:17px;height:17px}.button:hover,.icon-button:hover,.chip:hover{background:#edf3ff;border-color:#c7d8f8}.primary{color:white;background:linear-gradient(110deg,#1244ae,#1859ce);border-color:#1244ae;box-shadow:0 3px 8px #1044ac20}.primary:hover{color:white;background:#0b3999;border-color:#0b3999}.danger{color:#c53d48;border-color:#f1d0d5}.danger-text{color:#b63845}.icon-button{width:34px;height:34px;padding:6px;flex-shrink:0}.text-button{background:none;border:0;padding:4px;color:#2156bb;font-size:12px;font-weight:650;display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.text-button .icon{width:15px;height:15px}.list-tools{display:flex;gap:8px;margin-bottom:13px}.list-tools .search-box{flex:1}.list-tools select{max-width:130px;font-size:12px}.student-row{display:flex;gap:10px;align-items:center;padding:12px 9px;border-bottom:1px solid #edf0f5;min-width:0}.student-row:last-child{border-bottom:0}.student-row.selected{background:#eaf2ff;border-radius:9px;border-color:transparent}.avatar{width:43px;height:43px;border-radius:50%;display:grid;place-items:center;background:#e2ebff;color:#1854ba;font-weight:750;font-size:15px;flex-shrink:0}.avatar.large{width:58px;height:58px;font-size:21px}.tone0{background:#dcecff;color:#205ec6}.tone1{background:#4b88e8;color:white}.tone2{background:#e7eaf1;color:#56637b}.tone3{background:#dff5e8;color:#20834d}.tone4{background:#efe5ff;color:#7647c3}.student-name{display:block;flex:1;min-width:0;text-align:left;border:0;background:none;color:inherit;padding:0}.student-name strong,.student-name small,.row-status{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.student-name strong{font-size:13px;letter-spacing:-.015em}.student-name small{font-size:11px;color:#69768b;margin-top:5px}.student-name .icon{height:12px;width:12px;margin-right:3px}.row-status{font-size:10px;color:#8490a2;margin-top:4px}.row-progress{width:24%;min-width:48px;max-width:105px}.row-progress strong{font-size:11px;display:block;margin-bottom:5px}.progress-bar{height:7px;background:#e2e8f2;border-radius:30px;overflow:hidden;width:100%}.progress-bar i{display:block;height:100%;border-radius:30px;background:linear-gradient(90deg,#174ab6,#347ef0);transition:width .25s}.progress-bar.yellow i{background:linear-gradient(90deg,#e8a400,#ffc400)}.row-open{width:27px;height:29px;border:0;background:transparent;color:#78869b}.detail-header{display:flex;align-items:center;gap:11px;margin:0 0 14px}.detail-person{flex:1;min-width:0}.name-line{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.name-line h2{overflow-wrap:anywhere}.status{border-radius:5px;padding:4px 7px;font-size:10px;font-weight:700;color:#66758d;background:#eef0f5}.status.active{color:#147a42;background:#e0f6e8}.status.paused{color:#936900;background:#fff0c8}.contact{display:flex;flex-wrap:wrap;gap:5px 11px;font-size:11px;color:#67758d;margin-top:6px;overflow-wrap:anywhere}.contact .icon{width:13px;height:13px;margin-right:4px}.detail-actions{display:flex;gap:5px}.tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);overflow:auto;scrollbar-width:thin;margin-bottom:15px}.tab{border:0;border-bottom:3px solid transparent;background:none;color:#66748a;display:flex;align-items:center;gap:6px;padding:11px 12px;font-size:12px;font-weight:650;white-space:nowrap}.tab .icon{width:16px;height:16px}.tab.active{color:#124dbd;border-bottom-color:#1556d1;background:#edf3ff;border-radius:7px 7px 0 0}.inner-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.subpanel{border:1px solid var(--line);border-radius:11px;padding:13px;min-width:0;background:linear-gradient(160deg,#fff,#fbfcff)}.subpanel h3{margin-bottom:13px}.progress-summary{display:flex;align-items:center;gap:12px}.ring{width:83px;height:83px;flex-shrink:0;border-radius:50%;background:conic-gradient(#2564df var(--progress),#e2e8f1 0);display:grid;place-items:center;position:relative}.ring:before{position:absolute;content:'';inset:9px;border-radius:50%;background:#fff}.ring strong{position:relative;font-size:24px;letter-spacing:-.06em}.ring small{font-size:12px}.progress-lines{flex:1;min-width:0}.progress-lines>div:not(.progress-bar){display:flex;justify-content:space-between;gap:5px;font-size:10px;color:#637189;margin:0 0 5px}.progress-lines strong{color:#20304c;white-space:nowrap}.progress-lines .progress-bar{margin-bottom:10px}.progress-lines .progress-bar:last-child{margin-bottom:0}.summary-line{display:flex;align-items:center;gap:6px;font-size:11px;padding:7px 0;border-bottom:1px solid #edf0f5;color:#596781}.summary-line:last-child{border:0;padding-bottom:0}.summary-line .icon{width:15px;height:15px}.summary-line strong{margin-left:auto;color:#20304c;text-align:right}.quick-actions{display:flex;gap:8px;margin:13px 0}.subhead{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.subhead h3{margin:0}.subhead p{margin-top:3px}.lesson-row{display:flex;gap:8px;align-items:center;padding:10px 0;border-bottom:1px solid #edf0f5;min-width:0}.lesson-row:last-child{border-bottom:0}.lesson-icon{width:31px;height:31px;border-radius:8px}.lesson-icon .icon{width:17px;height:17px}.lesson-info{flex:1;min-width:0;overflow-wrap:anywhere}.lesson-info strong,.lesson-info small,.lesson-duration strong,.lesson-duration small{display:block}.lesson-info strong,.lesson-duration strong{font-size:11px}.lesson-info small,.lesson-duration small{color:#7a879a;font-size:10px;margin-top:3px;line-height:1.4}.lesson-info p{font-size:12px;margin-top:4px;white-space:pre-wrap}.lesson-duration{text-align:right;white-space:nowrap}.empty{min-height:180px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:20px;gap:9px;color:#65758f}.empty>.icon{height:34px;width:34px;color:#8aa6d5}.empty strong{color:#34445f;font-size:16px}.empty p{font-size:12px}.empty-small{padding:10px 0}.chart-svg{width:100%;height:auto;max-height:140px}.chart-label{display:flex;justify-content:space-between;gap:5px;font-size:10px;color:#8190a3}.notes{white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:15px;line-height:1.6}.big-number{font-size:33px;font-weight:800;color:var(--blue)}.stat-row{display:grid;grid-template-columns:1fr 50px 90px;gap:8px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.detail-body>.subpanel{margin-top:10px}input,select,textarea{min-width:0;border:1px solid #dce3ee;border-radius:8px;background:#fff;color:#20304a;padding:11px 12px;width:100%;outline:none}textarea{resize:vertical}input:focus,select:focus,textarea:focus{border-color:#76a2ee;box-shadow:0 0 0 3px #dce9ff}label{display:flex;flex-direction:column;gap:6px;font-weight:650;font-size:12px;color:#42516a}label input,label select,label textarea{font-weight:400;font-size:14px}dialog{border:1px solid var(--line);border-radius:17px;padding:0;max-width:min(550px,calc(100vw - 28px));width:550px;max-height:calc(100dvh - 28px);box-shadow:0 20px 80px #10265335;color:#142139}dialog::backdrop{background:#14213982;backdrop-filter:blur(3px)}.modal-head,.modal-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:17px 20px;border-bottom:1px solid var(--line);background:#fff;position:sticky;top:0;z-index:1}.modal-footer{border-bottom:0;border-top:1px solid var(--line);justify-content:flex-end;top:auto;bottom:0}.modal-content{padding:20px;display:grid;gap:15px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.close{font-size:24px;color:#64738a}.form-error{color:#ba253a;font-size:12px;font-weight:600;min-height:0}.form-error:empty{display:none}.modal-student{display:flex;align-items:center;gap:12px;background:#eef4ff;border:1px solid #e0eaff;border-radius:10px;padding:12px}.modal-student strong,.modal-student small{display:block}.modal-student small{color:#61728e;margin-top:4px}.duration-buttons{display:flex;gap:8px;margin-bottom:4px}.duration-buttons .chip{flex:1}.chip.selected{background:#e5efff;color:#1046ae;border-color:#c1d5fa}.confirm-text{font-size:15px;line-height:1.5}.login-page{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr}.login-illustration{min-height:100vh;position:relative;overflow:hidden;background:linear-gradient(150deg,#0d3693,#1b62d3);color:white;display:flex;flex-direction:column;justify-content:space-between;padding:45px 45px 0}.login-illustration .brand small,.login-illustration .eyebrow{color:#d7e4ff}.login-illustration .brand strong span{color:#ffc000}.login-illustration h1{font-size:clamp(40px,5vw,75px);margin:10px 0 15px;position:relative;z-index:1}.login-illustration p{color:#d7e5ff;font-size:17px;max-width:370px;line-height:1.5}.login-photo{height:30vh;min-height:160px;background:linear-gradient(180deg,#1b62d3 0%,transparent 30%),url('hero.webp') center/cover;margin:25px -45px 0}.login-area{display:grid;place-items:center;padding:24px;background:#f8faff}.login-card{width:min(100%,400px);background:white;border:1px solid var(--line);border-radius:20px;padding:35px;box-shadow:0 15px 45px #17336a12}.login-card .brand{margin-bottom:32px}.login-card h1{font-size:32px;margin-bottom:8px}.login-card form{display:grid;gap:17px;margin-top:26px}.wide{width:100%;min-height:44px;font-size:14px}.login-footer{margin-top:22px;border-top:1px solid var(--line);padding-top:15px;color:#7c8aa0;font-size:11px;display:flex;gap:7px;align-items:center}.login-footer .icon{width:16px;height:16px}.loading{min-height:100vh;display:grid;align-content:center;justify-items:center;gap:15px;text-align:center;padding:30px}.mobile-shell{max-width:620px;margin:auto;min-height:100dvh;background:#f5f7fb;padding-bottom:75px}.mobile-top{display:flex;align-items:center;justify-content:space-between;padding:15px 18px;background:white;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:2}.mobile-top .brand img{width:43px;height:43px}.mobile-top .brand strong{font-size:17px}.mobile-top .brand small{font-size:9px}.mobile-hero{height:150px;padding:20px 18px;position:relative;background:linear-gradient(90deg,#f3f6fdfc 0%,#f3f6fdf1 32%,#f3f6fd00 88%),url('hero.webp') 36% center/auto 100% no-repeat;display:flex;flex-direction:column;justify-content:center}.mobile-hero h1{font-size:30px}.mobile-hero p{font-size:12px;color:#4e607d;margin-top:8px}.mobile-content{padding:13px 14px}.live-line{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;gap:5px}.mobile-content .search-box{background:white;min-height:52px}.mobile-content .search-box input{font-size:17px}.filters{display:flex;gap:8px;margin:13px 0}.filters .chip{padding:10px 18px}.mobile-content .student-row{background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:12px;margin:8px 0;padding:14px 10px;gap:9px}.mobile-content .student-name strong{font-size:15px}.mobile-content .student-name small{font-size:12px}.mobile-content .row-progress{width:48px}.mobile-content .avatar{width:42px;height:42px}.quick{min-height:44px;padding:10px;font-size:12px}.mobile-footer{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,620px);background:white;border-top:1px solid var(--line);display:flex;justify-content:space-around;align-items:center;padding:12px 10px max(12px,env(safe-area-inset-bottom));gap:8px;color:#68768c;font-size:11px;z-index:2}.mobile-footer a,.mobile-footer button{display:flex;align-items:center;gap:4px;background:none;border:0;color:var(--blue);font-weight:650;font-size:11px}.mobile-footer .icon{width:17px;height:17px}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);background:#153a2a;color:white;opacity:0;pointer-events:none;z-index:20;padding:13px 20px;border-radius:11px;max-width:calc(100vw - 30px);box-shadow:0 7px 20px #0002;font-size:13px;transition:.2s}#toast.show{opacity:1;transform:translate(-50%,0)}#toast.error{background:#962d3e}@media(min-width:1450px){.main{padding:24px 32px}.panel{padding:21px}.kpi{padding:18px}.hero{height:205px}.student-row{padding:14px 10px}.ring{width:100px;height:100px}}@media(max-width:1150px){.shell{grid-template-columns:190px minmax(0,1fr)}.sidebar{padding:22px 12px}.sidebar .brand img{width:40px;height:40px}.sidebar .brand strong{font-size:17px}.sidebar .brand small{font-size:9px}.main{padding:15px}.content-grid{grid-template-columns:minmax(250px,.8fr) minmax(380px,1.2fr)}.kpi{padding:12px 9px;gap:7px}.kpi-icon{width:36px;height:36px}.kpi-icon .icon{width:21px;height:21px}.kpi strong{font-size:23px}.panel{padding:12px}.inner-grid{grid-template-columns:1fr}.progress-summary{max-width:300px}.row-progress{width:20%}.detail-actions .button{padding:8px}.top-right{gap:9px}.topbar{padding:0 15px}}@media(max-width:850px){.shell{grid-template-columns:1fr}.sidebar{position:static;height:auto;padding:12px;display:flex;flex-direction:row;align-items:center;gap:12px;overflow:auto}.sidebar .brand{margin:0;min-width:160px}.sidebar nav{display:flex;gap:3px}.nav-title,.sidebar-bottom{display:none}.nav-item{padding:10px}.topbar{height:60px}.content-grid{grid-template-columns:1fr}.inner-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{height:155px}.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.account div{display:none}.live{font-size:10px}.top-search{width:45%}}@media(max-width:550px){.login-page{grid-template-columns:1fr}.login-illustration{display:none}.login-area{min-height:100dvh}.login-card{padding:25px}.main{padding:10px}.hero{height:140px}.hero-text{padding:13px}.hero h1{font-size:27px}.hero p{font-size:12px;max-width:210px}.topbar{gap:5px}.topbar .account{display:none}.top-search{width:50%}.top-search kbd{display:none}.inner-grid{grid-template-columns:1fr}.detail-header{flex-wrap:wrap}.detail-actions{margin-left:auto}.tabs .tab{padding:10px}.modal-head,.modal-footer{padding:14px}.modal-content{padding:15px}dialog .button{min-height:44px}dialog input,dialog textarea,dialog select{font-size:16px;min-height:44px}dialog .modal-footer .primary{flex:1}#toast{bottom:80px}.student-row .row-progress{min-width:45px}.mobile-content .row-status{display:none}}@media(max-width:365px){.mobile-content .row-progress{display:none}.mobile-content .quick{padding:8px}.mobile-content .student-name strong{font-size:13px}.live-line .live{font-size:9px}}

/* Brno banner: retain the skyline and the car on wide displays. */
.hero{background-size:auto 100%;background-position:right center}.mobile-hero{background-position:right center;background-size:auto 100%}

/* v0.3 — Nádeníček / polished Brno visual theme.
   Layout and behavior remain those of v0.2. No external assets required. */
:root {
  color:#11213f; background:#edf2fa;
  --blue:#1047bd; --bright:#1465ed; --yellow:#ffc000;
  --muted:#60718c; --line:#dae3f1;
  --shadow:0 2px 5px #1c3e7710,0 9px 24px #204a8b0d;
}
body { background:radial-gradient(ellipse at 87% 3%,#dceaff 0,transparent 46%),linear-gradient(125deg,#e7eefb,#f0f4fb 60%,#e8effb); }
.shell { grid-template-columns:235px minmax(0,1fr); }
.sidebar { background:linear-gradient(150deg,#f9fbff 5%,#edf4ff 58%,#e2edfc 100%);border-right:1px solid #ffffffd9;box-shadow:4px 0 24px #264f8a09;isolation:isolate; }
.sidebar::before { content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse 180% 42% at -45% 45%,#fff0 72%,#ccdef766 72.3%,#ccdef700 100%),radial-gradient(ellipse 180% 36% at 112% 83%,#afcdf43b 65%,transparent 66%); }
.sidebar .brand { margin-bottom:44px; }
.brand img { box-shadow:0 5px 12px #0f48ac32; }
.brand strong { color:#10203d; }
.brand strong span,.hero h1 span { color:#efb400; }
.nav-title { color:#536b92; }
.nav-item { color:#233b61; border:1px solid transparent; transition:background .16s,box-shadow .16s,color .16s; }
.nav-item:hover { background:#e2edff; }
.nav-item.active { background:linear-gradient(108deg,#0637ac,#075beb);border-color:#2368ef;box-shadow:0 5px 12px #0c48c32b,inset 0 1px 0 #ffffff35; }
.side-art { background:linear-gradient(150deg,#e6effc00,#c4dafa95 55%,#f0f5ff);height:190px;margin:12px -17px 0; }
.road { border-color:#8eadd9;box-shadow:0 0 0 10px #dce8f9,0 0 0 11px #ffffff90;left:45px;top:43px; }
.road:after { border-color:#ffffffed; }
.road-sign { background:linear-gradient(145deg,#378bff,#0044c4);box-shadow:0 4px 9px #163b7d45; }
.side-footer { padding-top:17px;color:#4f6790; }
.topbar { background:#ffffff;border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none; }
.search-box { background:linear-gradient(135deg,#f5f8fe,#eaf0fa);border-color:#d4dfef;border-radius:12px;box-shadow:inset 0 1px 2px #1f3a6804; }
.search-box:focus-within { border-color:#86adf4;box-shadow:0 0 0 3px #a5c7ff40; }
.search-box input::placeholder { color:#697b96; }
kbd { background:#dce7fa;color:#3f629d; }
.live { background:#fff0c4;color:#77520a;box-shadow:0 2px 6px #b18b1510; }
.live.connected { background:#dcf7e8;color:#14683e; }
.user-avatar { background:linear-gradient(150deg,#e8f1ff,#cbdcff);color:#2051a8; }
.main { max-width:1920px; }
/* Separate photographic and decorative layers: the picture never ends in a vertical seam. */
.hero { --hero-height:205px;height:var(--hero-height);isolation:isolate;position:relative;border:1px solid #fff;border-radius:19px;box-shadow:0 6px 21px #28518a1a;background:radial-gradient(ellipse 76% 150% at 15% 0%,#f8fbff 0%,#e8f0fc 64%,#d9e8fb 100%); }
.hero::before { content:'';position:absolute;inset:0;z-index:-2;pointer-events:none;background:radial-gradient(ellipse 87% 175% at 6% -76%,transparent 73%,#b7d4f84d 73.3%,#b7d4f825 87%,transparent 87.3%),radial-gradient(ellipse 75% 180% at 95% 139%,#9dc8f724 62%,#8ab9f242 62.3%,#b7d5f655 73%,transparent 73.3%),linear-gradient(113deg,transparent 37%,#d0e3fa88 65%,#b0d3f6 100%); }
.hero::after { content:'';position:absolute;z-index:-1;right:0;top:0;height:100%;width:min(65%,calc(var(--hero-height) * 2.45));background:url('hero.webp') right 58% / cover no-repeat;pointer-events:none;-webkit-mask-image:linear-gradient(90deg,transparent 0%,#0004 19%,#000c 34%,#000 49%);mask-image:linear-gradient(90deg,transparent 0%,#0004 19%,#000c 34%,#000 49%); }
.hero-text { padding:24px 30px;max-width:70%; }
.hero h1 { font-weight:800;letter-spacing:-.05em;color:#10203e; }
.hero p { color:#516b93;font-size:15px;font-weight:500; }
.eyebrow { color:#405d88;letter-spacing:.11em; }
.kpis { gap:16px;margin:18px 0 21px; }
.kpi,.panel { background:linear-gradient(155deg,#fff 5%,#f9fbff 100%);border:1px solid #ffffff;border-radius:17px;box-shadow:var(--shadow),0 0 0 1px #d9e3f180; }
.kpi { min-height:94px;gap:14px; }
.kpi-icon { background:linear-gradient(150deg,#e6f0ff,#c9dcfd);box-shadow:0 4px 9px #285cbc15,inset 0 1px 0 #fff;border-radius:14px;color:#075cf0; }
.gold { background:linear-gradient(145deg,#fff8dd,#ffe89d)!important;color:#ad7600!important; }
.kpi small { color:#334c72;font-size:12px;font-weight:550; }
.kpi div>span { color:#687d9b;font-size:11px; }
.kpi strong { color:#0d2144;font-size:30px; }
.content-grid { gap:16px; }
.panel { padding:19px; }
.panel h2 { color:#10213e;font-weight:780; }
.panel-head { margin-bottom:17px; }
.button,.icon-button,.chip { border-radius:10px;border-color:#d3dff1;background:linear-gradient(160deg,#fff,#f8faff);box-shadow:0 2px 4px #264c8008;color:#233b63;transition:background .15s,box-shadow .15s,border-color .15s; }
.primary { background:linear-gradient(115deg,#0539b9,#0758e6);border-color:#1357d9;color:#fff;box-shadow:0 4px 10px #0644c32b,inset 0 1px 0 #ffffff38; }
.primary:hover { background:linear-gradient(115deg,#0633a5,#004ed2);border-color:#0a4bc4;box-shadow:0 5px 13px #0644c340; }
.danger { color:#c3384a;border-color:#f2c5cb;background:#fffafb; }
.danger:hover { background:#fff0f2;border-color:#efb5be; }
.student-row { border-color:#e4ebf6;border-radius:12px;transition:background .15s; }
.student-row:hover { background:#f0f5ff; }
.student-row.selected { background:linear-gradient(110deg,#e0ebfd,#eaf1ff);border-radius:12px;box-shadow:inset 0 0 0 1px #dce8fc; }
.student-name strong { color:#152b4e;font-size:14px; }
.student-name small,.row-status { color:#5f7494; }
.avatar { box-shadow:inset 0 1px 0 #ffffff65,0 2px 5px #3150800b; }
.tone1 { background:linear-gradient(145deg,#5295fc,#2a72e8);color:#fff; }
.tone0 { background:linear-gradient(145deg,#eef5ff,#c9ddfb); }
.tone2 { background:linear-gradient(145deg,#f0f3f9,#d6dfec); }
.tone3 { background:linear-gradient(145deg,#edfbf1,#c8edda); }
.tone4 { background:linear-gradient(145deg,#f5efff,#e2d4fc); }
.progress-bar { background:#dce5f3;height:7px; }
.progress-bar i { background:linear-gradient(90deg,#0749d4,#2780ff); }
.progress-bar.yellow i { background:linear-gradient(90deg,#e6a000,#ffcd1b); }
.tab { color:#4f6385; }
.tab.active { color:#084bd3;background:linear-gradient(180deg,#edf4ff,#dce9fd);border-radius:9px 9px 0 0;border-bottom-color:#1460ef; }
.subpanel { background:linear-gradient(155deg,#fff,#f6f9ff);border-color:#d8e3f3;border-radius:13px;box-shadow:0 2px 6px #224a8607; }
.ring { background:conic-gradient(#1465ee var(--progress),#dae4f4 0); }
.ring:before { background:#fdfdff; }
.progress-lines>div:not(.progress-bar),.summary-line { color:#506789; }
.summary-line { border-color:#e2eaf5; }
.contact { color:#5c7292; }
input,select,textarea { border-color:#d4dff0;border-radius:10px; }
dialog { border-color:#d7e2f2;border-radius:20px; }
.login-area { background:radial-gradient(ellipse at 90% 5%,#dceaff,transparent 65%),#f3f7fd; }
.login-illustration .brand strong { color:white; }
.login-card { box-shadow:0 16px 50px #234d8e19; }
.mobile-shell { background:linear-gradient(145deg,#e7effc,#f4f7fc 60%,#eaf1fd); }
.mobile-top,.mobile-footer { background:#f9fbff;box-shadow:0 2px 10px #214a8b0b; }
.mobile-hero { isolation:isolate;overflow:hidden;height:160px;background:linear-gradient(110deg,#edf4ff,#dceafb 65%,#b6d6f9);border-radius:0 0 18px 18px; }
.mobile-hero::before { content:'';position:absolute;inset:0;z-index:-1;background:url('hero.webp') right center/auto 100% no-repeat;-webkit-mask-image:linear-gradient(90deg,transparent 13%,#0005 40%,#000 77%);mask-image:linear-gradient(90deg,transparent 13%,#0005 40%,#000 77%); }
.mobile-hero h1,.mobile-hero p,.mobile-hero .eyebrow { max-width:70%;text-shadow:0 1px 3px #f4f8ff; }
.mobile-content .student-row { border-color:#dce6f5;background:linear-gradient(145deg,#fff,#f8faff);border-radius:15px; }
.mobile-content .search-box { border-radius:13px; }
.mobile-footer { padding-bottom:max(12px,env(safe-area-inset-bottom)); }
@media (min-width:1450px) { .hero { --hero-height:215px; } .panel { padding:22px; } .kpi { padding:18px; } }
@media (max-width:1150px) { .shell {grid-template-columns:190px minmax(0,1fr)} .panel{padding:14px} .kpi{gap:8px;min-height:84px} .kpi strong{font-size:25px} .kpi small{font-size:11px} .kpi div>span{font-size:10px} .hero{--hero-height:180px} .hero-text{padding:18px 21px} .side-art{margin-left:-12px;margin-right:-12px} }
@media (max-width:850px) { .shell{grid-template-columns:1fr} .sidebar .brand{margin:0} .sidebar{box-shadow:0 2px 10px #214a8b0b} .hero{--hero-height:155px} .kpis{gap:10px;margin:12px 0 15px} .content-grid{gap:13px} }
@media (max-width:550px) { .hero{--hero-height:145px;border-radius:14px} .hero-text{padding:14px;max-width:77%} .hero h1{font-size:25px} .hero p{font-size:12px} .hero::after{width:63%;opacity:.85;-webkit-mask-image:linear-gradient(90deg,transparent,#000 75%);mask-image:linear-gradient(90deg,transparent,#000 75%)} .panel{padding:13px;border-radius:15px} .kpi{min-height:76px;border-radius:13px} .mobile-hero h1{font-size:28px} .mobile-hero p{max-width:58%} }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after{transition:none!important} }

/* v0.4 – mobilní zápis jízdy a teorie */
.mobile-content .student-row { display:grid; grid-template-columns:42px minmax(0,1fr) auto; gap:10px; padding:14px; }
.mobile-content .student-row .student-name { min-height:44px; }
.mobile-content .student-name strong { font-size:16px; }
.mobile-content .student-name small { font-size:13px; }
.mobile-content .row-progress { display:block; width:55px; min-width:0; }
.mobile-lesson-actions { grid-column:1/-1; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:8px; padding-top:3px; }
.mobile-lesson-actions .quick { width:100%; min-height:48px; font-size:14px; padding:9px 5px; gap:6px; }
.mobile-lesson-actions .quick-theory { background:linear-gradient(145deg,#fff8df,#fff0bd); border-color:#eed68c; color:#795500; }
.mobile-lesson-actions .quick-theory:hover { background:#ffedac; border-color:#e6bf50; }
.mobile-lesson-actions .quick:disabled { opacity:.45; cursor:not-allowed; box-shadow:none; }
.mobile-content .student-name:disabled { opacity:1; cursor:default; }
@media(max-width:350px) { .mobile-lesson-actions .quick { font-size:12px; } .mobile-lesson-actions .quick .icon { width:15px; height:15px; } }

/* v0.5 – kompaktní přehled a rozbalovací statistiky */
.fold-panel { background:linear-gradient(155deg,#fff,#f8faff);border:1px solid #d9e3f1;border-radius:13px;box-shadow:0 2px 7px #224a8609;min-width:0; }
.school-stats { margin:16px 0; }
.fold-panel>summary { display:flex;align-items:center;gap:10px;min-height:48px;padding:10px 15px;cursor:pointer;list-style:none;color:#203b65;user-select:none;border-radius:12px; }
.fold-panel>summary::-webkit-details-marker { display:none; }
.fold-panel>summary:hover { background:#eaf1fe; }
.fold-panel>summary:focus-visible { outline:2px solid #1760e5;outline-offset:2px; }
.fold-panel>summary>strong { font-size:14px; }
.fold-panel>summary>.icon:first-child { color:#2364dd; }
.fold-panel>summary>.icon:last-child { flex-shrink:0;transition:transform .15s; }
.fold-panel[open]>summary>.icon:last-child { transform:rotate(90deg); }
.fold-panel[open]>summary { border-bottom:1px solid #e0e8f4;border-radius:12px 12px 0 0; }
.fold-hint { margin-left:auto;color:#617796;font-size:12px;white-space:nowrap; }
.fold-panel .when-open,.fold-panel[open] .when-closed { display:none; }
.fold-panel[open] .when-open { display:inline; }
.school-stats .kpis { margin:12px; }
.fold-body { display:grid;gap:11px;padding:12px; }
.student-stats { margin:0 0 13px; }
.detail-body>.quick-actions { margin:0 0 13px; }
@media(max-width:550px){.fold-panel>summary{padding:10px;gap:7px}.fold-panel>summary>strong{font-size:13px}.fold-hint{font-size:11px}.school-stats{margin:12px 0}.school-stats .kpis{margin:8px}.fold-body{padding:8px}}
/* v0.6 - React account administration */
.profile-wrap{position:relative;min-width:0}.account-trigger{border:0;border-left:1px solid var(--line);background:transparent;text-align:left;color:inherit;cursor:pointer;padding:7px 10px 7px 15px;border-radius:8px}.account-trigger:hover,.account-trigger[aria-expanded=true]{background:#edf3ff}.account-trigger>.icon{width:15px;height:15px;transform:rotate(90deg);color:var(--muted)}.profile-dropdown{position:absolute;top:calc(100% + 10px);right:0;min-width:205px;background:#fff;border:1px solid var(--line);border-radius:11px;padding:6px;box-shadow:0 12px 35px #14213924;z-index:20}.profile-dropdown button{display:flex;align-items:center;gap:10px;width:100%;border:0;border-radius:7px;background:white;text-align:left;color:#334460;padding:12px;font-weight:600}.profile-dropdown button:hover{background:#edf3ff}.profile-dropdown .icon{width:17px;height:17px}.accounts-panel{padding:24px}.accounts-panel .eyebrow{color:#5975a7;margin-bottom:8px}.account-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0}.account-kpis>div{border:1px solid var(--line);border-radius:11px;background:#f8faff;padding:15px}.account-kpis small,.account-kpis strong{display:block}.account-kpis small{color:var(--muted);font-size:12px}.account-kpis strong{font-size:28px;margin-top:6px}.accounts-tools .search-box{max-width:440px}.account-table-wrap{overflow:auto}.account-table{border-collapse:collapse;width:100%;text-align:left;min-width:760px}.account-table th{color:#6b7890;font-size:11px;letter-spacing:.04em;text-transform:uppercase;background:#f6f8fc;padding:14px 12px}.account-table td{padding:13px 12px;border-bottom:1px solid var(--line);vertical-align:middle}.account-table td small{display:block;color:var(--muted);margin-top:5px;font-size:11px}.account-person,.account-actions{display:flex;align-items:center;gap:8px}.role-tag,.account-status{display:inline-block;font-size:11px;font-weight:650;padding:6px 9px;border-radius:20px;white-space:nowrap;background:#edf2fa;color:#4b6082}.account-status.active{background:#e5f6ed;color:#167449}.account-status.pending{background:#fff4d8;color:#91640b}.account-status.inactive{background:#f3e7e9;color:#a3414c}.account-note{margin-top:18px}.login-link{margin-top:12px}.notice{padding:12px;border:1px solid #d6e4fb;background:#f2f6ff;border-radius:8px;line-height:1.55}.detail-name{flex:1;min-width:0}.mobile-top .profile-wrap{margin-left:auto}.mobile-top .account-trigger{padding:5px}.mobile-top .account-trigger strong{max-width:100px;overflow:hidden;text-overflow:ellipsis}.mobile-top .account-trigger>.icon{display:none}@media(max-width:850px){.accounts-panel{padding:15px}.account-kpis{gap:7px}.account-kpis>div{padding:10px}.top-right .account-trigger{padding:5px}.accounts-tools{flex-wrap:wrap}.top-right .account-trigger strong{max-width:95px;overflow:hidden;text-overflow:ellipsis}}@media(max-width:550px){.accounts-panel .panel-head{flex-wrap:wrap}.account-kpis strong{font-size:22px}.account-kpis small{font-size:10px}.account-trigger .user-avatar{width:29px;height:29px}.mobile-top .brand strong{font-size:17px}}

.settings-heading{margin-bottom:18px}.settings-heading .panel-head{margin-bottom:0}


/* v1.0 – login hero rebuilt as a single image-based blue panel */
.login-page{grid-template-columns:minmax(620px,1.08fr) minmax(420px,.92fr)}
.login-illustration{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;min-height:100vh;padding:26px 28px 42px;color:#fff;background-color:#1553c5;background-image:linear-gradient(90deg,rgba(9,46,126,.94) 0%,rgba(11,59,155,.86) 24%,rgba(18,83,197,.68) 48%,rgba(22,84,200,.42) 66%,rgba(22,84,200,.18) 100%),linear-gradient(180deg,rgba(19,76,184,.16),rgba(19,76,184,.16)),url('hero.webp');background-repeat:no-repeat,no-repeat,no-repeat;background-size:auto,auto,cover;background-position:center center,center center,58% bottom;}
.login-illustration::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 16% 24%,rgba(255,255,255,.12) 0,rgba(255,255,255,0) 36%);pointer-events:none}
.login-illustration>.brand,.login-illustration>.brand+div{position:relative;z-index:2}
.login-illustration>.brand{margin:0}.login-illustration>.brand img{box-shadow:0 7px 18px rgba(5,33,90,.28)}
.login-illustration>.brand strong,.login-illustration>.brand small{color:#fff}
.login-illustration>.brand strong span{color:#ffc400}
.login-illustration>.brand+div{max-width:470px;margin-top:clamp(64px,12vh,138px)}
.login-illustration .eyebrow{margin-bottom:14px;color:#d7e6ff;font-size:11px;letter-spacing:.16em;font-weight:800}
.login-illustration h1{margin:0 0 18px;font-size:clamp(52px,5.2vw,74px);line-height:.94;font-weight:800;letter-spacing:-.045em;color:#fff;text-wrap:balance}
.login-illustration p{max-width:310px;margin:0;color:#edf3ff;font-size:17px;line-height:1.62;text-shadow:0 1px 2px rgba(9,41,109,.08)}
.login-photo{display:none}
@media(max-width:1400px){.login-illustration{background-position:center center,center center,62% bottom}.login-illustration>.brand+div{max-width:430px}.login-illustration h1{font-size:60px}}
@media(max-width:1180px){.login-page{grid-template-columns:minmax(500px,1fr) minmax(390px,.95fr)}.login-illustration{padding:24px 24px 34px;background-position:center center,center center,68% bottom}.login-illustration>.brand+div{margin-top:70px;max-width:390px}.login-illustration h1{font-size:48px}.login-illustration p{font-size:15px;max-width:280px}}


/* v1.1 – freshly generated login hero image, naturally blended into the blue panel */
.login-illustration {
  background-color: #1044ac;
  background-image:
    linear-gradient(90deg, rgba(7, 42, 123, .10) 0%, rgba(7, 42, 123, .025) 46%, rgba(7, 42, 123, 0) 72%),
    url('login-hero.webp');
  background-repeat: no-repeat, no-repeat;
  background-size: 100% 100%, cover;
  background-position: center center, center center;
}
.login-illustration::before {
  background: linear-gradient(90deg, rgba(6, 39, 112, .10) 0%, rgba(6, 39, 112, 0) 62%);
}
.login-photo { display: none !important; }
@media (max-width: 1400px) {
  .login-illustration { background-position: center center, center center; }
}
@media (max-width: 1180px) {
  .login-illustration { background-position: center center, center center; }
}


/* v1.2 – allow the login hero image through Apache and give the headline room */
.login-illustration > .brand + div {
  width: min(100%, 620px);
  max-width: 620px;
}
.login-illustration h1 {
  max-width: 620px;
  font-size: clamp(48px, 4vw, 64px);
  line-height: .98;
}
@media (max-width: 1180px) {
  .login-illustration > .brand + div {
    width: min(100%, 560px);
    max-width: 560px;
  }
  .login-illustration h1 {
    font-size: clamp(46px, 4.2vw, 54px);
  }
}

/* v1.3 – student register and full student record */
.students-list-panel{padding:22px}
.students-tools{margin:0 0 16px;align-items:center}
.students-tools .search-box{max-width:none}
.students-tools select{max-width:190px}
.student-table-wrap{width:100%;overflow:auto;border:1px solid var(--line);border-radius:12px}
.student-table{width:100%;min-width:680px;border-collapse:collapse;text-align:left;background:#fff}
.student-table th{padding:14px 16px;background:#f6f8fc;color:#687791;font-size:10px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;white-space:nowrap}
.student-table td{padding:13px 16px;border-top:1px solid #edf1f7;color:#273b5d;font-size:13px;vertical-align:middle}
.student-table tbody tr{cursor:pointer;transition:background .14s}
.student-table tbody tr:hover{background:#f1f6ff}
.student-table tbody tr:focus-visible{outline:2px solid #2465e4;outline-offset:-2px}
.student-table-name{display:flex;align-items:center;gap:11px;min-width:220px}
.student-table-name strong{font-size:13px;color:#152b4e}
.student-number-cell{font-weight:750;font-variant-numeric:tabular-nums;white-space:nowrap}
.student-status{display:inline-flex;align-items:center;padding:6px 10px;border-radius:20px;font-size:11px;font-weight:750;white-space:nowrap}
.student-status.status-new{background:#edf3ff;color:#285db2}
.student-status.status-started{background:#e5f6ed;color:#167449}
.student-status.status-completed{background:#edf0f5;color:#59677c}
.student-detail-toolbar{display:flex;align-items:center;margin-bottom:12px}
.student-detail-toolbar .button .icon{transform:rotate(180deg)}
.detail-header .detail-name p{margin-top:5px}
.student-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:15px}
.student-info-item{min-width:0;padding:12px 14px;border:1px solid #e6edf7;background:#f9fbfe;border-radius:10px}
.student-info-item small{display:block;color:#72819a;font-size:10px;font-weight:750;letter-spacing:.06em;text-transform:uppercase;margin-bottom:6px}
.student-info-item strong{display:block;color:#1c3152;font-size:13px;line-height:1.5;overflow-wrap:anywhere;white-space:pre-wrap}
.student-form{display:grid;gap:14px}
.student-form .form-grid{gap:13px}
.student-number-preview{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 15px;border:1px solid #dce8fa;border-radius:11px;background:linear-gradient(110deg,#f1f6ff,#f9fbff)}
.student-number-preview small{color:#607596;font-size:10px;font-weight:800;letter-spacing:.1em}
.student-number-preview strong{color:#124dbd;font-size:15px;font-variant-numeric:tabular-nums}
.student-form>label{margin-top:1px}
dialog:has(.student-form){width:min(760px,calc(100vw - 28px));max-width:min(760px,calc(100vw - 28px))}
dialog:has(.student-form) .modal-content{max-height:calc(100dvh - 150px);overflow:auto}
.numbering-current{display:flex;gap:12px;flex-wrap:wrap}
.numbering-current>div{flex:1;min-width:180px;padding:15px 17px;border:1px solid #e1e9f5;background:#f8faff;border-radius:11px}
.numbering-current small{display:block;color:#71809a;font-size:10px;font-weight:800;letter-spacing:.08em}
.numbering-current strong{display:block;margin-top:7px;color:#164bb1;font-size:25px;font-variant-numeric:tabular-nums}
@media(max-width:850px){.students-list-panel{padding:15px}.student-info-grid{grid-template-columns:1fr 1fr}.student-table th,.student-table td{padding:12px 11px}}
@media(max-width:550px){.students-tools{flex-direction:column;align-items:stretch}.students-tools select{max-width:none}.student-info-grid{grid-template-columns:1fr}.student-detail-toolbar .button{width:100%}.student-number-preview{align-items:flex-start;flex-direction:column;gap:5px}.numbering-current>div{min-width:100%}}

/* v1.4 – settings subnavigation and driving group catalogue */
.settings-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 16px;padding:5px;border:1px solid var(--line);border-radius:11px;background:#fff}.settings-tabs .tab{padding:10px 16px;border:0;border-radius:7px}.settings-tabs .tab.active{background:#e8f0ff;color:#1047bd;font-weight:750}.settings-tabs .tab:focus-visible{outline:2px solid #2465e4}.group-table-wrap{border:1px solid var(--line);border-radius:10px;overflow:auto}.group-table{min-width:0}.group-table tbody tr{cursor:default}.group-code{white-space:nowrap;color:#204e9d;font-weight:750}.students-list-panel .student-table{min-width:790px}


/* v1.5 – course lifecycle: active first, closed below */
.courses-panel{display:grid;gap:26px}.course-section{display:grid;gap:12px}.course-section-title{display:flex;align-items:center;justify-content:space-between;gap:16px}.course-section-title h3{margin:0;color:#172944;font-size:17px}.course-section-title p{margin:5px 0 0}.course-count{display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:32px;padding:0 10px;border-radius:20px;background:#edf3ff;color:#2457ad;font-weight:750;font-size:13px}.closed-courses{padding-top:22px;border-top:1px solid var(--line)}.closed-courses .course-count{background:#edf0f5;color:#68758a}.course-table-wrap{border:1px solid var(--line);border-radius:11px;overflow:auto}.course-table{min-width:800px}.course-table td:first-child{min-width:150px}.course-table .course-number{font-size:16px;color:#173f91;letter-spacing:.01em}.course-table td small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.course-empty{border:1px dashed #d8e0ec;border-radius:10px;padding:26px 14px}.course-empty .icon{color:#8aa2c8}.course-section .account-status{font-size:11px}.course-section .account-status.active{background:#e5f6ed;color:#167449}.course-section .account-status.inactive{background:#edf0f5;color:#68758a}
@media(max-width:850px){.courses-panel{gap:20px}.course-section-title{align-items:flex-start}.course-table{min-width:720px}}

/* v1.7 – multi-line course validation errors */
.form-error {
  white-space: pre-line;
  overflow-wrap: anywhere;
  max-height: 260px;
  overflow-y: auto;
  line-height: 1.55;
}


/* v1.8 – custom in-app confirmation for unsaved modal changes */
dialog { position: relative; }
.unsaved-confirm-backdrop {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 18px;
  border-radius: inherit;
  background: rgba(15, 31, 58, .48);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
.unsaved-confirm {
  width: min(430px, 100%);
  box-sizing: border-box;
  padding: 28px 26px 22px;
  border: 1px solid #dfe7f3;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(8, 29, 68, .28);
  text-align: center;
  animation: unsaved-confirm-in .16s ease-out;
}
.unsaved-confirm-symbol {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: #fff4d8;
  color: #a56a00;
  font-size: 25px;
  font-weight: 800;
}
.unsaved-confirm h3 {
  margin: 0 0 9px;
  color: #172944;
  font-size: 19px;
  line-height: 1.3;
}
.unsaved-confirm p {
  margin: 0;
  color: #62718a;
  font-size: 13px;
  line-height: 1.6;
}
.unsaved-confirm-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 23px;
}
.unsaved-confirm-actions .button {
  min-height: 42px;
  padding: 10px 14px;
}
.unsaved-confirm-actions .unsaved-discard {
  border-color: #f0c6cb;
  background: #fff5f6;
  color: #a9273b;
}
.unsaved-confirm-actions .unsaved-discard:hover {
  border-color: #e5a5ad;
  background: #ffe9ec;
}
@keyframes unsaved-confirm-in {
  from { opacity: 0; transform: translateY(5px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 520px) {
  .unsaved-confirm { padding: 24px 18px 18px; }
  .unsaved-confirm-actions { flex-direction: column-reverse; }
  .unsaved-confirm-actions .button { width: 100%; }
}


/* v2.2 – direct-hour theory records and course attendance */
.theory-category-label{display:flex;align-items:baseline;gap:12px;min-width:280px;line-height:1.45}
.theory-category-label strong{flex:0 0 48px;display:inline-block}
.theory-category-label span{color:#64748b;font-size:12px;font-weight:400;white-space:normal}
.teaching-course-list{display:grid;gap:12px}
.teaching-course-card{overflow:hidden;border:1px solid #e1e7f0;border-radius:14px;background:#fff}
.teaching-course-card.expanded{border-color:#b8cbed;box-shadow:0 5px 18px rgba(25,68,130,.07)}
.teaching-course-head{width:100%;display:flex;align-items:center;gap:14px;padding:17px 19px;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}
.teaching-course-head>.icon:last-child{flex:0 0 auto;color:#71809a;transition:transform .18s ease}
.teaching-course-card.expanded .teaching-course-head>.icon:last-child{transform:rotate(180deg)}
.teaching-course-icon{width:42px;height:42px;flex:0 0 42px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;background:#eaf1ff;color:#1557c0}
.teaching-course-icon .icon{width:21px;height:21px}
.teaching-course-title{min-width:0;flex:1 1 auto;display:flex;flex-direction:column;gap:4px}
.teaching-course-title strong{color:#142b4b;font-size:15px}
.teaching-course-title small,.teaching-course-count{color:#71809a;font-size:12px}
.teaching-course-count{flex:0 0 auto;padding:6px 10px;border-radius:20px;background:#f1f5fb;color:#3d5577;font-weight:700}
.teaching-course-body{padding:4px 19px 18px;border-top:1px solid #edf1f6}
.teaching-participants-head{display:flex;justify-content:space-between;align-items:center;padding:12px 0;color:#243b5a;font-size:13px}
.teaching-participants-head span{color:#71809a;font-size:12px}
.teaching-participants{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px}
.teaching-participant{min-width:0;display:flex;align-items:center;gap:10px;padding:9px 0;border-top:1px solid #f0f3f8}
.teaching-participant>span:nth-child(2){min-width:0;flex:1 1 auto;display:flex;flex-direction:column;gap:3px}
.teaching-participant strong{overflow:hidden;color:#243b5a;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.teaching-participant small{color:#71809a;font-size:11px}
.teaching-participant .student-status{flex:0 0 auto;font-size:10px}
.teaching-course-actions{display:flex;justify-content:flex-end;padding-top:14px}
.course-theory-form .modal-student{margin-bottom:16px}
.course-theory-form .modal-student>div{display:flex;flex-direction:column;gap:3px}
.course-theory-form .modal-student small{color:#71809a;font-size:11px}
.course-theory-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;border-radius:10px;background:#f2f6fc;color:#243b5a;font-size:13px}
.attendance-list{display:grid;gap:0;max-height:min(52vh,430px);overflow:auto;border:1px solid #e4eaf2;border-radius:11px}
.attendance-row{min-width:0;display:flex;align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid #edf1f6;cursor:pointer}
.attendance-row:last-child{border-bottom:0}
.attendance-row>input{width:16px;height:16px;flex:0 0 16px;accent-color:#1557c0}
.attendance-row.ineligible{background:#fafbfd;cursor:pointer}
.attendance-row.ineligible .attendance-person{opacity:.65}
.attendance-person{min-width:0;flex:1 1 auto;display:flex;flex-direction:column;gap:3px}
.attendance-person strong{color:#243b5a;font-size:12px}
.attendance-person small{color:#71809a;font-size:11px;line-height:1.35}
.attendance-remaining{flex:0 0 auto;color:#1557c0;font-size:12px;font-weight:700}
@media(max-width:720px){.teaching-participants{grid-template-columns:1fr}.teaching-course-head{gap:9px;padding:13px}.teaching-course-count{font-size:10px;padding:5px 7px}.teaching-course-body{padding:4px 13px 14px}.theory-category-label{min-width:220px;gap:8px}}


/* v2.3 – compact attendance rows, restored settings icon, and mobile teaching */
.attendance-row{
 display:flex!important;
 flex-direction:row!important;
 align-items:center!important;
 justify-content:flex-start;
 width:100%;
 min-height:62px;
 box-sizing:border-box;
 gap:11px;
 padding:8px 12px;
 font-size:12px;
 font-weight:400;
 line-height:1.35;
}
.attendance-row>input{
 display:block;
 flex:0 0 16px;
 width:16px;
 height:16px;
 margin:0;
}
.attendance-row>.avatar{
 flex:0 0 36px;
 width:36px;
 height:36px;
 font-size:12px;
}
.attendance-row .attendance-person{
 flex:1 1 auto;
 min-width:0;
 display:flex;
 flex-direction:column;
 align-items:flex-start;
 justify-content:center;
 gap:3px;
}
.attendance-row .attendance-person strong{
 display:block;
 max-width:100%;
 overflow:hidden;
 text-overflow:ellipsis;
 white-space:nowrap;
 font-size:12px;
 line-height:1.3;
}
.attendance-row .attendance-person small{
 display:block;
 max-width:100%;
 color:#71809a;
 font-size:11px;
 line-height:1.35;
 overflow-wrap:anywhere;
}
.attendance-row .attendance-remaining{
 flex:0 0 auto;
 min-width:44px;
 padding:5px 8px;
 border-radius:8px;
 background:#eef4ff;
 color:#1557c0;
 text-align:center;
 font-size:12px;
 font-weight:750;
}
.attendance-row.ineligible .attendance-remaining{background:#f0f2f6;color:#8994a6}
.mobile-section-tabs{
 display:grid;
 grid-template-columns:1fr 1fr;
 gap:6px;
 margin:12px 14px 0;
 padding:5px;
 border:1px solid #dce6f5;
 border-radius:13px;
 background:#f8faff;
 box-shadow:0 2px 8px #214a8608;
}
.mobile-section-tabs button{
 min-height:43px;
 display:flex;
 align-items:center;
 justify-content:center;
 gap:8px;
 border:0;
 border-radius:9px;
 background:transparent;
 color:#5f7190;
 font-size:13px;
 font-weight:750;
 cursor:pointer;
}
.mobile-section-tabs button .icon{width:17px;height:17px}
.mobile-section-tabs button.active{
 background:linear-gradient(135deg,#1451c7,#0964e8);
 color:#fff;
 box-shadow:0 3px 9px #1451c733;
}
.mobile-content .teaching-panel{
 margin:0;
 padding:14px;
 border-radius:15px;
}
.mobile-content .teaching-panel .panel-head{padding-bottom:12px}
.mobile-content .teaching-panel .panel-head h2{font-size:20px}
.mobile-content .teaching-panel .panel-head p{font-size:12px;line-height:1.45}
.mobile-content .teaching-course-head{gap:9px;padding:12px}
.mobile-content .teaching-course-icon{width:36px;height:36px;flex-basis:36px}
.mobile-content .teaching-course-title strong{font-size:13px}
.mobile-content .teaching-course-title small{font-size:11px;line-height:1.35}
.mobile-content .teaching-course-count{padding:5px 7px;font-size:10px;white-space:nowrap}
.mobile-content .teaching-course-body{padding:4px 11px 13px}
.mobile-content .teaching-participants-head{padding:10px 0}
.mobile-content .teaching-participant{gap:8px;padding:9px 0}
.mobile-content .teaching-participant .avatar{width:34px;height:34px;font-size:11px}
.mobile-content .teaching-participant strong{font-size:12px}
.mobile-content .teaching-participant small{font-size:11px}
.mobile-content .teaching-course-actions .button{width:100%;min-height:45px}
.mobile-content .teaching-panel .empty{padding:24px 10px}
dialog:has(.course-theory-form){
 width:min(760px,calc(100vw - 28px));
 max-width:min(760px,calc(100vw - 28px));
}
dialog:has(.course-theory-form) .modal-content{
 max-height:calc(100dvh - 150px);
 overflow:auto;
}
.course-theory-form .attendance-list{max-height:min(48dvh,380px)}
@media(max-width:620px){
 .attendance-row{min-height:58px;gap:8px;padding:8px 9px}
 .attendance-row>.avatar{width:33px;height:33px;flex-basis:33px;font-size:11px}
 .attendance-row .attendance-person strong{font-size:11px}
 .attendance-row .attendance-person small{font-size:10px}
 .attendance-row .attendance-remaining{min-width:37px;padding:4px 6px;font-size:11px}
 .mobile-content .teaching-panel{padding:12px}
 .mobile-content .teaching-course-head{gap:7px;padding:11px 9px}
 .mobile-content .teaching-course-count{font-size:9px;padding:4px 6px}
 .mobile-content .teaching-course-title strong{font-size:12px}
 .mobile-content .teaching-course-title small{font-size:10px}
 .mobile-content .teaching-course-body{padding:4px 8px 11px}
 dialog:has(.course-theory-form){width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:14px}
 dialog:has(.course-theory-form) .modal-content{max-height:calc(100dvh - 138px)}
 .course-theory-form .attendance-list{max-height:42dvh}
}


/* v2.4 – structured practical training and per-group practical funds */
.catalogue-stack{display:grid;gap:16px;min-width:0}
.practical-funds-panel .group-table-wrap{max-width:100%}
.practical-funds-catalogue{min-width:1120px}
.practical-fund-note{margin:12px 0 0;font-size:12px;line-height:1.5}
.practical-detail-stack{display:grid;gap:14px;min-width:0}
.practical-requirements-panel .theory-category-label{min-width:300px}
.practical-requirements-panel .theory-category-label strong{flex:0 0 100px}
.teaching-course-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:9px;padding-top:14px}
.teaching-course-actions .button{min-height:42px}
.course-practical-form .modal-student{margin-bottom:16px}
.course-practical-form .attendance-list{max-height:min(52vh,430px)}
.course-practical-form .course-theory-summary strong{line-height:1.45}
@media(max-width:720px){
 .catalogue-stack{gap:12px}
 .practical-funds-catalogue{min-width:1080px}
 .practical-detail-stack{gap:11px}
 .practical-requirements-panel .theory-category-label{min-width:230px;gap:8px}
 .practical-requirements-panel .theory-category-label strong{flex-basis:85px}
 .teaching-course-actions{display:grid;grid-template-columns:1fr;gap:8px}
 .teaching-course-actions .button{width:100%;min-height:46px}
 .course-practical-form .course-theory-summary{align-items:flex-start;flex-direction:column;gap:7px}
}


/* v2.5 – student overview: theory and practical-training donut summaries */
.training-summary-grid{
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:12px;
 margin-top:12px;
 align-items:start;
}
.training-progress-card{min-width:0;padding:15px}
.training-card-head{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:9px;
 margin-bottom:13px;
}
.training-card-head h3{margin:0}
.training-card-head>span{
 flex:0 0 auto;
 border-radius:20px;
 padding:5px 8px;
 background:#edf3ff;
 color:#174ab6;
 font-size:10px;
 font-weight:750;
}
.training-progress-card.practical .training-card-head>span{background:#fff5df;color:#8b6200}
.training-progress-total{
 display:flex;
 align-items:center;
 gap:15px;
 padding-bottom:14px;
 border-bottom:1px solid #edf0f5;
}
.training-donut-wrap{position:relative;width:112px;height:112px;flex:0 0 112px}
.training-donut-wrap svg{display:block;width:100%;height:100%;overflow:visible}
.training-donut-track,.training-donut-value{fill:none;stroke-width:11}
.training-donut-track{stroke:#e6ebf3}
.training-donut-value{stroke:#2465e4;stroke-linecap:round;transition:stroke-dasharray .25s}
.training-progress-card.practical .training-donut-value{stroke:#d69b24}
.training-donut-center{
 position:absolute;
 inset:0;
 display:flex;
 flex-direction:column;
 align-items:center;
 justify-content:center;
 pointer-events:none;
}
.training-donut-center strong{font-size:23px;line-height:1.1;letter-spacing:-.05em;color:#182943}
.training-donut-center small{margin-top:3px;font-size:10px;color:var(--muted);font-weight:650}
.training-total-copy{display:grid;gap:5px;min-width:0}
.training-total-copy>strong{font-size:16px;line-height:1.2;color:#1b2b45}
.training-total-copy>span{font-size:11px;font-weight:700;color:#354966}
.training-total-copy .muted{font-size:10px}
.training-breakdown{display:grid;gap:10px;padding-top:12px}
.training-breakdown-title{font-size:10px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:#77849a}
.training-breakdown-row{display:grid;gap:5px;min-width:0}
.training-breakdown-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;min-width:0}
.training-breakdown-name{display:grid;gap:2px;min-width:0}
.training-breakdown-name strong{font-size:11px;color:#243956}
.training-breakdown-name span{font-size:10px;line-height:1.35;color:#748096;overflow-wrap:anywhere}
.training-breakdown-hours{flex:0 0 auto;white-space:nowrap;font-size:11px;color:#243956}
.training-breakdown-hours small{font-size:10px;font-weight:500;color:#78859a}
.training-breakdown-progress{display:flex;align-items:center;gap:8px}
.training-breakdown-progress .progress-bar{flex:1;height:6px}
.training-breakdown-progress>small{width:42px;text-align:right;font-size:9px;color:#718096}
.training-no-fund{font-size:10px;color:#8a6a22}
@media(max-width:850px){
 .training-summary-grid{grid-template-columns:1fr}
}
@media(max-width:550px){
 .training-progress-card{padding:12px}
 .training-progress-total{gap:12px}
 .training-donut-wrap{width:100px;height:100px;flex-basis:100px}
 .training-donut-center strong{font-size:21px}
 .training-total-copy>strong{font-size:14px}
}


/* v2.6 – monthly dashboard statistics, selected-student preview and reports */
.dashboard-student-preview{min-width:0}
.dashboard-preview-heading{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:12px;
 padding-bottom:14px;
 border-bottom:1px solid var(--line);
}
.dashboard-preview-heading h2{margin-top:3px}
.dashboard-preview-heading .avatar{flex:0 0 58px}
.dashboard-preview-facts{
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:9px;
 padding:13px 0 15px;
 border-bottom:1px solid var(--line);
}
.dashboard-preview-facts>div{
 display:flex;
 flex-direction:column;
 gap:5px;
 min-width:0;
}
.dashboard-preview-facts small{
 font-size:10px;
 color:var(--muted);
}
.dashboard-preview-facts strong{
 font-size:12px;
 color:#243956;
 overflow-wrap:anywhere;
}
.dashboard-preview-facts .student-status{
 align-self:flex-start;
 max-width:100%;
}
.dashboard-preview-progress{padding-top:14px}
.dashboard-preview-progress>.subhead{margin-bottom:10px}
.dashboard-preview-progress .subhead h3{margin:0 0 3px}
.dashboard-preview-progress .training-summary-grid{margin-top:0;gap:9px}
.dashboard-preview-progress .training-progress-card{padding:11px}
.dashboard-preview-progress .training-card-head{align-items:flex-start;flex-wrap:wrap;margin-bottom:8px}
.dashboard-preview-progress .training-card-head h3{font-size:13px}
.dashboard-preview-progress .training-card-head>span{font-size:9px;padding:4px 7px}
.dashboard-preview-progress .training-progress-total{gap:9px;padding-bottom:10px}
.dashboard-preview-progress .training-donut-wrap{width:88px;height:88px;flex-basis:88px}
.dashboard-preview-progress .training-donut-center strong{font-size:19px}
.dashboard-preview-progress .training-donut-center small{font-size:9px}
.dashboard-preview-progress .training-total-copy>strong{font-size:12px}
.dashboard-preview-progress .training-total-copy>span{font-size:10px}
.dashboard-preview-progress .training-total-copy .muted{font-size:9px}
.dashboard-preview-progress .training-breakdown{gap:8px;padding-top:9px}
.dashboard-preview-progress .training-breakdown-title{font-size:9px}
.dashboard-preview-progress .training-breakdown-name span{font-size:9px}
.dashboard-preview-progress .training-breakdown-hours{font-size:10px}
.dashboard-preview-progress .training-breakdown-hours small{font-size:9px}
.dashboard-preview-progress .training-breakdown-progress>small{font-size:8px;width:36px}
.dashboard-preview-footer{
 display:flex;
 justify-content:flex-end;
 padding-top:12px;
 margin-top:12px;
 border-top:1px solid #edf0f5;
}
.preview-loading{
 display:flex;
 align-items:center;
 gap:10px;
 min-height:95px;
 padding:15px;
 border:1px dashed #dce4f0;
 border-radius:10px;
 color:var(--muted);
 font-size:12px;
}
.loading-dot{
 width:8px;height:8px;border-radius:50%;
 background:#2465e4;
 box-shadow:0 0 0 5px #2465e415;
}
.reports-placeholder>.eyebrow{margin-bottom:6px}
.reports-placeholder h2{margin-bottom:4px}
.reports-placeholder>.empty{
 min-height:230px;
 margin-top:18px;
 border:1px dashed #dce4f0;
 border-radius:12px;
 background:#fbfcff;
}
@media(max-width:1100px){
 .dashboard-preview-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:850px){
 .dashboard-preview-facts{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:550px){
 .dashboard-preview-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
 .dashboard-preview-heading h2{font-size:19px}
 .dashboard-preview-progress .training-summary-grid{grid-template-columns:1fr}
 .dashboard-preview-progress .training-progress-card{padding:12px}
}

/* v2.7 – completed student class-book PDF */
.quick-actions{flex-wrap:wrap}
.quick-actions .classbook-print{color:#174ab6;border-color:#c7d8f8;background:#edf3ff}
.quick-actions .classbook-print:hover{background:#e2ecff}

/* Mobile compact header – 2026-12-04. Only /mobile workspace. */
.mobile-shell .mobile-top {
  padding: 3px 14px;
  min-height: 40px;
  box-sizing: border-box;
}
.mobile-shell .mobile-top .brand { gap: 7px; }
.mobile-shell .mobile-top .brand img {
  width: 25px; height: 25px; border-radius: 6px;
}
.mobile-shell .mobile-top .brand strong { font-size: 11px; line-height: 1.05; }
.mobile-shell .mobile-top .brand small { font-size: 8px; margin-top: 2px; }
.mobile-shell .mobile-top .account-trigger { min-height: 36px; padding: 3px 6px; }
.mobile-shell .mobile-top .account-trigger .user-avatar { width: 26px; height: 26px; font-size: 11px; }
.mobile-shell .mobile-hero {
  height: auto; min-height: 80px; padding: 7px 18px;
  box-sizing: border-box; border-radius: 0 0 10px 10px;
}
.mobile-shell .mobile-hero::before {
  left: 40%; background-size: cover; background-position: right center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 65%);
  mask-image: linear-gradient(90deg, transparent, #000 65%);
}
.mobile-shell .mobile-hero .eyebrow { font-size: 9px; margin-bottom: 4px; }
.mobile-shell .mobile-hero h1 { font-size: 17px; line-height: 1.15; }
.mobile-shell .mobile-hero p { font-size: 10px; line-height: 1.25; margin-top: 4px; max-width: 70%; }
/* Hide the entire status/install row, without touching SignalR or PWA logic. */
.mobile-shell .mobile-content > .live-line { display: none; }


/* v2.10 – keep the individual practical-training action readable on narrow phones. */
@media (max-width: 700px) {
  .mobile-lesson-actions .quick {
    min-width: 0;
    min-height: 54px;
    padding: 8px 4px;
    gap: 4px;
    font-size: 12px;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
  }
  .mobile-lesson-actions .quick .icon {
    flex: 0 0 15px;
    width: 15px;
    height: 15px;
  }
}
@media (max-width: 350px) {
  .mobile-lesson-actions .quick { font-size: 11px; }
  .mobile-lesson-actions .quick .icon { flex-basis: 14px; width: 14px; height: 14px; }
}


/* Dashboard student list: separate theory and practical progress at a glance. */
.row-progress {
  width: 116px;
  min-width: 100px;
  max-width: 116px;
  flex: 0 0 116px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.row-progress-item { display: grid; gap: 3px; min-width: 0; }
.row-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  color: #536987;
  font-size: 10px;
  line-height: 1.15;
}
.row-progress-head strong {
  display: block;
  margin: 0;
  color: #203653;
  font-size: 10px;
  white-space: nowrap;
}
.row-progress .progress-bar { height: 6px; }
@media (max-width: 850px) {
  .mobile-content .row-progress {
    width: 86px;
    min-width: 86px;
    max-width: 86px;
    flex: 0 0 86px;
  }
}
@media (max-width: 365px) {
  .mobile-content .row-progress {
    display: flex;
    width: 76px;
    min-width: 76px;
    max-width: 76px;
    flex: 0 0 76px;
  }
}


/* Student numbering: one independent sequence row per year. */
.numbering-years{display:flex;flex-direction:column;gap:10px;margin-top:8px}
.numbering-year-row{display:grid;grid-template-columns:110px minmax(210px,1fr) auto auto;align-items:center;gap:16px;padding:14px 16px;border:1px solid #dfe8f5;border-radius:12px;background:#f8faff}
.numbering-year-row.archived{background:#f7f8fa;border-color:#e5e8ee}
.numbering-year small,.numbering-value small{display:block;color:#71809a;font-size:10px;font-weight:800;letter-spacing:.08em}
.numbering-year strong{display:block;margin-top:5px;color:#203653;font-size:21px;font-variant-numeric:tabular-nums}
.numbering-value strong{display:block;margin-top:5px;color:#164bb1;font-size:21px;font-variant-numeric:tabular-nums}
.numbering-year-row.archived .numbering-value strong{color:#667085}
.numbering-status{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border-radius:20px;padding:6px 10px;font-size:11px;font-weight:750;background:#e8f0ff;color:#2459ae}
.numbering-status.current{background:#e8f5ee;color:#267348}
.numbering-status.archived{background:#eceff3;color:#697586}
.numbering-status.upcoming{background:#fff4d8;color:#8a6500}
@media(max-width:650px){.numbering-year-row{grid-template-columns:1fr 1.4fr;gap:10px}.numbering-status{justify-self:start}.numbering-year-row>.button{justify-self:end}}

/* Autoškola – mobile footer hidden (2026-12-04) */
.mobile-shell .mobile-footer { display: none !important; }
.mobile-shell { padding-bottom: env(safe-area-inset-bottom, 0px) !important; }
