.wb-dialog{width:min(680px,calc(100% - 24px));max-height:90dvh;overflow-y:auto;overscroll-behavior:contain;border:0;border-radius:16px;padding:1.5rem;background:#fffdf8;color:#203b31}.wb-dialog::backdrop{background:#10281ec2}.wb-heading{display:flex;justify-content:space-between;gap:16px;align-items:start}.wb-heading h2{font-size:1.7rem;margin:0 0 1rem}.wb-close{border:0;background:none;font-size:2rem;color:inherit;cursor:pointer}.wb-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}.wb-fields label{display:grid;gap:5px;font-size:.9rem}.wb-fields input,.wb-fields textarea{box-sizing:border-box;width:100%;min-width:0;padding:10px;border:1px solid #aabcb2;border-radius:6px;font:inherit}.wb-wide{grid-column:1/-1}.wb-price{padding:16px;background:#eef3ec;border-radius:8px;margin:18px 0;white-space:pre-line;overflow-wrap:anywhere}.wb-terms{white-space:pre-wrap;line-height:1.6}.wb-check{display:flex;gap:12px;align-items:start;padding:16px 0}.wb-check input{width:20px;height:20px;flex-shrink:0}.wb-actions{position:sticky;bottom:-1.5rem;background:#fffdf8;padding:12px 0;display:flex;gap:12px;flex-wrap:wrap;border-top:1px solid #d4dfd7}.wb-actions button{flex:1}.wb-note{font-size:.9rem;line-height:1.5}.wb-error{color:#a62121}.wb-dialog button:disabled{opacity:.5;cursor:wait}#estimate-book{margin-bottom:12px;width:100%}#wb-inquiry-terms{margin:10px 0}@media(max-width:600px){.wb-dialog{width:100%;height:100dvh;max-height:100dvh;max-width:100%;margin:0;border-radius:0;padding:18px;box-sizing:border-box}.wb-fields{gap:12px}.wb-fields .wb-contact{grid-column:1/-1}.wb-actions{bottom:-18px}.wb-heading h2{font-size:1.4rem}}
/* Visible conditions action and explicit acceptance state on every screen size. */
.wb-dialog .wb-open-terms{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 22px;background:#203b31;color:#fff;border:2px solid #203b31;border-radius:9px;font:inherit;font-weight:700;text-decoration:none;box-shadow:0 3px 8px #203b3126;cursor:pointer}
.wb-dialog .wb-open-terms:hover{background:#315747;border-color:#315747}
.wb-dialog .wb-open-terms:focus-visible{outline:3px solid #bb792e;outline-offset:3px}
.wb-dialog .wb-accept-state{color:#b42318;background:#fff1ef;border-left:4px solid #b42318;padding:12px 14px;border-radius:5px;font-weight:700;line-height:1.5}
.wb-dialog .wb-accept-state[data-accepted="true"]{color:#14643d;background:#edf8f0;border-left-color:#14643d}
@media(max-width:600px){.wb-dialog .wb-open-terms{width:100%}}
