@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap";:root{font-family:DM Sans,system-ui,-apple-system,sans-serif;color:#172b45;background:#f7f8fa;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{background:#153b5b;color:#fff;border:0;border-radius:12px;padding:11px 16px;font-weight:650;cursor:pointer;transition:background .18s,transform .18s}button:hover{background:#245578}button:active{transform:scale(.98)}button.active{background:#e8c784;color:#152b42}button.danger{background:#a8434b}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #d5ad5c;outline-offset:2px}input,textarea,select{border:1px solid #d9e0e8;border-radius:12px;padding:12px 14px;max-width:100%;background:#fff;color:#182c43}.layout{display:flex;min-height:100dvh}aside{position:sticky;top:0;height:100dvh;background:#102943;color:#fff;width:252px;padding:27px 17px;flex-shrink:0;display:flex;flex-direction:column;gap:3px}aside h2{font-size:19px;letter-spacing:.025em;margin:7px 10px 4px;color:#f6e8c5}aside p{color:#a8b8c8;font-size:12px;margin:0 10px 27px}aside button{display:block;width:100%;text-align:left;margin:3px 0;background:transparent;color:#c9d6e4;font-size:14px;font-weight:600;padding:13px 14px}aside button:hover{background:#24415c}main{flex:1;min-width:0;padding:34px clamp(20px,4vw,58px);max-width:1450px;margin:0 auto}header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:28px}header h1{font-size:clamp(24px,3vw,34px);letter-spacing:-.035em;margin:0;font-weight:800}header span{color:#8492a3;font-size:12px}.hero{background:linear-gradient(120deg,#0e2a45,#244e68);color:#fff;border-radius:22px;padding:36px;box-shadow:0 14px 28px #0e2a4514}.hero h2{font-size:clamp(24px,3vw,37px);max-width:600px;line-height:1.15;letter-spacing:-.035em}.hero p{color:#d6e1eb}.stats,.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px;margin:22px 0}.stats article,.cards article,section{background:#fff;border:1px solid #edf0f3;border-radius:18px;padding:22px;box-shadow:0 4px 20px #142b4210}.stats strong{display:block;font-size:30px;color:#183f5d;letter-spacing:-.04em}.cards article h3{font-size:17px}.cards article p{font-size:14px;line-height:1.6;color:#687a8e;min-height:40px}.cards article button{background:#f0f4f7;color:#153b5b;width:100%}.cards article button:hover{background:#e7c47c}section{margin:18px 0}section h2{font-size:21px;letter-spacing:-.02em}form{display:flex;gap:10px;flex-wrap:wrap}.vertical{display:flex;flex-direction:column}.vertical textarea{width:100%}.scroll{overflow:auto}table{width:100%;border-collapse:collapse}td,th{padding:13px;border-bottom:1px solid #e8edf2;text-align:left;font-size:14px}th{color:#607187;font-weight:650}td input{width:85px}.poem{border-bottom:1px solid #e5eaf0;padding:12px}.poem p{white-space:pre-wrap;line-height:1.8}.timeline{border-left:2px solid #d5b26c;padding-left:23px;margin:24px 6px}.timeline article{margin-bottom:27px;position:relative}.timeline article:before{content:"";position:absolute;left:-31px;top:4px;width:12px;height:12px;border-radius:50%;background:#d5b26c;box-shadow:0 0 0 4px #fff}.timeline b{color:#a8782c;font-size:13px}.timeline h3{margin:6px 0}.timeline p{line-height:1.7;color:#66788b}.result{background:#f1f6f8;padding:16px;border-radius:12px;white-space:pre-wrap;overflow:auto}textarea{display:block;width:100%;margin:10px 0;line-height:1.6}small{color:#728198}h1,h2,h3{color:inherit}@media(max-width:800px){.layout{display:block;padding-bottom:83px}aside{position:fixed;top:auto;bottom:0;left:0;right:0;z-index:20;width:100%;height:76px;padding:6px 4px calc(6px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:row;align-items:center;gap:0;justify-content:space-around;box-shadow:0 -5px 25px #0c203b18;border-top:1px solid #28435e}aside h2,aside p{display:none}aside button{width:16.5%;height:56px;min-width:0;margin:0;padding:6px 2px;text-align:center;font-size:10px;line-height:1.35;white-space:normal;border-radius:11px;color:#c8d6e2}aside button.active{background:#e7c781;color:#142b43}main{padding:22px 16px 30px}header{margin-bottom:20px}header h1{font-size:26px}header span{display:none}.hero{padding:25px 22px;border-radius:18px}.hero h2{font-size:26px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stats article{padding:16px}.stats strong{font-size:25px}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cards article{padding:15px}.cards article h3{font-size:15px}.cards article p{font-size:12px;min-height:55px}.cards article button{padding:10px 5px;font-size:12px}section{padding:18px;border-radius:16px}section h2{font-size:19px}form input{width:100%}.timeline{margin:20px 0}td,th{padding:9px 6px;font-size:12px}}@media(max-width:370px){aside button{font-size:9px}.cards{grid-template-columns:1fr}}
