.content-page{max-width:1300px;margin:0 auto;min-height:78vh;padding:30px 22px 55px}.page-intro{margin:12px 0 25px}.page-intro h1{font-size:35px;margin:0 0 5px;letter-spacing:-1px}.page-intro p{color:#61718b;margin:0}.card{padding:23px;background:#fff;border:1px solid #deeee8;border-radius:20px;box-shadow:0 8px 20px #116c5212}.cards-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:14px 0 30px}.olympiad-card{display:flex;flex-direction:column;gap:14px}.olympiad-title{display:flex;align-items:center;gap:13px;font-size:19px}.icon-square{background:#d9faec;color:#009d68;border-radius:13px;padding:12px;display:inline-grid;place-items:center;font-weight:900;font-size:24px;min-width:54px}.olympiad-info{display:flex;flex-direction:column;gap:6px;color:#61718b}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;border-radius:10px;padding:11px 20px;text-decoration:none;border:1px solid transparent;font-weight:700;cursor:pointer}.btn-primary{background:#009d68;color:white}.btn-primary:hover{background:#007c52;color:white}.btn-outline{background:white;color:#087d58;border-color:#17b385}.btn-small{padding:8px 14px;font-size:13px}.btn-danger{background:#a72535;color:white}.hero{padding:30px 38px;display:grid;grid-template-columns:1fr .8fr;align-items:center;gap:30px;border-radius:32px;background:linear-gradient(110deg,#fff 20%,#e7fff4 100%);min-height:320px}.hero h1{font-size:43px;line-height:1.13;letter-spacing:-1.5px;margin:0 0 18px}.hero h1 em{color:#009d68;font-style:normal}.hero p{color:#5e6e80;font-size:17px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}.hero-art{font-size:100px;text-align:center}.subjects{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;margin:24px 0 30px}.subject{background:#fff;border:1px solid #deeee8;border-radius:16px;padding:17px 5px;text-align:center;font-weight:650}.subject span{display:block;font-size:28px;color:#009d68}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:25px 0 14px}.section-heading h2{font-size:23px;margin:0}.simple-content{max-width:850px;margin:auto}.form-card{max-width:520px;margin:auto}.form-card h1{margin-top:0}.field{display:flex;flex-direction:column;gap:6px;margin:12px 0}.field input,.field select,.field textarea,.field-multi{width:100%;border:1px solid #ccded8;background:white;border-radius:10px;padding:11px 12px;font:inherit;box-sizing:border-box}.field textarea{min-height:85px}.field-multi{height:180px}.notice{padding:14px 18px;border:1px solid #80d5af;background:#dffbf0;border-radius:12px;margin:8px 0 20px}.error{background:#ffe8e8;color:#a52133;border:1px solid #ffaaaa;padding:12px 16px;border-radius:10px;margin:12px 0}.muted{color:#627089}.two-col{display:grid;grid-template-columns:2fr 1fr;gap:20px}.stack{display:flex;flex-direction:column;gap:15px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:20px 0}.stat strong{font-size:30px;color:#009d68;display:block}.stat span{font-size:13px;color:#607389}.data-table{width:100%;border-collapse:collapse;background:white}.data-table th,.data-table td{padding:11px;text-align:left;border-bottom:1px solid #e1eeea}.data-table th{background:#e6f8f0}.table-wrap{overflow-x:auto}.chip{padding:5px 9px;border-radius:20px;background:#e7f8ef;color:#006c43;white-space:nowrap;font-size:13px}.admin-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:23px}.admin-tabs a{border:1px solid #cae9dc;padding:9px 15px;border-radius:10px;background:white}.admin-tabs a.active{background:#d5f8e6;border-color:#009d68}.inline-form{display:inline}.checkline{display:block;padding:9px;border-bottom:1px solid #e7efec}.question{margin:16px 0}.question label{display:block;padding:8px 12px;border-radius:9px;border:1px solid #e4f1ea;margin:7px 0}.question input{margin-right:9px}.timer{background:#fff0d5;color:#7d4d00;padding:10px 15px;border-radius:15px;font-size:20px;font-weight:800}.site-footer{padding:24px}.footer-inner{display:flex;justify-content:space-between;max-width:1300px;margin:auto}.content-page select{cursor:pointer}.user-label{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.empty{text-align:center;padding:32px;color:#667789}.badge{display:inline-block;padding:3px 8px;background:#d6f9e7;border-radius:8px;color:#006b48}details summary{cursor:pointer}code{word-break:break-word}@media(max-width:1000px){.cards-grid{grid-template-columns:repeat(2,1fr)}.subjects{grid-template-columns:repeat(4,1fr)}.top-nav{gap:10px;flex-wrap:wrap}.header-inner{flex-wrap:wrap}.hero h1{font-size:32px}}@media(max-width:650px){.cards-grid,.two-col,.hero,.stats{grid-template-columns:1fr}.subjects{grid-template-columns:repeat(3,1fr)}.header-inner{padding:12px}.top-nav{order:3;width:100%;font-size:12px;overflow:auto;flex-wrap:nowrap}.top-nav a{white-space:nowrap}.header-actions{gap:6px}.user-label{display:none}.hero{padding:20px}.hero-art{font-size:65px}.hero h1{font-size:27px}.content-page{padding:18px 12px}.page-intro h1{font-size:27px}.card{padding:16px}.footer-inner{display:block}}

/* Олимпиада эълонида жонли қолган вақт */
.olympiad-countdown{margin:12px 0;padding:10px 12px;border-radius:12px;background:#ebfaf4;border:1px solid #c9eee0;color:#06694e;font-size:.93rem;display:flex;flex-wrap:wrap;align-items:center;gap:7px}
.olympiad-countdown .countdown-value{font-variant-numeric:tabular-nums;font-weight:800;color:#08764e}
.olympiad-countdown.is-live{background:#e8f5ff;border-color:#c6e1fb;color:#07579c}
.olympiad-countdown.is-live .countdown-value{color:#07579c}
.olympiad-countdown.is-finished{background:#f6f7f8;border-color:#e4e7ea;color:#667582}
.olympiad-countdown.is-finished .countdown-value{display:none}
.source-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px;margin:14px 0}
.source-choice{display:block;padding:12px;background:#fafffd;border:1px solid #d4e9df;border-radius:12px;cursor:pointer}
.source-choice input{margin-right:8px;accent-color:#00a876}
.source-choice small{display:block;margin:6px 0 0 25px;color:#587269}
@media(max-width:600px){.source-choices{grid-template-columns:1fr}}

/* Exam: visible participant identity, answer status and one-question navigation */
.exam-top{position:sticky;top:69px;z-index:15;background:rgba(250,255,252,.97);border:1px solid var(--border);border-radius:19px;box-shadow:0 8px 24px #0d59301b;padding:14px 17px;margin-bottom:18px;backdrop-filter:blur(10px)}
.exam-info{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:15px}
.exam-info>div{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.exam-label{font-size:12px;color:var(--grey);font-weight:700}
.exam-info strong{font-size:15px}
.exam-info .exam-clockbox{margin-left:auto}
.exam-clockbox strong.timer{font-variant-numeric:tabular-nums;font-size:22px;letter-spacing:1px}
.exam-clock-urgent{color:#b02727!important;background:#ffebeb!important}
.exam-progress{margin:14px 0 11px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:13px;color:#48635b}
#examSaveState{font-weight:600;max-width:100%;overflow-wrap:anywhere}
.exam-number-nav{display:flex;gap:7px;flex-wrap:wrap;max-height:145px;overflow:auto;padding:2px}
.exam-number{background:#fff1f1;color:#a92626;border:2px solid #efb8b8;border-radius:10px;min-width:43px;height:41px;font-weight:800;transition:.12s}
.exam-number:hover{filter:brightness(.96)}
.exam-number.is-answered{background:#d4f7e4;color:#006c3d;border-color:#67cc9a}
.exam-number.is-current{box-shadow:0 0 0 3px #284f8d77;outline:2px solid #254e8e;outline-offset:1px}
.exam-legend{margin:10px 0 0;color:#65716c;font-size:12px;display:flex;flex-wrap:wrap;align-items:center;gap:7px}
.legend-dot{display:inline-block;width:11px;height:11px;border-radius:3px}
.legend-dot.answered{background:#30b86f}.legend-dot.unanswered{background:#dc5252}.legend-dot.current{background:#3764a9}
.exam-js .exam-question{display:none}.exam-js .exam-question[data-active="1"]{display:block}
.exam-question{min-height:280px;max-width:960px;margin:0 auto 12px}
.exam-question h2{font-size:21px;line-height:1.55;white-space:normal;overflow-wrap:anywhere}
.exam-question-counter{font-size:12px;text-transform:uppercase;letter-spacing:.5px;font-weight:800;color:var(--deep)}
.exam-question-image{max-width:100%;max-height:360px;object-fit:contain}
.exam-question .question-option{display:flex;align-items:center;max-width:950px}
.exam-question .field{display:grid;gap:6px;margin:12px 0;font-weight:650}
.exam-question .field input,.exam-question .field select,.exam-question .field textarea{min-width:0;width:100%;max-width:100%;padding:11px;border-radius:10px;border:1px solid var(--border);background:white}
.exam-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;align-items:center;max-width:960px;margin:16px auto 32px}
#examCurrentLabel{color:#607068;font-weight:800}
@media(max-width:780px){.exam-top{top:62px;padding:11px}.exam-info{gap:9px}.exam-info>div{flex-basis:100%;justify-content:space-between}.exam-info .exam-clockbox{margin-left:0}.exam-number{min-width:37px;height:37px}.exam-number-nav{max-height:127px}.exam-question h2{font-size:18px}.exam-actions .btn{flex:1 1 40%;font-size:13px;padding:10px 9px}#examCurrentLabel{order:-1;flex-basis:100%;text-align:center}}

/* ZIYO OLYMP branding and saved certificates */
.brand{display:flex;align-items:center;gap:9px}
.brand-ziyo-mark{width:52px;height:50px;object-fit:contain;flex:none}
.brand strong{display:block;white-space:nowrap;font-size:18px;font-style:normal;letter-spacing:.35px;color:#0b3541}
.brand em{font-style:normal;color:#069462}
.brand small{display:block;font-size:8px;font-weight:800;letter-spacing:.7px;color:#31545f;white-space:nowrap}
.hero-ziyo-logo{max-width:290px;width:90%;height:auto;filter:drop-shadow(0 8px 12px #067b5233)}
.certificate-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:16px}
.certificate-item{display:flex;flex-direction:column;gap:9px;border-top:5px solid #079c66}
.certificate-item--bronze{border-top-color:#ae693c}.certificate-item--silver{border-top-color:#aeb9c8}.certificate-item--gold{border-top-color:#dbac28}
.certificate-item h3{margin:5px 0}.certificate-item p{margin:6px 0}.certificate-item .btn{margin-top:auto}
.certificate-award-ico{font-size:38px}
@media(max-width:650px){.brand-ziyo-mark{width:43px;height:42px}.brand strong{font-size:15px}.brand small{font-size:6.5px}}

/* ZIYO OLYMP: advertisement space directly below the compact menu */
.zyo-banner-area{background:linear-gradient(180deg,#f1fbf6 0%,#f8fffb 100%);border-bottom:1px solid #d6ede2;padding:14px 18px 16px}
.zyo-banner-inner{max-width:1320px;margin:0 auto}
.zyo-banner-carousel{position:relative;border:1px solid #d0e9dd;border-radius:18px;background:#fff;box-shadow:0 8px 28px rgba(0,69,39,.06);overflow:hidden}
.zyo-banner-slide{display:none}.zyo-banner-slide.is-active{display:block}
.zyo-banner-link{display:flex;align-items:stretch;min-height:125px;text-decoration:none;color:#0b2939}
.zyo-banner-photo{display:block;flex:1 1 68%;min-width:0;max-height:210px;overflow:hidden;background:#e7f6ed}
.zyo-banner-photo img{display:block;width:100%;height:100%;max-height:210px;min-height:125px;object-fit:contain}
.zyo-banner-copy{display:flex;flex-direction:column;justify-content:center;gap:7px;padding:15px 24px;flex:1 1 32%;overflow-wrap:anywhere;background:linear-gradient(120deg,#fff,#ecfbf5)}
.zyo-ad-heading{display:block;font-size:clamp(15px,1.8vw,22px);font-weight:850;line-height:1.25;color:#0a3040}
.zyo-ad-desc{font-size:14px;line-height:1.35;color:#466576}
.zyo-ad-more{font-size:13px;color:#008d60;font-weight:800}
.zyo-banner-link:hover .zyo-ad-heading{color:#008c5c}
.zyo-banner-controls{display:flex;align-items:center;justify-content:center;gap:8px;padding:7px;background:#fff}
.zyo-banner-arrow{width:28px;height:27px;background:#ecf9f3;color:#008f62;border:1px solid #c5e8d7;border-radius:7px;font-size:19px;cursor:pointer;line-height:1}
.zyo-banner-dot{width:10px;height:10px;padding:0;border:0;border-radius:50%;background:#b2d7c6;cursor:pointer}
.zyo-banner-dot.is-active{background:#008c5f;width:24px;border-radius:7px}
.zyo-ad-admin-preview{display:block;width:220px;max-height:80px;object-fit:contain;border-radius:10px;background:#eff9f2}
.zyo-ad-info{font-size:12px;color:#607a6d}
@media(max-width:750px){.zyo-banner-area{padding:10px 10px}.zyo-banner-link{flex-direction:column}.zyo-banner-photo{width:100%;max-height:150px}.zyo-banner-photo img{max-height:150px;min-height:95px}.zyo-banner-copy{padding:12px 16px}.zyo-ad-heading{font-size:17px}.zyo-ad-desc{font-size:12px}.zyo-ad-more{font-size:12px}}
@media(prefers-reduced-motion:reduce){.zyo-banner-slide{transition:none}}
