:root{--gutter:max(24px, calc((100% - 1100px) / 2 + 24px));--blue:#173f68;--blue-dark:#102e4c;--blue-light:#eaf1f8;--orange:#f28c28;--orange-dark:#c96f12;--bg:#f8fafc;--text:#283747;--muted:#5f6e7e;--line:#dce5ef;--ok:#1e7d4f;--ok-bg:#e7f5ee;--err:#b3261e;--err-bg:#fcecea}*{box-sizing:border-box;margin:0;padding:0}html{scroll-behavior:smooth}body{color:var(--text);background:#fff;font-family:Arial,Helvetica,sans-serif;line-height:1.6}a{color:inherit;text-decoration:none}h1,h2,h3{color:var(--blue);font-family:Georgia,serif;line-height:1.25}:focus-visible{outline:3px solid var(--orange);outline-offset:2px}.wrap{max-width:1100px;margin:0 auto;padding:0 24px}.muted{color:var(--muted)}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}.navbar{min-height:80px;padding:14px var(--gutter);background:#fff;border-bottom:1px solid #edf0f3;justify-content:space-between;align-items:center;gap:20px;display:flex}.logo{color:var(--blue);align-items:center;gap:12px;display:flex}.logo-img{border-radius:50%;width:52px;height:52px;display:block}.logo-icon{background:var(--blue);color:#fff;border-bottom:4px solid var(--orange);border-radius:8px;place-items:center;width:44px;height:44px;font:27px Georgia,serif;display:grid}.logo-text strong{letter-spacing:1px;font-size:18px;display:block}.logo-text span{letter-spacing:2px;margin-top:2px;font-size:10px;display:block}nav{color:var(--blue);flex-wrap:wrap;gap:26px;font-size:14px;font-weight:600;display:flex}nav a{border-bottom:2px solid #0000;padding:4px 0}nav a:hover,nav a.active{color:var(--orange-dark);border-color:var(--orange)}.btn{border:1px solid var(--blue);background:var(--blue);color:#fff;cursor:pointer;text-align:center;border-radius:6px;padding:12px 20px;font:600 14px Arial,sans-serif;transition:all .2s;display:inline-block}.btn:hover{background:var(--orange);border-color:var(--orange)}.btn.ghost{color:var(--blue);background:0 0}.btn.ghost:hover{background:var(--blue-light);border-color:var(--blue);color:var(--blue)}.btn.small{padding:7px 12px;font-size:13px}.btn.danger{color:var(--err);background:#fff;border-color:#e7b9b5}.btn.danger:hover{background:var(--err-bg);border-color:var(--err)}.btn:disabled{opacity:.4;cursor:not-allowed}.hero{background:var(--bg);padding:80px var(--gutter);grid-template-columns:1.15fr .85fr;align-items:center;gap:55px;display:grid;overflow:hidden}.eyebrow{color:var(--orange-dark);letter-spacing:1.5px;font-size:13px;font-weight:700}.hero h1{margin:20px 0;font-size:clamp(38px,5vw,62px)}.hero h1 span{color:var(--orange)}.hero p.lead{max-width:500px;color:var(--muted);line-height:1.9}.hero-buttons{flex-wrap:wrap;gap:14px;margin-top:28px;display:flex}.hero-visual{padding:25px;position:relative}.visual-card{z-index:1;background:var(--blue);color:#fff;border-radius:8px;flex-direction:column;justify-content:center;min-height:330px;padding:40px 34px;display:flex;position:relative;box-shadow:0 20px 50px #173f6820}.visual-card .big{margin-bottom:20px;font-size:46px}.visual-card h2{color:#fff;margin-bottom:18px;font-size:29px;line-height:1.4}.visual-card .bar{background:var(--orange);width:55px;height:4px;margin-bottom:16px}.visual-card small{color:#cfdcea;letter-spacing:1px}.visual-dot{background:var(--orange);opacity:.85;border-radius:50%;width:140px;height:140px;position:absolute;top:0;right:0}.section{padding:70px 0}.section.alt{background:var(--bg)}.section-head{margin-bottom:30px}.section-head h2{margin-top:6px;font-size:34px}.section-head p{color:var(--muted);margin-top:6px}.grid{grid-template-columns:repeat(3,1fr);gap:22px;display:grid}.card{border:1px solid var(--line);background:#fff;border-radius:10px;flex-direction:column;padding:28px;transition:all .2s;display:flex}a.card:hover{border-color:var(--orange);transform:translateY(-4px);box-shadow:0 12px 28px #173f6815}.card .icon{margin-bottom:14px;font-size:32px}.card h3{margin-bottom:8px;font-size:22px}.card p{color:var(--muted);flex:1;font-size:14px}.card .go{color:var(--orange-dark);margin-top:16px;font-size:14px;font-weight:700}.card .big-num{color:var(--blue);margin:6px 0 10px;font:56px/1 Georgia,serif}.badge{background:var(--blue-light);color:var(--blue);border-radius:99px;padding:2px 10px;font-size:12px;font-weight:700;display:inline-block}.badge.paper{color:var(--orange-dark);background:#fdebd6}.badge.live{background:var(--ok-bg);color:var(--ok)}.badge.draft{color:#5f6e7e;background:#eef0f3}.page-hero{background:var(--blue-light);border-bottom:4px solid var(--orange);padding:56px 0 48px}.page-hero h1{margin:8px 0;font-size:clamp(30px,4vw,44px)}.page-hero p{color:var(--muted);max-width:620px}.back{color:var(--blue);margin-bottom:14px;font-size:14px;font-weight:700;display:inline-block}.back:hover{color:var(--orange-dark)}.page{min-height:420px;padding:40px 24px 80px}.page h2{margin:34px 0 14px;font-size:26px}.page h2:first-child{margin-top:0}.page h3.chapter{color:var(--blue);border-bottom:1px solid var(--line);margin:22px 0 8px;padding-bottom:6px;font:700 15px Arial,sans-serif}.filters{background:var(--bg);border:1px solid var(--line);border-radius:10px;flex-wrap:wrap;align-items:end;gap:12px;margin-bottom:26px;padding:16px;display:flex}.filters label{color:var(--blue);gap:4px;font-size:13px;font-weight:700;display:grid}.file-list{gap:10px;display:grid}.file-row{border:1px solid var(--line);background:#fff;border-radius:10px;justify-content:space-between;align-items:center;gap:16px;padding:14px 18px;display:flex}.file-row:hover{border-color:#c2d2e3}.file-row .pdf{color:var(--err);background:#fbe3e1;border-radius:5px;margin-right:14px;padding:6px 7px;font:700 11px Arial}.file-row .info{flex:1;align-items:center;min-width:0;display:flex}.file-row strong{color:var(--blue);display:block}.file-row small{color:var(--muted)}.file-row .actions{flex-shrink:0;gap:8px;display:flex}.empty{text-align:center;background:var(--bg);color:var(--muted);border:1px dashed #c2d2e3;border-radius:10px;padding:30px 20px;font-size:14px}.contact-list{flex-wrap:wrap;gap:14px;margin-top:18px;display:flex}.contact-list a,.contact-list span{border:1px solid var(--line);color:var(--blue);background:#fff;border-radius:8px;padding:12px 18px;font-weight:600}.contact-list a:hover{border-color:var(--orange)}.about{grid-template-columns:1.2fr .8fr;align-items:center;gap:50px;display:grid}.about p{color:var(--muted);max-width:520px;margin:14px 0 22px;line-height:1.9}.about-art{background:var(--blue-light);border-radius:10px;place-items:center;height:240px;display:grid;position:relative;overflow:hidden}.about-art img{z-index:1;border-radius:50%;width:210px;height:210px;position:relative}.about-art:after{content:"";background:var(--orange);border-radius:50%;width:80px;height:80px;display:none;position:absolute;bottom:18px;right:22px}footer{background:var(--blue-dark);color:#fff;padding:28px var(--gutter);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;font-size:13px;display:flex}footer p,footer a{color:#d5dfe9}footer a:hover{color:var(--orange)}.quiz-shell{max-width:760px;margin:0 auto}.q-top{color:var(--muted);justify-content:space-between;margin-bottom:8px;font-size:14px;display:flex}.q-bar{background:var(--blue-light);border-radius:99px;height:8px;margin-bottom:26px;overflow:hidden}.q-bar i{background:var(--orange);width:0;height:100%;transition:width .3s;display:block}.q-text{color:var(--blue);white-space:pre-wrap;margin-bottom:20px;font:24px Georgia,serif}.q-opt{text-align:left;border:2px solid var(--line);width:100%;color:var(--text);cursor:pointer;background:#fff;border-radius:10px;align-items:center;gap:14px;margin-bottom:10px;padding:14px 16px;font:16px Arial,sans-serif;transition:all .15s;display:flex}.q-opt:hover:not(:disabled){border-color:var(--blue);background:var(--blue-light)}.q-opt b{background:var(--blue-light);width:28px;height:28px;color:var(--blue);border-radius:50%;flex-shrink:0;place-items:center;font-size:13px;display:grid}.q-opt:disabled{cursor:default}.q-opt.correct{border-color:var(--ok);background:var(--ok-bg)}.q-opt.correct b{background:var(--ok);color:#fff}.q-opt.wrong{border-color:var(--err);background:var(--err-bg)}.q-opt.wrong b{background:var(--err);color:#fff}.q-expl{background:var(--blue-light);border-left:4px solid var(--orange);border-radius:6px;margin:16px 0;padding:14px 16px;font-size:15px}.q-actions{justify-content:flex-end;margin-top:18px;display:flex}.result{text-align:center;padding:20px 0}.result .score{color:var(--blue);margin:10px 0;font:72px/1 Georgia,serif}.review{text-align:left;margin-top:28px}.review li{margin:0 0 14px 18px}.review em{color:var(--ok);font-style:normal;font-weight:700}.admin-bar{background:var(--blue-dark);color:#fff;padding:0 var(--gutter);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.admin-bar nav{gap:6px}.admin-bar nav a{color:#d5dfe9;border-bottom:3px solid #0000;padding:14px}.admin-bar nav a:hover,.admin-bar nav a.active{color:#fff;border-color:var(--orange)}.admin-bar form{display:inline}.admin-bar button{color:#d5dfe9;cursor:pointer;background:0 0;border:0;padding:14px 4px;font:600 14px Arial}.admin-bar button:hover{color:var(--orange)}.panel{border:1px solid var(--line);background:#fff;border-radius:10px;margin-bottom:26px;padding:24px}.panel h2{font-size:22px;margin:0 0 16px!important}.form-grid{grid-template-columns:repeat(2,1fr);gap:16px;display:grid}.form-grid .full{grid-column:1/-1}label.f{color:var(--blue);gap:5px;font-size:14px;font-weight:700;display:grid}label.f small{color:var(--muted);font-weight:400}input[type=text],input[type=password],input[type=number],select,textarea,input[type=file]{width:100%;color:var(--text);background:#fff;border:1px solid #c2d2e3;border-radius:6px;padding:10px 12px;font:15px Arial,sans-serif}textarea{resize:vertical}.check{color:var(--blue);align-items:center;gap:10px;font-weight:700;display:flex}.check input{width:18px;height:18px}.alert{border-radius:8px;margin-bottom:20px;padding:12px 16px;font-size:14px;font-weight:600}.alert.ok{background:var(--ok-bg);color:var(--ok)}.alert.err{background:var(--err-bg);color:var(--err)}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:14px}th{text-align:left;color:var(--muted);border-bottom:2px solid var(--line);padding:8px 10px;font-size:12px}td{vertical-align:middle;border-bottom:1px solid #edf0f3;padding:12px 10px}td .row-actions{flex-wrap:wrap;gap:6px;display:flex}td form{display:inline}.stats{grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:26px;display:grid}.stat{border:1px solid var(--line);border-radius:10px;padding:20px}.stat b{color:var(--blue);font:38px Georgia,serif;display:block}.stat span{color:var(--muted);font-size:14px}.toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;display:flex}.qcard{border:1px solid var(--line);background:var(--bg);border-radius:10px;gap:10px;margin-bottom:16px;padding:18px;display:grid}.qhead{color:var(--blue);justify-content:space-between;align-items:center;display:flex}.qhead span{gap:6px;display:flex}.opt{align-items:center;gap:10px;display:flex}.opt input[type=radio]{width:20px;height:20px;accent-color:var(--ok);flex-shrink:0}.hint{color:var(--muted);font-size:13px}.login{max-width:400px;margin:70px auto}@media (width<=900px){.hero,.about{grid-template-columns:1fr}.hero{padding:60px var(--gutter)}.grid,.stats{grid-template-columns:repeat(2,1fr)}}@media (width<=650px){.navbar{flex-wrap:wrap}nav{gap:16px;width:100%;font-size:13px}.grid,.form-grid{grid-template-columns:1fr}.file-row{flex-direction:column;align-items:flex-start}.section{padding:50px 0}.about-art{height:170px}.about-art img{width:140px;height:140px}footer{text-align:center;flex-direction:column}}.banner{border:1px solid var(--line);border-radius:12px;display:block;overflow:hidden;box-shadow:0 12px 30px #173f6818}.banner img{width:100%;height:auto;display:block}.social-buttons{flex-wrap:wrap;gap:14px;margin-top:22px;display:flex}.btn.yt{background:#d92d20;border-color:#d92d20}.btn.yt:hover{background:#b42318;border-color:#b42318}.btn.wa{background:#1b9e54;border-color:#1b9e54}.btn.wa:hover{background:#12783f;border-color:#12783f}.grid.classes{grid-template-columns:repeat(4,1fr);gap:16px}.grid.classes .card{padding:20px}.grid.classes .card h3{margin-bottom:0;font-size:17px}.grid.classes .big-num{margin:2px 0 8px;font-size:44px}.grid.classes .card p{font-size:13px}.grid.classes .go{margin-top:10px;font-size:13px}@media (width<=900px){.grid.classes{grid-template-columns:repeat(3,1fr)}}@media (width<=650px){.grid.classes{grid-template-columns:repeat(2,1fr);gap:12px}.grid.classes .card{padding:16px}}.q-timer{color:var(--blue);font-weight:700}.q-timer.low{color:var(--err)}.q-time-bar{background:var(--blue-light);border-radius:99px;height:6px;margin:-18px 0 22px;overflow:hidden}.q-time-bar i{background:var(--blue);width:100%;height:100%;transition:width 1s linear,background .3s;display:block}.q-time-bar.low i{background:var(--err)}.q-timeup{color:var(--err);margin:8px 0;font-weight:700}.q-foot{border-top:1px solid var(--line,#e3e8ef);flex-wrap:wrap;justify-content:space-between;gap:10px;margin-top:26px;padding-top:16px;display:flex}.bars{align-items:flex-end;gap:6px;height:140px;display:flex}.bar-col{flex-direction:column;flex:1;justify-content:flex-end;align-items:center;gap:4px;height:100%;display:flex}.bar-col i{background:var(--blue);border-radius:4px 4px 0 0;width:100%;min-height:3px;display:block}.bar-col span{color:var(--muted);font-size:11px}.tops{grid-template-columns:repeat(3,1fr);gap:24px;display:grid}.tops h3{margin-bottom:8px;font-size:15px}.tops ol{gap:6px;padding-left:20px;display:grid}@media (width<=800px){.tops{grid-template-columns:1fr}}.qimg{flex-wrap:wrap;align-items:center;gap:12px;margin:6px 0 14px;display:flex}.qimg img{border:1px solid var(--line);border-radius:8px;max-width:220px;max-height:120px}.qimg label{cursor:pointer}.q-img{border:1px solid var(--line);background:#fff;border-radius:10px;max-width:100%;max-height:340px;margin:0 auto 18px;display:block}.q-fade{animation:.25s qfade}@keyframes qfade{0%{opacity:0}to{opacity:1}}.q-pause{margin-left:6px}.paused .q-text,.paused .q-opt,.paused .q-img{filter:blur(7px);pointer-events:none;user-select:none}.q-paused-note{text-align:center;color:var(--blue);margin:-8px 0 14px;font-weight:700}.q-intro h2{margin-bottom:6px}.q-chips{flex-wrap:wrap;gap:8px;margin:10px 0 14px;display:flex}.q-chip{border:2px solid var(--line);color:var(--blue);cursor:pointer;background:#fff;border-radius:99px;padding:9px 16px;font:700 14px Arial,sans-serif}.q-chip.on{background:var(--blue);border-color:var(--blue);color:#fff}.q-intro label.check{cursor:pointer;align-items:center;gap:10px;margin:14px 0 22px;display:flex}.q-intro input[type=number]{border:2px solid var(--line);border-radius:8px;width:90px;padding:8px;font-size:15px}#to-top{background:var(--orange);color:#fff;cursor:pointer;opacity:0;pointer-events:none;z-index:50;border:0;border-radius:50%;width:48px;height:48px;font-size:24px;font-weight:700;transition:all .2s;position:fixed;bottom:18px;right:18px;transform:translateY(10px);box-shadow:0 4px 14px #00000040}#to-top.show{opacity:1;pointer-events:auto;transform:none}#to-top:hover{background:var(--orange-dark)}.overview{background:#fff;border:1px solid #dce5ee;border-radius:10px;margin-bottom:26px;padding:22px 26px}.overview p,.prose p,.prose li{margin:0 0 14px;line-height:1.75}.prose{max-width:820px}.prose h2{margin:28px 0 10px;font-size:24px}.prose ul{padding-left:22px}.ad-slot{text-align:center;min-height:100px;margin:28px 0;overflow:hidden}.note{background:#fff;border:1px solid #dce5ee;border-radius:10px;max-width:820px;margin:14px 0;padding:24px 28px}.note h2{margin:26px 0 10px;font-size:24px}.note h3{margin:22px 0 8px;font-size:20px}.note h4{margin:18px 0 6px;font-size:17px}.note h2:first-child,.note h3:first-child{margin-top:0}.note img{border-radius:8px;max-width:100%;height:auto;margin:12px auto;display:block}.note ol,.note ul{padding-left:22px}.note blockquote{background:#fff8e1;border-left:4px solid #f2b705;border-radius:6px;margin:16px 0;padding:12px 16px;line-height:1.7}.note .table-scroll{margin:14px 0;overflow-x:auto}.note table{border-collapse:collapse;min-width:320px}.note th,.note td{text-align:left;border:1px solid #dce5ee;padding:8px 12px}.note th{background:#f2f6fa}.note .math{margin:14px 0;overflow-x:auto}.note code{background:#f2f6fa;border-radius:4px;padding:1px 5px}.read-actions{flex-wrap:wrap;align-items:center;gap:10px;margin:12px 0;display:flex}@media (width<=600px){.note{padding:18px 16px}}.chapter-nav{flex-wrap:wrap;justify-content:space-between;gap:12px;margin:28px 0 8px;display:flex}#consent{z-index:50;background:#fff;border:1px solid #dce5ee;border-radius:12px;flex-wrap:wrap;align-items:center;gap:14px;max-width:760px;margin:0 auto;padding:14px 18px;display:flex;position:fixed;bottom:12px;left:12px;right:12px;box-shadow:0 6px 24px #173f6833}#consent[hidden]{display:none}#consent p{flex:1;min-width:220px;margin:0;font-size:14px;line-height:1.5}.search-form{gap:8px;max-width:520px;margin:0 0 18px;display:flex}.search-form input{border:1px solid #dce5ee;border-radius:8px;flex:1;min-width:0;padding:11px 14px;font-size:16px}.crows{gap:12px;max-width:520px;margin:18px 0;display:grid}.crow{color:inherit;background:#fff;border:1px solid #dce5ee;border-radius:10px;align-items:center;gap:14px;padding:12px 16px;text-decoration:none;display:flex}a.crow:hover{border-color:var(--orange)}.crow .ci{text-align:center;width:34px;font-size:24px}.crow strong{color:var(--blue);display:block}.crow small{color:var(--muted);font-size:14px}nav{align-items:center}nav a.nav-search{align-items:center;gap:6px;display:inline-flex}.mv{gap:4px;margin-right:6px;display:inline-flex}.mv form{margin:0;display:inline}.hp{opacity:0;width:1px;height:1px;position:absolute;left:-9999px}.report{margin:34px 0 10px;font-size:14px}.report summary{cursor:pointer;color:var(--blue);font-weight:600}.report-form{gap:10px;max-width:520px;margin-top:10px;display:grid}.report-form textarea{border:2px solid var(--line);font:inherit;border-radius:8px;padding:10px}.report-msg{color:var(--ok);font-weight:600}
