/* Shared proposal form, including the direct entry page. */
.pn-proposal-form{max-width:1000px;margin:0 auto 36px;padding:clamp(18px,3vw,36px)!important;background:var(--paper-2,#fffaf1);border:1px solid #d9c7ac;border-radius:22px;box-shadow:0 12px 32px #49301a0c;color:var(--ink,#18344f)}
.pn-proposal-form .pn-form-note{margin:0 0 26px;color:var(--muted,#6d6457);font-size:15px;line-height:1.5}
.pn-proposal-form form{display:block;padding:0;margin:0;border:0;background:transparent;box-shadow:none}
.pn-proposal-form fieldset{min-width:0;border:0;padding:0 0 26px;margin:0 0 26px;border-bottom:1px solid #d9c7ac}
.pn-proposal-form legend{display:block;width:100%;padding:0;margin:0 0 18px;font:700 clamp(20px,2vw,25px)/1.2 Georgia,serif;color:inherit}
.pn-proposal-form legend span{display:inline-grid;place-items:center;width:32px;height:32px;margin-right:9px;border-radius:50%;background:#e9dcc4;color:#284a48;font:700 13px/1 system-ui;vertical-align:middle}
.pn-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 22px;align-items:start}
.pn-proposal-form label{display:block;font-size:15px;font-weight:650;line-height:1.45;min-width:0;color:inherit}
.pn-proposal-form .wide{grid-column:1/-1}
.pn-proposal-form input:not([type=checkbox]),.pn-proposal-form select,.pn-proposal-form textarea{display:block;width:100%;max-width:100%;min-width:0;margin:7px 0 0;padding:12px 14px;border:1px solid #cbbba4;border-radius:11px;background:#fffdf8;color:#18344f;font:400 16px/1.35 system-ui;min-height:48px;box-sizing:border-box}
.pn-proposal-form textarea{min-height:115px;resize:vertical}
.pn-proposal-form select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='m5 7.5 5 5 5-5' fill='none' stroke='%2317363b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:42px}
.pn-proposal-form input[type=file]{padding:10px;border-style:dashed}
.pn-proposal-form input::file-selector-button{font:600 14px system-ui;margin-right:10px;padding:8px 10px;border:0;border-radius:7px;background:#e9dcc4;color:#18344f;cursor:pointer}
.pn-proposal-form .pn-required{color:#a52a32}
.pn-proposal-form .pn-privacy{margin:0 0 24px;padding:18px;background:#f1e8d9;border:1px solid #d9c7ac;border-radius:14px;font-size:14px;line-height:1.55}
.pn-proposal-form .pn-privacy p{margin:0 0 15px}
.pn-proposal-form .pn-privacy a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.pn-proposal-form label.pn-consent{display:flex!important;align-items:flex-start;gap:10px;font-size:14px;font-weight:500;line-height:1.5}
.pn-proposal-form input[type=checkbox]{appearance:auto;width:19px!important;height:19px!important;min-height:0!important;flex:0 0 19px;padding:0;margin:2px 0 0!important;accent-color:#a52a32}
.pn-proposal-form :is(input,textarea,select,button):focus-visible{outline:2px solid #a77736;outline-offset:3px}
.pn-proposal-form .pn-submit{display:flex;align-items:center;justify-content:space-between;gap:16px}
.pn-proposal-form .pn-submit p{margin:0;color:var(--muted,#6d6457);font-size:14px}
.pn-proposal-form .pn-submit button{flex:none;min-height:48px;padding:12px 24px;font-weight:700;border-radius:999px;background:#9d262e;color:#fff;border:0;cursor:pointer}
.pn-proposal-form [role=status]{overflow-wrap:anywhere;font-weight:600;margin:18px 0 0}
.pn-proposal-form [role=status]:empty{display:none}
.pn-proposal-form [hidden]{display:none!important}
.dark .pn-proposal-form{background:#18344f;border-color:#42605e;color:#fdf4e4}
.dark .pn-proposal-form fieldset,.dark .pn-proposal-form .pn-privacy{border-color:#496260}
.dark .pn-proposal-form input:not([type=checkbox]),.dark .pn-proposal-form textarea,.dark .pn-proposal-form select{background-color:#25444a;border-color:#64807f;color:#fff5e4;color-scheme:dark}
.dark .pn-proposal-form .pn-privacy{background:#203e44}.dark .pn-proposal-form .pn-form-note,.dark .pn-proposal-form .pn-submit p{color:#d6e0d9}.dark .pn-proposal-form .pn-required{color:#ffadb1}
@media(max-width:680px){.pn-proposal-form{padding:18px 15px!important;border-radius:16px}.pn-field-grid{grid-template-columns:minmax(0,1fr);gap:16px}.pn-proposal-form fieldset{margin-bottom:22px;padding-bottom:22px}.pn-proposal-form .pn-submit{align-items:stretch;flex-direction:column}.pn-proposal-form .pn-submit button{width:100%}.pn-proposal-form .pn-privacy{padding:14px}}
