/* SameTesty EW — identyfikacja wizualna zgodna z głównym SameTesty (v0.1.5).
   Lokalny arkusz: nie ładuje bibliotek JS ani CSS z centralnego systemu. */
:root {
  --stew-orange: #fe4a23;
  --stew-orange-dark: #e23c19;
  --stew-orange-soft: #fff0eb;
  --stew-text: #242424;
  --stew-muted: #787878;
  --stew-secondary: #4d4242;
  --stew-background: #f5f5f5;
  --stew-card: #fff;
  --stew-border: #e0e0e0;
  --stew-shadow: 8px 8px 24px rgba(0,0,0,.06);
  --stew-radius: 30px;
}
* { box-sizing: border-box; }
html { min-height: 100%; }
body.stew-app { min-height: 100vh; margin: 0; color: var(--stew-text); background: var(--stew-background); font-family: Urbanist, Arial, sans-serif; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
.stew-app a { color: inherit; text-decoration: none; }
.stew-app a:hover { color: var(--stew-orange); }
.stew-app p { line-height: 1.55; }
.stew-app button, .stew-app input, .stew-app select { font: inherit; }
.stew-app button { cursor: pointer; }
.stew-app img { max-width: 100%; }
.stew-app [hidden] { display: none !important; }
.stew-app :focus-visible { outline: 3px solid rgba(254,74,35,.45); outline-offset: 3px; }
.stew-kicker { color: var(--stew-orange); font-weight: 800; font-size: 13px; letter-spacing: .035em; }
.stew-subtle { color: var(--stew-muted); font-size: 15px; margin: 0; }
.stew-btn { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 48px; padding: 12px 30px; border: 1px solid transparent; border-radius: 40px; font-size: 15px; line-height: 1.3; font-weight: 750; text-align: center; transition: background-color .2s, color .2s, box-shadow .2s, border-color .2s; }
.stew-btn:hover { box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.stew-btn.stew-primary { background: var(--stew-orange); color: #fff; }
.stew-btn.stew-primary:hover { color: var(--stew-orange); background: #fff; border-color: var(--stew-orange); }
.stew-btn.stew-outline { background: #fff; color: var(--stew-secondary); border-color: #cfcfcf; }
.stew-btn.stew-outline:hover { color: #fff; border-color: var(--stew-orange); background: var(--stew-orange); }
.stew-btn.stew-quiet { color: var(--stew-secondary); background: #efefef; }
.stew-btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.stew-btn.stew-full { width: 100%; justify-content: space-between; }
.stew-text-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px; border: 0; border-radius: 8px; background: transparent; color: var(--stew-secondary); font-size: 14px; font-weight: 700; }
.stew-text-btn:hover { background: var(--stew-orange-soft); color: var(--stew-orange); }
.stew-message { padding: 14px 16px; border: 1px solid #ffbcae; background: var(--stew-orange-soft); border-radius: 12px; color: #9f2c14; font-size: 14px; }
.stew-message.stew-message-ok { color: #177438; border-color: #a9dfb7; background: #eaf7ed; }
.stew-loading { opacity: .62; pointer-events: none; }

/* Logowanie i ekran blokady: podział identyczny z ekranem logowania SameTesty. */
.stew-auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 38px 24px; background: var(--stew-background); }
.stew-auth-panel { display: grid; grid-template-columns: 1fr 1fr; width: min(1150px, 100%); min-height: 660px; overflow: hidden; border-radius: 26px; background: white; box-shadow: 0 22px 65px rgba(0,0,0,.08); }
.stew-auth-side { display: flex; position: relative; isolation: isolate; flex-direction: column; justify-content: space-between; overflow: hidden; background: #e94322 url('../img/login-bg.png') center / cover no-repeat; color: #fff; padding: 53px 48px 37px; }
.stew-auth-side::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg,rgba(205,32,9,.10),rgba(202,39,11,.42)); }
.stew-auth-logo { width: 270px; height: auto; }
.stew-auth-art { margin: auto 0; padding: 40px 0; max-width: 475px; }
.stew-auth-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .09em; }
.stew-auth-art h1 { font-size: clamp(36px,3.5vw,50px); line-height: 1.12; letter-spacing: -.03em; font-weight: 800; margin: 21px 0 18px; }
.stew-auth-art h1 span { color: #fff; }
.stew-auth-art p { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.94); max-width: 420px; margin: 0; }
.stew-auth-sidefoot { font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.stew-auth-sidefoot span { margin: 0 7px; opacity: .7; }
.stew-auth-box { padding: 48px clamp(28px,4vw,68px); display: flex; flex-direction: column; justify-content: center; align-items: center; min-width: 0; }
.stew-auth-card { width: 100%; max-width: 430px; }
.stew-auth-card h2 { font-size: clamp(31px,3vw,38px); font-weight: 800; line-height: 1.2; letter-spacing: -.025em; margin: 9px 0 12px; }
.stew-auth-card > .stew-subtle { margin: 0 0 31px; }
.stew-auth-foot { font-size: 12px; text-align: center; color: #999; margin: 31px 0 0; }
.stew-login-help { font-size: 13px; text-align: center; color: #8b8b8b; margin: 23px 0 0; }
.stew-lock-icon { width: 51px; height: 51px; border-radius: 16px; background: var(--stew-orange-soft); display: grid; place-items: center; color: var(--stew-orange); font-size: 30px; margin-bottom: 18px; font-weight: 800; }
.stew-lock-wrap .stew-text-btn { margin: 20px auto 0; display: flex; }

/* Formularze: takie same zaokrąglenia i neutralne tła jak w SameTesty. */
.stew-form { display: grid; gap: 20px; }
.stew-form label { display: grid; gap: 8px; font-size: 14px; font-weight: 700; color: var(--stew-secondary); }
.stew-form input:not([type="hidden"]), .stew-form select, .stew-search-row input { display: block; width: 100%; min-width: 0; height: 52px; padding: 0 17px; font-size: 15px; font-weight: 500; background: #f7f7f7; border: 1px solid var(--stew-border); border-radius: 10px; color: var(--stew-text); outline: none; transition: border-color .2s, box-shadow .2s; }
.stew-form input::placeholder, .stew-search-row input::placeholder { color: #969696; }
.stew-form input:focus, .stew-form select:focus, .stew-search-row input:focus { border-color: var(--stew-orange); box-shadow: 0 0 0 3px rgba(254,74,35,.11); background: #fff; }
.stew-form input:disabled { color: #757575; background: #ededed; }
.stew-form select { appearance: auto; cursor: pointer; }

/* Panel OSK: pozioma nawigacja znana z kokpitów SameTesty. */
.stew-layout { min-height: 100vh; }
.stew-sidebar { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1400px; margin: 0 auto; padding: 16px 30px; min-height: 101px; background: #fff; border-radius: 0 0 25px 25px; }
.stew-sidebar-brand { display: flex; align-items: center; flex: 0 0 auto; }
.stew-sidebar-brand img { display: block; width: 175px; height: auto; }
.stew-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 3px; }
.stew-nav a { display: inline-flex; align-items: center; gap: 7px; padding: 11px 15px; border-radius: 50px; color: #171717; white-space: nowrap; font-weight: 700; font-size: 14px; transition: background .2s, color .2s; }
.stew-nav a:hover { color: var(--stew-orange); }
.stew-nav a.stew-active, .stew-nav a[aria-current="page"] { background: var(--stew-orange); color: #fff; }
.stew-nav .dashicons { font-size: 17px; width: 17px; height: 17px; }
.stew-sidebar-bottom { display: flex; align-items: center; gap: 10px; min-width: 0; }
.stew-school-icon { width: 39px; height: 39px; flex: 0 0 39px; border-radius: 50%; background: #f3f3f3; color: var(--stew-orange); display: grid; place-items: center; font-weight: 800; font-size: 11px; }
.stew-school-name { min-width: 0; max-width: 185px; }
.stew-school-name strong { font-size: 14px; font-weight: 800; display: block; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stew-school-name span { display: block; font-size: 12px; color: #888; }
.stew-sidebar-bottom .stew-text-btn { padding: 9px 2px 9px 9px; }
.stew-sidebar-bottom .stew-text-btn .dashicons { font-size: 20px; width: 20px; height: 20px; }
.stew-main { width: 100%; }
.stew-content { max-width: 1400px; padding: 30px 30px 95px; margin: 0 auto; }
.stew-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 31px; }
.stew-breadcrumb { font-size: 12px; font-weight: 700; color: #999; letter-spacing: .025em; }
.stew-breadcrumb span { color: var(--stew-orange); padding: 0 6px; }
.stew-active-indicator { color: #747474; font-size: 12px; font-weight: 700; white-space: nowrap; }
.stew-active-indicator span { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #36b66a; }
.stew-page-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 0 27px; }
.stew-page-heading h1 { font-size: clamp(30px,3vw,38px); font-weight: 800; letter-spacing: -.035em; line-height: 1.2; margin: 5px 0 4px; }
.stew-page-heading p { margin: 0; color: #7d7d7d; font-size: 15px; }
.stew-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin-bottom: 23px; }
.stew-metric { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--stew-border); border-radius: var(--stew-radius); padding: 32px 34px 29px; min-height: 202px; transition: box-shadow .3s; }
.stew-metric:hover, .stew-panel:hover { box-shadow: var(--stew-shadow); }
.stew-metric > span { font-size: 13px; color: #696969; font-weight: 700; }
.stew-metric > b { font-weight: 800; font-size: clamp(36px,4vw,49px); line-height: 1.2; letter-spacing: -.04em; margin: 16px 0 13px; }
.stew-metric:nth-child(2) > b, .stew-metric:nth-child(3) > b { color: var(--stew-orange); }
.stew-metric > small { font-size: 13px; color: #999; margin-top: auto; }
.stew-panel-grid { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(320px,1fr); gap: 22px; align-items: stretch; }
.stew-panel { background: #fff; border: 1px solid var(--stew-border); border-radius: var(--stew-radius); padding: 33px; min-width: 0; transition: box-shadow .3s; }
.stew-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin: 0 0 21px; }
.stew-panel-head h2 { font-size: 25px; line-height: 1.25; margin: 3px 0 0; font-weight: 800; letter-spacing: -.025em; }
.stew-panel-head a { color: var(--stew-orange); font-size: 14px; font-weight: 800; }
.stew-panel-head a:hover { text-decoration: underline; }
.stew-panel.stew-promo { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; min-height: 310px; padding: 37px; background: #fff7f4; }
.stew-promo::after { content: ''; position: absolute; width: 170px; height: 125px; right: 13px; bottom: 12px; background: url('../img/dashboard-exam.png') center / contain no-repeat; opacity: .34; pointer-events: none; }
.stew-promo h2 { max-width: 340px; font-size: clamp(25px,2.3vw,31px); line-height: 1.2; font-weight: 800; letter-spacing: -.025em; margin: 17px 0 8px; }
.stew-promo p { max-width: 330px; font-size: 14px; color: #777; margin: 0 0 28px; }
.stew-promo .stew-btn { position: relative; z-index: 1; margin-top: auto; }
.stew-empty { text-align: center; padding: 34px 18px; font-size: 14px; color: #898989; margin: 0; }
.stew-spaced { margin-top: 22px; }
.stew-search-row { display: flex; gap: 12px; max-width: 740px; }
.stew-search-row input { flex: 1; }
.stew-candidate-results { display: grid; margin-top: 22px; }
.stew-candidate-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; flex-wrap: wrap; padding: 17px 8px; border-bottom: 1px solid #eee; }
.stew-candidate-row strong { font-size: 16px; }
.stew-candidate-row small { margin-right: auto; color: #818181; }
.stew-link { color: var(--stew-orange) !important; font-weight: 800; font-size: 14px; }
.stew-inline-form { grid-template-columns: minmax(180px,1fr) minmax(180px,1fr) auto; align-items: end; gap: 14px; margin-top: 20px; }
.stew-form-cols { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.stew-new-exam { max-width: 1020px; padding: 42px; }
.stew-new-exam .stew-form { gap: 26px; }
.stew-hint { font-size: 14px; color: #858585; margin: -15px 0 0; }
.stew-hint a { color: var(--stew-orange); font-weight: 750; text-decoration: underline; }
.stew-info-box { border-radius: 16px; background: #f7f7f7; border-left: 4px solid var(--stew-orange); padding: 21px 24px; font-size: 14px; }
.stew-info-box strong { color: #333; }
.stew-info-box p { color: #737373; margin: 6px 0 0; }
.stew-picker-results { border: 1px solid var(--stew-border); border-radius: 12px; overflow: hidden; margin-top: -19px; }
.stew-picker-option { border: 0; border-bottom: 1px solid #ededed; background: #fff; color: #222; width: 100%; text-align: left; padding: 15px 17px; font-size: 14px; }
.stew-picker-option:hover { background: var(--stew-orange-soft); }
.stew-history-footer { text-align: center; margin-top: 20px; }
.stew-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.stew-table th { padding: 14px 12px; text-align: left; color: #777; background: #f7f7f7; font-size: 13px; font-weight: 800; white-space: nowrap; }
.stew-table th:first-child { border-radius: 12px 0 0 12px; }
.stew-table th:last-child { border-radius: 0 12px 12px 0; }
.stew-table td { padding: 18px 12px; color: #555; border-bottom: 1px solid #ededed; }
.stew-table td:first-child { color: #222; font-weight: 750; }
.stew-table a { white-space: nowrap; }
.stew-status { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 20px; background: #eee; color: #555; font-size: 12px; font-weight: 800; white-space: nowrap; }
.stew-status-passed { background: #e4f6e9; color: #1e9145; }
.stew-status-failed { background: #ffebe7; color: #bd4028; }
.stew-status-suspend { background: #fff1d8; color: #92620d; }

/* Widok egzaminacyjny: białe płaszczyzny, licznik i wybór odpowiedzi jak w SameTesty. */
.stew-exam-shell { min-height: 100vh; background: var(--stew-background); }
.stew-exam-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; max-width: 1400px; min-height: 96px; margin: auto; padding: 19px 32px; border-radius: 0 0 25px 25px; background: white; }
.stew-exam-top img { width: 177px; height: auto; }
.stew-exam-brand { font-size: 13px; font-weight: 800; letter-spacing: .035em; }
.stew-exam-brand span { color: var(--stew-orange); }
.stew-counter { font-size: 21px; color: var(--stew-orange); font-weight: 800; }
.stew-exam-layout { max-width: 1400px; margin: 0 auto; padding: 32px; display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 22px; align-items: start; }
.stew-exam-card { display: flex; flex-direction: column; min-height: 645px; min-width: 0; background: #fff; border: 1px solid var(--stew-border); border-radius: 30px; padding: 30px; }
.stew-exam-banner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; background: #f8f8f8; border-radius: 15px; padding: 15px 22px; }
.stew-exam-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-weight: 800; color: #555; font-size: 14px; }
.stew-exam-meta span:last-child { display: inline-block; border: 1px solid #ddd; background: #fff; border-radius: 9px; padding: 6px 12px; white-space: nowrap; }
.stew-exam-timer { display: flex; align-items: center; gap: 14px; color: #777; font-size: 12px; font-weight: 800; }
.stew-exam-timer strong { font-size: 26px; color: var(--stew-orange); font-weight: 800; font-variant-numeric: tabular-nums; }
.stew-question-content { display: flex; flex: 1; flex-direction: column; padding: 22px 10px 20px; }
.stew-question-clock { font-size: 14px; margin: 4px 0 18px; color: var(--stew-orange); font-weight: 800; }
.stew-exam-card h1 { max-width: 850px; font-size: clamp(21px,2vw,27px); font-weight: 750; letter-spacing: -.01em; line-height: 1.45; margin: 0 0 18px; }
.stew-question-media { display: grid; place-items: center; background: #f5f5f5; border-radius: 15px; overflow: hidden; max-width: 850px; margin: 6px 0; min-height: 160px; }
.stew-question-media img, .stew-question-media video { display: block; width: auto; max-width: 100%; max-height: 410px; margin: auto; }
.stew-choices { display: flex; flex-wrap: wrap; gap: 13px; margin: 24px 0; }
.stew-choice { min-width: 110px; padding: 13px 28px; border: 1px solid #d4d4d4; border-radius: 40px; background: #fff; color: var(--stew-secondary); font-size: 17px; font-weight: 750; transition: background .15s,color .15s,border-color .15s; }
.stew-choice:hover:not(:disabled) { color: var(--stew-orange); border-color: var(--stew-orange); }
.stew-choice.selected { color: #fff; background: var(--stew-orange); border-color: var(--stew-orange); }
.stew-choice:disabled { opacity: .55; cursor: not-allowed; }
.stew-exam-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; border-top: 1px solid #eaeaea; padding-top: 24px; margin-top: auto; }
.stew-exam-aside { background: #fff; border: 1px solid var(--stew-border); border-radius: 30px; padding: 30px; }
.stew-aside-label { color: var(--stew-orange); font-size: 12px; font-weight: 800; }
.stew-exam-aside h2 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin: 14px 0; }
.stew-exam-aside p { font-size: 15px; color: #777; margin: 0; }
.stew-aside-line { height: 1px; background: #eaeaea; margin: 26px 0 21px; }
.stew-stat-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 13px 0; font-size: 13px; color: #777; }
.stew-stat-line b { white-space: nowrap; color: var(--stew-orange); font-weight: 800; font-size: 16px; }
.stew-result-card { max-width: 690px; text-align: center; margin: clamp(25px,6vh,70px) auto; padding: clamp(30px,5vw,60px); background: white; border: 1px solid var(--stew-border); border-radius: 30px; box-shadow: var(--stew-shadow); }
.stew-result-mark { display: grid; place-items: center; margin: 0 auto 21px; width: 85px; height: 85px; border-radius: 50%; background: #e6f7e8; color: #269747; font-size: 52px; font-weight: 700; }
.stew-result-mark.stew-fail { color: #d7482d; background: var(--stew-orange-soft); }
.stew-result-card h1 { font-size: 44px; font-weight: 800; line-height: 1.15; margin: 12px 0 20px; }
.stew-result-card > p { color: #777; font-size: 15px; margin: 5px 0; }
.stew-result-score { color: var(--stew-orange); font-weight: 800; font-size: 64px; letter-spacing: -.025em; margin: 12px 0; }
.stew-result-score span { font-size: 24px; color: #aaa; }
.stew-result-card .stew-btn { margin-top: 29px; }

@media (max-width: 1250px) {
  .stew-sidebar { gap: 12px; padding: 15px 20px; }
  .stew-sidebar-brand img { width: 146px; }
  .stew-nav a { padding: 10px 10px; font-size: 13px; }
  .stew-nav a .dashicons { display: none; }
  .stew-school-name { max-width: 125px; }
  .stew-sidebar-bottom .stew-text-btn > span:last-child { display: none; }
  .stew-panel-grid { grid-template-columns: 1fr; }
  .stew-exam-layout { grid-template-columns: minmax(0,1fr) 250px; }
}
@media (max-width: 940px) {
  .stew-sidebar { display: grid; grid-template-columns: auto 1fr; row-gap: 13px; }
  .stew-sidebar-bottom { justify-content: flex-end; }
  .stew-nav { order: 3; grid-column: 1/-1; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 3px; }
  .stew-nav a { flex-shrink: 0; }
  .stew-exam-layout { grid-template-columns: 1fr; }
  .stew-exam-aside { display: none; }
  .stew-auth-panel { grid-template-columns: .83fr 1fr; min-height: 580px; }
  .stew-auth-side { padding: 35px; }
  .stew-auth-box { padding: 35px; }
  .stew-auth-art h1 { font-size: 34px; }
  .stew-inline-form { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .stew-inline-form .stew-btn { justify-self: start; }
}
@media (max-width: 650px) {
  .stew-auth-wrap { padding: 15px; min-height: 100dvh; }
  .stew-auth-panel { grid-template-columns: 1fr; border-radius: 20px; min-height: 0; }
  .stew-auth-side { padding: 25px 27px; min-height: 166px; }
  .stew-auth-logo { width: 185px; }
  .stew-auth-art { padding: 20px 0 0; }
  .stew-auth-art h1 { margin: 10px 0 0; font-size: 25px; line-height: 1.2; }
  .stew-auth-art p, .stew-auth-sidefoot { display: none; }
  .stew-auth-eyebrow { font-size: 10px; }
  .stew-auth-box { padding: 29px 23px; }
  .stew-auth-card h2 { font-size: 30px; }
  .stew-auth-card > .stew-subtle { margin-bottom: 24px; }
  .stew-sidebar { padding: 14px 15px; border-radius: 0 0 19px 19px; }
  .stew-sidebar-brand img { width: 138px; }
  .stew-school-icon { display: none; }
  .stew-school-name { max-width: 110px; }
  .stew-school-name strong { font-size: 12px; }
  .stew-school-name span { font-size: 11px; }
  .stew-content { padding: 24px 16px 70px; }
  .stew-topbar { margin-bottom: 19px; }
  .stew-active-indicator { display: none; }
  .stew-breadcrumb { font-size: 10px; }
  .stew-page-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
  .stew-page-heading h1 { font-size: 31px; }
  .stew-cards { grid-template-columns: 1fr; gap: 12px; }
  .stew-metric { min-height: 145px; padding: 24px; border-radius: 23px; }
  .stew-metric > b { margin: 7px 0; font-size: 39px; }
  .stew-panel { padding: 23px; border-radius: 23px; }
  .stew-panel-head { align-items: flex-start; flex-direction: column; }
  .stew-panel-head h2 { font-size: 23px; }
  .stew-panel.stew-promo { padding: 27px; min-height: 290px; }
  .stew-form-cols, .stew-inline-form { grid-template-columns: 1fr; gap: 16px; }
  .stew-inline-form .stew-btn { justify-self: stretch; }
  .stew-search-row { flex-direction: column; }
  .stew-table { display: block; overflow-x: auto; width: 100%; }
  .stew-table th, .stew-table td { min-width: 96px; }
  .stew-exam-top { padding: 15px 19px; min-height: 78px; }
  .stew-exam-top img { width: 138px; }
  .stew-exam-brand { display: none; }
  .stew-exam-layout { padding: 14px; }
  .stew-exam-card { padding: 18px; border-radius: 22px; min-height: 620px; }
  .stew-exam-banner { padding: 12px; }
  .stew-exam-meta { font-size: 12px; }
  .stew-exam-timer { justify-content: space-between; width: 100%; }
  .stew-exam-timer strong { font-size: 21px; }
  .stew-question-content { padding: 19px 0 15px; }
  .stew-exam-card h1 { font-size: 20px; }
  .stew-choice { padding: 12px 21px; min-width: 85px; }
  .stew-exam-actions { align-items: stretch; flex-direction: column-reverse; }
  .stew-exam-actions .stew-btn { width: 100%; }
  .stew-result-card { margin: 20px 14px; }
  .stew-result-card h1 { font-size: 33px; }
  .stew-result-score { font-size: 53px; }
}
@media (prefers-reduced-motion: reduce) {
  .stew-app *, .stew-app *::before, .stew-app *::after { transition-duration: .01ms !important; }
}

/* Wspólna zakładka Kursanci i egzaminy */
.stew-records-head { gap:20px; }
.stew-records-head .stew-subtle { margin-top:7px; }
.stew-candidate-row { gap:12px; }
.stew-candidate-row .stew-candidate-actions { display:flex; align-items:center; gap:9px; flex-wrap:wrap; margin-left:auto; }
.stew-candidate-history-btn { min-height:38px; padding:8px 15px; border:1px solid #fe4a23; border-radius:25px; background:#fff; color:#fe4a23; font-weight:800; font-size:13px; }
.stew-candidate-history-btn:hover { color:#fff; background:#fe4a23; }
.stew-candidate-row.stew-candidate-current { background:#fff5f1; border-color:#fed3c8; }
.stew-history-footer { padding-top:6px; }
/* Dialog zgodny stylistycznie z SameTesty; awaryjny gdy CDN SweetAlert2 jest niedostępny */
.stew-app .swal2-popup { font-family:Urbanist,Arial,sans-serif; border-radius:22px; padding:27px; }
.stew-app .swal2-confirm { border-radius:30px; background:#fe4a23 !important; font-weight:800; }
.stew-app .swal2-cancel { border-radius:30px; background:#eee !important; color:#333 !important; font-weight:750; }
.stew-dialog-fallback { border:0; border-radius:22px; width:min(460px,calc(100vw - 40px)); padding:27px; box-shadow:0 24px 80px #0004; color:#242424; font-family:Urbanist,Arial,sans-serif; }
.stew-dialog-fallback::backdrop { background:#0008; }
.stew-dialog-fallback h2 { margin:0 0 10px; font-size:25px; line-height:1.25; }
.stew-dialog-fallback p { margin:0 0 26px; color:#777; line-height:1.55; }
.stew-dialog-actions { display:flex; justify-content:flex-end; gap:11px; flex-wrap:wrap; }
.stew-dialog-actions button { min-height:43px; border-radius:26px; border:1px solid #ddd; padding:10px 20px; font-weight:750; }
.stew-dialog-actions .stew-dialog-confirm { background:#fe4a23; color:#fff; border-color:#fe4a23; }
.stew-dialog-actions .stew-dialog-cancel { background:#f5f5f5; color:#333; }
@media (max-width:650px) { .stew-candidate-row .stew-candidate-actions { width:100%; margin-left:0; } .stew-records-head { align-items:stretch; } }
