/* Boafo Nsa digital site forms */
.df-banner .df-banner-links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 26px; font-size: 13px; }
.df-banner .df-banner-links a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--hairline-strong); padding-bottom: 3px; }
.df-banner .df-banner-links a:hover { color: var(--brass-dark); border-color: var(--brass); }
.df-wrap { padding-top: 34px; }
.df { max-width: 1180px; margin: 0 auto; }
.df-toolbar { position: sticky; top: var(--df-sticky, 76px); z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 18px; margin-bottom: 26px; background: var(--paper-2, var(--paper)); border: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.df-toolbar .df-status::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok-line); margin-right: 9px; vertical-align: 1px; }
.df-link { background: none; border: 0; padding: 4px 0; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--green); cursor: pointer; border-bottom: 1px solid currentColor; }
:root[data-theme="dark"] .df-link { color: #d9bc9c; }
.df-link.armed { color: #a4442f; }
.df-howto { margin: 0 0 30px; border-left: 2px solid var(--brass); background: var(--surface); padding: 14px 20px; font-size: 14px; color: var(--body-soft); }
.df-howto summary { cursor: pointer; font-weight: 650; color: var(--ink); font-size: 13px; letter-spacing: .02em; }
.df-howto ol { margin: 12px 0 2px; padding-left: 20px; line-height: 1.6; }
.df-howto li { margin-bottom: 4px; }
.df-loading { color: var(--muted); padding: 40px 0; }

.df-ref { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; background: var(--green); padding: 18px 22px 20px; margin-bottom: 40px; }
.df-ref label { padding: 0 14px; border-right: 1px solid rgba(255,255,255,.14); }
.df-ref label:first-child { padding-left: 0; }
.df-ref label:last-child { border-right: 0; }
.df-ref .df-label { color: #c9a77f; }
.df-ref input, .df-ref select { background: transparent; border: 0; border-bottom: 1px solid rgba(243,239,230,.38); color: #f3efe6; padding: 8px 0 6px; font-size: 15px; width: 100%; color-scheme: dark; }
.df-ref input:focus, .df-ref select:focus { outline: none; border-bottom-color: #d9bc9c; }
.df-ref select option { color: #242823; }

.df-part { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; background: var(--green); color: #f3efe6; padding: 14px 22px; margin: 54px 0 34px; }
.df-part span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #c9a77f; font-weight: 700; }
.df-part b { font-family: var(--serif); font-size: 26px; font-weight: 500; }
.df-part em { margin-left: auto; font-style: normal; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(243,239,230,.7); }

.df-sec { margin: 0 0 46px; }
.df-sh { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; border-bottom: 1.5px solid var(--green); padding-bottom: 10px; margin-bottom: 20px; }
:root[data-theme="dark"] .df-sh { border-color: var(--brass); }
.df-sh .n { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--brass); }
.df-sh h2 { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); font-weight: 500; line-height: 1.05; margin: 0; color: var(--ink); }
.df-sh .hint { margin-left: auto; font-size: 12.5px; color: var(--muted); }

.df-label { display: block; font-size: 10.5px; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; color: var(--meta-2); margin-bottom: 7px; line-height: 1.35; }
.df-fields { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 18px 22px; margin-bottom: 22px; }
.df-f { min-width: 0; }
.df-f.sp2 { grid-column: span 2; } .df-f.sp3 { grid-column: span 3; } .df-f.sp4 { grid-column: span 4; } .df-f.sp6 { grid-column: span 6; }
.df-f.wide { grid-column: 1 / -1; }
.df-f input, .df-f select, .df-f textarea, .df-card input, .df-photos input[type=text] { width: 100%; border: 1px solid var(--field-line); background: var(--surface); padding: 11px 12px; border-radius: 0; font: inherit; font-size: 14.5px; color: var(--ink); transition: border .2s, box-shadow .2s; min-height: 44px; }
.df-f textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.df-f input:focus, .df-f select:focus, .df-f textarea:focus, .df-card input:focus, .df-table input:focus, .df-table select:focus, .df-photos input:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 2px var(--focus-ring); }
.df-f.calc input, .df-table td.calc input { background: repeating-linear-gradient(135deg, transparent 0 6px, var(--hairline) 6px 7px), var(--paper-2, var(--paper)); color: var(--green); font-weight: 650; border-style: dashed; }
:root[data-theme="dark"] .df-f.calc input, :root[data-theme="dark"] .df-table td.calc input { color: #d9bc9c; }

.df-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.df-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; margin-bottom: 22px; }
.df-chip { display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 8px 14px 8px 11px; border: 1px solid var(--field-line); background: var(--surface); color: var(--ink); font: inherit; font-size: 13.5px; text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.df-chip::before { content: ""; flex: 0 0 15px; height: 15px; border: 1.5px solid var(--brass); background: transparent; }
.df-chip:hover { border-color: var(--line-hover); }
.df-chip[aria-pressed="true"] { border-color: var(--green); background: var(--ok-bg); font-weight: 600; }
.df-chip[aria-pressed="true"]::before { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E") center/11px no-repeat; border-color: var(--green); }
:root[data-theme="dark"] .df-chip[aria-pressed="true"] { background: rgba(155,179,160,.12); border-color: var(--ok-line); }
.df-chip:focus-visible, .df-add:focus-visible, .df-sigbtn:focus-visible, .df-x:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.df-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-bottom: 18px; }
.df-group { border: 1px solid var(--line); padding: 14px; background: var(--surface); }
.df-group h4 { margin: 0 0 10px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
:root[data-theme="dark"] .df-group h4 { color: #d9bc9c; }
.df-group .df-chips { flex-direction: column; }
.df-group .df-chip { width: 100%; border-color: transparent; background: transparent; padding-left: 4px; min-height: 36px; }
.df-group .df-chip[aria-pressed="true"] { background: var(--ok-bg); border-color: transparent; }

.df-table-wrap { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); background: var(--surface); margin-bottom: 10px; }
.df-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.df-table th { background: var(--paper-2, var(--paper)); color: var(--green); font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; font-weight: 700; text-align: left; padding: 10px 9px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); vertical-align: bottom; line-height: 1.25; }
:root[data-theme="dark"] .df-table th { color: #d9bc9c; }
.df-table th small { display: block; text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--muted); font-size: 11px; margin-top: 2px; }
.df-table th.calc { background: var(--ok-bg); }
:root[data-theme="dark"] .df-table th.calc { background: rgba(155,179,160,.1); }
.df-table tbody th.lab, .df-table td.lab { position: sticky; left: 0; z-index: 1; background: var(--paper-2, var(--paper)); text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 600; color: var(--ink); vertical-align: middle; }
.df-table td { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); padding: 0; height: 44px; }
.df-table td.fixed { padding: 6px 9px; font-size: 12px; color: var(--muted); }
.df-table td.no, .df-table th.no { width: 46px; text-align: center; color: var(--muted); font-size: 12px; }
.df-table input, .df-table select { width: 100%; height: 44px; border: 0; background: transparent; padding: 0 9px; font: inherit; font-size: 14px; color: var(--ink); border-radius: 0; }
.df-table td.calc input { border: 0; height: 44px; }
.df-table tfoot td { background: var(--paper-2, var(--paper)); font-weight: 700; color: var(--green); padding: 9px; font-size: 13px; height: auto; text-align: right; }
.df-table tfoot td:first-child { text-align: left; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.df-table td.x, .df-table th.x { width: 40px; text-align: center; }
.df-x { width: 34px; height: 34px; border: 0; background: transparent; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; }
.df-x:hover { color: #a4442f; }
.df-add { background: transparent; border: 1px dashed var(--line-hover); color: var(--green); font: inherit; font-size: 13px; font-weight: 600; padding: 10px 16px; cursor: pointer; margin-bottom: 18px; }
:root[data-theme="dark"] .df-add { color: #d9bc9c; }
.df-add:hover { border-style: solid; border-color: var(--green); }
.sigcell { min-width: 150px; }
.df-sigbtn { width: 100%; height: 44px; border: 0; background: transparent; color: var(--brass-dark); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.df-sigbtn img { max-height: 40px; max-width: 100%; }
:root[data-theme="dark"] .df-sigbtn img { filter: invert(1) hue-rotate(180deg); }
.df-sigbtn.big { height: 78px; border: 1px dashed var(--field-line); background: var(--surface); margin-bottom: 14px; }
.df-sigbtn.big img { max-height: 70px; }

.df-note { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 6px 0 22px; max-width: 900px; }
.df-note b { color: var(--ink); }
.df-note.conf { border: 1px solid var(--brass); background: rgba(168,123,79,.07); padding: 12px 16px; color: var(--body-soft); max-width: none; }

.df-matrix { border-collapse: collapse; min-width: 520px; width: 100%; font-size: 12.5px; }
.df-matrix caption { caption-side: bottom; text-align: left; font-size: 12px; color: var(--muted); padding: 8px 10px; }
.df-matrix th { background: var(--paper-2, var(--paper)); color: var(--green); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; text-align: left; padding: 8px; border: 2px solid var(--surface); }
.df-matrix td { text-align: center; padding: 9px 4px; border: 2px solid var(--surface); color: #242823; font-weight: 600; }
.df-matrix .r1 { background: #dfe9dc; } .df-matrix .r2 { background: #eef0d6; } .df-matrix .r3 { background: #f6e7c9; } .df-matrix .r4 { background: #f2d3bf; } .df-matrix .r5 { background: #e8b9a8; }
.df-matrix td.on { outline: 3px solid var(--green); outline-offset: -3px; font-size: 15px; }
:root[data-theme="dark"] .df-matrix td.on { outline-color: #fffefa; }

.df-photos { margin-bottom: 22px; }
.df-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.df-photos figure { position: relative; margin: 0; border: 1px solid var(--line); background: var(--surface); }
.df-photos figure img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.df-photos figure input { border: 0; border-top: 1px solid var(--line); font-size: 13px; }
.df-photos figure .df-x { position: absolute; top: 6px; right: 6px; background: rgba(0,0,0,.55); color: #fff; border-radius: 50%; width: 30px; height: 30px; font-size: 18px; }
.df-photo-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 150px; border: 1px dashed var(--line-hover); color: var(--green); font-weight: 600; font-size: 13.5px; cursor: pointer; text-align: center; padding: 14px; }
.df-photo-add small { font-weight: 400; color: var(--muted); font-size: 11.5px; }
.df-photo-add input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.df-photo-add:focus-within { outline: 2px solid var(--focus); }

.df-sign { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-bottom: 20px; }
.df-card { border: 1px solid var(--line); padding: 18px; background: var(--surface); }
.df-card .df-note { margin: -4px 0 12px; font-size: 12px; }
.df-card label { display: block; margin-bottom: 14px; }
.df-role { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--green); margin-bottom: 14px; }
:root[data-theme="dark"] .df-role { color: #d9bc9c; }

.df-send { margin: 60px 0 0; background: var(--green); color: #f3efe6; }
.df-send-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; padding: clamp(28px, 4vw, 52px); }
.df-send .eyebrow { color: #c9a77f; margin: 0 0 12px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.df-send h2 { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 42px); font-weight: 500; line-height: 1.02; margin: 0 0 16px; color: #fffefa; }
.df-send p { color: rgba(243,239,230,.78); font-size: 14.5px; line-height: 1.65; margin: 0; }
.df-send-box label { display: block; font-size: 11px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: #c9a77f; margin-bottom: 8px; }
.df-send-box input[type=email] { width: 100%; background: #fffefa; color: #242823; border: 1px solid #fffefa; padding: 15px 16px; font: inherit; font-size: 16px; border-radius: 0; margin-bottom: 14px; }
.df-send-box input[type=email]:focus { outline: 2px solid #d9bc9c; outline-offset: 2px; }
.df-send-box .btn { width: 100%; cursor: pointer; font-family: inherit; font-size: 13px; }
.df-send-box .btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.df-send-box .df-link { color: #f3efe6; margin-top: 16px; }
.df-send-box .df-link[disabled] { opacity: .6; }
.df-msg { margin-top: 16px !important; font-size: 14px; }
.df-msg:empty { display: none; }
.df-msg.ok { padding: 12px 14px; background: rgba(155,179,160,.18); border-left: 3px solid var(--ok-line); color: #fffefa !important; }
.df-msg.err { padding: 12px 14px; background: rgba(216,164,155,.16); border-left: 3px solid var(--err-line); color: #fffefa !important; }
.df-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.df-pad { border: 0; padding: 0; width: min(640px, calc(100vw - 24px)); max-width: none; background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.df-pad::backdrop { background: rgba(14,24,20,.6); }
.df-pad-in { padding: 22px; }
.df-padtitle { font-family: var(--serif); font-size: 26px; margin: 0 0 4px; }
.df-pad-hint { margin: 0 0 14px; font-size: 13px; color: var(--muted); }
.df-pad canvas { display: block; width: 100%; background: #fffefa; border: 1px solid var(--field-line); touch-action: none; cursor: crosshair; background-image: linear-gradient(to top, transparent 24%, #d3d0c7 24%, #d3d0c7 calc(24% + 1px), transparent calc(24% + 1px)); }
.df-pad-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 16px; }
.df-pad-actions span { flex: 1; }
.df-pad-actions .btn { cursor: pointer; font-family: inherit; }

@media (max-width: 860px) {
	.df-fields.c3, .df-fields.c4, .df-fields.c6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.df-f.sp3, .df-f.sp4, .df-f.sp6 { grid-column: 1 / -1; }
	.df-send-in { grid-template-columns: 1fr; gap: 26px; }
	.df-sh .hint { margin-left: 0; flex-basis: 100%; }
	.df-part em { margin-left: 0; flex-basis: 100%; }
}
@media (max-width: 560px) {
	.df-fields, .df-fields.c2, .df-fields.c3, .df-fields.c4, .df-fields.c6 { grid-template-columns: 1fr; gap: 16px; }
	.df-f.sp2, .df-f.sp3, .df-f.sp4, .df-f.sp6 { grid-column: auto; }
	.df-toolbar { flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px 14px; position: static; }
	.df-ref { grid-template-columns: 1fr 1fr; gap: 14px 0; padding: 16px; }
	.df-ref label:nth-child(2n) { border-right: 0; }
	.df-ref label:nth-child(2n+1) { padding-left: 0; }
	.df-checks { grid-template-columns: 1fr; }
	.df-table th.lab, .df-table td.lab { min-width: 128px !important; max-width: 42vw; font-size: 12px; white-space: normal; }
	.df-table th.lab:first-child { width: 42vw; }
}
@media print { .df-toolbar, .df-send, .df-add, .df-x { display: none; } }
.df .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
