.app{max-width:800px;margin:0 auto;padding:2.5rem 1.5rem 4rem}.header{text-align:center;margin-bottom:2.5rem}.header h1{background:linear-gradient(135deg,#6366f1,#a855f7,#ec4899);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;font-size:2rem;font-weight:800}.subtitle{color:#666;margin-top:.6rem;font-size:1.05rem}.form-section{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffc;border:1px solid #fff9;border-radius:16px;flex-direction:column;gap:1.4rem;padding:2rem;display:flex;box-shadow:0 4px 24px #0000000f}.field{flex-direction:column;gap:.4rem;display:flex}.field label{color:#444;font-size:.95rem;font-weight:700}.field textarea,.field select{resize:vertical;background:#fff;border:1.5px solid #ddd;border-radius:10px;padding:.75rem 1rem;font-family:inherit;font-size:1rem;transition:border-color .2s,box-shadow .2s}.field textarea:focus,.field select:focus{border-color:#a855f7;outline:none;box-shadow:0 0 0 3px #a855f71f}.actions{gap:.75rem;margin-top:.5rem;display:flex}.btn{cursor:pointer;border:none;border-radius:10px;padding:.7rem 1.6rem;font-size:1rem;font-weight:700;transition:transform .1s,box-shadow .2s}.btn:active:not(:disabled){transform:scale(.97)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{color:#fff;background:linear-gradient(135deg,#6366f1,#a855f7);box-shadow:0 4px 14px #6366f14d}.btn-primary:hover:not(:disabled){box-shadow:0 6px 20px #6366f166}.btn-example{color:#92400e;background:#fef3c7;border:1.5px solid #fde68a}.btn-example:hover{background:#fde68a}.btn-secondary{color:#6366f1;background:#f3f0ff;border:1.5px solid #e0d9ff}.btn-secondary:hover{background:#ebe5ff}.loader{text-align:center;color:#777;margin:2.5rem 0;font-size:1.05rem}.spinner{border:3px solid #e8e0f0;border-top-color:#a855f7;border-radius:50%;width:36px;height:36px;margin:0 auto 1rem;animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.error-box{color:#c41e3a;background:#fff0f0;border:1px solid #fecdd3;border-radius:12px;margin-top:1.5rem;padding:1rem 1.25rem;font-size:.95rem}.result-card{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffffd9;border:1px solid #fff9;border-radius:16px;margin-top:2.5rem;overflow:hidden;box-shadow:0 4px 24px #0000000f}.result-block{border-bottom:1px solid #f0ecf5;padding:1.25rem 1.5rem}.result-block:last-of-type{border-bottom:none}.result-block h3{text-transform:uppercase;letter-spacing:.06em;border-radius:6px;margin-bottom:.5rem;padding:.15rem .6rem;font-size:.8rem;font-weight:800;display:inline-block}.result-block:first-child h3{color:#92400e;background:#fef3c7}.result-block:nth-child(2) h3{color:#1e40af;background:#dbeafe}.result-block:nth-child(3) h3{color:#9d174d;background:#fce7f3}.result-block:nth-child(4) h3{color:#065f46;background:#d1fae5}.result-block:nth-child(5) h3{color:#5b21b6;background:#ede9fe}.result-block:nth-child(6) h3{color:#9a3412;background:#ffedd5}.result-block p{white-space:pre-wrap;font-size:1rem;line-height:1.7}.result-actions{text-align:right;border-top:1px solid #f0ecf5;padding:1rem 1.5rem}.btn-copy{color:#6366f1;background:#f3f0ff;border:1.5px solid #e0d9ff}.btn-copy:hover{background:#ebe5ff}.form-section{position:relative}.btn-help{color:#6366f1;cursor:pointer;background:#f3f0ff;border:2px solid #d4d0e8;border-radius:50%;justify-content:center;align-items:center;width:34px;height:34px;font-size:1.1rem;font-weight:800;transition:background .15s,border-color .15s;display:flex;position:absolute;top:1rem;right:1rem}.btn-help:hover{background:#ebe5ff;border-color:#a855f7}.modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:100;background:#0006;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.modal{background:#fff;border-radius:16px;width:100%;max-width:540px;max-height:85vh;padding:2rem;position:relative;overflow-y:auto;box-shadow:0 20px 60px #00000026}.modal-close{color:#999;cursor:pointer;background:0 0;border:none;font-size:1.6rem;line-height:1;position:absolute;top:.75rem;right:1rem}.modal-close:hover{color:#333}.modal-block{margin-bottom:1.5rem}.modal-block h3{color:#6366f1;margin-bottom:.5rem;font-size:1rem;font-weight:800}.modal-block p{color:#444;font-size:.95rem;line-height:1.6}.modal-example{cursor:pointer;text-align:left;background:#faf8ff;border:1.5px dashed #c4b5fd;border-radius:12px;flex-direction:column;gap:.4rem;width:100%;margin-top:.75rem;padding:1rem;font-family:inherit;transition:background .15s,border-color .15s;display:flex}.modal-example:hover{background:#f3eeff;border-color:#a855f7}.modal-example-label{color:#6366f1;text-transform:uppercase;letter-spacing:.04em;font-size:.85rem;font-weight:700}.modal-example-fields{color:#555;flex-direction:column;gap:.2rem;font-size:.9rem;display:flex}.modal-levels{flex-direction:column;gap:.6rem;margin-top:.5rem;padding:0;list-style:none;display:flex}.modal-levels li{color:#444;border-left:3px solid #c4b5fd;padding-left:.75rem;font-size:.93rem;line-height:1.55}.modal-close-btn{text-align:center;width:100%;margin-top:.5rem}*{box-sizing:border-box;margin:0;padding:0}body{color:#2d2d2d;background:linear-gradient(135deg,#f0f4ff 0%,#fdf0f7 50%,#fff8f0 100%) fixed;font-family:Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:17px;line-height:1.7}@media print{body{background:#fff}.no-print{display:none!important}}
