:root{--ink:#253245;--muted:#718093;--line:#dce3eb;--orange:#e9752e;--blue:#285ccc;--paper:#fff;--bg:#f4f7fa;font-family:"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg);font-size:16px;line-height:1.6}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button{border:0;border-radius:9px;padding:11px 22px;background:var(--blue);color:#fff;font-weight:600;transition:background .15s,transform .15s}button:hover{filter:brightness(.96)}button:active{transform:translateY(1px)}button:disabled{opacity:.55;cursor:wait}button.secondary,.secondary{background:#fff;color:var(--ink);border:1px solid var(--line)}button.quiet{background:transparent;color:var(--muted);padding:6px 10px}input,textarea,select{width:100%;border:1px solid #cfd9e6;border-radius:8px;padding:12px 14px;background:white;color:var(--ink);outline:none}input:focus,textarea:focus,select:focus{border-color:var(--blue);box-shadow:0 0 0 3px #285ccc14}textarea{resize:vertical;min-height:125px;line-height:1.8}label{display:block;font-size:14px;font-weight:600}label>input{margin-top:8px}h1,h2,h3,p{margin-top:0}h1{font-size:30px;letter-spacing:-.5px;line-height:1.35}h2{font-size:20px;line-height:1.5;margin-bottom:22px}h3{font-size:16px;margin-bottom:10px}.muted{color:var(--muted)}.eyebrow{font-size:12px;letter-spacing:2px;color:var(--orange);font-weight:700}.brand{display:flex;align-items:center;gap:14px}.brand img{height:57px;width:52px;object-fit:contain;mix-blend-mode:multiply}.brand strong{font-size:15px;font-weight:600}.brand small{display:block;color:var(--muted);font-size:12px;letter-spacing:1px}.topbar{height:88px;max-width:1240px;margin:auto;padding:12px 36px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.topbar nav{display:flex;gap:18px;align-items:center;font-size:14px}.topbar nav a:hover{color:var(--orange)}.account{display:flex;align-items:center;gap:8px}.avatar{width:30px;height:30px;display:inline-flex;justify-content:center;align-items:center;border-radius:50%;background:#e9eef5;font-size:13px}.page{max-width:1056px;margin:44px auto 60px;padding:0 28px}.page-heading{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;margin-bottom:28px}.page-heading h1{margin:9px 0}.page-heading p{margin:0;font-size:14px}.status{font-size:13px;white-space:nowrap;color:var(--muted)}.status::before{content:"";display:inline-block;width:6px;height:6px;background:#5b9b79;border-radius:50%;margin-right:7px;vertical-align:middle}.form-paper{background:#fff;border:1px solid #e7ebef;border-radius:16px;padding:32px;box-shadow:0 5px 25px #293c4b05}.section{border-radius:12px;padding:26px;margin-bottom:28px}.section.basic{background:#eff5ff}.section.optional{background:#fffae9}.section.required{background:#fff1f3}.basic h2{color:#315ca5}.optional h2{color:#9d571c}.required h2{color:#b33d58}.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.section-head h2{margin:0}.counter{font-size:13px;color:#986125;background:#fff4d5;padding:4px 12px;border-radius:20px;white-space:nowrap}.grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.question{background:white;border:1px solid #eedbb2;border-radius:9px;padding:20px;margin:12px 0}.question:last-child{margin-bottom:0}.question label{display:flex;gap:11px;align-items:flex-start;line-height:1.7;font-size:15px;font-weight:400;cursor:pointer}.question input[type=checkbox]{width:18px;height:18px;flex-shrink:0;accent-color:var(--blue);margin:4px 0 0;padding:0}.question textarea{margin-top:14px}.question:not(.chosen){background:#ffffffb3}.question.chosen{border-color:#ddb85f}.question .number{color:#8c97a5;font-variant-numeric:tabular-nums;margin-right:5px}.required-card{background:white;padding:22px;border-radius:10px}.guide{background:#fffae9;border:1px solid #eedbb2;border-radius:8px;padding:20px;font-size:14px;line-height:1.8;margin:15px 0 20px}.guide strong{color:#975920}.guide ul{padding-left:22px;margin:4px 0 15px}.guide p{margin:0}.guide .examples{border-top:1px solid #eadbb2;padding-top:12px}.required textarea{min-height:285px}.form-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:32px 0 4px}.actions{display:flex;gap:10px;align-items:center}.footnote{font-size:13px;color:var(--muted);max-width:410px}.site-footer{text-align:center;color:#8d98a6;font-size:12px;padding:28px}.error{color:#ad3540;font-size:14px;min-height:22px;margin:12px 0}.notice{padding:14px 18px;background:#edf5ef;border:1px solid #d4e6d9;border-radius:9px;font-size:14px;margin-bottom:22px}.notice button{margin-left:10px}.auth-shell{max-width:1110px;min-height:660px;margin:60px auto;display:grid;grid-template-columns:1fr 450px;background:white;border:1px solid #e5e9ef;border-radius:20px;overflow:hidden;box-shadow:0 20px 80px #26374d08}.auth-story{padding:60px 52px;background:#eef3f7;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between}.auth-story h1{font-size:40px;line-height:1.4;font-weight:600;margin:16px 0}.auth-story p{color:#758496;font-size:15px;max-width:320px}.story-bottom{border-top:1px solid #ced8e3;padding-top:22px;z-index:1}.story-bottom span{font-size:12px;letter-spacing:1.7px}.story-bottom p{margin:8px 0 0;font-size:13px}.orbit{width:330px;height:330px;border:1px solid #d1dae3;border-radius:50%;position:absolute;right:-135px;bottom:100px}.orbit:before{content:"";position:absolute;inset:22px;border:1px solid #d1dae3;border-radius:50%}.orbit:after{content:"";position:absolute;width:10px;height:10px;border-radius:50%;background:var(--orange);left:48px;top:36px}.auth-panel{padding:44px 42px;align-self:center}.auth-panel h2{font-size:24px;margin:0 0 6px}.auth-panel>p{font-size:14px;color:var(--muted);margin-bottom:28px}.tabs{display:flex;border-bottom:1px solid var(--line);margin-bottom:25px;gap:30px}.tabs button{border-radius:0;background:none;color:var(--muted);padding:9px 0 13px;font-size:15px;position:relative}.tabs button.active{color:var(--orange)}.tabs button.active:after{content:"";height:2px;position:absolute;bottom:-1px;left:0;right:0;background:var(--orange)}.auth-panel label{margin:16px 0}.auth-panel .submit{width:100%;margin-top:5px;background:var(--ink)}.auth-panel .tiny{font-size:12px;color:var(--muted);margin:18px 0 0}.loading{padding:80px;text-align:center;color:var(--muted)}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);padding:12px 22px;background:#253245;color:white;border-radius:10px;box-shadow:0 6px 30px #0002;opacity:0;pointer-events:none;transition:opacity .2s;max-width:90vw;z-index:100}#toast.visible{opacity:1}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:28px 0}.stat{background:white;border:1px solid var(--line);border-radius:12px;padding:22px}.stat b{display:block;font-size:30px;font-weight:500}.stat span{font-size:14px;color:var(--muted)}.admin-tools{display:flex;justify-content:space-between;gap:16px;margin:25px 0 18px}.admin-tools input{max-width:350px}.admin-tools select{max-width:160px}.table-wrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:12px}table{border-collapse:collapse;width:100%;font-size:14px;text-align:left;white-space:nowrap}th{color:var(--muted);font-weight:500;background:#f9fafc}th,td{padding:17px 20px;border-bottom:1px solid #edf0f3}tr:last-child td{border-bottom:0}td small{display:block;font-size:12px;color:var(--muted)}.badge{padding:4px 10px;border-radius:5px;background:#eaf4ee;color:#3b7c52;font-size:12px}.badge.draft{background:#f1f3f6;color:#818d9b}.text-link{color:var(--blue);font-weight:600}.empty{padding:55px;text-align:center;color:var(--muted)}details.settings{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px;margin-top:25px}summary{cursor:pointer;font-size:14px;font-weight:600}.settings p{font-size:13px;color:var(--muted);margin:12px 0}.settings form{display:flex;gap:10px}.settings input{max-width:420px}.print-toolbar{max-width:900px;margin:25px auto;display:flex;justify-content:space-between;align-items:center;gap:14px;padding:0 24px;flex-wrap:wrap}.print-toolbar select{width:170px}.print-toolbar p{font-size:12px;color:var(--muted);margin:0;width:100%}.print-sheet{max-width:794px;margin:24px auto 60px;background:#fff;padding:48px 55px;border:1px solid var(--line);box-shadow:0 6px 24px #293a4c0b}.print-heading{text-align:center;border-bottom:2px solid var(--ink);padding-bottom:23px;margin-bottom:24px}.print-heading img{height:65px;mix-blend-mode:multiply}.print-heading h1{font-size:24px;margin:12px 0 4px}.print-heading p{font-size:12px;color:var(--muted);margin:0}.print-meta{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:26px;font-size:13px}.print-meta b{display:block;font-size:12px;color:var(--muted);font-weight:400}.print-question{margin:24px 0;border-top:1px solid var(--line);padding-top:20px;overflow-wrap:anywhere}.print-question h2{font-size:15px;margin:0 0 12px;break-after:avoid}.answer{white-space:pre-wrap;line-height:1.85;font-size:14px;overflow-wrap:anywhere}.print-section-label{font-size:12px;color:var(--muted);margin-top:25px}.print-sheet[data-lang=ru]{font-family:"Times New Roman",serif}.print-sheet[data-lang=en]{font-family:Georgia,serif}
@media(max-width:780px){.topbar{padding:12px 20px;height:78px}.brand strong{font-size:13px}.brand small{font-size:10px}.brand img{height:45px;width:42px}.topbar nav{gap:9px}.account span:last-child{display:none}.page{margin:28px auto;padding:0 16px}.page-heading{display:block;margin-bottom:22px}.page-heading h1{font-size:25px}.status{margin-top:12px}.form-paper{padding:16px;border-radius:12px}.section{padding:18px 14px;margin-bottom:18px}.section-head{align-items:flex-start;gap:8px}.section-head h2{font-size:18px}.counter{font-size:12px;padding:4px 8px}.grid{grid-template-columns:1fr;gap:18px}.question{padding:15px}.question label{font-size:14px}.required-card{padding:14px}.guide{padding:15px;font-size:13px}.form-footer{flex-direction:column;align-items:stretch}.actions{justify-content:flex-end}.footnote{max-width:none}.auth-shell{margin:24px 16px;grid-template-columns:1fr;min-height:0}.auth-story{padding:28px 26px}.auth-story h1{font-size:29px;margin-bottom:6px}.auth-story p{font-size:13px;margin:0}.auth-story .story-bottom,.orbit{display:none}.auth-panel{padding:28px 26px}.stats{gap:10px}.stat{padding:16px}.stat b{font-size:25px}.stat span{font-size:12px}.settings form{flex-wrap:wrap}.print-sheet{margin:16px 12px;padding:30px 24px}.print-meta{grid-template-columns:1fr}.print-toolbar{padding:0 16px}.print-heading h1{font-size:21px}.admin-tools{flex-wrap:wrap}}
@page{size:A4 portrait;margin:18mm 16mm}@media print{body{background:white}.topbar,.site-footer,.print-toolbar,#toast{display:none!important}.print-sheet{max-width:none;margin:0;padding:0;border:0;box-shadow:none}.print-heading img{height:52px}.print-heading h1{font-size:18pt}.print-heading{margin-bottom:18px;padding-bottom:18px;break-inside:avoid}.print-meta{grid-template-columns:1fr 1fr;break-inside:avoid}.print-question{margin:18px 0;padding-top:15px}.print-question h2{font-size:11pt;break-after:avoid}.answer{font-size:10.5pt;line-height:1.65;orphans:3;widows:3}.print-section-label{break-after:avoid}.print-meta b{color:#555}.print-heading p{color:#555}a{color:inherit}}
@media(max-width:480px){.topbar{height:70px;padding:10px 16px}.topbar .brand div,.topbar .account{display:none}.topbar nav{white-space:nowrap;font-size:13px;gap:14px}.topbar nav .quiet{padding:6px 2px}.topbar .brand img{width:38px;height:43px}}
.row-actions{display:flex;align-items:center;gap:16px}.delete-link{padding:0;background:none;color:#b33d58;border:0;border-radius:0;font-size:14px;font-weight:600}.delete-link:hover{background:none;color:#8d233c}
.reset-link{padding:0;background:none;color:var(--blue);border:0;border-radius:0;font-size:14px;font-weight:600}.reset-link:hover{background:none;color:#194798}.reset-dialog{width:min(480px,calc(100vw - 32px));padding:30px;border:1px solid var(--line);border-radius:16px;color:var(--ink);box-shadow:0 24px 80px #16253833}.reset-dialog::backdrop{background:#17283b66}.reset-dialog h2{font-size:23px;margin-bottom:10px}.reset-dialog p{font-size:14px;margin-bottom:22px;overflow-wrap:anywhere}.reset-dialog label{margin:18px 0}.reset-dialog .actions{justify-content:flex-end;gap:12px;margin-top:20px}.reset-dialog .error{margin:0;min-height:24px}
