:root,[data-theme=light]{--bg-page: #f9fafb;--bg-surface: #ffffff;--bg-subtle: #f3f4f6;--bg-muted: #e5e7eb;--border: #e5e7eb;--border-strong: #d1d5db;--text-primary: #111827;--text-secondary: #374151;--text-muted: #6b7280;--text-faint: #9ca3af;--input-bg: #ffffff;--input-border: #d1d5db;--input-text: #1f2937;--input-placeholder: #9ca3af;--sidebar-bg: #f3f4f6;--card-bg: #ffffff;--card-shadow: 0 1px 3px rgba(0,0,0,.1);--card-shadow-hover: 0 4px 6px rgba(0,0,0,.1);--modal-bg: #ffffff;--modal-header-bg:#f9fafb;--builder-banner-bg: #eff6ff;--builder-banner-border: #bfdbfe;--builder-panel-bg: #f9fafb;--builder-panel-border: #e5e7eb;--feedback-bg: #dbeafe;--feedback-text: #1e40af;--edit-note-bg: #fef3c7;--edit-note-text: #92400e;--scrollbar-thumb: #d1d5db}[data-theme=dark]{--bg-page: #0f172a;--bg-surface: #1e293b;--bg-subtle: #1e293b;--bg-muted: #334155;--border: #334155;--border-strong: #475569;--text-primary: #f1f5f9;--text-secondary: #cbd5e1;--text-muted: #94a3b8;--text-faint: #64748b;--input-bg: #0f172a;--input-border: #334155;--input-text: #f1f5f9;--input-placeholder: #64748b;--sidebar-bg: #1e293b;--card-bg: #1e293b;--card-shadow: 0 1px 3px rgba(0,0,0,.4);--card-shadow-hover: 0 4px 12px rgba(0,0,0,.5);--modal-bg: #1e293b;--modal-header-bg:#0f172a;--builder-banner-bg: #1e3a5f;--builder-banner-border: #1d4ed8;--builder-panel-bg: #0f172a;--builder-panel-border: #334155;--feedback-bg: #1e3a5f;--feedback-text: #93c5fd;--edit-note-bg: #422006;--edit-note-text: #fde68a;--scrollbar-thumb: #475569}*{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:16px;line-height:1.5;color:var(--text-primary);background:var(--bg-page);transition:background .2s,color .2s}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:3px}button{font-family:inherit;cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}.app{display:flex;flex-direction:column;height:100vh}.app-body{display:flex;flex:1;overflow:hidden}.app-main{flex:1;overflow-y:auto;padding:2rem;background:var(--bg-surface)}.app-main--full{max-width:100%}.topbar{display:flex;align-items:center;gap:2rem;padding:.875rem 2rem;background:#1e40af;color:#fff;box-shadow:0 2px 4px #00000026;flex-shrink:0}.topbar-brand{display:flex;align-items:center;gap:.5rem;font-size:1.25rem;font-weight:800;letter-spacing:-.02em;white-space:nowrap;border:none;background:transparent;color:#fff;cursor:pointer;padding:0;font-family:inherit}.topbar-brand:hover{opacity:.85}.topbar-brand__icon{font-size:1.375rem;line-height:1;color:#93c5fd}.topbar-nav{display:flex;gap:.375rem}.topbar-nav button{padding:.4375rem .875rem;border:none;border-radius:.375rem;background:#ffffff1a;color:#fff;font-size:.875rem;font-weight:500;transition:background .2s}.topbar-nav button:hover{background:#fff3}.topbar-nav .topbar-nav__btn--active,.topbar-nav button.topbar-nav__btn--active{background:#ffffff40;font-weight:700;box-shadow:inset 0 0 0 1px #fff6}.topbar-user{margin-left:auto;display:flex;align-items:center;gap:1rem;font-size:.875rem}.topbar-user__info{display:flex;align-items:center;gap:.5rem}.topbar-user__name{font-weight:500;opacity:.9}.tier-badge{display:inline-block;padding:.125rem .5rem;border-radius:.25rem;background:#fbbf24;color:#78350f;font-size:.75rem;font-weight:600;text-transform:uppercase}.topbar-status{padding:.25rem .75rem;border-radius:.25rem;background:#ffffff26;font-size:.8125rem;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-auth{display:flex;align-items:center;gap:.5rem}.topbar-auth__login-btn{padding:.4375rem 1rem;border:1px solid rgba(255,255,255,.4);border-radius:.375rem;background:transparent;color:#fff;font-size:.875rem;font-weight:500;transition:all .2s}.topbar-auth__login-btn:hover{background:#ffffff1a;border-color:#ffffffb3}.topbar-auth__register-btn{padding:.4375rem 1rem;border:none;border-radius:.375rem;background:#fff;color:#1e40af;font-size:.875rem;font-weight:600;white-space:nowrap;transition:all .2s}.topbar-auth__register-btn:hover{background:#dbeafe}.sidebar{width:280px;padding:1.5rem;background:var(--sidebar-bg);border-right:1px solid var(--border);overflow-y:auto}.sidebar-section{margin-bottom:1.5rem}.sidebar-label{display:block;margin-bottom:.5rem;font-size:.875rem;font-weight:600;color:var(--text-secondary)}.sidebar-input{width:100%;padding:.5rem .75rem;border:1px solid var(--input-border);border-radius:.375rem;font-size:.875rem;background:var(--input-bg);color:var(--input-text)}.sidebar-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f626}.sidebar-button-group{display:flex;flex-wrap:wrap;gap:.5rem}.sidebar-filter-btn{padding:.375rem .75rem;border:1px solid var(--border-strong);border-radius:.375rem;background:var(--bg-surface);color:var(--text-secondary);font-size:.875rem;transition:all .2s}.sidebar-filter-btn:hover{border-color:#3b82f6;background:#eff6ff;color:#1d4ed8}[data-theme=dark] .sidebar-filter-btn:hover{background:#1e3a5f;color:#93c5fd}.sidebar-filter-btn.active,.sidebar-filter-btn.active:hover,[data-theme=dark] .sidebar-filter-btn.active,[data-theme=dark] .sidebar-filter-btn.active:hover{border-color:#3b82f6;background:#3b82f6;color:#fff}.sidebar-clear-btn{width:100%;padding:.5rem;border:1px solid var(--border-strong);border-radius:.375rem;background:var(--bg-surface);color:var(--text-muted);font-size:.875rem;transition:all .2s}.sidebar-clear-btn:hover{border-color:#ef4444;color:#ef4444;background:#fef2f2}[data-theme=dark] .sidebar-clear-btn:hover{background:#450a0a}.sidebar-section-heading{margin-bottom:.75rem;font-size:.875rem;font-weight:600;color:var(--text-secondary)}.sidebar-list{list-style:none}.sidebar-list-item{margin-bottom:.25rem}.sidebar-list-btn{width:100%;padding:.5rem .75rem;border:none;border-radius:.375rem;background:var(--bg-surface);color:var(--text-secondary);font-size:.875rem;text-align:left;transition:background .2s}.sidebar-list-btn:hover{background:var(--bg-muted)}.sidebar-empty{padding:.5rem 0;color:var(--text-faint);font-size:.875rem;font-style:italic}.template-gallery{max-width:1200px;margin:0 auto}.gallery-premium-hero{display:flex;align-items:center;gap:1.25rem;margin-bottom:2rem;padding:1.5rem 2rem;border-radius:.75rem;background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff}.gallery-premium-hero__icon{font-size:2.5rem;line-height:1;flex-shrink:0;opacity:.9}.gallery-premium-hero__title{font-size:1.5rem;font-weight:800;margin-bottom:.25rem;letter-spacing:-.02em}.gallery-premium-hero__subtitle{font-size:.9375rem;opacity:.85;line-height:1.5}.template-gallery-count{margin-bottom:1.5rem;font-size:1.125rem;font-weight:600;color:#374151}.template-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem}.template-gallery-empty{grid-column:1 / -1;padding:3rem;text-align:center;color:#9ca3af;font-size:1.125rem}.template-card{position:relative;display:flex;flex-direction:column;padding:1.5rem;border:1px solid var(--border);border-radius:.5rem;background:var(--card-bg);box-shadow:var(--card-shadow);transition:all .2s}.template-card:hover{border-color:#3b82f6;box-shadow:var(--card-shadow-hover)}.template-card-thumbnail{width:100%;height:160px;margin-bottom:1rem;border-radius:.375rem;object-fit:cover;background:var(--bg-subtle)}.premium-badge{position:absolute;top:1rem;right:1rem;padding:.25rem .75rem;border-radius:.25rem;background:#fbbf24;color:#78350f;font-size:.75rem;font-weight:600;text-transform:uppercase}.template-card-name{margin-bottom:.5rem;font-size:1.125rem;font-weight:600;color:var(--text-primary)}.template-card-description{margin-bottom:.75rem;color:var(--text-muted);font-size:.875rem;line-height:1.5;flex:1}.type-badge{display:inline-block;margin-bottom:1rem;padding:.25rem .75rem;border-radius:.25rem;background:#e0e7ff;color:#3730a3;font-size:.75rem;font-weight:500}[data-theme=dark] .type-badge{background:#1e1b4b;color:#a5b4fc}.template-card-actions{display:flex;gap:.5rem}.template-card-use-btn{flex:1;padding:.5rem 1rem;border:none;border-radius:.375rem;background:#3b82f6;color:#fff;font-size:.875rem;font-weight:500;transition:background .2s}.template-card-use-btn:hover{background:#2563eb}.template-card-favorite-btn{padding:.5rem .75rem;border:1px solid var(--border-strong);border-radius:.375rem;background:var(--bg-surface);color:#ef4444;font-size:1.25rem;line-height:1;transition:all .2s}.template-card-favorite-btn:hover{border-color:#ef4444;background:#fef2f2}[data-theme=dark] .template-card-favorite-btn:hover{background:#450a0a}.builder-workspace{max-width:800px;margin:0 auto}.builder-workspace--empty{display:flex;align-items:center;justify-content:center;height:100%;color:var(--text-faint);font-size:1.125rem}.builder-banner{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.5rem;padding:.875rem 1.25rem;border-radius:.5rem;background:var(--builder-banner-bg);border:1px solid var(--builder-banner-border);gap:.75rem}.builder-banner__left{display:flex;align-items:center;gap:.625rem;min-width:0;flex:1}.builder-banner__name{font-size:1rem;font-weight:600;color:#3b82f6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.builder-banner__reset-btn{padding:.375rem .875rem;border:1px solid var(--border-strong);border-radius:.375rem;background:var(--bg-surface);color:var(--text-secondary);font-size:.875rem;font-weight:500;transition:all .2s}.builder-banner__reset-btn:hover{border-color:#ef4444;color:#ef4444;background:#fef2f2}.builder-mode-switcher{display:flex;gap:.5rem}.builder-mode-switcher__btn{flex:1;padding:.75rem;border:1px solid var(--border-strong);border-radius:.375rem;background:var(--bg-surface);color:var(--text-secondary);font-size:.875rem;font-weight:500;transition:all .2s}.builder-mode-switcher__btn:hover{border-color:#3b82f6;background:var(--builder-banner-bg)}.builder-mode-switcher__btn--active{border-color:#3b82f6;background:#3b82f6;color:#fff}.builder-mode-switcher__btn--active:hover{border-color:#2563eb;background:#2563eb;color:#fff}.builder-panel{margin-bottom:1.5rem;padding:1.5rem;border:1px solid var(--builder-panel-border);border-radius:.5rem;background:var(--builder-panel-bg)}.builder-panel__block-buttons button{padding:.5rem 1rem;border:1px solid var(--border-strong);border-radius:.375rem;background:var(--bg-surface);color:var(--text-secondary);font-size:.875rem;transition:all .2s}.builder-panel__block-buttons button:hover:not(:disabled){border-color:#3b82f6;background:var(--builder-banner-bg);color:#1d4ed8}.builder-panel__block-list{list-style:none;padding:1rem;border-radius:.375rem;background:var(--bg-surface)}.builder-panel__block-item{padding:.5rem .75rem;margin-bottom:.25rem;border-radius:.25rem;background:var(--bg-subtle);color:var(--text-secondary);font-size:.875rem}.builder-feedback{margin-bottom:1rem;padding:.75rem 1rem;border-radius:.375rem;background:var(--feedback-bg);color:var(--feedback-text);font-size:.875rem}.preview-form{padding:1.5rem;border:1px solid var(--border);border-radius:.5rem;background:var(--bg-surface);color:var(--text-primary)}.use-modal__body .preview-form.single-column{max-width:100%}.preview-form.two-column{display:grid;grid-template-columns:1fr 1fr;gap:1rem 1.5rem}.preview-form.two-column .submit-btn,.preview-form.two-column .edit-mode-note,.preview-form.two-column .form-field--full-width{grid-column:1 / -1}.preview-form.multi-step{max-width:100%}.form-field{margin-bottom:1.25rem}.form-field label{display:block;margin-bottom:.375rem;font-size:.875rem;font-weight:500;color:var(--text-secondary)}.required-marker{color:#ef4444}.form-field input[type=text],.form-field input[type=email],.form-field input[type=password],.form-field input[type=date],.form-field input[type=number],.form-field input[type=tel],.form-field input[type=url],.form-field input[type=datetime-local],.form-field input[type=time],.form-field textarea,.form-field select{width:100%;padding:.5rem .75rem;border:1px solid var(--input-border);border-radius:.375rem;font-size:.875rem;font-family:inherit;background:var(--input-bg);color:var(--input-text)}.form-field input::placeholder,.form-field textarea::placeholder{color:var(--input-placeholder)}.form-field input:focus,.form-field textarea:focus,.form-field select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f626}.form-field input[type=checkbox]{width:1.25rem;height:1.25rem;cursor:pointer;accent-color:#3b82f6;flex-shrink:0}.form-field label.form-field__checkbox-label{display:flex;align-items:center;gap:.5rem;cursor:pointer;font-size:.875rem;font-weight:500;color:var(--text-secondary);line-height:1.5;margin-bottom:0}.image-block-placeholder{padding:2rem;border:2px dashed var(--border-strong);border-radius:.375rem;background:var(--bg-subtle);color:var(--text-faint);text-align:center;font-size:.875rem}.divider-block{margin:1rem 0;border:none;border-top:1px solid var(--border)}.submit-btn{width:100%;padding:.75rem 1.5rem;border:none;border-radius:.375rem;background:#10b981;color:#fff;font-size:1rem;font-weight:600;transition:background .2s;margin-top:.5rem}.submit-btn:hover{background:#059669}.edit-mode-note{padding:.875rem 1rem;border-radius:.375rem;background:var(--edit-note-bg);color:var(--edit-note-text);font-size:.875rem;text-align:center;margin-top:.5rem}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;background:#00000080;z-index:1000}.modal-box{width:90%;max-width:500px;padding:2rem;border-radius:.5rem;background:#fff;box-shadow:0 20px 25px -5px #0000001a}.modal-box h2{margin-bottom:1rem;font-size:1.5rem;font-weight:700;color:#111827}.modal-box p{margin-bottom:1.5rem;color:#6b7280;line-height:1.6}.modal-box__actions{display:flex;gap:.75rem;margin-bottom:1rem}.modal-box__btn{flex:1;padding:.75rem 1.5rem;border:none;border-radius:.375rem;font-size:.875rem;font-weight:600;transition:all .2s}.modal-box__btn--success{background:#10b981;color:#fff}.modal-box__btn--success:hover{background:#059669}.modal-box__btn--failure{background:#ef4444;color:#fff}.modal-box__btn--failure:hover{background:#dc2626}.modal-box__close-btn{width:100%;padding:.75rem;border:1px solid #d1d5db;border-radius:.375rem;background:#fff;color:#6b7280;font-size:.875rem;transition:all .2s}.modal-box__close-btn:hover{border-color:#9ca3af;background:#f9fafb}.modal-box__feedback{margin-top:1rem;padding:.75rem 1rem;border-radius:.375rem;background:#fef2f2;color:#991b1b;font-size:.875rem;text-align:center}.template-card-thumb-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:80px;margin-bottom:1rem;border-radius:.375rem;color:#fff;font-size:1.5rem;font-weight:700;letter-spacing:.05em}.template-icon{display:flex;align-items:center;justify-content:center;border-radius:.5rem;flex-shrink:0}.template-icon--card{width:100%;height:100px;margin-bottom:1rem}.template-icon--detail{width:100px;height:100px}.template-icon__svg{display:flex;align-items:center;justify-content:center;color:#ffffffeb}.template-icon--card .template-icon__svg{width:2.75rem;height:2.75rem}.template-icon--detail .template-icon__svg{width:3rem;height:3rem}.template-icon__svg svg{width:100%;height:100%}.template-card--clickable{cursor:pointer}.template-card--clickable:focus-visible{outline:2px solid #3b82f6;outline-offset:2px}.detail-page{max-width:860px;margin:0 auto;padding-bottom:4rem}.detail-page--loading,.detail-page--error,.detail-page--locked{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.5rem;min-height:60vh;text-align:center;color:#6b7280}.detail-page__spinner{width:2.5rem;height:2.5rem;border:3px solid #e5e7eb;border-top-color:#3b82f6;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.detail-page__error-msg{color:#dc2626;font-size:1rem}.detail-page__locked-banner{display:flex;flex-direction:column;align-items:center;gap:1rem;padding:3rem;border:1px solid #fde68a;border-radius:.75rem;background:#fffbeb}.detail-page__locked-banner h1{font-size:1.5rem;font-weight:700;color:#111827}.detail-page__locked-banner p{color:#6b7280;max-width:400px}.detail-page__back-btn{display:inline-flex;align-items:center;gap:.375rem;margin-bottom:1.5rem;padding:.5rem 1rem;border:1px solid #e5e7eb;border-radius:.375rem;background:#fff;color:#374151;font-size:.875rem;font-weight:500;transition:all .2s}.detail-page__back-btn:hover{border-color:#3b82f6;color:#1d4ed8;background:#eff6ff}.detail-page__hero{display:flex;gap:2rem;margin-bottom:2.5rem;padding:2rem;border:1px solid #e5e7eb;border-left:5px solid #3b82f6;border-radius:.75rem;background:#fff;box-shadow:0 1px 3px #0000000f}.detail-page__hero-thumb{flex-shrink:0}.detail-page__hero-info{flex:1;min-width:0}.detail-page__hero-badges{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.75rem}.detail-page__category-badge{display:inline-block;padding:.25rem .75rem;border-radius:.25rem;background:#f3f4f6;color:#374151;font-size:.75rem;font-weight:500;text-transform:capitalize}.detail-page__title{margin-bottom:.5rem;font-size:1.75rem;font-weight:700;color:#111827;line-height:1.2}.detail-page__description{margin-bottom:1.5rem;color:#6b7280;font-size:1rem;line-height:1.6}.detail-page__actions{display:flex;gap:.75rem;flex-wrap:wrap}.detail-page__use-btn{padding:.625rem 1.5rem;border:none;border-radius:.375rem;background:#3b82f6;color:#fff;font-size:.9375rem;font-weight:600;transition:filter .2s}.detail-page__use-btn:hover{filter:brightness(1.1)}.detail-page__use-btn--large{padding:.875rem 2.5rem;font-size:1rem}.detail-page__favorite-btn{padding:.625rem 1.25rem;border:1px solid #d1d5db;border-radius:.375rem;background:#fff;color:#ef4444;font-size:.9375rem;font-weight:500;transition:all .2s}.detail-page__favorite-btn:hover:not(:disabled){border-color:#ef4444;background:#fef2f2}.detail-page__schema{margin-bottom:2.5rem}.detail-page__schema-meta{display:flex;flex-wrap:wrap;gap:.75rem;margin-bottom:2rem}.detail-page__meta-pill{display:flex;flex-direction:column;padding:.75rem 1.25rem;border:1px solid #e5e7eb;border-radius:.5rem;background:#fff;min-width:100px;text-align:center}.detail-page__meta-label{font-size:.75rem;font-weight:500;color:#9ca3af;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.25rem}.detail-page__meta-value{font-size:1rem;font-weight:600;color:#111827;text-transform:capitalize}.detail-page__section-title{margin-bottom:1rem;font-size:1.125rem;font-weight:600;color:#111827}.detail-page__steps{display:flex;flex-direction:column;gap:1.5rem}.detail-page__step{border:1px solid #e5e7eb;border-radius:.5rem;overflow:hidden}.detail-page__step-header{display:flex;align-items:center;gap:.75rem;padding:.875rem 1.25rem;background:#f9fafb;border-bottom:1px solid #e5e7eb}.detail-page__step-number{display:flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;border-radius:50%;background:#3b82f6;color:#fff;font-size:.8125rem;font-weight:700;flex-shrink:0}.detail-page__step-name{font-size:.9375rem;font-weight:600;color:#374151}.detail-page__field-list{border:1px solid #e5e7eb;border-radius:.5rem;overflow:hidden}.detail-page__step .detail-page__field-list{border:none;border-radius:0}.detail-page__field-row{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:.875rem 1.25rem;border-bottom:1px solid #f3f4f6;background:#fff;transition:background .15s}.detail-page__field-row:last-child{border-bottom:none}.detail-page__field-row:hover{background:#f9fafb}.detail-page__field-main{display:flex;align-items:center;gap:.5rem;flex-shrink:0}.detail-page__field-label{font-size:.9375rem;font-weight:500;color:#111827}.detail-page__field-required{padding:.125rem .5rem;border-radius:.25rem;background:#fee2e2;color:#991b1b;font-size:.6875rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em}.detail-page__field-meta{display:flex;flex-direction:column;align-items:flex-end;gap:.25rem;min-width:0}.detail-page__field-type{padding:.125rem .625rem;border-radius:.25rem;background:#e0e7ff;color:#3730a3;font-size:.75rem;font-weight:500}.detail-page__field-placeholder{font-size:.8125rem;color:#9ca3af;font-style:italic;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.detail-page__field-options{font-size:.8125rem;color:#6b7280;max-width:300px;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.detail-page__cta{display:flex;justify-content:center;padding-top:1rem;border-top:1px solid #e5e7eb}.sidebar-toggle{display:flex;align-items:center;gap:.625rem;cursor:pointer;-webkit-user-select:none;user-select:none}.sidebar-toggle__input{position:absolute;opacity:0;width:0;height:0}.sidebar-toggle__track{position:relative;display:inline-block;width:2.25rem;height:1.25rem;border-radius:9999px;background:#d1d5db;flex-shrink:0;transition:background .2s}.sidebar-toggle__track:after{content:"";position:absolute;top:.1875rem;left:.1875rem;width:.875rem;height:.875rem;border-radius:50%;background:#fff;transition:transform .2s}.sidebar-toggle__input:checked+.sidebar-toggle__track{background:#3b82f6}.sidebar-toggle__input:checked+.sidebar-toggle__track:after{transform:translate(1rem)}.sidebar-toggle__input:focus-visible+.sidebar-toggle__track{outline:2px solid #3b82f6;outline-offset:2px}.sidebar-toggle__label{font-size:.875rem;color:#374151}.use-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:#0009;z-index:900;padding:1rem}.use-modal{display:flex;flex-direction:column;width:100%;max-width:960px;max-height:92vh;border-radius:.75rem;background:var(--modal-bg);box-shadow:0 25px 50px -12px #0006;overflow:hidden;border:1px solid var(--border)}.use-modal__header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.5rem;border-bottom:1px solid var(--border);background:var(--modal-header-bg);flex-shrink:0;gap:1rem}.use-modal__title{font-size:1.0625rem;font-weight:700;color:var(--text-primary);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.use-modal__close-btn{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;border:1px solid var(--border);border-radius:.375rem;background:var(--bg-surface);color:var(--text-muted);font-size:.875rem;line-height:1;transition:all .15s}.use-modal__close-btn:hover{border-color:#ef4444;color:#ef4444;background:#fef2f2}[data-theme=dark] .use-modal__close-btn:hover{background:#450a0a}.use-modal__body{flex:1;overflow-y:auto;padding:1.5rem}.use-modal__body .builder-workspace{max-width:100%;margin:0}.builder-banner__left{display:flex;align-items:center;gap:.625rem}.builder-banner__premium-tag{padding:.125rem .5rem;border-radius:.25rem;background:#fbbf24;color:#78350f;font-size:.6875rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.builder-panel--premium{border-color:#c4b5fd;background:#faf5ff}.builder-panel__premium-header{display:flex;align-items:center;gap:.5rem;margin-bottom:1rem;font-size:.8125rem;font-weight:600;color:#6d28d9}.builder-panel__premium-icon{font-size:1rem}.dnd-editor{margin-top:.75rem}.dnd-editor--empty{padding:1.5rem;text-align:center;color:#9ca3af;font-size:.875rem;border:2px dashed #e5e7eb;border-radius:.5rem}.dnd-editor__hint{margin-bottom:.625rem;font-size:.75rem;color:#9ca3af;font-style:italic}.dnd-editor__list{list-style:none;display:flex;flex-direction:column;gap:.375rem}.dnd-editor__row{border:1px solid #e5e7eb;border-radius:.5rem;background:#fff;transition:box-shadow .15s,border-color .15s,opacity .15s;-webkit-user-select:none;user-select:none}.dnd-editor__row--over{border-color:#7c3aed;box-shadow:0 0 0 2px #c4b5fd}.dnd-editor__row--dragging{opacity:.4}.dnd-editor__row--expanded{border-color:#3b82f6;box-shadow:0 0 0 2px #bfdbfe}.dnd-editor__row-summary{display:flex;align-items:center;gap:.625rem;padding:.625rem .875rem;cursor:pointer;border-radius:.5rem}.dnd-editor__row-summary:hover{background:#f9fafb}.dnd-editor__row--expanded .dnd-editor__row-summary{border-bottom:1px solid #e5e7eb;border-radius:.5rem .5rem 0 0;background:#f0f9ff}.dnd-editor__handle{font-size:1.125rem;color:#d1d5db;flex-shrink:0;line-height:1;cursor:grab}.dnd-editor__handle:active{cursor:grabbing}.dnd-editor__field-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:.125rem}.dnd-editor__field-label{font-size:.875rem;font-weight:500;color:#111827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dnd-editor__unnamed{color:#9ca3af;font-style:italic;font-weight:400}.dnd-editor__required{color:#ef4444;font-weight:700}.dnd-editor__placeholder{font-size:.75rem;color:#9ca3af;font-style:italic;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dnd-editor__type-badge{flex-shrink:0;padding:.125rem .5rem;border-radius:.25rem;font-size:.6875rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em}.dnd-editor__required-badge{flex-shrink:0;padding:.125rem .5rem;border-radius:.25rem;font-size:.6875rem;font-weight:600;text-transform:uppercase;letter-spacing:.03em}.dnd-editor__required-badge--on{background:#fee2e2;color:#991b1b}.dnd-editor__required-badge--off{background:#f3f4f6;color:#6b7280}.dnd-editor__expand-icon{font-size:.625rem;color:#9ca3af;flex-shrink:0}.dnd-editor__remove-btn{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem;border:1px solid #e5e7eb;border-radius:.25rem;background:#fff;color:#9ca3af;font-size:1rem;line-height:1;transition:all .15s}.dnd-editor__remove-btn:hover{border-color:#ef4444;color:#ef4444;background:#fef2f2}.dnd-editor__edit-panel{padding:.875rem 1rem;display:flex;flex-direction:column;gap:.75rem;background:#fff;border-radius:0 0 .5rem .5rem}.dnd-editor__edit-row{display:flex;align-items:center;gap:.75rem}.dnd-editor__edit-row--toggle{padding-top:.25rem}.dnd-editor__edit-label{flex-shrink:0;width:90px;font-size:.75rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.05em}.dnd-editor__edit-input{flex:1;padding:.4375rem .75rem;border:1px solid #d1d5db;border-radius:.375rem;font-size:.875rem;font-family:inherit;color:#111827;background:#fff;transition:border-color .15s,box-shadow .15s}.dnd-editor__edit-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.dnd-editor__edit-input::placeholder{color:#9ca3af}.dnd-editor__toggle-btn{display:flex;align-items:center;gap:.5rem;padding:0;border:none;background:transparent;cursor:pointer}.dnd-editor__toggle-track{position:relative;display:inline-flex;align-items:center;width:2.25rem;height:1.25rem;border-radius:9999px;background:#d1d5db;transition:background .2s;flex-shrink:0}.dnd-editor__toggle-btn--on .dnd-editor__toggle-track{background:#ef4444}.dnd-editor__toggle-thumb{position:absolute;left:.1875rem;width:.875rem;height:.875rem;border-radius:50%;background:#fff;transition:transform .2s;box-shadow:0 1px 2px #0003}.dnd-editor__toggle-btn--on .dnd-editor__toggle-thumb{transform:translate(1rem)}.dnd-editor__toggle-text{font-size:.8125rem;font-weight:600;color:#374151;min-width:52px}.dnd-editor__toggle-btn--on .dnd-editor__toggle-text{color:#991b1b}.dnd-editor__toggle-btn--off .dnd-editor__toggle-text{color:#6b7280}.preview-form--dark{background:#1a2236;border-color:#2d3a52;color:#e2e8f0}.preview-form--dark .form-field label{color:#94a3b8;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.preview-form--dark .required-marker{color:#ea580c}.preview-form--dark .form-field input[type=text],.preview-form--dark .form-field input[type=email],.preview-form--dark .form-field input[type=password],.preview-form--dark .form-field input[type=date],.preview-form--dark .form-field textarea,.preview-form--dark .form-field select{background:#243044;border-color:#334155;color:#e2e8f0;border-radius:.5rem;padding:.75rem 1rem}.preview-form--dark .form-field input::placeholder,.preview-form--dark .form-field textarea::placeholder{color:#64748b}.preview-form--dark .form-field input:focus,.preview-form--dark .form-field textarea:focus,.preview-form--dark .form-field select:focus{border-color:#ea580c;box-shadow:0 0 0 3px #ea580c33;outline:none}.preview-form--dark .form-field select option{background:#1a2236;color:#e2e8f0}.preview-form--dark .submit-btn{background:#ea580c}.preview-form--dark .submit-btn:hover{background:#c2410c}.preview-form--dark .edit-mode-note{background:#243044;color:#94a3b8;border:1px solid #334155}.builder-panel__toolbar{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:1rem;flex-wrap:wrap}.builder-layout-toggle{display:flex;align-items:center;gap:.375rem;padding:.4375rem .875rem;border:1px solid #d1d5db;border-radius:.375rem;background:#fff;color:#374151;font-size:.8125rem;font-weight:500;white-space:nowrap;transition:all .2s;flex-shrink:0}.builder-layout-toggle:hover{border-color:#3b82f6;background:#eff6ff;color:#1d4ed8}.builder-layout-toggle--active{border-color:#3b82f6;background:#3b82f6;color:#fff}.builder-layout-toggle--active:hover{background:#2563eb;border-color:#2563eb;color:#fff}.builder-layout-toggle__icon{font-size:1rem;line-height:1}.use-modal__header-left{display:flex;align-items:center;gap:.625rem;min-width:0;flex:1}.use-modal__header-right{display:flex;align-items:center;gap:.625rem;flex-shrink:0}.use-modal__premium-tag{padding:.125rem .5rem;border-radius:.25rem;background:#fbbf24;color:#78350f;font-size:.6875rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap;flex-shrink:0}.use-modal__buy-btn{display:flex;align-items:center;gap:.375rem;padding:.4375rem 1rem;border:none;border-radius:.375rem;background:linear-gradient(135deg,#f59e0b,#ea580c);color:#fff;font-size:.8125rem;font-weight:700;white-space:nowrap;transition:filter .2s,transform .1s;box-shadow:0 2px 8px #ea580c59}.use-modal__buy-btn:hover{filter:brightness(1.1);transform:translateY(-1px)}.use-modal__buy-btn:active{transform:translateY(0)}.dnd-editor__type-select-wrap{flex:1;display:flex;align-items:center;gap:.5rem}.dnd-editor__type-select-badge{flex-shrink:0;padding:.125rem .5rem;border-radius:.25rem;font-size:.6875rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em}.dnd-editor__edit-select{flex:1;padding:.4375rem .75rem;border:1px solid #d1d5db;border-radius:.375rem;font-size:.875rem;font-family:inherit;color:#111827;background:#fff;transition:border-color .15s,box-shadow .15s}.dnd-editor__edit-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.form-field input[type=number],.form-field input[type=tel],.form-field input[type=url],.form-field input[type=datetime-local],.form-field input[type=time]{width:100%;padding:.5rem .75rem;border:1px solid #d1d5db;border-radius:.375rem;font-size:.875rem;font-family:inherit;background:#fff;color:#1f2937}.form-field input[type=number]:focus,.form-field input[type=tel]:focus,.form-field input[type=url]:focus,.form-field input[type=datetime-local]:focus,.form-field input[type=time]:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.form-field-range{display:flex;align-items:center;gap:.75rem}.form-field-range input[type=range]{flex:1;accent-color:#3b82f6;cursor:pointer}.form-field-range__value{min-width:2rem;text-align:right;font-size:.875rem;font-weight:600;color:#374151}.form-field-color{width:3rem;height:2.25rem;padding:.125rem;border:1px solid #d1d5db;border-radius:.375rem;cursor:pointer;background:#fff}.form-field input[type=file]{width:100%;padding:.375rem 0;font-size:.875rem;color:#374151}.form-field-radio-group{display:flex;flex-wrap:wrap;gap:.75rem}.form-field-radio-option{display:flex;align-items:center;gap:.375rem;font-size:.875rem;color:#374151;cursor:pointer}.form-field-radio-option input[type=radio]{width:1rem;height:1rem;accent-color:#3b82f6;cursor:pointer}.preview-form--dark .form-field input[type=number],.preview-form--dark .form-field input[type=tel],.preview-form--dark .form-field input[type=url],.preview-form--dark .form-field input[type=datetime-local],.preview-form--dark .form-field input[type=time]{background:#243044;border-color:#334155;color:#e2e8f0}.preview-form--dark .form-field-radio-option{color:#e2e8f0}.topbar-theme-btn{display:flex;align-items:center;justify-content:center;width:2.25rem;height:2.25rem;border:1px solid rgba(255,255,255,.3);border-radius:.5rem;background:#ffffff1a;font-size:1.125rem;line-height:1;transition:all .2s;cursor:pointer}.topbar-theme-btn:hover{background:#fff3;border-color:#ffffff80;transform:scale(1.1)}[data-theme=dark] .dnd-editor__row{background:var(--bg-surface);border-color:var(--border)}[data-theme=dark] .dnd-editor__row-summary:hover{background:var(--bg-muted)}[data-theme=dark] .dnd-editor__row--expanded .dnd-editor__row-summary{background:#1e3a5f}[data-theme=dark] .dnd-editor__field-label{color:var(--text-primary)}[data-theme=dark] .dnd-editor__edit-panel{background:var(--bg-surface);border-top:1px solid var(--border)}[data-theme=dark] .dnd-editor__edit-input,[data-theme=dark] .dnd-editor__edit-select{background:var(--input-bg);border-color:var(--input-border);color:var(--input-text)}[data-theme=dark] .dnd-editor__edit-label{color:var(--text-muted)}[data-theme=dark] .dnd-editor__toggle-text{color:var(--text-secondary)}[data-theme=dark] .dnd-editor__remove-btn{background:var(--bg-surface);border-color:var(--border);color:var(--text-faint)}[data-theme=dark] .detail-page__hero{background:var(--bg-surface);border-color:var(--border)}[data-theme=dark] .detail-page__title{color:var(--text-primary)}[data-theme=dark] .detail-page__description{color:var(--text-muted)}[data-theme=dark] .detail-page__meta-pill{background:var(--bg-surface);border-color:var(--border)}[data-theme=dark] .detail-page__meta-value{color:var(--text-primary)}[data-theme=dark] .detail-page__field-list{border-color:var(--border)}[data-theme=dark] .detail-page__field-row{background:var(--bg-surface);border-bottom-color:var(--border)}[data-theme=dark] .detail-page__field-row:hover{background:var(--bg-muted)}[data-theme=dark] .detail-page__field-label{color:var(--text-primary)}[data-theme=dark] .detail-page__step{border-color:var(--border)}[data-theme=dark] .detail-page__step-header{background:var(--bg-muted);border-bottom-color:var(--border)}[data-theme=dark] .detail-page__back-btn{background:var(--bg-surface);border-color:var(--border);color:var(--text-secondary)}[data-theme=dark] .detail-page__favorite-btn{background:var(--bg-surface);border-color:var(--border)}[data-theme=dark] .detail-page__cta{border-top-color:var(--border)}[data-theme=dark] .modal-box{background:var(--modal-bg);border:1px solid var(--border)}[data-theme=dark] .modal-box h2{color:var(--text-primary)}[data-theme=dark] .modal-box p{color:var(--text-muted)}[data-theme=dark] .modal-box__close-btn{background:var(--bg-surface);border-color:var(--border);color:var(--text-muted)}[data-theme=dark] .builder-panel--premium{background:#1a1040;border-color:#4c1d95}[data-theme=dark] .builder-layout-toggle{background:var(--bg-surface);border-color:var(--border);color:var(--text-secondary)}[data-theme=dark] .builder-layout-toggle:hover{background:#1e3a5f;border-color:#3b82f6;color:#93c5fd}.builder-toolbar-controls{display:flex;align-items:center;gap:.5rem;flex-shrink:0}.builder-form-theme-toggle{display:flex;align-items:center;gap:.375rem;padding:.4375rem .875rem;border:1px solid var(--border-strong);border-radius:.375rem;background:var(--bg-surface);color:var(--text-secondary);font-size:.8125rem;font-weight:500;white-space:nowrap;transition:all .2s;flex-shrink:0}.builder-form-theme-toggle:hover{border-color:#6366f1;background:#eef2ff;color:#4338ca}[data-theme=dark] .builder-form-theme-toggle:hover{background:#1e1b4b;color:#a5b4fc}.builder-form-theme-toggle--dark{border-color:#334155;background:#0f172a;color:#94a3b8}.builder-form-theme-toggle--dark:hover{border-color:#f59e0b;background:#1c1917;color:#fbbf24}.builder-preview-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem;padding:.5rem .75rem;border:1px solid var(--border);border-radius:.5rem;background:var(--bg-subtle)}.builder-preview-toolbar__left{display:flex;align-items:center;gap:.5rem}.builder-mode-switcher__btn--inline{padding:.375rem .875rem;border:1px solid var(--border-strong);border-radius:.375rem;background:var(--bg-surface);color:var(--text-secondary);font-size:.875rem;font-weight:500;transition:all .2s}.builder-mode-switcher__btn--inline:hover{border-color:#3b82f6;background:#eff6ff;color:#1d4ed8}.builder-panel__footer{display:flex;justify-content:flex-start;padding-top:1rem;margin-top:1rem;border-top:1px solid var(--border)}.detail-page__about{margin-bottom:2rem;padding:1.5rem;border:1px solid var(--border);border-radius:.75rem;background:var(--bg-surface)}.detail-page__about-text{font-size:1rem;line-height:1.75;color:var(--text-secondary);margin-top:.75rem}.detail-page__premium-badge{display:inline-block;padding:.25rem .75rem;border-radius:.25rem;background:#fbbf24;color:#78350f;font-size:.75rem;font-weight:600;text-transform:uppercase;position:static}.auth-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:#0000008c;z-index:1100;padding:1rem}.auth-modal{position:relative;width:100%;max-width:420px;padding:2rem;border-radius:.75rem;background:var(--modal-bg);box-shadow:0 25px 50px -12px #0006;border:1px solid var(--border)}.auth-modal__close-btn{position:absolute;top:.875rem;right:.875rem;display:flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;border:1px solid var(--border);border-radius:.375rem;background:var(--bg-surface);color:var(--text-muted);font-size:.75rem;line-height:1;transition:all .15s}.auth-modal__close-btn:hover{border-color:#ef4444;color:#ef4444;background:#fef2f2}[data-theme=dark] .auth-modal__close-btn:hover{background:#450a0a}.auth-modal__title{margin-bottom:1.25rem;font-size:1.375rem;font-weight:700;color:var(--text-primary)}.auth-field{margin-bottom:1rem}.auth-label{display:block;margin-bottom:.375rem;font-size:.875rem;font-weight:500;color:var(--text-secondary)}.auth-input{width:100%;padding:.5625rem .875rem;border:1px solid var(--input-border);border-radius:.375rem;font-size:.9375rem;font-family:inherit;background:var(--input-bg);color:var(--input-text);transition:border-color .15s,box-shadow .15s}.auth-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f626}.auth-input--error{border-color:#ef4444}.auth-input--error:focus{border-color:#ef4444;box-shadow:0 0 0 3px #ef444426}.auth-field-error{display:block;margin-top:.25rem;font-size:.8125rem;color:#dc2626}.auth-error--generic{margin-bottom:1rem;padding:.625rem .875rem;border-radius:.375rem;background:#fef2f2;color:#991b1b;font-size:.875rem;border:1px solid #fecaca}[data-theme=dark] .auth-error--generic{background:#450a0a;color:#fca5a5;border-color:#7f1d1d}.auth-submit{display:flex;align-items:center;justify-content:center;gap:.5rem;width:100%;margin-top:.5rem;padding:.6875rem 1.5rem;border:none;border-radius:.375rem;background:#1e40af;color:#fff;font-size:.9375rem;font-weight:600;transition:background .2s}.auth-submit:hover:not(:disabled){background:#1d4ed8}.auth-submit:disabled{opacity:.65}.auth-spinner{display:inline-block;width:.875rem;height:.875rem;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:spin .65s linear infinite;flex-shrink:0}.auth-footer{margin-top:1.25rem;font-size:.875rem;color:var(--text-muted);text-align:center}.auth-link-btn{border:none;background:transparent;color:#2563eb;font-size:inherit;font-family:inherit;font-weight:600;cursor:pointer;padding:0;text-decoration:underline;text-underline-offset:2px}.auth-link-btn:hover{color:#1d4ed8}.topbar-auth__logout-btn{padding:.375rem .875rem;border:1px solid rgba(255,255,255,.4);border-radius:.375rem;background:transparent;color:#fff;font-size:.8125rem;font-weight:500;transition:all .2s}.topbar-auth__logout-btn:hover{background:#ffffff26;border-color:#ffffffb3}.site-header{position:sticky;top:0;z-index:200;display:flex;align-items:center;gap:2rem;padding:0 2rem;height:64px;background:#ffffffeb;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--border);box-shadow:0 1px 3px #0000000f}[data-theme=dark] .site-header{background:#0f172aeb}.site-header__brand{display:flex;align-items:center;gap:.5rem;font-size:1.25rem;font-weight:800;letter-spacing:-.02em;color:#1e40af;border:none;background:transparent;cursor:pointer;padding:0;font-family:inherit;white-space:nowrap;flex-shrink:0}[data-theme=dark] .site-header__brand{color:#93c5fd}.site-header__brand:hover{opacity:.8}.site-header__brand-icon{font-size:1.375rem;color:#3b82f6}.site-header__nav{display:flex;gap:.25rem;flex:1}.site-header__nav-link{padding:.4375rem .875rem;border:none;border-radius:.375rem;background:transparent;color:var(--text-secondary);font-size:.9375rem;font-weight:500;font-family:inherit;cursor:pointer;transition:all .15s}.site-header__nav-link:hover{background:var(--bg-subtle);color:var(--text-primary)}.site-header__nav-link--active{color:#1e40af;font-weight:600}[data-theme=dark] .site-header__nav-link--active{color:#93c5fd}.site-header__actions{display:flex;align-items:center;gap:.75rem;margin-left:auto;flex-shrink:0}.site-header__theme-btn{display:flex;align-items:center;justify-content:center;width:2.25rem;height:2.25rem;border:1px solid var(--border);border-radius:.5rem;background:var(--bg-subtle);font-size:1.125rem;cursor:pointer;transition:all .2s}.site-header__theme-btn:hover{border-color:#3b82f6;background:#eff6ff}[data-theme=dark] .site-header__theme-btn:hover{background:#1e3a5f}.site-header__user{display:flex;align-items:center;gap:.625rem}.site-header__username{font-size:.9375rem;font-weight:500;color:var(--text-primary)}.site-header__tier-badge{padding:.125rem .5rem;border-radius:.25rem;background:#fbbf24;color:#78350f;font-size:.75rem;font-weight:600;text-transform:uppercase}.site-header__auth{display:flex;align-items:center;gap:.5rem}.site-header__btn{padding:.4375rem 1.125rem;border-radius:.375rem;font-size:.9375rem;font-weight:600;font-family:inherit;cursor:pointer;transition:all .2s;white-space:nowrap}.site-header__btn--outline{border:1px solid var(--border-strong);background:transparent;color:var(--text-primary)}.site-header__btn--outline:hover{border-color:#3b82f6;color:#1e40af;background:#eff6ff}[data-theme=dark] .site-header__btn--outline:hover{background:#1e3a5f;color:#93c5fd}.site-header__btn--primary{border:none;background:#1e40af;color:#fff}.site-header__btn--primary:hover{background:#1d4ed8}.public-layout{display:flex;flex-direction:column;min-height:100vh;background:var(--bg-page)}.public-main{flex:1}.home-section-inner{max-width:1200px;margin:0 auto;padding:0 2rem}.home-section-header{text-align:center;margin-bottom:3rem}.home-section-title{font-size:clamp(1.75rem,3vw,2.25rem);font-weight:800;color:var(--text-primary);letter-spacing:-.02em;margin-bottom:.75rem}.home-section-subtitle{font-size:1.0625rem;color:var(--text-muted);max-width:560px;margin:0 auto;line-height:1.6}.home-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;border-radius:.5rem;font-family:inherit;font-weight:600;cursor:pointer;transition:all .2s;white-space:nowrap;border:none}.home-btn--lg{padding:.8125rem 1.75rem;font-size:1rem}.home-btn--primary{background:#1e40af;color:#fff}.home-btn--primary:hover{background:#1d4ed8;transform:translateY(-1px);box-shadow:0 4px 12px #1e40af59}.home-btn--ghost{background:transparent;color:var(--text-primary);border:1px solid var(--border-strong)}.home-btn--ghost:hover{border-color:#3b82f6;color:#1e40af;background:#eff6ff}[data-theme=dark] .home-btn--ghost:hover{background:#1e3a5f;color:#93c5fd}.home-btn--white{background:#fff;color:#1e40af}.home-btn--white:hover{background:#dbeafe;transform:translateY(-1px)}.home-btn--ghost-white{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.5)}.home-btn--ghost-white:hover{background:#ffffff26;border-color:#fff}.home-hero{display:flex;align-items:center;gap:4rem;max-width:1200px;margin:0 auto;padding:5rem 2rem 4rem}.home-hero__inner{flex:1;min-width:0}.home-hero__badge{display:inline-flex;align-items:center;gap:.375rem;padding:.375rem .875rem;border-radius:9999px;background:#dbeafe;color:#1e40af;font-size:.875rem;font-weight:600;margin-bottom:1.5rem}[data-theme=dark] .home-hero__badge{background:#1e3a5f;color:#93c5fd}.home-hero__title{font-size:clamp(2.25rem,5vw,3.5rem);font-weight:900;line-height:1.1;letter-spacing:-.03em;color:var(--text-primary);margin-bottom:1.25rem}.home-hero__title-accent{color:#1e40af}[data-theme=dark] .home-hero__title-accent{color:#93c5fd}.home-hero__subtitle{font-size:1.125rem;color:var(--text-muted);line-height:1.65;max-width:480px;margin-bottom:2rem}.home-hero__cta{display:flex;flex-wrap:wrap;gap:.875rem;margin-bottom:1rem}.home-hero__note{font-size:.8125rem;color:var(--text-faint)}.home-hero__preview{flex-shrink:0;width:340px}.home-preview-card{border-radius:.75rem;background:var(--bg-surface);border:1px solid var(--border);box-shadow:0 20px 40px #0000001a;overflow:hidden}[data-theme=dark] .home-preview-card{box-shadow:0 20px 40px #0006}.home-preview-card__header{display:flex;align-items:center;gap:.375rem;padding:.75rem 1rem;background:var(--bg-subtle);border-bottom:1px solid var(--border)}.home-preview-card__dot{width:.625rem;height:.625rem;border-radius:50%}.home-preview-card__dot--red{background:#ef4444}.home-preview-card__dot--yellow{background:#f59e0b}.home-preview-card__dot--green{background:#10b981}.home-preview-card__title{margin-left:.5rem;font-size:.8125rem;font-weight:600;color:var(--text-muted)}.home-preview-card__body{padding:1.25rem;display:flex;flex-direction:column;gap:1rem}.home-preview-field__label{height:.625rem;width:40%;border-radius:.25rem;background:var(--bg-muted);margin-bottom:.5rem}.home-preview-field__input{height:2.25rem;border-radius:.375rem;background:var(--bg-subtle);border:1px solid var(--border)}.home-preview-field__textarea{height:4.5rem;border-radius:.375rem;background:var(--bg-subtle);border:1px solid var(--border)}.home-preview-card__submit{height:2.5rem;border-radius:.375rem;background:#1e40af;opacity:.85}.home-stats{background:#1e40af;padding:2.5rem 2rem}[data-theme=dark] .home-stats{background:#1e3a5f}.home-stats__inner{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;text-align:center}.home-stats__item{display:flex;flex-direction:column;gap:.25rem}.home-stats__value{font-size:2rem;font-weight:800;color:#fff;letter-spacing:-.02em}.home-stats__label{font-size:.9375rem;color:#ffffffbf}.home-features{padding:5rem 0;background:var(--bg-page)}.home-features__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}.home-feature-card{padding:1.75rem;border:1px solid var(--border);border-radius:.75rem;background:var(--bg-surface);transition:all .2s}.home-feature-card:hover{border-color:#3b82f6;box-shadow:0 4px 12px #3b82f61a;transform:translateY(-2px)}.home-feature-card__icon{font-size:2rem;margin-bottom:1rem;line-height:1}.home-feature-card__title{font-size:1.0625rem;font-weight:700;color:var(--text-primary);margin-bottom:.5rem}.home-feature-card__desc{font-size:.9375rem;color:var(--text-muted);line-height:1.6}.home-categories{padding:5rem 0;background:var(--bg-subtle)}.home-categories__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}.home-category-card{display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:1.5rem 1rem;border:1px solid var(--border);border-radius:.75rem;background:var(--bg-surface);cursor:pointer;transition:all .2s;font-family:inherit;text-align:center}.home-category-card:hover{border-color:#3b82f6;background:#eff6ff;transform:translateY(-2px);box-shadow:0 4px 12px #3b82f61a}[data-theme=dark] .home-category-card:hover{background:#1e3a5f}.home-category-card__icon{font-size:2rem;line-height:1}.home-category-card__label{font-size:.9375rem;font-weight:600;color:var(--text-primary)}.home-category-card__count{font-size:.8125rem;color:var(--text-faint)}.home-how{padding:5rem 0;background:var(--bg-page)}.home-how__steps{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;position:relative}.home-how__steps:before{content:"";position:absolute;top:2rem;left:calc(16.67% + 1rem);right:calc(16.67% + 1rem);height:2px;background:linear-gradient(90deg,#3b82f6,#8b5cf6);opacity:.3}.home-how__step{text-align:center;padding:0 1rem}.home-how__step-number{display:inline-flex;align-items:center;justify-content:center;width:4rem;height:4rem;border-radius:50%;background:linear-gradient(135deg,#1e40af,#3b82f6);color:#fff;font-size:1.25rem;font-weight:800;margin-bottom:1.25rem;position:relative;z-index:1}.home-how__step-title{font-size:1.125rem;font-weight:700;color:var(--text-primary);margin-bottom:.625rem}.home-how__step-desc{font-size:.9375rem;color:var(--text-muted);line-height:1.6}.home-cta{padding:5rem 2rem;background:linear-gradient(135deg,#1e40af,#4f46e5)}.home-cta__inner{max-width:640px;margin:0 auto;text-align:center}.home-cta__title{font-size:clamp(1.75rem,3vw,2.5rem);font-weight:800;color:#fff;letter-spacing:-.02em;margin-bottom:.875rem}.home-cta__subtitle{font-size:1.0625rem;color:#fffc;margin-bottom:2rem;line-height:1.6}.home-cta__actions{display:flex;justify-content:center;flex-wrap:wrap;gap:.875rem}.site-footer{background:var(--text-primary);color:#ffffffbf}[data-theme=dark] .site-footer{background:#020617}.site-footer__inner{max-width:1200px;margin:0 auto;padding:3.5rem 2rem 2.5rem;display:grid;grid-template-columns:1.5fr 2fr;gap:3rem}.site-footer__brand{display:flex;align-items:center;gap:.5rem;font-size:1.25rem;font-weight:800;color:#fff;border:none;background:transparent;cursor:pointer;padding:0;font-family:inherit;margin-bottom:.875rem}.site-footer__brand:hover{opacity:.85}.site-footer__brand-icon{font-size:1.375rem;color:#93c5fd}.site-footer__tagline{font-size:.9375rem;line-height:1.65;color:#ffffff8c}.site-footer__links-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem}.site-footer__col-heading{font-size:.8125rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#fff;margin-bottom:1rem}.site-footer__list{list-style:none;display:flex;flex-direction:column;gap:.625rem}.site-footer__link{border:none;background:transparent;color:#ffffff8c;font-size:.9375rem;font-family:inherit;cursor:pointer;padding:0;text-align:left;transition:color .15s}.site-footer__link:hover{color:#fff}.site-footer__bottom{max-width:1200px;margin:0 auto;padding:1.25rem 2rem;border-top:1px solid rgba(255,255,255,.1);display:flex;align-items:center;justify-content:space-between;gap:1rem}.site-footer__copy{font-size:.875rem;color:#fff6}.site-footer__socials{display:flex;gap:.75rem}.site-footer__social-link{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;border-radius:.375rem;background:#ffffff14;color:#fff9;font-size:.875rem;font-weight:700;text-decoration:none;transition:all .15s}.site-footer__social-link:hover{background:#ffffff2e;color:#fff}@media(max-width:1024px){.home-features__grid{grid-template-columns:repeat(2,1fr)}.home-categories__grid{grid-template-columns:repeat(4,1fr)}.home-hero{gap:2.5rem}.home-hero__preview{width:280px}}@media(max-width:768px){.site-header__nav{display:none}.home-hero{flex-direction:column;padding:3rem 1.5rem 2.5rem;text-align:center}.home-hero__subtitle{margin:0 auto 2rem}.home-hero__cta{justify-content:center}.home-hero__note{text-align:center}.home-hero__preview{width:100%;max-width:340px}.home-stats__inner{grid-template-columns:repeat(2,1fr)}.home-features__grid{grid-template-columns:1fr}.home-categories__grid{grid-template-columns:repeat(2,1fr)}.home-how__steps{grid-template-columns:1fr}.home-how__steps:before{display:none}.site-footer__inner{grid-template-columns:1fr;gap:2rem}.site-footer__links-grid{grid-template-columns:repeat(2,1fr)}.site-footer__bottom{flex-direction:column;text-align:center}}.profile-menu{position:relative;display:flex;align-items:center}.profile-menu__avatar{position:relative;display:flex;align-items:center;justify-content:center;width:2.25rem;height:2.25rem;border-radius:50%;border:2px solid transparent;font-size:.875rem;font-weight:700;font-family:inherit;cursor:pointer;transition:all .2s;letter-spacing:.02em;flex-shrink:0}.profile-menu--topbar .profile-menu__avatar{background:#fff3;color:#fff;border-color:#fff6}.profile-menu--topbar .profile-menu__avatar:hover,.profile-menu--topbar .profile-menu__avatar[aria-expanded=true]{background:#ffffff59;border-color:#fffc;transform:scale(1.05)}.profile-menu--header .profile-menu__avatar{background:#dbeafe;color:#1e40af;border-color:#bfdbfe}[data-theme=dark] .profile-menu--header .profile-menu__avatar{background:#1e3a5f;color:#93c5fd;border-color:#1d4ed8}.profile-menu--header .profile-menu__avatar:hover,.profile-menu--header .profile-menu__avatar[aria-expanded=true]{background:#bfdbfe;border-color:#3b82f6;transform:scale(1.05)}[data-theme=dark] .profile-menu--header .profile-menu__avatar:hover,[data-theme=dark] .profile-menu--header .profile-menu__avatar[aria-expanded=true]{background:#1d4ed8;border-color:#60a5fa}.profile-menu__online-dot{position:absolute;bottom:0;right:0;width:.5rem;height:.5rem;border-radius:50%;background:#10b981;border:2px solid transparent}.profile-menu--topbar .profile-menu__online-dot{border-color:#1e40af}.profile-menu--header .profile-menu__online-dot{border-color:#fff}[data-theme=dark] .profile-menu--header .profile-menu__online-dot{border-color:var(--bg-page)}.profile-menu__dropdown{position:absolute;top:calc(100% + .625rem);right:0;min-width:220px;border-radius:.625rem;background:var(--bg-surface);border:1px solid var(--border);box-shadow:0 10px 25px #0000001f,0 4px 8px #0000000f;z-index:500;overflow:hidden;animation:profile-dropdown-in .15s ease}[data-theme=dark] .profile-menu__dropdown{box-shadow:0 10px 25px #0006,0 4px 8px #0000004d}@keyframes profile-dropdown-in{0%{opacity:0;transform:translateY(-6px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}.profile-menu__info{display:flex;align-items:center;gap:.75rem;padding:1rem}.profile-menu__avatar-lg{display:flex;align-items:center;justify-content:center;width:2.75rem;height:2.75rem;border-radius:50%;background:linear-gradient(135deg,#1e40af,#3b82f6);color:#fff;font-size:1rem;font-weight:700;flex-shrink:0;letter-spacing:.02em}.profile-menu__details{display:flex;flex-direction:column;gap:.125rem;min-width:0}.profile-menu__name{font-size:.9375rem;font-weight:600;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-menu__email{font-size:.8125rem;color:var(--text-faint);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-menu__divider{height:1px;background:var(--border);margin:0}.profile-menu__tier{padding:.625rem 1rem}.profile-menu__tier-badge{display:inline-flex;align-items:center;gap:.25rem;padding:.25rem .75rem;border-radius:9999px;font-size:.8125rem;font-weight:600;background:var(--bg-subtle);color:var(--text-muted);border:1px solid var(--border)}.profile-menu__tier-badge--premium{background:linear-gradient(135deg,#fef3c7,#fde68a);color:#92400e;border-color:#fbbf24}[data-theme=dark] .profile-menu__tier-badge--premium{background:linear-gradient(135deg,#422006,#78350f);color:#fde68a;border-color:#92400e}.profile-menu__item{display:flex;align-items:center;gap:.625rem;width:100%;padding:.75rem 1rem;border:none;background:transparent;font-size:.9375rem;font-family:inherit;cursor:pointer;text-align:left;transition:background .15s;color:var(--text-secondary)}.profile-menu__item:hover{background:var(--bg-subtle)}.profile-menu__item--logout{color:#dc2626}.profile-menu__item--logout:hover{background:#fef2f2;color:#b91c1c}[data-theme=dark] .profile-menu__item--logout:hover{background:#450a0a;color:#fca5a5}.profile-menu__item-icon{font-size:1rem;line-height:1;flex-shrink:0}.gallery-hero{display:flex;align-items:center;gap:1.25rem;margin-bottom:1.75rem;padding:1.375rem 1.75rem;border-radius:.75rem;color:#fff;position:relative;overflow:hidden}.gallery-hero:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(105deg,#ffffff14,#fff0 60%);pointer-events:none}.gallery-hero__icon{font-size:2.25rem;line-height:1;flex-shrink:0;filter:drop-shadow(0 2px 4px rgba(0,0,0,.2))}.gallery-hero__text{flex:1;min-width:0}.gallery-hero__title{font-size:1.375rem;font-weight:800;letter-spacing:-.02em;margin-bottom:.25rem;line-height:1.2}.gallery-hero__subtitle{font-size:.9375rem;opacity:.85;line-height:1.5;max-width:520px}.gallery-hero__count{flex-shrink:0;padding:.375rem .875rem;border-radius:9999px;background:#fff3;font-size:.875rem;font-weight:600;white-space:nowrap;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);border:1px solid rgba(255,255,255,.25)}.static-page{padding:4rem 2rem;min-height:60vh;background:var(--bg-page)}.static-page__inner{max-width:900px;margin:0 auto}.static-page__inner--narrow{max-width:680px}.static-page__title{font-size:clamp(1.75rem,3vw,2.5rem);font-weight:800;color:var(--text-primary);letter-spacing:-.02em;margin-bottom:1rem}.static-page__lead{font-size:1.125rem;color:var(--text-muted);line-height:1.65;margin-bottom:2.5rem;max-width:600px}.static-page__meta{font-size:.875rem;color:var(--text-faint);margin-bottom:2rem}.static-page__section{margin-bottom:2rem}.static-page__section h2{font-size:1.125rem;font-weight:700;color:var(--text-primary);margin-bottom:.625rem}.static-page__section p{color:var(--text-secondary);line-height:1.7}.static-page__card-list{display:flex;flex-direction:column;gap:1rem;margin-bottom:2rem}.static-page__card{padding:1.25rem 1.5rem;border:1px solid var(--border);border-radius:.625rem;background:var(--bg-surface)}.static-page__card-title{font-size:1rem;font-weight:700;color:var(--text-primary);margin-bottom:.375rem}.static-page__card-date{display:block;font-size:.8125rem;color:var(--text-faint);margin-bottom:.375rem}.static-page__card p{color:var(--text-secondary);font-size:.9375rem;line-height:1.6}.static-page__feature-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.25rem;margin-bottom:2rem}.static-page__feature-card{padding:1.5rem;border:1px solid var(--border);border-radius:.625rem;background:var(--bg-surface)}.static-page__feature-card h3{font-size:1rem;font-weight:700;color:var(--text-primary);margin-bottom:.375rem}.static-page__feature-card p{font-size:.9375rem;color:var(--text-secondary);line-height:1.6}.static-page__feature-icon{display:block;font-size:1.75rem;margin-bottom:.75rem;line-height:1}.static-page__contact-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1.25rem;margin-bottom:2rem}.static-page__contact-grid .static-page__card{text-align:center}.static-page__contact-grid .static-page__feature-icon{margin:0 auto .75rem}.static-page__contact-grid h3{font-size:.9375rem;font-weight:700;color:var(--text-primary);margin-bottom:.25rem}.static-page__contact-grid p{font-size:.875rem;color:var(--text-secondary)}.static-page__doc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1.25rem;margin-bottom:2rem}.static-page__doc-list{list-style:none;padding:0;margin-top:.5rem;display:flex;flex-direction:column;gap:.375rem}.static-page__doc-list li{font-size:.9375rem;color:var(--text-secondary);padding-left:1rem;position:relative}.static-page__doc-list li:before{content:"→";position:absolute;left:0;color:#3b82f6;font-size:.75rem;top:.125rem}.static-page__faq-list{display:flex;flex-direction:column;gap:1.25rem;margin-bottom:2.5rem}.static-page__faq-item{padding:1.25rem 1.5rem;border:1px solid var(--border);border-radius:.625rem;background:var(--bg-surface)}.static-page__faq-q{font-size:1rem;font-weight:700;color:var(--text-primary);margin-bottom:.5rem}.static-page__faq-a{font-size:.9375rem;color:var(--text-secondary);line-height:1.65}.static-page__table{width:100%;border-collapse:collapse;font-size:.9375rem;margin-top:.75rem}.static-page__table th,.static-page__table td{padding:.625rem .875rem;text-align:left;border-bottom:1px solid var(--border);color:var(--text-secondary)}.static-page__table th{font-weight:700;color:var(--text-primary);background:var(--bg-subtle)}.static-page__table code{font-family:monospace;font-size:.875rem;background:var(--bg-muted);padding:.125rem .375rem;border-radius:.25rem}
