.portal-legal-footer{padding:24px;clear:both;font-size:.9rem;color:#5d6b7e}
.portal-legal-footer nav{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 24px}
.portal-legal-footer a{display:inline-block;padding:8px 0;min-height:44px;box-sizing:border-box;overflow-wrap:anywhere}
.agency-document-content{overflow-wrap:anywhere;line-height:1.7}
.agency-document-content h2{margin:28px 0 12px;font-size:1.25rem;line-height:1.4}
.agency-document-content p{margin:0 0 16px}
.registration-card .registration-consents{display:grid;gap:12px;margin-bottom:24px}
.registration-card .registration-privacy-link{margin:4px 0 8px;line-height:1.6;overflow-wrap:anywhere}
.registration-card .registration-consents>div{min-width:0}
.registration-card .registration-consents .registration-check{display:flex;align-items:flex-start;gap:12px;min-height:44px;margin:0;padding:8px 0;line-height:1.6}
.registration-card .registration-consents input[type=checkbox]{width:20px;height:20px;flex:0 0 20px;margin:1px 0 0}
.registration-card .registration-consents .registration-check span{min-width:0;overflow-wrap:anywhere}
@media(max-width:600px){.portal-legal-footer{padding:16px}.portal-legal-footer nav{gap:4px 16px}.agency-document-page{min-width:0}.agency-document-content h2{font-size:1.1rem}}
@media print{.portal-legal-footer,.print-hint{display:none}.agency-document-page{box-shadow:none;border:0}.agency-document-content h2{break-after:avoid}}
.legal-documents-ui .legal-documents-heading{display:flex;align-items:center;gap:18px;margin:0 0 22px}
.legal-documents-ui .legal-documents-shield{width:64px;height:72px;flex:none}
.legal-documents-ui .legal-documents-heading h2{margin:0 0 8px;font-size:clamp(1.25rem,2.1vw,1.65rem);line-height:1.25;letter-spacing:-.025em;color:#17263b}
.legal-documents-ui .legal-documents-heading p{margin:0;color:#637287;font-size:.95rem;line-height:1.5;max-width:660px}
.legal-documents-ui .legal-documents-list{display:grid;gap:16px}
.legal-documents-ui .legal-document-card{padding:22px;background:#fff;border:1px solid #dfe5ed;border-radius:18px;box-shadow:0 2px 8px #17263b05;min-width:0}
.legal-documents-ui .legal-document-summary{display:flex;align-items:flex-start;gap:18px}
.legal-documents-ui .legal-document-icon{display:grid;place-items:center;width:64px;height:64px;flex:none;border-radius:16px;background:#edf4ff;color:#2163c9}
.legal-documents-ui .legal-document-icon svg{width:32px;height:32px}
.legal-documents-ui .legal-document-copy{min-width:0;flex:1}
.legal-documents-ui .legal-document-copy h3{margin:0 0 7px;color:#17263b;font-size:1.1rem;font-weight:750;line-height:1.35;overflow-wrap:anywhere}
.legal-documents-ui .legal-document-version{margin:0 0 10px;color:#68778a;font-size:.9rem;line-height:1.4;overflow-wrap:anywhere}
.legal-documents-ui .legal-document-status{display:inline-flex;align-items:center;gap:7px;max-width:100%;box-sizing:border-box;margin:0;padding:6px 10px;border-radius:20px;background:#edf4ff;color:#205ab0;font-size:.85rem;font-weight:650;line-height:1.4}
.legal-documents-ui .legal-document-status svg{width:19px;height:19px;flex:none}
.legal-documents-ui .legal-document-status span{min-width:0;overflow-wrap:anywhere}
.legal-documents-ui .legal-document-date{margin:9px 0 0;color:#637287;font-size:.85rem;line-height:1.45}
.legal-documents-ui .legal-document-open{display:flex;align-items:center;gap:11px;min-height:52px;box-sizing:border-box;margin-top:18px;padding:12px 14px;border-radius:12px;background:#edf4ff;color:#205ab0;font-weight:700;font-size:.95rem;line-height:1.4;text-decoration:none}
.legal-documents-ui .legal-document-open>svg{width:23px;height:23px;flex:none}
.legal-documents-ui .legal-document-open>span{min-width:0;flex:1;overflow-wrap:anywhere}
.legal-documents-ui .legal-document-open:hover{background:#dfecff;color:#16468d}
.legal-documents-ui .legal-document-open:focus-visible{outline:3px solid #2163c9;outline-offset:3px}
.legal-documents-ui .legal-document-consent{margin:14px 0 0;align-items:flex-start;font-size:.9rem;line-height:1.5}
.agency-area-body .agency-checkout .checkout-main-stack{--checkout-card-gap:24px;display:grid;gap:var(--checkout-card-gap);margin:var(--checkout-card-gap) 0}
.agency-area-body .agency-checkout .checkout-main-stack>.checkout-summary-grid{gap:var(--checkout-card-gap);margin:0}
.agency-area-body .agency-checkout .checkout-main-stack>.checkout-confirm-form{display:grid;gap:var(--checkout-card-gap);margin:0}
.agency-area-body .agency-checkout .checkout-main-stack>.checkout-block,
.agency-area-body .agency-checkout .checkout-main-stack .checkout-confirm-form>.checkout-block,
.agency-area-body .agency-checkout .checkout-main-stack .checkout-confirmation{margin:0}
.agency-area-body .agency-checkout .checkout-main-stack .checkout-block+.checkout-block{margin-top:0}
@media(max-width:900px){.agency-area-body .agency-checkout .checkout-main-stack{--checkout-card-gap:20px}}
@media(max-width:375px){.agency-area-body .legal-documents-ui .legal-document-card{padding:12px}.agency-area-body .legal-documents-ui .legal-document-icon{width:36px;height:42px}.agency-area-body .legal-documents-ui .legal-document-summary{gap:8px}.agency-area-body .legal-documents-ui .legal-document-copy h3{font-size:.95rem;hyphens:auto}}
@media(max-width:600px){.legal-documents-ui .legal-documents-heading{gap:12px;margin-bottom:18px;align-items:flex-start}.legal-documents-ui .legal-documents-shield{width:46px;height:54px}.legal-documents-ui .legal-documents-heading h2{font-size:1.2rem;margin-bottom:6px}.legal-documents-ui .legal-documents-heading p{font-size:.875rem}.legal-documents-ui .legal-document-card{padding:16px;border-radius:15px}.legal-documents-ui .legal-document-summary{gap:12px}.legal-documents-ui .legal-document-icon{width:46px;height:50px;border-radius:12px}.legal-documents-ui .legal-document-icon svg{width:27px;height:27px}.legal-documents-ui .legal-document-copy h3{font-size:1rem}.legal-documents-ui .legal-document-status{padding:5px 8px;font-size:.79rem;gap:6px}.legal-documents-ui .legal-document-date{font-size:.8rem}.legal-documents-ui .legal-document-open{font-size:.875rem;padding:12px;gap:8px;margin-top:16px}.legal-documents-ui .legal-documents-list{gap:14px}}

.release-confirm-form .project-description-approval{min-width:0;margin:0 0 24px;padding:18px;border:1px solid #dfe7f2;border-radius:12px}
.project-description-approval legend{font-weight:700;padding:0 6px}
.project-description-approval p{line-height:1.6}
.project-description-approval .description-copy{margin:16px 0;padding:14px;background:#f4f7fc;border-radius:8px;overflow-wrap:anywhere;max-height:360px;overflow:auto}
.project-description-approval .confirmation-check{display:flex;align-items:flex-start;gap:12px;min-height:44px;line-height:1.6}
.project-description-approval input[type=checkbox]{flex:0 0 20px;width:20px;height:20px;margin-top:3px}

.project-description-approval textarea{display:block;box-sizing:border-box;width:100%;min-height:150px;margin:8px 0 12px;padding:12px;border:1px solid #bdcce0;border-radius:8px;font:inherit;line-height:1.6;resize:vertical}
.project-description-approval .description-original{margin:16px 0}
.project-description-approval .confirmation-check{margin-top:18px}

.contact-delete{margin-top:24px}.contact-delete form{margin-top:16px}.contact-delete .confirmation-check{display:flex;align-items:flex-start;gap:12px;min-height:44px;margin:16px 0}.contact-delete .button-danger{min-height:44px;padding:12px 18px;background:#a52232;border:1px solid #a52232;border-radius:8px;color:#fff;font:inherit;font-weight:600;cursor:pointer}
