:root{--blue:#00aaff;--red:#ff0025;--purple:#c570e8;--navy:#27316C;--navy-soft:#eef0f7;--navy-line:#c3c8de;--ink:#15181e;--muted:#626a78;--line:#e1e5eb;--surface:#fff;--bg:#f6f7f9;--head:Montserrat,'Segoe UI',sans-serif;--body:Inter,'Segoe UI',sans-serif;--gradient:linear-gradient(90deg,var(--blue),var(--purple),var(--red))}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.65 var(--body);-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button,a,input,textarea,select,summary{-webkit-tap-highlight-color:transparent}button,summary{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #006aa0;outline-offset:4px}h1,h2,h3,p{margin:0 0 16px}h1,h2,h3{font-family:var(--head);line-height:1.2;letter-spacing:-.04em}h1{font-size:clamp(32px,4vw,52px);font-weight:650;line-height:1.12}h2{font-size:24px;font-weight:650}h3{font-size:18px;font-weight:650}p:last-child{margin-bottom:0}strong,b{font-weight:600}small,.small{font-size:12px;line-height:1.65}.muted{color:var(--muted)}.lead{font-size:16px;line-height:1.7;color:var(--muted);max-width:670px;margin:18px 0 0}.eyebrow{font-size:10px;letter-spacing:.13em;font-weight:650;margin-bottom:17px;line-height:1.5}.brand-rule{height:3px;width:108px;background:var(--gradient);margin:38px 0}.hairline{height:1px;background:var(--line);margin:22px 0}.skip{position:fixed;top:-80px;left:20px;z-index:100;padding:12px 24px;background:white}.skip:focus{top:12px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.topbar{height:86px;display:flex;align-items:center;gap:26px;padding:0 48px;background:#fff;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;flex-shrink:0;padding:12px 0}.brand img{width:160px;height:auto}.product-name{font-size:10px;letter-spacing:.16em;border-left:1px solid var(--line);padding-left:26px;color:var(--muted)}nav{display:flex;align-items:center;gap:28px;margin-left:auto;height:100%}nav>a{font-size:13px;display:flex;align-items:center;height:100%;position:relative;color:var(--muted)}nav>a[aria-current]{color:var(--ink);font-weight:600}nav>a[aria-current]:after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--ink)}.account{position:relative;margin-left:20px}.account summary{display:flex;align-items:center;gap:10px;list-style:none;font-size:13px}.account-menu{position:absolute;right:0;top:50px;z-index:20;width:200px;padding:12px;background:white;border:1px solid var(--line);border-radius:12px;box-shadow:0 10px 40px #15181e15}.account-menu a,.account-menu button{display:block;padding:10px;width:100%;text-align:left;font-size:13px}.avatar{display:inline-flex;align-items:center;justify-content:center;background:#eef0f4;color:#343b49;border:1px solid #e2e6ed;border-radius:50%;width:34px;height:34px;font-size:12px;font-weight:600;flex-shrink:0}.avatar.large{width:48px;height:48px;font-size:16px}.shell{max-width:1352px;margin:auto;padding:50px 48px 80px;min-height:calc(100vh - 164px)}.shell:focus{outline:none}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:10px 0 38px}.page-heading>.button{flex-shrink:0}.badge{display:inline-flex;align-items:center;align-self:flex-start;justify-content:center;padding:5px 12px;border:1px solid #d9dfe7;border-radius:99px;background:white;font-size:11px;line-height:1.7;white-space:nowrap}.button{display:inline-flex;align-items:center;justify-content:center;gap:20px;min-height:46px;padding:12px 21px;border:1px solid transparent;border-radius:8px;font-size:13px;line-height:1.5;font-weight:550;transition:background .15s,box-shadow .15s}.button:hover{box-shadow:0 3px 10px #1111110d}.primary{background:var(--ink);color:#fff}.primary:hover{background:#303644}.secondary{background:#fff;border-color:#cdd3dd;color:var(--ink)}.secondary:hover{background:#f0f3f7}.white{background:white;color:var(--ink)}.white:hover{background:#edf4fb}.wide{width:100%}.text-button{background:none;border:0;padding:8px 0;color:var(--muted);text-decoration:underline;text-underline-offset:3px}.back{display:inline-flex;min-height:44px;align-items:center;margin:-16px 0 20px;color:var(--muted);font-size:12px}.back:hover,.side-link:hover,.draft-link:hover{text-decoration:underline}.row{display:flex;align-items:center;justify-content:space-between;gap:12px}.section-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:36px 0 16px}.section-heading h2{font-size:21px;margin:0}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 304px;gap:28px}.primary-column,.side-column{min-width:0}.next-card{background:#11151d;color:#fff;border:1px solid #252b38;border-radius:16px;padding:32px;position:relative;overflow:hidden}.next-card:before{position:absolute;content:'';left:32px;top:0;width:104px;height:3px;background:var(--gradient)}.next-card>.eyebrow{color:#d5dbea}.next-content{display:flex;gap:18px;justify-content:space-between;align-items:center}.next-content>div:first-child{max-width:560px}.next-meta{color:#afb9ca;font-size:11px;margin-bottom:12px}.next-card h2{font-size:29px;line-height:1.25;max-width:520px;letter-spacing:-.035em;margin-bottom:15px}.next-card p:not(.eyebrow):not(.next-meta){font-size:13px;color:#c5ccda;max-width:520px}.learner-heading>div{flex:1;min-width:0}.learner-heading .lead{max-width:calc(100% - 332px)}@media(max-width:1050px){.learner-heading .lead{max-width:calc(100% - 280px)}}@media(max-width:760px){.learner-heading .lead{max-width:none}}.next-card .button{margin-top:14px}.step-art{width:100px;min-width:80px;align-self:stretch;position:relative;display:flex;flex-direction:column;justify-content:center;align-items:flex-end;gap:12px}.step-art span{font:200 78px/1 var(--head);letter-spacing:-.07em;color:#edf3ff}.step-art i{height:2px;border-radius:3px;width:70px;background:#374154}.step-art i:nth-of-type(1){background:var(--blue);width:90px}.step-art i:nth-of-type(2){background:var(--purple);width:55px}.step-art i:nth-of-type(3){background:var(--red);width:28px}.side-card{padding:25px;background:white;border:1px solid var(--line);border-radius:13px;margin-bottom:18px}.side-card .eyebrow{color:var(--muted);margin-bottom:16px}.big-stat{font:500 58px/1 var(--head);letter-spacing:-.07em;margin:0 0 20px}.big-stat span{font-size:28px;color:var(--muted);margin-left:3px}.side-card .row strong{font-size:12px}.side-card .row+p{margin-top:8px}progress{appearance:none;-webkit-appearance:none;height:5px;width:100%;border:0;border-radius:99px;overflow:hidden;background:#e9edf3;display:block;margin:14px 0}progress::-webkit-progress-bar{background:#e9edf3}progress::-webkit-progress-value{background:var(--blue)}progress::-moz-progress-bar{background:var(--blue)}.mentor{display:flex;align-items:center;gap:11px;margin-bottom:15px}.mentor strong{display:block;font-size:13px}.mentor .small{display:block}.side-link{display:block;padding:12px 0 0;font-size:12px}.waiting{border-top:3px solid var(--purple)}.blocker{border-left:3px solid var(--red)}.path-list{border:1px solid var(--line);border-radius:13px;overflow:hidden;background:white}.path-section{border-bottom:1px solid var(--line)}.path-section:last-child{border-bottom:0}.path-section>summary{display:flex;align-items:center;gap:16px;padding:23px 24px;list-style:none;min-height:94px}.path-section>summary:hover{background:#fafbfd}.section-number{font:500 15px var(--head);color:#6a7485;flex-shrink:0}.section-summary{display:flex;flex-direction:column;gap:5px;flex:1}.section-summary>.small{font-size:9px;letter-spacing:.09em}.section-summary strong{font-size:14px;line-height:1.45;max-width:460px}.section-count{font-size:10px;color:var(--muted);white-space:nowrap}.chevron{font-size:17px;color:var(--muted)}details[open]>.chevron,details[open]>summary>.chevron{transform:rotate(180deg)}summary::-webkit-details-marker{display:none}.section-body{padding:0 24px 24px 58px}.section-body>p{font-size:12px;margin-bottom:15px}.material-row{display:flex;align-items:center;gap:12px;padding:15px 0;border-top:1px solid #edf0f4}.material-copy{display:flex;flex:1;flex-direction:column;gap:3px}.material-copy strong{font-size:12px;line-height:1.5}.material-copy .small{font-size:10px}.material-icon{width:30px;height:34px;display:flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:6px;flex-shrink:0;color:#59647a}.material-icon.passed{background:#eef8ff;color:#075984;border-color:#c5e5f7}.material-icon.revise{background:#fff1f4;color:#9d1630}.material-icon.submitted{background:var(--navy-soft);color:var(--navy)}.material-row>span:last-child{font-size:13px;color:var(--muted)}.material-row:hover strong{text-decoration:underline;text-underline-offset:3px}.admin-section{border-top:1px dashed var(--line);padding-top:18px;margin-top:8px}.draft-link{display:block;font-size:12px;padding:7px 0;color:var(--muted)}.admin-section .button{margin-top:12px}.inset{background:#f5f7fa;padding:15px;border-radius:8px;margin:12px 0}.inset summary{font-size:12px;font-weight:600}.signoff{margin-top:16px;background:#f0f8fd;border-left:2px solid var(--blue);padding:15px;font-size:12px}.signoff p{margin:8px 0}.footer{border-top:1px solid var(--line);padding:25px 48px;display:flex;justify-content:space-between;gap:16px;color:var(--muted);font-size:10px;letter-spacing:.03em}.notice{background:#eef5fc;border:1px solid #c9dceb;border-radius:9px;padding:18px 22px;margin:20px 0;font-size:13px}.notice a{text-decoration:underline;text-underline-offset:3px}.notice.error{background:#fff1f3;border-color:#f1b5c0;color:#941b31}.notice.success{background:#f0f8fd;border-color:#bddff3}.notice p{margin-top:8px}.messages .notice{margin-top:0}.program-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.program-card{background:white;border:1px solid var(--line);border-radius:14px;padding:28px}.program-card h2{margin:24px 0 10px}.program-card h2 a:hover{text-decoration:underline}.program-card>p{font-size:13px}.metric-row{display:flex;justify-content:space-between;gap:20px;margin-top:30px}.metric-row strong{display:block;font:500 36px/1.2 var(--head);letter-spacing:-.05em}.metric-row small{font-size:18px;color:var(--muted)}.metric-row span{font-size:11px;color:var(--muted)}.card-link{display:flex;align-items:center;justify-content:space-between;padding-top:18px;border-top:1px solid var(--line);margin-top:22px;font-size:13px;font-weight:550}.empty{padding:65px 30px;text-align:center;width:100%;grid-column:1/-1;border:1px dashed #ced5df;border-radius:14px;background:#fff}.empty p{color:var(--muted);max-width:500px;margin:0 auto 25px}.empty-symbol{display:block;font-size:40px;color:#155a80;margin-bottom:20px}.queue-row{display:flex;align-items:center;gap:24px;padding:24px;background:white;border:1px solid var(--line);border-radius:12px;margin-bottom:14px}.queue-row>div{flex:1}.queue-row h2{font-size:18px;margin-bottom:8px}.queue-row p{margin:0 0 5px}.history{border-top:1px solid var(--line);margin-top:40px;padding-top:20px}.history>summary{font-size:13px;padding:10px 0}.history-row{display:flex;gap:30px;padding:12px 0;font-size:11px;border-top:1px solid var(--line)}.history-row time{min-width:110px;color:var(--muted)}.login-layout{display:grid;grid-template-columns:1fr 430px;align-items:center;gap:80px;max-width:1050px;margin:60px auto}.login-intro h1{font-size:clamp(38px,4.4vw,62px);line-height:1.15}.login-card{padding:38px;border-radius:16px;border:1px solid var(--line);background:white;box-shadow:0 14px 60px #161e3005}.login-card h2{font-size:27px;margin-bottom:10px}.login-card>.small{margin-top:26px}.stack{display:flex;flex-direction:column;gap:12px}.stack>p{margin:0}.stack>p>label{display:block}.stack .helptext{font-size:11px;color:var(--muted)}.stack ul{font-size:11px}.stack>label,.field>label{font-size:12px;font-weight:550;display:block;margin-bottom:6px}.field{margin-bottom:9px}.field-error,.errorlist{color:#941b31;font-size:12px;margin:8px 0}.required-mark{color:#657087}.login-card .stack{gap:6px;margin-top:28px}.login-card input{margin-bottom:14px}.login-card .button{margin-top:8px}input:not([type=checkbox]):not([type=radio]):not([type=hidden]),textarea,select{width:100%;min-height:46px;border:1px solid #8a94a6;border-radius:7px;padding:11px 13px;background:white;color:var(--ink)}textarea{resize:vertical;line-height:1.7;max-width:100%}input[type=checkbox],input[type=radio]{accent-color:#101923;width:19px;height:19px;flex-shrink:0}input[type=file]{font-size:12px}input:disabled{background:#f5f6f8}fieldset{margin:0;padding:0;border:0}legend{font-size:13px;font-weight:550;margin-bottom:15px}.choice,.checkbox{display:flex;align-items:flex-start;gap:12px;font-size:13px}.choice{padding:17px;border:1px solid #cdd3dd;border-radius:8px;margin:10px 0;cursor:pointer}.choice:has(input:checked){border-color:#326480;background:#eef7ff}.choice input{margin-top:3px}.help-form form,.inset form{margin-top:16px}.narrow{max-width:600px;margin:40px auto}.lesson-layout{display:grid;grid-template-columns:minmax(0,740px) 272px;gap:64px;justify-content:center}.lesson-content{min-width:0}.lesson-content h1{font-size:39px}.lesson-content .eyebrow{color:var(--muted)}.lesson-meta{display:flex;flex-wrap:wrap;gap:10px 18px;font-size:11px;color:var(--muted);margin:22px 0 30px}.outcome{padding:22px 25px;background:#edf4fa;border-left:3px solid var(--blue);border-radius:0 9px 9px 0;margin-bottom:30px}.outcome .eyebrow{font-size:9px;color:#35516a}.outcome p{font-size:14px;margin-top:9px}.prose{font-size:15px;line-height:1.9;overflow-wrap:anywhere}.prose p{margin-bottom:22px}.source{margin:30px 0;border-top:1px solid var(--line);padding-top:15px}.exercise{border-top:1px solid var(--line);margin-top:38px;padding-top:30px}.exercise h2{font-size:27px}.criteria{padding:22px;background:white;border:1px solid var(--line);border-radius:9px;font-size:13px;margin:24px 0}.criteria p{margin:10px 0}.answer-form{margin:30px 0}.action-bar{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:16px;flex-wrap:wrap}.attempt{border-top:1px solid var(--line);margin:36px 0;padding-top:24px}.attempt h3{margin:0}.attempt>.small{margin-top:12px}.submitted-answer{padding:20px;background:white;border:1px solid var(--line);border-radius:8px;font-size:13px}.feedback{border-left:3px solid var(--purple);padding:16px 20px;background:#f8f0fc;margin:20px 0;font-size:13px}.feedback p{margin-top:8px}.lesson-aside{padding-top:42px}.lesson-aside h3{font-size:17px}.lesson-aside .stack{margin-top:12px}.editor-heading{max-width:800px;margin-bottom:40px}.editor-form{max-width:970px}.form-section{display:grid;grid-template-columns:250px 1fr;gap:50px;padding:34px 0;border-top:1px solid var(--line)}.form-section h2{margin-top:13px;font-size:22px}.form-section>div>p{font-size:13px}.form-section>.stack{background:white;padding:26px;border:1px solid var(--line);border-radius:12px}.advanced{margin:12px 0 30px;border:1px solid var(--line);background:white;border-radius:10px;padding:20px 25px}.advanced summary{font-size:13px}.advanced .stack{margin-top:25px}.editor-bottom{display:flex;justify-content:space-between;align-items:center;gap:24px;border-top:1px solid var(--line);padding-top:25px}.skill-picker{background:white;padding:12px 24px;border:1px solid var(--line);border-radius:12px}.skill-picker label{display:flex;align-items:center;gap:12px;padding:17px 0;font-size:13px;cursor:pointer}.skill-picker #id_skills>div+div{border-top:1px solid var(--line)}.preview-program{border-top:1px solid var(--line);padding:35px 0}.preview-row{display:flex;gap:18px;padding:18px 0;border-bottom:1px solid var(--line);align-items:flex-start;font-size:13px}.preview-row>b{color:var(--muted);min-width:30px}.preview-row>div{flex:1}.preview-row p{margin:5px 0 0}[hidden]{display:none!important}
@media(min-width:1400px){.shell{padding-top:58px}.next-card{padding:38px}.next-card h2{font-size:32px}}
@media(max-width:1050px){.topbar{padding:0 28px;gap:20px}.shell{padding:35px 28px 60px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 260px;gap:20px}.next-card{padding:25px}.step-art{display:none}.section-count{display:none}.side-card{padding:21px}.lesson-layout{gap:30px;grid-template-columns:minmax(0,1fr) 250px}.login-layout{gap:40px;grid-template-columns:1fr 390px}.form-section{grid-template-columns:220px 1fr;gap:25px}.product-name{display:none}}
@media(max-width:760px){.topbar{height:auto;min-height:76px;flex-wrap:wrap;padding:15px 20px;gap:12px}.brand img{width:140px}.account{margin-left:auto;order:2}.account-name{display:none}nav{order:3;flex-basis:100%;height:38px;gap:24px}nav>a{font-size:12px}.shell{padding:28px 20px 50px}.page-heading{margin:6px 0 27px;align-items:flex-start}.page-heading h1{font-size:34px}.page-heading>.button{padding:10px 15px;font-size:12px}.page-heading>.badge{font-size:9px}.lead{font-size:14px}.dashboard-grid{display:flex;flex-direction:column;gap:24px}.side-column{display:grid;grid-template-columns:1fr 1fr;gap:15px}.side-card{margin:0}.side-column .blocker,.side-column .waiting{grid-column:1/-1}.next-card h2{font-size:27px}.next-card{padding:27px}.step-art{display:flex;min-width:55px;width:65px}.step-art span{font-size:60px}.step-art i:nth-of-type(1){width:55px}.section-body{padding-left:24px}.path-section>summary{padding:21px;gap:12px}.section-summary strong{font-size:13px}.section-heading .small{font-size:10px}.footer{padding:22px 20px}.footer span:last-child{display:none}.program-cards{grid-template-columns:1fr}.lesson-layout{display:flex;flex-direction:column;gap:24px}.lesson-aside{padding:0;display:grid;grid-template-columns:1fr 1fr;gap:16px}.lesson-content h1{font-size:31px}.form-section{grid-template-columns:1fr;gap:16px;padding:25px 0}.form-section h2{display:inline;margin-left:12px}.form-section>div>p{margin:12px 0 0}.form-section>.stack{padding:20px}.editor-bottom{align-items:stretch;flex-direction:column;gap:12px}.login-layout{display:flex;flex-direction:column;align-items:stretch;margin:10px auto;gap:30px;max-width:440px}.login-intro h1{font-size:38px}.login-intro .brand-rule,.login-intro>.muted{display:none}.login-card{padding:26px}.login-intro .lead br{display:none}.queue-row{flex-wrap:wrap;gap:15px}.queue-row>.button{margin-left:49px}.queue-row h2{font-size:16px}.history-row{gap:12px}.preview-row>.badge{display:none}}
@media(max-width:420px){.side-column,.lesson-aside{grid-template-columns:1fr}.next-card{padding:23px}.next-card h2{font-size:24px}.step-art{display:none}.page-heading{flex-wrap:wrap}.page-heading>.badge{margin-top:-8px}.material-row{gap:10px}.action-bar .button{width:100%}.section-heading{flex-wrap:wrap;gap:6px}.lesson-content h1{font-size:29px}.topbar .brand img{width:132px}.source{overflow-wrap:anywhere}.metric-row{gap:12px}.metric-row strong{font-size:30px}.metric-row span{font-size:10px}}
@media(max-width:760px){.dashboard-grid>.primary-column{display:contents}.dashboard-grid .next-card{order:1}.dashboard-grid>.side-column{order:2}.dashboard-grid .section-heading{order:3;margin:12px 0 -8px}.dashboard-grid .path-list{order:4}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.section-number{color:#5e6879}
@media print{.topbar,.footer,.button,.admin-section,.help-form{display:none}.shell{padding:0}.dashboard-grid{display:block}.side-column{display:block}.next-card{background:white;color:black}.next-card p{color:black!important}details{display:block}details>*{display:block!important}.side-card{break-inside:avoid}}
.learner-facts{display:flex;flex-wrap:wrap;gap:8px 22px;margin:14px 0 0;font-size:13px;color:var(--muted)}.learner-facts strong{color:var(--ink)}.pace{font-weight:600}.pace-ahead{color:#236344}.pace-behind{color:#9a4325}.pace-on_track{color:#526176}.is-overdue{color:#9a4325;font-weight:600}.section-due{font-size:12px;color:var(--muted);margin-left:10px;white-space:nowrap}.section-due.is-overdue{color:#9a4325}.section-intro{font-size:14px;line-height:1.7;color:#293345;margin:0 0 14px}.path-pending{display:flex;gap:14px;align-items:center;padding:16px 18px;margin-top:10px;border:1px dashed #cdd3dd;border-radius:8px;color:var(--muted);font-size:13px}.staff-plan-facts{margin-top:10px}
.queue-late{border-color:#e2b79f;background:#fdf3ee;color:#9a4325;font-weight:600;margin-left:6px}
.staff-card-facts{margin:10px 0 0}
.account-menu .queue-count{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 4px;margin-left:6px;border:1px solid #ebc8b5;border-radius:999px;background:#fff3eb;color:#9a4325;font-size:10px;font-weight:600;line-height:1;font-variant-numeric:tabular-nums}
.field-help{margin:6px 0 0}
.section-reviewer{font-size:12px;color:var(--muted);margin-left:10px;white-space:nowrap}
/* Paczki programu: kreator i panel w programie */
.package-picker{gap:12px}
.package-picker .package-option{display:flex;gap:14px;align-items:flex-start;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:#fff;cursor:pointer}
.package-picker .package-option input{margin-top:4px;flex:none}
.package-option p{margin:4px 0 0}
.package-fixed{cursor:default;background:#f7f8fa}
.package-list{margin:8px 0 12px;padding-left:18px}
.package-attach summary{cursor:pointer;font-weight:600;margin-bottom:10px}
.package-picker .package-option strong{font-size:15px;font-weight:600}

/* Podgląd „jako” administratora: pasek nad nagłówkiem. */
.preview-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:10px max(16px,calc((100% - 1256px)/2));background:#171b22;color:#fff;font-size:13px}.preview-bar strong{color:#ce82ec}.preview-bar form{margin:0}.preview-bar .text-button{color:#fff;text-decoration:underline;text-underline-offset:4px;background:none;border:0;cursor:pointer;font:inherit;padding:0}

/* Zdjęcie profilowe z Discorda w kółku avatara. */
.avatar.has-photo{padding:0;overflow:hidden;background:#eef0f4}.avatar.has-photo img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}
