.form-library{margin:2rem 0 4rem}.library-search{display:block;max-width:48rem;font-weight:600}.library-search input{margin-top:.5rem;width:100%}.library-categories{display:flex;flex-wrap:wrap;gap:.5rem;margin:1.25rem 0}.library-categories button{border:1px solid #cbd2c5;border-radius:2rem;padding:.65rem 1rem;background:#fffdf8;color:#315649;font:inherit;cursor:pointer}.library-categories button[aria-pressed=true]{background:#315649;color:white}.form-library .form-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.form-library .form-card{min-width:0;display:flex;flex-direction:column;text-align:left}.form-library .form-card h3{font-size:1.2rem;line-height:1.4;flex:1}.form-library .form-number{font-size:2rem}.form-library #libraryMore{margin-top:1rem}.official-directory{margin-top:2rem;border-top:1px solid #cbd2c5;padding-top:1.25rem}.official-directory summary{cursor:pointer;font-weight:600}.official-directory input{max-width:40rem;width:100%}#officialResults{max-height:32rem;overflow:auto;margin-top:1rem}#officialResults article{padding:1rem 0;border-bottom:1px solid #ddd}#officialResults small{display:block;margin-top:.4rem}.dashboard-intro h1{font-size:clamp(2.5rem,4vw,4.5rem)}@media(max-width:1000px){.form-library .form-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.form-library .form-cards{grid-template-columns:1fr}.library-categories{gap:.4rem}.library-categories button{padding:.55rem .75rem}.form-library .section-heading{display:block}}

.draft-actions{display:flex;gap:.6rem;align-items:center}.danger-outline{color:#963d31;border-color:#ca9a8f}.danger{background:#963d31;border-color:#963d31;color:#fff}.danger:hover{background:#7b3026}@media(max-width:900px){.draft-actions{grid-column:2;grid-row:1/4;flex-direction:column;align-items:stretch}.draft-actions .button{padding:.6rem .8rem}}

@media(min-width:901px){.draft-row{grid-template-columns:minmax(0,1fr) 130px 170px max-content}}

input[type=radio]{display:inline-block;width:20px;height:20px;min-height:20px;margin:0;accent-color:#315f50}.choice-warnings{padding:12px 18px;background:#fff0df;border-left:4px solid #a54e30;color:#733c25;font-size:.8rem;max-height:180px;overflow:auto}.choice-warnings .text-button{display:block;text-align:left;text-decoration:underline}.choice-warnings p{margin:5px 0 0}.pdf-edit-input[type=radio]{width:100%;height:100%;min-height:0;margin:0;padding:0}.pdf-edit-field:has(input[type=radio]){background:transparent}

.pdf-edit-input[type=radio],.pdf-edit-input[type=radio]:focus{width:calc(100% + 12px)!important;height:calc(100% + 12px)!important;left:-6px!important;top:-6px!important;right:auto!important;bottom:auto!important;min-width:0!important;min-height:0!important;padding:0!important;cursor:pointer}.choice-hint{margin:0;display:inline}.choice-hint+.text-button{display:inline-block;margin-left:10px;min-height:30px;font-size:.72rem}.check-field input[type=radio]{flex:none;margin-top:4px}

/* Native select behavior with a consistently inset, noninteractive chevron. */
select,.pane-toolbar select,.preview-controls select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23315647' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:16px 16px;padding-right:44px!important;text-overflow:ellipsis}.pane-toolbar select,.preview-controls select{min-height:44px}.pdf-edit-field select{background-position:right 8px center;padding-right:32px!important}.pdf-edit-field select:not(:focus){background-image:none}.pdf-edit-field select:focus{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23315647' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}@media(forced-colors:active){select,.pane-toolbar select,.preview-controls select{appearance:auto;background-image:none;padding-right:12px!important}}

#previewScale{min-width:126px}@media(max-width:900px){input:not([type=checkbox]):not([type=radio]),select,textarea,.pane-toolbar select,.preview-controls select{font-size:16px}.preview-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;width:100%;gap:10px;align-items:center}.preview-controls #previewScale{width:100%;max-width:none;min-width:0}.preview-controls .button{min-height:44px;font-size:14px}.preview-controls .field-visibility{grid-column:1/-1;font-size:12px!important}.preview-controls #previewStatus:empty{display:none}}
@media(max-width:900px){.preview-controls{grid-template-areas:"view download" "fields fields"}.preview-controls #previewScale{grid-area:view}.preview-controls #downloadPDF{grid-area:download;width:auto}.preview-controls .field-visibility{grid-area:fields}}
