.aive-legal-dialog{box-sizing:border-box;position:fixed;inset:0;margin:auto;padding:0;border:0;border-radius:0;background:#fff;color:#5e5b56;width:min(680px,calc(100vw - 48px));max-width:none;max-height:calc(100dvh - 48px);overflow:hidden;box-shadow:0 16px 64px #1d171a24;font:400 14px/1.9 var(--font-body,"Pretendard",sans-serif)}
.aive-legal-dialog:not([open]){display:none}.aive-legal-dialog::backdrop{background:#29251f99}.aive-legal-dialog *{box-sizing:border-box}
.aive-legal-dialog .aive-legal-scroll{max-height:calc(100dvh - 48px);overflow-y:auto;overscroll-behavior:contain;padding:68px 42px;scrollbar-width:thin;scrollbar-color:#a38d79 #fff}
.aive-legal-dialog .aive-legal-section+.aive-legal-section{margin-top:30px}
.aive-legal-dialog .aive-legal-section h2{display:block;width:auto;max-width:100%;min-height:0;margin:0 0 28px;padding:0 0 0 12px;border:0;border-left:3px solid #a38d79;border-radius:0;background:transparent;color:#3f3b36;font:600 18px/1.4 var(--font-body,"Pretendard",sans-serif);letter-spacing:normal;text-align:left}
.aive-legal-dialog .aive-legal-section h2 span{display:none}
.aive-legal-dialog .aive-legal-text{height:220px;overflow-y:auto;overscroll-behavior:contain;padding:16px 12px;background:#faf7f0;color:#75695d;font:400 14px/1.9 var(--font-body,"Pretendard",sans-serif);white-space:pre-wrap;word-break:keep-all;overflow-wrap:anywhere;scrollbar-width:thin;scrollbar-color:#a38d79 #faf7f0}
.aive-legal-dialog .aive-legal-text:focus-visible{outline:1px solid #b39a83;outline-offset:2px}
.aive-legal-dialog--terms .aive-legal-text{height:min(52dvh,440px);min-height:220px}
.aive-fees-note{margin:-15px 0 8px;text-align:right;color:#8e8378;font:400 12px/1.6 var(--font-body,"Pretendard",sans-serif)}
.aive-fees-table{width:100%;table-layout:fixed;border-collapse:collapse;border:0;background:#faf7f0;color:#75695d;font:400 15px/1.7 var(--font-body,"Pretendard",sans-serif);text-align:center;margin:0}
.aive-fees-table th{background:#a38d79;color:#fff;font-weight:500;padding:7px 8px;border:0;border-right:1px solid #ffffff70;text-align:center}
.aive-fees-table th:last-child{border-right:0}.aive-fees-table td{padding:22px 10px;border:0;vertical-align:middle;word-break:keep-all;overflow-wrap:anywhere;text-align:center}
.aive-fees-table--procedures th:first-child{width:45%}.aive-fees-table--procedures th:nth-child(2){width:15%}.aive-fees-table--procedures th:last-child{width:40%}
@media(max-width:767px){.aive-fees-table{font-size:13px}.aive-fees-table th{padding:7px 4px}.aive-fees-table td{padding:20px 6px}}
.aive-legal-dialog .aive-legal-close{position:absolute;top:0;right:0;z-index:1;display:flex;align-items:center;justify-content:center;width:54px;height:54px;min-width:0;padding:15px;margin:0;border:0;border-radius:0;box-shadow:none;background:#f2ece5;color:#836350;cursor:pointer}
.aive-legal-dialog .aive-legal-close svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1}
.aive-legal-dialog .aive-legal-close:hover{background:#e8ded4;color:#705340}.aive-legal-dialog .aive-legal-close:focus-visible{outline:0;background:#e8ded4;color:#705340}
@keyframes aive-legal-fade{from{opacity:0}to{opacity:1}}
.aive-legal-dialog[open],.aive-legal-dialog[open]::backdrop{animation:aive-legal-fade .25s ease-out both}
@media(max-width:767px){.aive-legal-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.aive-legal-dialog .aive-legal-scroll{max-height:calc(100dvh - 24px);padding:60px 22px}.aive-legal-dialog .aive-legal-section h2{font-size:16px;margin-bottom:22px;width:auto}.aive-legal-dialog .aive-legal-text{height:200px;font-size:13px}.aive-legal-dialog .aive-legal-close{width:46px;height:46px;padding:12px}}
@media(prefers-reduced-motion:reduce){.aive-legal-dialog[open],.aive-legal-dialog[open]::backdrop{animation:none}}
