.custom-packaging { padding: 52px 0; border-bottom: 1px solid var(--line); background: var(--milk); }
.custom-packaging__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 350px); align-items: center; gap: 24px 40px; }
.custom-packaging h2 { margin: 0 0 12px; font-size: 2rem; line-height: 1.2; overflow-wrap: anywhere; }
.custom-packaging .eyebrow { margin-bottom: 10px; }
.custom-packaging__lead { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.custom-packaging__open { gap: 10px; min-height: 52px; padding: 12px 18px; text-align: left; }
.custom-packaging__open span { min-width: 0; overflow-wrap: anywhere; }
.custom-icon { display: block; flex: 0 0 20px; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.custom-packaging__open:disabled { opacity: 0.55; cursor: wait; }

body.custom-request-open { overflow: hidden; }
.custom-dialog { position: fixed; inset: 0; width: min(820px, calc(100% - 24px)); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.custom-dialog[open] { display: flex; flex-direction: column; }
.custom-dialog:not([open]), .custom-dialog [hidden] { display: none !important; }
.custom-dialog::backdrop { background: rgba(21, 21, 24, 0.54); }
.custom-dialog__header { display: flex; flex: 0 0 auto; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.custom-dialog__header h2 { flex: 1; min-width: 0; margin: 0; font-size: 1.375rem; line-height: 1.3; overflow-wrap: anywhere; }
.custom-icon-button { display: inline-flex; flex: 0 0 44px; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--text); cursor: pointer; }
.custom-icon-button:hover { border-color: var(--green); color: var(--green); }
.custom-draft { display: flex; flex-direction: column; min-height: 0; margin: 0; }
.custom-dialog__body { min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 20px; scroll-padding: 16px; }
.custom-dialog__footer { display: flex; flex: 0 0 auto; align-items: center; flex-wrap: wrap; gap: 8px 16px; padding: 14px 20px; border-top: 1px solid var(--line); }
.custom-dialog__footer > span { color: var(--muted); font-size: 0.8125rem; }
.custom-dialog__footer button { min-height: 44px; max-width: 100%; text-align: center; overflow-wrap: anywhere; }
.custom-field { display: flex; flex-direction: column; min-width: 0; gap: 7px; font-weight: 700; }
.custom-field small:not(.custom-error) { color: var(--muted); font-size: 0.75rem; font-weight: 400; }
.custom-field input, .custom-field textarea { display: block; min-width: 0; width: 100%; border: 1px solid var(--line); border-radius: 4px; padding: 11px 12px; color: var(--text); background: #fff; font: inherit; font-size: 1rem; font-weight: 400; }
.custom-field select { display: block; min-width: 0; width: 100%; border: 1px solid var(--line); border-radius: 4px; padding: 11px 12px; color: var(--text); background: #fff; font: inherit; font-size: 1rem; font-weight: 400; appearance: none; }
.custom-field input { min-height: 44px; }
.custom-field textarea { min-height: 128px; resize: vertical; line-height: 1.5; }
.custom-field [aria-invalid="true"], .custom-consent [aria-invalid="true"] { border-color: #a72d2d; outline-color: #a72d2d; }
.custom-attachments { margin-top: 10px; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.custom-attachments.is-dragging { outline: 2px dashed var(--green); outline-offset: 4px; background: var(--green-soft); }
.custom-attachments__bar { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 16px; }
.custom-attachments__bar > span { color: var(--muted); font-size: 0.8125rem; }
.custom-attach-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; max-width: 100%; border: 1px solid var(--line); border-radius: 4px; padding: 8px 12px; color: var(--green); background: #fff; font-weight: 700; cursor: pointer; }
.custom-attach-button span { min-width: 0; overflow-wrap: anywhere; }
.custom-attach-button:hover { border-color: var(--green); background: var(--green-soft); }
.custom-file-list { list-style: none; margin: 0; padding: 0; }
.custom-file-list li { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 0; border-bottom: 1px solid var(--line); }
.custom-file-list li:last-child { border-bottom: 0; }
.custom-file-info { flex: 1; min-width: 0; }
.custom-file-info strong { display: block; font-size: 0.875rem; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; white-space: pre-wrap; }
.custom-file-info small { display: block; color: var(--muted); font-size: 0.75rem; }
.custom-status, .custom-error { margin: 8px 0 0; font-size: 0.8125rem; font-weight: 400; line-height: 1.4; overflow-wrap: anywhere; white-space: pre-line; }
.custom-status { color: var(--muted); }
.custom-error { color: #a72d2d; }
.custom-status:empty, .custom-error:empty { display: none; }
.custom-contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 20px; }
.custom-consent { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; margin-top: 18px; font-size: 0.875rem; line-height: 1.5; }
.custom-consent input { flex: 0 0 20px; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--green); }
.custom-consent span { min-width: 0; overflow-wrap: anywhere; }
.custom-consent a { color: var(--amber); text-decoration: underline; text-underline-offset: 2px; }
.custom-draft h3 { margin: 0 0 8px; font-size: 1.25rem; }
.custom-draft h4 { margin: 20px 0 8px; font-size: 1rem; }
.custom-draft__status { margin: 0 0 18px; color: var(--muted); font-size: 0.875rem; }
.custom-draft dl { margin: 0; }
.custom-draft dt { margin-top: 12px; color: var(--muted); font-size: 0.8125rem; }
.custom-draft dd { margin: 4px 0 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.custom-secondary { min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--text); cursor: pointer; }
.request-section__action { align-self: start; padding: 24px; border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 8px; background: rgba(255, 255, 255, 0.08); color: #fff; }
.request-section__action strong { display: block; font-size: 1.125rem; }
.request-section__action p { margin: 8px 0 18px; }
.request-section__action .button { width: 100%; }
.custom-dialog .custom-dialog__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 16px; min-height: 0; margin: 0; padding: 20px; border: 0; border-radius: 0; background: #fff; box-shadow: none; overflow: auto; overscroll-behavior: contain; scroll-padding: 16px; }
.custom-dialog .custom-dialog__form .lead-parameters { margin: 0; }
.custom-dialog .custom-dialog__form .lead-consent { margin: 0; }
.custom-dialog .custom-dialog__form .lead-form__actions { margin-top: 0; }
.custom-dialog .custom-dialog__form .request-ready { margin-top: 0; }
.custom-dialog .custom-attachments { margin: 0; }
.custom-file-note { margin: 10px 0 0; color: var(--muted); font-size: 0.8125rem; line-height: 1.45; }
@media (max-width: 760px) {
    .custom-packaging { padding: 32px 0; }
    .custom-packaging__layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .custom-packaging__open { justify-self: start; max-width: 100%; }
    .custom-dialog .custom-dialog__form { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
    .custom-dialog__header, .custom-dialog__footer { padding: 12px; }
    .custom-dialog__body { padding: 16px 12px; }
    .custom-contact-grid { grid-template-columns: minmax(0, 1fr); }
    .custom-dialog .custom-dialog__form { padding: 16px 12px; }
}
