html:root{--navy:#132138;--green:#77500b;--mint:#f8eed8;--ink:#18273e;--muted:#526079;--line:#e8dfcc;--paper:#f7f5f0;--gold:#d4ad62;--dark:#101b2c}
html body{background:radial-gradient(ellipse at 85% 0%,#eee3cc 0%,transparent 45%),#f6f5f2;color:var(--ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
body header{min-height:88px;background:#101b2c;color:#fff;border-bottom:1px solid #bd9452;box-shadow:0 8px 26px #11213815;padding:17px max(4vw,20px)}
body .brand{position:relative;color:#fff;font-size:25px;letter-spacing:.12em;padding-left:52px;line-height:1.2}
body .brand:before{content:'AP';position:absolute;left:0;top:0;width:40px;height:40px;border:1px solid #dbb76d;border-radius:12px;display:grid;place-items:center;background:linear-gradient(150deg,#e7ca85,#aa7934);color:#152239;font-size:15px;letter-spacing:0;font-weight:900}
body .brand b{color:#e2bc73}body .tag{color:#bfc9d6;letter-spacing:.01em;font-weight:500;margin-top:4px}
body header .pill{background:#d6ad6120;border:1px solid #d6ad6180;color:#f9dba5;padding:7px 13px;font-weight:600}
body .shell{max-width:1480px;gap:26px;padding-top:32px}
body .side{border-radius:20px;background:#15233a;border:1px solid #293954;box-shadow:0 16px 35px #14223919;padding:14px 11px}
body .side:before{content:'МӘЗІР';display:block;padding:10px 15px 8px;color:#c5ad84;font-size:12px;font-weight:750;letter-spacing:.14em}
body .side button{color:#d6deeb;font-weight:600;padding:13px 14px;margin:3px 0;position:relative}
body .side button.active,body .side button:hover{color:#f8deaa;background:#cba45a21;box-shadow:inset 3px 0 #d9b46c}
body .hero{min-height:340px;border:1px solid #a9864c;background:radial-gradient(ellipse at 90% 10%,#344257 0%,transparent 53%),linear-gradient(115deg,#101b2c 0%,#1c2f48 100%);padding:44px;box-shadow:0 18px 36px #13213824;border-radius:22px;isolation:isolate}
body .hero:before{content:'';position:absolute;inset:0;background:url('ornament.svg') no-repeat right -34px center/350px;opacity:.27;z-index:-1;pointer-events:none;mask-image:linear-gradient(90deg,transparent 20%,#000 65%)}
body .hero:after{content:'';position:absolute;inset:12px;border:1px solid #d5b16b55;border-radius:15px;line-height:normal;pointer-events:none;z-index:-1}
body .hero h1{font-size:clamp(34px,5vw,62px);font-weight:850;letter-spacing:-.04em;color:#f6e5bd;text-wrap:balance;margin:14px 0}
body .hero p{color:#d5dce6;max-width:600px}body .hero p strong{color:#f2cf8e}body .eyebrow{color:#dbb774;font-weight:800;font-size:13px;letter-spacing:.12em}
body .btn{background:linear-gradient(135deg,#8b5d17,#694410);color:#fff;border:1px solid #9f762e;box-shadow:0 5px 12px #76501621;transition:transform .15s,filter .15s}
body .btn:hover{filter:brightness(1.12);text-decoration:none;transform:translateY(-1px)}
body .hero .btn{background:linear-gradient(135deg,#f4d998,#c9974d);border-color:#e9c984;color:#15243a;box-shadow:0 8px 22px #0003;margin-top:5px}
body .outline{background:#fffaf0;color:#795414;border-color:#c8a15a;box-shadow:none}
body .card{background:#fff;border-color:#e7ddca;border-radius:17px;box-shadow:0 7px 20px #1c2c4210;padding:23px}
body .card.link{position:relative;overflow:hidden;min-height:160px;transition:.2s}
body .card.link:after{content:'';position:absolute;right:-14px;bottom:-30px;width:110px;height:110px;background:url('ornament.svg') center/contain no-repeat;opacity:.12;pointer-events:none}
body .card.link:hover{border-color:#ba914a;box-shadow:0 12px 26px #8f703121;transform:translateY(-4px)}
body .icon{width:47px;height:47px;border:1px solid #e9d5ab;background:linear-gradient(145deg,#f8eac8,#fffaf1);color:#845b1b;border-radius:14px}
body h2{color:#16263e;font-weight:850;letter-spacing:-.03em;margin-top:18px}
body .pill{background:#f8edd2;color:#77520f;border:1px solid #edddb8}
body .progress{height:11px;background:#eee6d6}body .bar{background:linear-gradient(90deg,#9e783b,#e1b869)}
body .step:before{background:#f4e4be;color:#805815;border:1px solid #e7cd99}body details{border-color:#e4d9c5;box-shadow:0 3px 11px #14223909}
body a:not(.btn){color:#79510c;text-decoration-thickness:1px;text-underline-offset:3px}
body .notice{background:#fff5e1;border-color:#e8d2a6;color:#6c4b19}
body input[type=checkbox],body .quiz input{accent-color:#9a6c25}
body select,body input[type=search]{border-color:#cfbc95;outline-offset:3px}body :focus-visible{outline:3px solid #c38c37;outline-offset:3px}
body footer{color:#53647b;border-top:1px solid #ded5c4;background:#fffaf0;margin-top:22px}
@media(max-width:800px){body header{min-height:70px;padding:12px 14px}body .brand{font-size:20px;padding-left:41px}body .brand:before{width:33px;height:33px;font-size:13px}body header .pill{font-size:12px}body .shell{padding:15px;gap:0}body .side{padding:8px;border-radius:13px}body .side:before{display:none}body .side button{padding:10px 14px;margin:0}body .side button.active{box-shadow:inset 0 -2px #d9b46c}body .hero{padding:28px 24px;min-height:0}body .hero:before{background-size:235px;opacity:.18}body .hero:after{inset:7px}body .card{padding:18px}body .card.link{min-height:135px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media print{body .hero{background:#fff!important;color:#15243a!important;box-shadow:none}body .hero *{color:#15243a!important}body .hero:before,body .hero:after{display:none}body .card{box-shadow:none}}
body .ustaz-intro{display:grid;grid-template-columns:minmax(0,1fr) 240px;align-items:center;gap:22px;background:linear-gradient(135deg,#14243c,#253a55);color:#fff;border-color:#b48e50;padding:28px;overflow:hidden}body .ustaz-intro h2{color:#f2d59d;margin:14px 0}body .ustaz-intro p,body .ustaz-intro .small{color:#d9e2ee}body .ustaz-logo-block{text-align:center;background:#fff1;padding:12px;border:1px solid #fff2;border-radius:14px}body .ustaz-logo{height:100px;border-radius:9px;background: #177a8e url('ustaz-guide.jpeg') center -65px/720px auto no-repeat;margin-bottom:8px}body .ustaz-logo-block .small{font-size:12px;line-height:1.4}body .ustaz-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:18px}body .ustaz-metrics div{background:#fbf6e9;border:1px solid #e8dbba;border-radius:12px;padding:14px}body .ustaz-metrics b{color:#9b6d23;font-size:22px;display:block}body .ustaz-metrics span{font-weight:650}body .ustaz-step{padding:0;overflow:hidden;border-radius:15px;margin:13px 0}body .ustaz-step summary{padding:17px 20px;list-style:none;display:flex;gap:13px;align-items:center;background:#fff;line-height:1.4}body .ustaz-step summary::-webkit-details-marker{display:none}body .ustaz-step summary:after{content:'+';margin-left:auto;font-size:24px;color:#9c702b}body .ustaz-step[open] summary:after{content:'−'}body .ustaz-step[open] summary{background:#fffbf0;border-bottom:1px solid #e9dfca}body .ustaz-num{display:grid;place-items:center;min-width:36px;height:36px;border-radius:11px;background:#f5e7c6;color:#7d5310;font-size:14px;font-weight:850}body .ustaz-body{padding:5px 20px 20px}body .ustaz-table{border:1px solid #e6dbc3;border-radius:12px;overflow:hidden;margin:14px 0}body .ustaz-table div{display:grid;grid-template-columns:minmax(130px,1fr) 2fr;gap:12px;padding:12px 14px;border-bottom:1px solid #eee4d2}body .ustaz-table div:nth-child(odd){background:#fcf8ef}body .ustaz-table div:last-child{border:0}body .ustaz-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}body .ustaz-flow div{padding:16px 14px;background:#f5f6f8;border:1px solid #e0e5ec;border-radius:13px}body .ustaz-flow b{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#c79a4d;color:#14233b}body .ustaz-flow strong,body .ustaz-flow span{display:block;margin-top:7px}body .ustaz-flow span{font-size:14px;color:#536079}body .ustaz-final{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #c8a25f;margin-top:19px;background:#fff9eb}body .ustaz-final .btn{flex-shrink:0}body #ustaz .card{margin:15px 0}body #ustaz .grid .card{margin:0}@media(max-width:800px){body .ustaz-intro{grid-template-columns:1fr;padding:20px}body .ustaz-logo-block{max-width:240px}body .ustaz-metrics{grid-template-columns:1fr}body .ustaz-flow{grid-template-columns:1fr}body .ustaz-table div{grid-template-columns:1fr;gap:3px}body .ustaz-final{flex-direction:column;align-items:flex-start}body .ustaz-step summary{padding:13px}body .ustaz-body{padding:4px 15px 15px}}
