:root{color-scheme:light;font-family:Inter,system-ui,sans-serif;line-height:1.5;font-weight:400;color:#1a1a1a;background-color:#f6f7f9;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-height:100vh}#root{min-height:100vh}.app{min-height:100vh;display:flex;flex-direction:column;padding:2rem;gap:2rem}.app__header{background:#fff;border-radius:16px;padding:1.5rem 2rem;box-shadow:0 12px 30px #0f172a14}.app__header-content{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;flex-wrap:wrap}.app__header h1{margin:0 0 .25rem;font-size:2rem}.app__brand-link{color:inherit;text-decoration:none}.app__brand-link:hover{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}.app__brand-link:focus-visible{outline:2px solid #2563eb;outline-offset:4px;border-radius:6px}.app__subtitle{margin:0;color:#4b5563}.app__locale-switch{display:flex;align-items:center;gap:.75rem;font-size:.95rem;color:#374151}.app__locale-switch select{padding:.4rem 2rem .4rem .6rem;border-radius:8px;border:1px solid #d1d5db;background-color:#fff;appearance:none;-webkit-appearance:none;-moz-appearance:none}.app__locale-switch select:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.app__select-wrapper{position:relative;display:inline-flex;align-items:center}.app__select-chevron{position:absolute;right:.6rem;pointer-events:none}.app__content{display:flex;width:100%;flex:1}.app__card{background:#fff;border-radius:16px;padding:1.5rem 2rem;box-shadow:0 10px 24px #0f172a14;width:100%;max-width:960px}.app__card h2{margin-top:0}.app__card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1.5rem;flex-wrap:wrap;margin-bottom:1rem}.app__link{color:#2563eb;text-decoration:none;font-weight:600}.app__link:hover{text-decoration:underline}.app__button{border:1px solid #cbd5f5;background:#eef2ff;color:#1d4ed8;font-weight:600;border-radius:8px;padding:.45rem .9rem;cursor:pointer}.app__button:hover{background:#e0e7ff}.app__button:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.app__error{color:#b91c1c;margin:.5rem 0 1rem}.app__footer{margin-top:auto}.app__footer-content{background:#fff;border-radius:16px;padding:1.25rem 2rem;box-shadow:0 10px 24px #0f172a14}.app__footer-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));align-items:center;gap:.75rem 1.5rem}.app__footer-link{color:#2563eb;text-decoration:none;font-weight:600}.app__footer-link:hover{text-decoration:underline}.app__footer-link--left{justify-self:start;text-align:left}.app__footer-link--center-left,.app__footer-link--center-right{justify-self:center;text-align:center}.app__footer-link--right{justify-self:end;text-align:right}@media(max-width:720px){.app__footer-links{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));justify-items:center}.app__footer-link{justify-self:center;text-align:center}}@media(max-width:420px){.app__footer-links{grid-template-columns:1fr}}.legal-page{display:flex;flex-direction:column;gap:.75rem}.legal-page ul{margin:0;padding-left:1.25rem}.formpack-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.25rem}.formpack-card{border:1px solid #e5e7eb;border-radius:12px;padding:1rem 1.25rem;display:flex;flex-direction:column;justify-content:space-between;gap:1rem;background:#f9fafb;text-decoration:none;color:inherit;transition:background-color .2s ease-in-out,border-color .2s ease-in-out}.formpack-card:hover,.formpack-card:focus-visible{background:#fff;border-color:#d1d5db}.formpack-card:hover h3,.formpack-card:hover .formpack-card__link,.formpack-card:focus-visible h3,.formpack-card:focus-visible .formpack-card__link{text-decoration:underline}.formpack-card:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.formpack-card h3{margin:0 0 .5rem;font-size:1.1rem;color:#111827}.formpack-card__description{margin:0;color:#4b5563}.formpack-card__link{align-self:flex-start;color:#1d4ed8;font-weight:600;text-decoration:none}.formpack-card__link:hover{text-decoration:underline}.formpack-detail{display:grid;gap:2rem}.formpack-detail__assets,.formpack-detail__form{display:grid;gap:1.5rem;min-width:0}.formpack-detail__section h3{margin:0 0 .75rem}.formpack-detail__section>dl{margin:0;display:grid;gap:.75rem}.formpack-detail__section>dl>div{display:grid;grid-template-columns:minmax(140px,200px) 1fr;gap:.75rem}.formpack-detail__section dt{font-weight:600;color:#374151}.formpack-detail__section dd{margin:0;color:#111827;word-break:break-word}.formpack-import__hint{margin:0 0 .75rem;color:#4b5563;font-size:.95rem}.formpack-import__field{display:grid;gap:.5rem;margin-bottom:.75rem}.formpack-import__file{width:100%;padding:.6rem;border-radius:8px;border:1px solid #d1d5db;font-family:inherit;font-size:.95rem;background-color:#fff}.formpack-import__file:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.formpack-import__file-name{margin:0;color:#6b7280;font-size:.9rem}.formpack-import__options{margin:0 0 .75rem;padding:.75rem 1rem;border-radius:12px;border:1px solid #e5e7eb;display:grid;gap:.5rem}.formpack-import__options legend{font-weight:600;margin-bottom:.25rem}.formpack-import__option{display:flex;gap:.5rem;align-items:flex-start}.formpack-import__note{margin:0 0 .5rem 1.75rem;color:#6b7280;font-size:.9rem}.formpack-import__actions{margin-top:.75rem}.formpack-import__success{color:#047857;margin:.5rem 0 0}.formpack-form{display:grid;gap:1rem}.formpack-form *,.formpack-form *:before,.formpack-form *:after{box-sizing:border-box}.formpack-form label{font-weight:600;font-size:.95rem;line-height:1.4}.formpack-form input,.formpack-form textarea,.formpack-form select{width:100%;max-width:100%;padding:.5rem .6rem;border:1px solid #d1d5db;border-radius:8px}.formpack-form input:focus-visible,.formpack-form textarea:focus-visible,.formpack-form select:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.formpack-form input[type=checkbox]{width:auto;max-width:none;padding:0;margin:0}.formpack-form label:has(>input[type=checkbox]){display:inline-flex;align-items:center;gap:.5rem}.formpack-form fieldset{margin:0;padding:1rem;border-radius:12px;border:1px solid #e5e7eb}.formpack-form button,.formpack-form .btn{font-size:.95rem;padding:.5rem .85rem;border-radius:8px;min-height:2.5rem}.formpack-array{display:grid;gap:.75rem;margin:0}.formpack-array__items{display:grid;gap:.75rem}.formpack-array__add{display:flex}.formpack-array__add-button{width:100%}.formpack-array-button{display:inline-flex;align-items:center;justify-content:center;gap:.35rem}.formpack-array-item{border:1px solid #e5e7eb;border-radius:12px;padding:.75rem;display:grid;gap:.75rem;background:#fff}.formpack-array-item__header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem}.formpack-array-item__title{margin:0;font-weight:600;font-size:.95rem}.formpack-array-item__content>fieldset{margin:0;padding:0;border:0}.formpack-array-item__content>fieldset>legend{display:none}.formpack-form legend{padding:0 .25rem;font-weight:600;font-size:1rem}.formpack-form .field-description,.formpack-form .help-block{margin:.35rem 0 0;color:#4b5563;font-size:.9rem;line-height:1.4}.formpack-form__actions{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;justify-content:flex-end}.formpack-docx-export{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin-right:auto}.formpack-docx-export__label{display:flex;align-items:center;gap:.5rem;font-weight:600;font-size:.9rem}.formpack-docx-export__select{min-width:180px;min-height:2.5rem;padding:.5rem .85rem;font-size:.95rem;line-height:1.4}.formpack-docx-export__success{color:#15803d;font-weight:600;font-size:.9rem}.formpack-records__actions,.formpack-snapshots__actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-bottom:.75rem}.formpack-records__list,.formpack-snapshots__list{list-style:none;padding:0;margin:0;display:grid;gap:.75rem}.formpack-records__item,.formpack-snapshots__item{border:1px solid #e5e7eb;border-radius:10px;padding:.75rem .9rem;background:#fff;display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.formpack-records__item--active{border-color:#c7d2fe;background:#eef2ff}.formpack-records__title,.formpack-snapshots__title{margin:0;font-weight:600}.formpack-records__meta,.formpack-snapshots__meta,.formpack-records__empty,.formpack-snapshots__empty{margin:.25rem 0 0;color:#6b7280;font-size:.9rem}.formpack-records__item-actions,.formpack-snapshots__item-actions{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.formpack-records__badge{background:#dbeafe;color:#1d4ed8;border-radius:999px;padding:.2rem .6rem;font-size:.75rem;font-weight:600}.formpack-preview{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:1rem;overflow-x:auto;font-size:.9rem;white-space:pre-wrap;max-width:100%}.formpack-document-preview{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:1rem;font-size:.95rem}.formpack-document-preview__empty{margin:0;color:#6b7280;font-size:.9rem}.formpack-document-preview__section{padding-bottom:.85rem;margin-bottom:.85rem;border-bottom:1px solid #e2e8f0}.formpack-document-preview__section:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}.formpack-document-preview__section h4{margin:0 0 .5rem;font-size:1rem}.formpack-document-preview__section h5{margin:.75rem 0 .35rem;font-size:.9rem;color:#334155}.formpack-document-preview__section p{margin:0 0 .5rem}.formpack-document-preview__section p:last-child{margin-bottom:0}.formpack-document-preview__section dl{margin:0}.formpack-document-preview__section dl div{display:grid;grid-template-columns:minmax(0,160px) minmax(0,1fr);gap:.35rem .75rem;padding:.2rem 0}.formpack-document-preview__section dt{font-weight:600}.formpack-document-preview__section dd{margin:0}.formpack-document-preview__list{list-style:none;margin:0;padding:0;display:grid;gap:.65rem}.formpack-document-preview__list li{padding:.5rem .75rem;border:1px solid #e2e8f0;border-radius:10px;background:#fff}.formpack-document-preview__note{margin-top:.75rem;padding:.5rem .75rem;border-left:3px solid #cbd5f5;background:#eef2ff;border-radius:8px}
