@keyframes toastSlideIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes toastSlideOut{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(20px)}}@keyframes toolResultIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes spin{to{transform:rotate(1turn)}}@keyframes wizardFadeIn{0%{opacity:0;transform:translateX(10px)}to{opacity:1;transform:translateX(0)}}.schemaToolPage{background:var(--color-bg-secondary,#f8fafc);color:var(--color-text-primary,#0f172a);min-height:100vh;padding:32px 5% 48px;transition:background .3s ease,color .3s ease}.schemaTool{margin:0 auto;max-width:1400px}.schemaToolMainContent{display:flex;flex-direction:column;gap:32px}.schemaTool__builder{background:var(--color-bg-card,#fff);border:1px solid var(--color-border,#e2e8f0);border-radius:16px;margin-bottom:24px;padding:24px}.schemaBuilder,.schemaTool__builderContainer{display:flex;flex-direction:column;gap:24px}.schemaBuilder__layout{display:grid;gap:32px;grid-template-columns:1fr 1fr}@media(max-width:1024px){.schemaBuilder__layout{grid-template-columns:1fr}}.schemaBuilder__left{display:flex;flex-direction:column;gap:24px}.schemaBuilder__right{height:-moz-fit-content;height:fit-content;position:sticky;top:24px}.schemaBuilder__tabs{border-bottom:none;display:flex;flex-direction:column;gap:4px;padding-bottom:0}@media(min-width:768px){.schemaBuilder__tabs{border-bottom:1px solid #e2e8f0;flex-direction:row;flex-wrap:wrap;padding-bottom:8px}}.schemaBuilder__tab{background:transparent;border:1px solid #e2e8f0;border-radius:8px;color:#475569;cursor:pointer;font-size:1.5rem;font-weight:500;padding:12px 16px;text-align:left;transition:all .15s cubic-bezier(.22,1,.36,1);white-space:nowrap}@media(min-width:768px){.schemaBuilder__tab{border-bottom:none;border-radius:8px 8px 0 0}}.schemaBuilder__tab:hover{background:rgba(34,197,94,.1);border-color:rgba(34,197,94,.3);color:#0f172a}.schemaBuilder__tab[aria-selected=true],.schemaBuilder__tab_active{background:#fff;border-color:#e2e8f0;color:#22c55e}@media(min-width:768px){.schemaBuilder__tab[aria-selected=true],.schemaBuilder__tab_active{border-bottom-color:#fff}}.schemaBuilder__sections{min-height:400px}.schemaBuilder__section{animation:schemaFadeIn .3s ease;display:none}.schemaBuilder__section[aria-hidden=false],.schemaBuilder__section_active{display:block}@keyframes schemaFadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.schemaBuilder__sectionTitle{color:var(--color-text-primary,#0f172a);color:#22c55e;font-size:1.8rem;font-weight:600;margin:0 0 16px}.schemaBuilder__sectionContent{display:flex;flex-direction:column;gap:24px}.schemaBuilder__field{display:flex;flex-direction:column;gap:4px}.schemaBuilder__fieldRow{display:grid;gap:16px;grid-template-columns:1fr 1fr}@media(max-width:640px){.schemaBuilder__fieldRow{grid-template-columns:1fr}}.schemaBuilder__label{align-items:center;color:var(--color-text-secondary,#475569);display:block;display:flex;font-size:1.5rem;font-weight:500;gap:8px;margin-bottom:4px}.schemaBuilder__required{color:#ef4444;font-size:1.4rem;font-weight:600}.schemaBuilder__input{background:var(--color-bg-input,#f1f5f9);border:1px solid var(--color-border,#e2e8f0);border-radius:8px;color:var(--color-text-primary,#0f172a);font-size:1.6rem;line-height:1.5;padding:14px 18px;transition:border-color .15s cubic-bezier(.22,1,.36,1),background .15s cubic-bezier(.22,1,.36,1);width:100%}.schemaBuilder__input::-moz-placeholder{color:var(--color-text-muted,#94a3b8)}.schemaBuilder__input::placeholder{color:var(--color-text-muted,#94a3b8)}.schemaBuilder__input:focus{border-color:var(--color-accent,#2563eb);box-shadow:0 0 0 1px var(--color-accent,#2563eb);outline:none}.schemaBuilder__input:focus-visible{outline:none}.schemaBuilder__select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--color-bg-input,#f1f5f9);background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8 1 3h10z'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;background-size:12px;border:1px solid var(--color-border,#e2e8f0);border-radius:8px;color:var(--color-text-primary,#0f172a);cursor:pointer;font-size:1.6rem;line-height:1.5;padding:14px 36px 14px 18px;transition:border-color .15s cubic-bezier(.22,1,.36,1),background .15s cubic-bezier(.22,1,.36,1);width:100%}.schemaBuilder__select::-moz-placeholder{color:var(--color-text-muted,#94a3b8)}.schemaBuilder__select::placeholder{color:var(--color-text-muted,#94a3b8)}.schemaBuilder__select:focus{border-color:var(--color-accent,#2563eb);box-shadow:0 0 0 1px var(--color-accent,#2563eb);outline:none}.schemaBuilder__select:focus-visible{outline:none}.schemaBuilder__textarea{background:var(--color-bg-input,#f1f5f9);border:1px solid var(--color-border,#e2e8f0);border-radius:8px;color:var(--color-text-primary,#0f172a);font-size:1.6rem;line-height:1.5;line-height:1.6;min-height:120px;padding:14px 18px;resize:vertical;transition:border-color .15s cubic-bezier(.22,1,.36,1),background .15s cubic-bezier(.22,1,.36,1);width:100%}.schemaBuilder__textarea::-moz-placeholder{color:var(--color-text-muted,#94a3b8)}.schemaBuilder__textarea::placeholder{color:var(--color-text-muted,#94a3b8)}.schemaBuilder__textarea:focus{border-color:var(--color-accent,#2563eb);box-shadow:0 0 0 1px var(--color-accent,#2563eb);outline:none}.schemaBuilder__textarea:focus-visible{outline:none}.schemaBuilder__hint{color:#94a3b8;font-size:1.4rem;margin:0}.schemaBuilder__error{color:#ef4444;font-size:1.4rem;margin:0;min-height:1.4em}.schemaBuilder__repeatList{display:flex;flex-direction:column;gap:16px;margin-bottom:16px}.schemaBuilder__repeatItem{background:rgba(0,0,0,.2);border:1px solid #e2e8f0;border-radius:12px;padding:16px}.schemaBuilder__repeatItemHeader{align-items:center;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;margin-bottom:16px;padding-bottom:8px}.schemaBuilder__repeatItemTitle{color:#0f172a;font-size:1.5rem;font-weight:600;margin:0}.schemaBuilder__repeatItemRemove{background:transparent;border:1px solid #ef4444;border-radius:8px;color:#ef4444;cursor:pointer;font-size:1.4rem;padding:6px 12px;transition:all .15s cubic-bezier(.22,1,.36,1)}.schemaBuilder__repeatItemRemove:hover{background:#ef4444;color:#fff}.schemaBuilder__addButton{align-items:center;background:transparent;border-radius:8px;border-style:solid;border:1px dashed var(--color-border,#e2e8f0);color:var(--color-text-primary,#0f172a);cursor:pointer;display:inline-flex;font-size:1.6rem;font-weight:600;gap:8px;justify-content:center;min-height:48px;padding:14px 28px;text-decoration:none;transition:border-color .15s cubic-bezier(.22,1,.36,1),color .15s cubic-bezier(.22,1,.36,1),background .15s cubic-bezier(.22,1,.36,1);width:100%}.schemaBuilder__addButton:hover{background:rgba(37,99,235,.08);border-color:#2563eb;color:#2563eb}.schemaBuilder__addButton:active{background:rgba(37,99,235,.12)}.schemaBuilder__addButton:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.schemaBuilder__addButton:disabled{cursor:not-allowed;opacity:.5}.schemaBuilder__addButton:hover{border-color:#22c55e;border-style:solid;color:#22c55e}.schemaResult{background:rgba(0,0,0,.3);border:1px solid #e2e8f0;border-radius:16px;padding:24px}.schemaResult__header{margin-bottom:16px}.schemaResult__title{color:#0f172a;font-size:1.8rem;font-weight:600;margin:0 0 4px}.schemaResult__desc{color:#475569;font-size:1.5rem;margin:0}.schemaResult__content{margin-bottom:16px}.schemaResult__preview{background:rgba(0,0,0,.4);border-radius:12px;max-height:500px;overflow-x:auto;overflow-y:auto;padding:16px}.schemaResult__code{color:#0f172a;font-family:Monaco,Consolas,Courier New,monospace;font-size:1.4rem;line-height:1.6;margin:0;white-space:pre-wrap;word-break:break-all}.schemaResult__codeInner{color:#22c55e}.schemaResult__validation{color:#eab308;font-size:1.5rem;margin-top:8px;min-height:1.5em}.schemaResult__actions{display:flex;gap:16px}.schemaResult__copyButton{align-items:center;background:#2563eb;background:#22c55e;border:none;border-radius:8px;color:#fff;cursor:pointer;display:inline-flex;flex:1;font-size:1.6rem;font-weight:600;gap:8px;justify-content:center;min-height:48px;padding:14px 28px;text-decoration:none;transition:background .15s cubic-bezier(.22,1,.36,1),box-shadow .15s cubic-bezier(.22,1,.36,1)}.schemaResult__copyButton:hover{background:#1d4ed8;box-shadow:0 4px 14px rgba(37,99,235,.15)}.schemaResult__copyButton:active{background:#1555e2}.schemaResult__copyButton:focus-visible{outline:2px solid #1d4ed8;outline-offset:2px}.schemaResult__copyButton:disabled{box-shadow:none}.schemaResult__copyButton:hover:not(:disabled){background:#3ddd78;box-shadow:0 10px 20px rgba(34,197,94,.35)}.schemaResult__copyButton:disabled{cursor:not-allowed;opacity:.5}.schemaTool__usage{background:var(--color-bg-card,#fff);border:1px solid var(--color-border,#e2e8f0);border-radius:16px;margin-bottom:24px;padding:24px}.schemaTool__usageContainer{display:flex;flex-direction:column;gap:24px}.schemaTool__usageTitle{border-bottom:1px solid var(--color-border,#e2e8f0);color:var(--color-text-primary,#0f172a);font-size:2rem;font-weight:600;margin:0 0 16px;padding-bottom:8px}.schemaTool__usageSteps{display:grid;gap:16px;grid-template-columns:repeat(3,1fr)}@media(max-width:768px){.schemaTool__usageSteps{grid-template-columns:1fr}}.schemaTool__usageStep{background:rgba(0,0,0,.2);border:1px solid #e2e8f0;border-radius:12px;padding:24px;text-align:center}.schemaTool__usageStepHeader{margin-bottom:8px}.schemaTool__usageStepNumber{background:#22c55e;border-radius:999px;color:#fff;display:inline-block;font-size:1.4rem;font-weight:600;padding:6px 14px}.schemaTool__usageStepTitle{color:#0f172a;font-size:1.6rem;font-weight:600;margin:0 0 4px}.schemaTool__usageStepDesc{color:#475569;font-size:1.5rem;line-height:1.6;margin:0}.schemaTool__faq{background:var(--color-bg-card,#fff);border:1px solid var(--color-border,#e2e8f0);border-radius:16px;margin-bottom:24px;padding:24px}.schemaTool__faqContainer{display:flex;flex-direction:column;gap:24px}.schemaTool__faqTitle{border-bottom:1px solid var(--color-border,#e2e8f0);color:var(--color-text-primary,#0f172a);font-size:2rem;font-weight:600;margin:0 0 16px;padding-bottom:8px}.schemaTool__faqList{display:flex;flex-direction:column;gap:24px;margin:0;padding:0}.schemaTool__faqItem{background:rgba(0,0,0,.2);border-radius:12px;display:flex;flex-direction:column;gap:8px;padding:16px}.schemaTool__faqQuestion{color:#0f172a;font-size:1.6rem;font-weight:600;margin:0}.schemaTool__faqQuestion:before{color:#22c55e;content:"Q. "}.schemaTool__faqAnswer{color:#475569;font-size:1.5rem;line-height:1.8;margin:0;padding-left:24px}.schemaToast{animation:toastSlideIn .3s ease forwards;background:#22c55e;border-radius:12px;bottom:24px;box-shadow:0 4px 12px rgba(0,0,0,.08);color:#fff;display:none;font-weight:500;padding:14px 24px;position:fixed;right:24px;z-index:1000}@media(max-width:640px){.schemaToast{bottom:16px;left:16px;right:16px;text-align:center}}.schemaToast_success{background:#22c55e;color:#fff;display:block}.schemaToast_success:before{content:"✓ "}.schemaToast_error{background:#ef4444;color:#fff;display:block}.schemaToast_error:before{content:"✕ "}.schemaToast_info{background:#2563eb;color:#fff;display:block}.schemaToast_info:before{content:"ⓘ "}.schemaToast_warning{background:#eab308;color:#fff;display:block}.schemaToast_warning:before{content:"⚠ "}.schemaToast_visible{display:block}