:root{--navy:#173b67;--deep:#0e2b4e;--gold:#f4c542;--gold-dark:#d9a90c;--ink:#13233a;--muted:#607188;--line:#c9d7e5;--page:#eef4f8;--white:#fff;--blue:#2778d8;--red:#d94b55;--green:#198754;--shadow:0 16px 40px #173b6715}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:linear-gradient(180deg,#e8f1f7 0,#f8fbfd 360px);color:var(--ink);font-family:"Segoe UI",Tahoma,Arial,sans-serif;min-height:100vh}.shell{width:min(1180px,calc(100% - 32px));margin:auto}.site-header{background:var(--navy);color:#fff;border-bottom:4px solid var(--gold);box-shadow:0 6px 22px #0e2b4e33}.brand-row{min-height:86px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{color:#fff;text-decoration:none;display:flex;align-items:center;gap:14px}.atom{width:58px;height:58px;display:grid;place-items:center;border:3px solid var(--gold);border-radius:50%;color:var(--gold);font-size:29px}.brand strong{display:block;font-size:20px;letter-spacing:.055em}.brand small{display:block;margin-top:4px;color:#f8da73;font-weight:800;letter-spacing:.12em}.header-actions{display:flex;align-items:center;gap:10px}.privacy-pill{border:1px solid #ffffff36;border-radius:999px;padding:8px 12px;color:#e8f2fb;font-size:13px}.hero{padding:42px 0 27px;display:grid;grid-template-columns:1fr auto;gap:40px;align-items:end}.eyebrow,.kicker{margin:0 0 8px;color:#7a5a00;font-size:12px;font-weight:900;letter-spacing:.13em}.hero h1{margin:0;color:var(--deep);font-size:clamp(32px,5.2vw,62px);line-height:1.02;max-width:790px;letter-spacing:-.035em}.hero-copy{max-width:760px;margin:16px 0 0;color:var(--muted);font-size:18px;line-height:1.65}.flow-strip{display:flex;align-items:center;background:#fff;border:1px solid var(--line);padding:12px 14px;border-radius:16px;box-shadow:var(--shadow)}.flow-strip span{display:grid;place-items:center;gap:5px}.flow-strip b{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--navy);color:#fff}.flow-strip em{font-style:normal;font-size:12px;color:var(--muted);font-weight:700}.flow-strip i{width:35px;height:2px;background:var(--gold);margin:0 8px}.workspace{background:#fff;border:1px solid var(--line);border-radius:23px;box-shadow:var(--shadow);overflow:hidden;margin-bottom:24px}.step-tabs{display:grid;grid-template-columns:repeat(3,1fr);background:#f5f8fb;border-bottom:1px solid var(--line)}.step{border:0;border-right:1px solid var(--line);background:transparent;padding:18px;display:flex;align-items:center;justify-content:center;gap:10px;color:var(--muted);cursor:pointer}.step:last-child{border-right:0}.step span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;border:2px solid #aebdcb}.step.active{background:#fff;color:var(--navy)}.step.active span{background:var(--gold);border-color:var(--gold-dark);color:var(--deep)}.panel{display:none;padding:28px}.panel.active{display:block}.panel-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:22px}.panel-heading h2{margin:0;color:var(--deep);font-size:27px}.quick-actions{display:flex;gap:8px;flex-wrap:wrap}.method-tabs{display:flex;gap:8px;border-bottom:2px solid #dfe8f0;margin-bottom:18px}.method{border:0;background:transparent;color:var(--muted);font-weight:800;padding:12px 16px;border-bottom:4px solid transparent;margin-bottom:-3px;cursor:pointer}.method.active{color:var(--navy);border-color:var(--gold)}.method-panel{display:none}.method-panel.active{display:block}label{font-weight:750;color:var(--deep)}textarea,input,select{font:inherit;color:var(--ink);background:#fff;border:2px solid #bdcddd;border-radius:11px;outline:none}textarea:focus,input:focus,select:focus{border-color:var(--gold-dark);box-shadow:0 0 0 4px #f4c5422d}textarea{width:100%;resize:vertical;padding:15px;margin:9px 0 12px;line-height:1.55}.primary,.ghost,.danger{border-radius:10px;padding:11px 15px;font:inherit;font-weight:850;cursor:pointer}.primary{background:var(--navy);color:#fff;border:2px solid var(--navy)}.primary:hover,.primary:focus{background:var(--blue);border-color:var(--blue)}.primary:disabled{opacity:.42;cursor:not-allowed}.primary.large{width:100%;font-size:17px;padding:14px}.ghost{background:#fff;color:var(--navy);border:2px solid #b7c8d8}.ghost:hover{background:#edf5fb}.ghost.small{color:#fff;background:#ffffff0d;border-color:#ffffff55;padding:7px 10px}.danger{background:#fff1f2;color:#a72531;border:2px solid #efb8bd}.format-help{margin:0 0 14px;background:#f7fafc;border:1px solid var(--line);border-radius:12px;padding:11px 13px}.format-help summary{cursor:pointer;color:var(--navy);font-weight:800}.guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px}.guide-grid code{white-space:pre-wrap;background:#fff;border:1px solid #dbe5ee;border-radius:8px;padding:9px;color:#344f6f}.drop-zone{border:2px dashed #9fb5ca;border-radius:18px;text-align:center;padding:45px 22px;background:#f8fbfd}.drop-zone.drag{border-color:var(--gold-dark);background:#fff8dc}.doc-icon{display:inline-grid;place-items:center;width:72px;height:72px;background:var(--navy);color:#fff;border-radius:15px 15px 15px 5px;font-weight:900;letter-spacing:.05em;box-shadow:8px 8px 0 var(--gold)}.drop-zone h3{margin:22px 0 7px}.drop-zone p{color:var(--muted)}.file-button{display:inline-block}.file-button input{position:absolute;opacity:0;pointer-events:none}.status{min-height:22px}.manual-start{display:grid;grid-template-columns:minmax(180px,320px) auto;align-items:end;gap:12px}.manual-start label{grid-column:1/-1}.manual-start select{padding:11px}.subtle{color:var(--muted)}.score-bar{display:flex;align-items:end;gap:10px;background:#f5f8fb;border:1px solid var(--line);border-radius:14px;padding:13px;margin-bottom:16px}.score-bar label{display:flex;align-items:center;gap:10px}.score-bar input{width:80px;padding:8px}.summary{margin-left:auto;display:flex;gap:12px}.summary span{background:#fff;border:1px solid var(--line);border-radius:10px;padding:9px 12px}.summary b{color:var(--navy);font-size:19px}.summary em{font-style:normal;color:var(--muted);font-size:12px}.question-list{display:grid;gap:13px}.question-card{border:1px solid var(--line);border-radius:15px;overflow:hidden;background:#fff}.question-card.has-error{border-color:#e58a92}.question-head{display:flex;align-items:center;gap:9px;background:#f7fafc;border-bottom:1px solid var(--line);padding:10px 12px}.drag-handle{color:#8091a4;font-size:20px;cursor:grab}.q-number{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:var(--navy);color:#fff;font-weight:900}.type-badge{background:#fff4bd;color:#654b00;border:1px solid #e7c84d;padding:5px 8px;border-radius:999px;font-size:12px;font-weight:850}.question-head .spacer{flex:1}.icon-button{border:0;background:transparent;color:var(--navy);font-weight:800;cursor:pointer;padding:6px}.icon-button.delete{color:#b22b37}.question-body{padding:14px;display:grid;gap:11px}.field{display:grid;gap:6px}.field input,.field select{width:100%;padding:10px}.question-text{min-height:72px;margin:0}.option-row,.pair-row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px}.option-row input[type=checkbox],.option-row input[type=radio]{width:20px;height:20px;accent-color:var(--navy)}.option-row input[type=text],.pair-row input{padding:9px}.pair-row{grid-template-columns:1fr auto 1fr auto}.pair-row span{color:var(--gold-dark);font-weight:900}.row-tools{display:flex;gap:7px}.question-settings{display:grid;grid-template-columns:1fr 130px 1fr;gap:12px;align-items:end;border-top:1px dashed #cad7e3;padding-top:11px}.question-settings input,.question-settings select{padding:9px}.image-preview{display:flex;align-items:center;gap:12px}.image-preview img{max-width:180px;max-height:110px;border-radius:8px;border:1px solid var(--line)}.empty-state{display:grid;place-items:center;text-align:center;padding:45px;color:var(--muted);border:2px dashed var(--line);border-radius:15px}.empty-state strong{color:var(--deep);font-size:19px;margin-bottom:5px}.panel-footer{display:flex;justify-content:space-between;gap:12px;margin-top:21px}.export-grid{display:grid;grid-template-columns:1fr 350px;gap:20px}.checker-summary{border-radius:14px;padding:17px;margin-bottom:12px;font-weight:850}.checker-summary.good{background:#eaf8f1;color:#12683f;border:1px solid #a8dcc3}.checker-summary.bad{background:#fff2f3;color:#a32b36;border:1px solid #efbcc1}.issue-list{display:grid;gap:8px;margin-bottom:12px}.issue{border-left:5px solid var(--red);background:#fff5f5;border-radius:8px;padding:10px 12px}.issue.warning{border-color:#d59c00;background:#fff9e7}.export-card{background:var(--deep);color:#fff;border-radius:17px;padding:20px}.export-card label{color:#fff}.export-card input{width:100%;padding:11px;margin:7px 0 14px}.export-stat{display:flex;justify-content:space-between;border-top:1px solid #ffffff2c;border-bottom:1px solid #ffffff2c;padding:13px 0;margin-bottom:15px}.export-card p{font-size:12px;line-height:1.5;color:#d8e5f1}.compatibility{border-left:3px solid var(--gold);padding-left:9px}.trust-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin:25px 0 45px}.trust-grid article{background:#fff;border:1px solid var(--line);border-radius:15px;padding:18px}.trust-grid article>span{display:inline-grid;place-items:center;min-width:40px;height:40px;padding:0 8px;border-radius:10px;background:var(--navy);color:var(--gold);font-weight:900}.trust-grid h3{margin:12px 0 6px;color:var(--deep)}.trust-grid p{margin:0;color:var(--muted);line-height:1.55}footer{background:var(--deep);color:#dce8f5;border-top:3px solid var(--gold);padding:20px}footer .shell{display:flex;justify-content:space-between}.toast{position:fixed;right:20px;bottom:20px;max-width:390px;background:var(--deep);color:#fff;border-left:5px solid var(--gold);border-radius:11px;padding:13px 16px;box-shadow:0 15px 35px #0e2b4e45;opacity:0;transform:translateY(15px);pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:none}
[dir=rtl] body{text-align:right}[dir=rtl] .toast{right:auto;left:20px}[dir=rtl] .question-head .spacer{order:0}[dir=rtl] .compatibility{border-left:0;border-right:3px solid var(--gold);padding-left:0;padding-right:9px}
@media(max-width:850px){.hero{grid-template-columns:1fr}.flow-strip{justify-self:start}.privacy-pill{display:none}.guide-grid,.trust-grid{grid-template-columns:1fr 1fr}.export-grid{grid-template-columns:1fr}.export-card{order:-1}.question-settings{grid-template-columns:1fr 110px}.question-settings .image-field{grid-column:1/-1}}
@media(max-width:620px){.shell{width:min(100% - 18px,1180px)}.brand-row{min-height:72px}.atom{width:48px;height:48px}.brand strong{font-size:15px}.brand small{font-size:10px}.hero{padding-top:27px}.hero h1{font-size:36px}.hero-copy{font-size:16px}.flow-strip{width:100%;justify-content:center}.panel{padding:17px 13px}.step{padding:12px 5px}.step b{display:none}.step-tabs{position:sticky;top:0;z-index:5}.panel-heading{display:block}.quick-actions{margin-top:13px}.method-tabs{overflow:auto}.method{white-space:nowrap}.guide-grid,.trust-grid{grid-template-columns:1fr}.score-bar{align-items:stretch;flex-wrap:wrap}.score-bar label{width:100%;justify-content:space-between}.summary{width:100%;margin-left:0}.summary span{flex:1}.manual-start{grid-template-columns:1fr}.question-head{flex-wrap:wrap}.question-head .spacer{display:none}.question-head .icon-button{margin-left:auto}.option-row{grid-template-columns:auto 1fr auto}.pair-row{grid-template-columns:1fr auto}.pair-row span{display:none}.pair-row input:nth-of-type(2){grid-column:1}.question-settings{grid-template-columns:1fr}.question-settings .image-field{grid-column:auto}.panel-footer{flex-direction:column}.panel-footer button{width:100%}footer .shell{display:grid;gap:4px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.step-tabs{grid-template-columns:repeat(4,1fr)}
.video-guide{display:flex;align-items:center;gap:17px;border:2px dashed #aebfd0;background:linear-gradient(135deg,#f5f9fc,#fff9dc);border-radius:17px;padding:22px;margin-bottom:19px}.play-mark{display:grid;place-items:center;width:62px;height:62px;border-radius:50%;background:var(--navy);color:var(--gold);font-size:23px;padding-left:4px}.video-guide h3{margin:0 0 5px;color:var(--deep)}.video-guide p{margin:0;color:var(--muted)}.instruction-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}.instruction-grid article{display:grid;grid-template-columns:auto 1fr;gap:13px;border:1px solid var(--line);border-radius:14px;padding:16px}.instruction-grid article>b{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:var(--gold);color:var(--deep);font-size:19px}.instruction-grid h3{margin:2px 0 6px;color:var(--deep)}.instruction-grid p{margin:0;color:var(--muted);line-height:1.55}.guide-notes{margin-top:15px;background:#f6f9fc;border-left:5px solid var(--navy);border-radius:11px;padding:14px 18px}.guide-notes h3{margin:0}.guide-notes li{margin:8px 0;color:var(--muted);line-height:1.45}[dir=rtl] .guide-notes{border-left:1px solid var(--line);border-right:5px solid var(--navy)}
@media(max-width:850px){.instruction-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.instruction-grid{grid-template-columns:1fr}.step-tabs{grid-template-columns:repeat(4,1fr)}.video-guide{align-items:flex-start;padding:16px}.play-mark{width:48px;height:48px;flex:0 0 auto}}
.file-button input{width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
@media(max-width:620px){.method-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;gap:0}.method{white-space:normal;padding:10px 4px;font-size:13px;line-height:1.25}}
