/* SanoatXavfsiz • OKMK corporate design system
   Single fixed theme: graphite/navy, warm OKMK gold, clean white surfaces. */
:root, :root[data-theme="light"]{
 color-scheme:light;
 --bg:#f3f5f8;--bg-soft:#edf0f4;
 --surface:#ffffff;--surface-2:#f8f9fb;--surface-3:#eef1f5;--surface-hover:#fff9e9;
 --border:#e0e5ec;--border-strong:#c8d0dc;
 --text:#202a3a;--text-soft:#3e4b5e;--text-muted:#667386;--text-faint:#8490a0;
 --brand:#d7a20a;--brand-strong:#9b7000;--brand-ink:#202a3a;
 --brand-soft:#fff5d8;--brand-border:#ead18b;
 --brand-grad:linear-gradient(135deg,#eac24d,#d6a00a);
 --copper-grad:linear-gradient(90deg,#eac24d,#d6a00a);
 --info:#176b91;--info-soft:#eaf4f8;--info-border:#c4dfe9;
 --ok:#17734f;--ok-soft:#eaf6ef;--ok-border:#c5e5d1;
 --danger:#b43c4b;--danger-soft:#fff0f1;--danger-border:#f0cbd0;
 --warn:#8b6200;--warn-soft:#fff7e2;--warn-border:#ead9a5;
 --shadow-1:0 1px 2px rgba(27,39,56,.04);
 --shadow-2:0 8px 24px rgba(27,39,56,.06);
 --shadow-3:0 18px 44px rgba(27,39,56,.10);
 --glow:0 0 0 1px rgba(215,162,10,.15);
 --grid-line:rgba(30,45,65,.025);
 --shell-max:1320px;
 --font-sans:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}
html,body{min-height:100%;background:var(--bg);color:var(--text);font-family:var(--font-sans)}
body{font-size:15px;line-height:1.65;background:linear-gradient(180deg,#f8f9fb 0,#f2f4f7 360px,#f3f5f8 100%);background-attachment:fixed}
::selection{background:#f5e5b2;color:#222b39}
a{color:#8a6500;text-decoration:none}
a:hover{color:#604700;text-decoration:underline}
.shell-header{position:sticky;top:0;z-index:var(--z-header);background:#292f3d;color:#fff;border:0;border-bottom:1px solid rgba(255,255,255,.08);box-shadow:0 5px 20px rgba(18,27,42,.14)}
.shell-header::after{content:"";display:block;height:3px;background:linear-gradient(90deg,#b78600,#edc34d 45%,#b78600)}
.shell-header__row{width:min(100% - 48px,var(--shell-max));min-height:88px;margin:auto;padding:12px 0;display:flex;align-items:center;gap:26px}
.brand{display:flex;align-items:center;gap:13px;min-width:250px}
.brand__mark{width:52px;height:52px;display:grid;place-items:center;border:1px solid rgba(238,194,74,.75);border-radius:50%;background:linear-gradient(145deg,#3b4353,#202735);color:#f0c34d;font-size:12px;font-weight:900;letter-spacing:.04em;box-shadow:inset 0 0 0 4px rgba(240,195,77,.08)}
.brand__title{font-size:20px;line-height:1.2;font-weight:850;letter-spacing:-.025em;color:#fff}
.brand__sub{max-width:340px;margin-top:4px;color:#e3bd57;font-size:11px;line-height:1.35;font-weight:700;letter-spacing:.015em}
.shell-header__spacer{flex:1}
.shell-header__actions{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex-wrap:wrap}
.segmented{display:flex;align-items:center;gap:4px;padding:4px;border:1px solid rgba(255,255,255,.13);border-radius:12px;background:rgba(255,255,255,.055)}
.segmented button{min-height:39px;padding:8px 13px;border-radius:9px;color:#e2e6ed;font-size:13px;font-weight:700;white-space:nowrap;transition:background .18s,color .18s}
.segmented button:hover{background:rgba(255,255,255,.09);color:#fff}
.segmented button[aria-current="page"],.segmented button[aria-pressed="true"]{background:#e3b437;color:#252d3b;box-shadow:0 2px 8px rgba(0,0,0,.14)}
.language-switch{display:flex;gap:3px;padding:4px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:11px}
.lang-btn{min-width:38px;height:34px;border-radius:8px;color:#d8dee8;font-size:12px;font-weight:850}
.lang-btn[aria-pressed="true"]{background:#fff;color:#293142}
.user-chip{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.14);color:#fff}
.user-chip__name{color:#fff}
.user-chip__meta{color:#cbd3df!important}
.user-chip .btn--quiet{color:#fff}
.shell-main{width:min(100% - 48px,var(--shell-max));margin:0 auto;padding:36px 0 72px;min-height:calc(100vh - 150px)}
.app-section{animation:soft-enter .25s ease both}
@keyframes soft-enter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
.page-head{max-width:850px;margin:0 auto 28px;text-align:center}
.page-head .eyebrow,.eyebrow{display:inline-flex;align-items:center;gap:8px;color:#8b6707;font-size:11px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}
.page-head h1{max-width:800px;margin:10px auto 12px;color:#202a3a;font-size:clamp(28px,3.2vw,42px);line-height:1.16;letter-spacing:-.04em;font-weight:850}
.page-head p{max-width:700px;margin:0 auto;color:#647184;font-size:15px;line-height:1.75}
.training-wrap{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:24px;align-items:start}
.training-main{min-width:0;padding:28px;background:#fff;border:1px solid #e2e6ec;border-radius:18px;box-shadow:var(--shadow-2)}
.training-main h2{margin:0;color:#263144;font-size:21px;font-weight:850;letter-spacing:-.02em}
.training-main>.muted{margin:5px 0 20px;color:#69778a}
.training-aside{position:sticky;top:120px;padding:23px;background:#fff;border:1px solid #e2e6ec;border-radius:18px;box-shadow:var(--shadow-2);color:#273347}
.training-aside h3{margin:0 0 17px;font-size:16px;font-weight:850;color:#263144}
.training-note{display:flex;align-items:center;gap:10px;margin:9px 0;padding:11px 12px;background:#f7f8fa;border:1px solid #e9edf2;border-radius:10px;color:#526074;font-size:13px}
.training-note b{display:grid;place-items:center;flex:0 0 25px;height:25px;border-radius:8px;background:#fff3cf;color:#8c6500;font-size:12px}
.dept-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}
.dept-card,.role-card{width:100%;display:flex;align-items:center;gap:14px;min-height:82px;padding:15px 16px;text-align:left;background:#fff;border:1px solid #e2e7ee;border-radius:13px;color:#263246;box-shadow:0 2px 5px rgba(25,40,60,.025);transition:transform .18s,border-color .18s,box-shadow .18s,background .18s}
.dept-card:hover,.role-card:hover{transform:translateY(-2px);border-color:#d8b44d;background:#fffdf7;box-shadow:0 8px 18px rgba(35,45,60,.07)}
.dept-number{display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:11px;background:#f8f1df;border:1px solid #eee1bd;color:#8a6500;font-size:12px;font-weight:900}
.dept-card b,.role-card b{display:block;color:#253044;font-size:14px;font-weight:800;line-height:1.4}
.dept-card small,.role-card small{display:block;margin-top:3px;color:#7a8697;font-size:11px;line-height:1.4}
.dept-arrow{margin-left:auto;color:#9a740b;font-size:24px;font-weight:400}
.role-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:18px}
.role-icon{display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:11px;background:#f1f4f7;color:#56667b;font-size:18px}
.row--between{gap:14px;align-items:center}
.card{padding:24px;background:#fff;border:1px solid #e2e6ec;border-radius:16px;box-shadow:var(--shadow-2);color:#253044}
.card__head{margin-bottom:18px}
.card__title{color:#253044;font-size:17px;font-weight:850}
.card__sub{color:#748195;font-size:12px}
.card--flush{padding:0}
.btn{min-height:42px;border-radius:10px;font-weight:750;transition:all .18s ease}
.btn--primary{background:linear-gradient(135deg,#e9c45f,#d9aa32);color:#263143;border:1px solid #d2a12a;box-shadow:0 4px 12px rgba(179,137,26,.15)}
.btn--primary:hover{background:linear-gradient(135deg,#f0cf73,#dfb13e);box-shadow:0 7px 17px rgba(179,137,26,.2);transform:translateY(-1px)}
.btn--ghost{background:#fff;border:1px solid #dfe4eb;color:#405067}
.btn--ghost:hover{background:#f8f9fb;border-color:#c5ceda;color:#263144}
.btn--quiet{color:#667386}
.btn--danger{background:#fff0f1;color:#a73545;border-color:#f0cbd0}
.input,.select,.textarea{min-height:46px;background:#fff;border:1px solid #d5dce5;border-radius:10px;color:#273347;padding:11px 13px;font-size:14px;box-shadow:0 1px 2px rgba(20,35,55,.025)}
.input:focus,.select:focus,.textarea:focus{border-color:#c79a22;box-shadow:0 0 0 3px rgba(215,162,10,.14);outline:none}
.input::placeholder,.textarea::placeholder{color:#98a2b1}
.field__label{display:block;margin-bottom:7px;color:#425168;font-size:12px;font-weight:800}
.field__hint,.muted{color:#718095}
.auth-card{background:#fff;border:1px solid #e2e6ec;border-radius:18px;box-shadow:var(--shadow-3)}
.auth-card__icon{background:linear-gradient(145deg,#e8c45d,#d6a42b);color:#263143;box-shadow:0 6px 16px rgba(185,144,39,.18)}
.auth-card__title{color:#253044;font-weight:850}
.auth-card__sub{color:#738095}
.login-layout{gap:38px;align-items:center}
.hero h1{color:#253044;line-height:1.14;letter-spacing:-.04em}
.hero h1 em{background:linear-gradient(90deg,#9b740d,#d5a52b);-webkit-background-clip:text;background-clip:text}
.hero__lead{color:#5e6c80;line-height:1.8}
.stat-block__num{color:#263347}
.stat-block__cap{color:#758195}
.feature{background:#fff;border:1px solid #e3e8ee;border-radius:13px;box-shadow:0 2px 8px rgba(20,35,55,.025)}
.feature__icon{background:#fbf4df;color:#92700d;border-radius:10px}
.feature__title{color:#2c384b}
.feature__text{color:#6e7b8e;font-size:12px}
.pick{background:#fff;border:1px solid #e1e6ed;border-radius:13px;box-shadow:0 2px 8px rgba(20,35,55,.025)}
.pick:hover{border-color:#d9b24b;background:#fffdf8}
.pick__title{color:#29364a;font-weight:800}
.pick__meta{color:#778498}
.question-card,.question-card__top{color:#263347}
.question-text{color:#202b3b;font-weight:750;line-height:1.5}
.option{background:#fff;border:1px solid #dfe5ec;border-radius:12px;color:#334156}
.option:hover{background:#fffcf3;border-color:#d8b34d}
.option.is-selected,.option[aria-pressed="true"]{background:#fff6dc;border-color:#d7a20a;color:#283246}
.option__text{color:#334156;font-weight:650}
.quiz-bar{background:#fff;border:1px solid #e2e6ec;border-radius:14px;box-shadow:var(--shadow-1)}
.quiz-bar__title{color:#263347}
.quiz-bar__timer{background:#f6f8fa;color:#44536a;border-color:#e0e5ec}
.hint{color:#46566b}
.kpi{background:#fff;border:1px solid #e2e6ec;border-radius:14px;box-shadow:var(--shadow-1);color:#263347}
.kpi__label,.kpi__meta{color:#718095}
.kpi__value{color:#253347;font-weight:850}
.table-wrap{background:#fff;border:1px solid #e2e6ec;border-radius:14px;overflow:auto}
table{border-collapse:collapse}
table th{background:#f6f7f9;color:#45546a;font-size:11px;font-weight:850;letter-spacing:.04em}
table td{color:#425168;border-color:#e8ecf1}
tr:hover td{background:#fbfcfd}
.alert{border-radius:11px}
.chip{border-radius:999px}
.material-modal{background:rgba(27,35,48,.62);backdrop-filter:blur(7px)}
.material-card{background:#fff;border:1px solid #e2e6ec;border-radius:18px;box-shadow:0 24px 70px rgba(14,25,40,.22)}
.material-body{color:#344258;font-size:14px;line-height:1.85}
.material-heading{margin-top:18px;color:#8b680b;font-size:15px;font-weight:850}
.certificate{border-radius:16px;box-shadow:var(--shadow-3)}
.skip-link:focus{background:#fff;color:#202a3a}
:focus-visible{outline:3px solid rgba(215,162,10,.65);outline-offset:2px}
.hidden{display:none!important}
@media(max-width:1050px){
 .shell-header__row{width:calc(100% - 32px);gap:14px;flex-wrap:wrap}
 .shell-header__spacer{display:none}
 .shell-header__actions{width:100%;justify-content:space-between}
 .training-wrap{grid-template-columns:minmax(0,1fr) 250px}
}
@media(max-width:800px){
 .shell-main{width:calc(100% - 32px);padding-top:25px}
 .training-wrap{grid-template-columns:1fr}
 .training-aside{position:static}
 .dept-list,.role-list{grid-template-columns:1fr 1fr}
 .login-layout{grid-template-columns:1fr}
 .auth-card{position:static}
}
@media(max-width:600px){
 .shell-header__row{width:calc(100% - 24px);padding:10px 0}
 .brand{min-width:0}
 .brand__mark{width:44px;height:44px}
 .brand__title{font-size:18px}
 .brand__sub{font-size:10px}
 .shell-header__actions{align-items:stretch;gap:9px}
 .segmented{width:100%;overflow:auto;display:flex}
 .segmented button{flex:1;padding:8px 9px;font-size:11px}
 .language-switch{align-self:flex-end}
 .shell-main{width:calc(100% - 24px);padding:20px 0 42px}
 .training-main{padding:18px}
 .dept-list,.role-list{grid-template-columns:1fr}
 .page-head{margin-bottom:20px}
 .page-head h1{font-size:28px}
 .card{padding:17px}
 .quiz-bar{padding:13px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}



/* SanoatXavfsiz v3 — refined type scale, outlines and dedicated test setup */
body{font-size:16px;line-height:1.68}
.shell-header__row{min-height:92px}
.brand__title{font-size:21px}
.brand__sub{font-size:12px}
.segmented button{font-size:14px;min-height:42px;padding:9px 15px}
.lang-btn{font-size:13px;min-width:42px;height:36px}
.shell-main{padding-top:38px}
.page-head{margin-bottom:30px}
.page-head h1{font-size:clamp(32px,3.5vw,44px)}
.page-head p{font-size:16px;line-height:1.75}
.training-main{padding:30px;border:1px solid #d8dfe8;box-shadow:0 10px 30px rgba(28,42,60,.055),0 0 0 4px rgba(255,255,255,.72)}
.training-main h2{font-size:23px}
.training-main>.muted{font-size:15px}
.training-aside{padding:24px;border:1px solid #d8dfe8;box-shadow:0 10px 30px rgba(28,42,60,.055),0 0 0 4px rgba(255,255,255,.72)}
.training-aside h3{font-size:18px}
.training-note{font-size:14px;padding:12px 13px}
.training-aside__note{margin-top:20px;padding:16px;border:1px solid #e8d9ad;border-radius:12px;background:#fffbef}
.training-aside__note strong{display:block;color:#71550a;font-size:14px}
.training-aside__note p{margin-top:6px;color:#687589;font-size:13px;line-height:1.65}
.dept-list{gap:14px}
.dept-card,.role-card{min-height:92px;padding:17px;border:1px solid #dce2ea;box-shadow:0 3px 10px rgba(24,38,56,.035),inset 0 0 0 1px rgba(255,255,255,.7)}
.dept-number{flex-basis:42px;height:42px;font-size:13px}
.dept-card b,.role-card b{font-size:15.5px;line-height:1.45}
.dept-card small,.role-card small{font-size:12.5px}
.role-icon{flex-basis:42px;height:42px;font-size:20px}
.card{border:1px solid #dce2ea;box-shadow:0 8px 24px rgba(24,38,56,.055),0 0 0 3px rgba(255,255,255,.7)}
.card__title{font-size:18px}
.card__sub{font-size:13px}
.field__label{font-size:14px;color:#3d4c61}
.input,.select,.textarea{font-size:15.5px;min-height:50px;border:1px solid #cbd4df;border-radius:11px}
.input::placeholder,.textarea::placeholder{font-size:14px}
.btn{font-size:14.5px;min-height:45px;padding:10px 16px}
.btn--sm{font-size:13px}
.btn--primary{font-size:15px}
.option{font-size:15.5px;padding:17px 19px;border-width:1.5px}
.question-text{font-size:25px;line-height:1.48}
.hint{font-size:15px;line-height:1.7}
.quiz-bar__title{font-size:18px}
.chip{font-size:13px;padding:6px 11px}
.kpi{padding:20px;border:1px solid #dbe2ea;box-shadow:0 5px 16px rgba(24,38,56,.045),0 0 0 2px #fff;border-radius:15px}
.kpi__label{font-size:13.5px;color:#647286}
.kpi__value{font-size:30px;line-height:1.15;color:#253247}
.kpi__meta{font-size:12.5px;color:#748196}
table th{font-size:12px;padding:13px 12px}
table td{font-size:14px;padding:12px}
.table-wrap{border:1px solid #dce2ea;box-shadow:inset 0 0 0 1px #fff}
.admin-topbar h2{font-size:26px}
.admin-topbar p{font-size:15px;line-height:1.65}
.card__head{margin-bottom:20px}
.material-card{width:min(94vw,1040px);max-height:88vh;overflow:auto;padding:28px;border:1px solid #d8dfe8;box-shadow:0 24px 70px rgba(17,29,45,.22),0 0 0 5px rgba(255,255,255,.45)}
.material-body{font-size:15.5px;line-height:1.85}
.material-body p{margin-bottom:9px}
.material-heading{font-size:16px}
.material-modal__foot{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:24px;padding-top:18px;border-top:1px solid #e7ebf0}
.material-modal__foot .muted{font-size:13px}
.material-language-notice{padding:18px 20px;border:1px solid #e7d7a9;background:#fff9e8;color:#5c4a1b;border-radius:13px;font-size:15px;line-height:1.75}
.start-shell{max-width:1120px;margin:0 auto}
.start-breadcrumb{display:flex;align-items:center;justify-content:center;gap:10px;margin:0 auto 24px;color:#8893a2;font-size:12px;font-weight:750}
.start-breadcrumb span:nth-of-type(odd){display:grid;place-items:center;flex:0 0 30px;height:30px;border:1px solid #d6dde6;border-radius:50%;background:#fff;color:#768397;font-size:12px}
.start-breadcrumb span.is-current{border-color:#d8ad3e;background:#fdf5df;color:#725500}
.start-breadcrumb i{width:48px;height:1px;background:#d8dee7}
.start-heading{text-align:center;max-width:760px;margin:0 auto 28px}
.start-heading .eyebrow{color:#94700f}
.start-heading h1{margin:8px 0 10px;color:#263247;font-size:36px;line-height:1.18;letter-spacing:-.035em}
.start-heading p{color:#68768a;font-size:16px;line-height:1.75}
.start-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:20px;align-items:stretch}
.start-summary,.start-form{padding:28px;border:1px solid #d9e0e9;box-shadow:0 10px 28px rgba(27,42,60,.06),0 0 0 4px rgba(255,255,255,.75);border-radius:18px}
.start-summary{position:relative;overflow:hidden;background:linear-gradient(150deg,#fff 0%,#fafbfd 100%)}
.start-summary::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(180deg,#e4bf56,#c89a25)}
.start-summary__icon{display:grid;place-items:center;width:48px;height:48px;margin-bottom:20px;border-radius:13px;background:#f9f2df;color:#8b690f;font-size:24px}
.start-summary .eyebrow{color:#9a7510}
.start-summary h2{margin:8px 0;color:#263247;font-size:25px;line-height:1.32}
.start-dept{margin-bottom:22px;color:#738096;font-size:15px}
.start-detail{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:13px 0;border-top:1px solid #e8ecf1;color:#758195;font-size:14px}
.start-detail b{color:#34445a;font-size:14px;font-weight:800;text-align:right}
.start-summary__notice{margin-top:19px;padding:14px 15px;border:1px solid #e7d9b2;border-radius:12px;background:#fffaeb;color:#68551f;font-size:13px;line-height:1.65}
.start-form .card__head h2{margin-top:6px;color:#28354a;font-size:24px}
.start-form .eyebrow{color:#9a7510}
.step-badge{padding:7px 11px;border:1px solid #e4d5a8;border-radius:99px;background:#fff8e5;color:#8c690e;font-size:12px;font-weight:850;white-space:nowrap}
.start-form .field{margin-bottom:20px}
.start-form .field__label{font-size:14px;margin-bottom:9px}
.start-form .input{min-height:54px;font-size:15px}
.start-form__actions{display:flex;justify-content:space-between;gap:12px;margin-top:26px;padding-top:18px;border-top:1px solid #e6ebf1}
.start-form__actions .btn{min-height:48px}
.field__error{font-size:13px}
.admin-gate{max-width:420px;margin:45px auto}
.admin-gate .card{padding:30px}
@media(max-width:900px){
 .start-grid{grid-template-columns:1fr}
 .start-summary,.start-form{padding:22px}
}
@media(max-width:600px){
 body{font-size:15.5px}
 .shell-main{padding-top:22px}
 .training-main{padding:18px}
 .training-main h2{font-size:20px}
 .dept-card b,.role-card b{font-size:15px}
 .start-heading h1{font-size:29px}
 .start-heading p{font-size:14.5px}
 .start-breadcrumb{gap:6px;font-size:10px}
 .start-breadcrumb i{width:18px}
 .start-breadcrumb span:nth-of-type(odd){width:26px;height:26px;flex-basis:26px}
 .start-summary,.start-form{padding:18px}
 .start-form__actions{flex-direction:column-reverse}
 .start-form__actions .btn{width:100%}
 .material-modal__foot{align-items:stretch;flex-direction:column}
 .material-modal__foot .btn{width:100%}
 .question-text{font-size:21px}
 .option{font-size:14.5px;padding:14px}
}
