.order-regulations{margin:24px 0;padding:24px;border:1px solid #d2d4d0;border-left:4px solid #bd8c0a;border-radius:8px;background:#fff}
.order-regulations h2{font-family:'Anton',sans-serif;font-size:25px;font-weight:400;margin:0 0 16px}
.order-regulations p{font-size:15px;line-height:1.7;margin:0 0 16px}
.regulations-link{display:inline-flex;align-items:center;min-height:44px;padding:8px 0;margin-bottom:16px;border:0;background:none;color:#785600;font:inherit;font-size:15px;font-weight:700;text-align:left;text-decoration:underline;text-underline-offset:5px;cursor:pointer}
.order-regulations .regulations-check{display:flex;align-items:flex-start;gap:12px;font-size:15px;font-weight:400;line-height:1.65}
.regulations-check input{flex:0 0 24px;width:24px;height:24px;min-height:24px;margin:2px 0 0;accent-color:#bd8c0a}
.regulations-check span{flex:1;min-width:0}
.order-regulations .error{display:block;margin-top:10px;color:#a22c19;font-size:14px}
.regulations-saved{color:#2b6241}
.regulations-modal-open{overflow:hidden}
.regulations-dialog{width:min(1400px,calc(100vw - 40px));height:calc(100dvh - 40px);max-width:none;max-height:none;padding:0;border:1px solid #444;border-radius:12px;overflow:hidden;background:#f5f5f3;color:#171717;box-shadow:0 25px 100px #0006}
.regulations-dialog[open]{display:flex;flex-direction:column}
.regulations-dialog::backdrop{background:#000b}
.regulations-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;padding:16px 22px;background:#111;color:#fff;border-bottom:1px solid #444;flex-shrink:0}
.regulations-toolbar h2{font-family:'Anton',sans-serif;font-size:23px;font-weight:400;line-height:1.3;letter-spacing:.02em;flex:1;min-width:200px;margin:0}
.regulations-toolbar nav{display:flex;gap:8px;flex-wrap:wrap}
.regulations-toolbar button{min-height:44px;border:1px solid #777;border-radius:6px;padding:10px 15px;background:#222;color:#fff;font:inherit;font-size:14px;cursor:pointer}
.regulations-toolbar .regulations-close{background:#f2bf2d;color:#111;border-color:#f2bf2d;font-weight:700}
.regulations-toolbar button:focus-visible{outline:3px solid #f2bf2d;outline-offset:3px}
.regulations-frame{display:block;flex:1;width:100%;min-height:0;border:0;background:#f5f5f3}
.regulations-frame-status:empty{display:none}
.regulations-frame-status{font-size:14px;margin:0;padding:12px 22px}
.regulations-external-note{flex-shrink:0;margin:0;padding:10px 22px;background:#fff;border-top:1px solid #ddd;font-size:12px;line-height:1.5;color:#555}
@media(max-width:700px){.regulations-dialog{inset:0;width:100%;height:100dvh;margin:0;border:0;border-radius:0}.regulations-toolbar{padding:12px 15px;gap:10px}.regulations-toolbar h2{flex-basis:100%;font-size:22px}.regulations-toolbar nav{flex:1}.regulations-toolbar button{padding:10px 12px;font-size:13px}.regulations-external-note{padding:8px 15px}.order-regulations{padding:20px}.order-regulations h2{font-size:24px}}

#customer .order-regulations{margin:0;padding:20px;border:1px solid #dedfe1;border-left:3px solid #bd8c0a;background:#fff;border-radius:8px}
#customer .order-regulations h2{font-size:23px;margin-bottom:14px}
#customer .order-regulations p{font-size:14px;line-height:1.6}
#customer .order-regulations .regulations-check{font-size:15px}
