/* Scoped WhatsApp intake; existing branch buttons and galleries are unchanged. */
.chouran-intake{box-sizing:border-box;width:min(510px,calc(100vw - 24px));max-width:510px;max-height:92vh;max-height:92dvh;margin:auto;padding:24px 28px;border:1px solid #e3dedb;border-radius:24px;background:#fff;color:#222;box-shadow:0 18px 55px #0005;overflow:auto;font-family:inherit;line-height:1.5;text-align:start}
.chouran-intake::backdrop{background:rgba(20,16,15,.48)}
.chouran-intake *{box-sizing:border-box}.chouran-intake [hidden]{display:none!important}
.chouran-intake-heading{position:static;width:auto;height:auto;text-align:center;border:0;background:none;padding:0;margin:0 0 16px;display:block;box-shadow:none}
.chouran-intake-logo{display:block;width:64px;height:64px;object-fit:contain;margin:0 auto 6px}
.chouran-intake h2{margin:0;font-size:1.65rem;line-height:1.25;color:#8c0f01;font-weight:750}
.chouran-intake-branch{margin:7px 0 0;color:#5c4a44;font-size:.92rem}
.chouran-intake-close{position:absolute;top:12px;inset-inline-end:12px;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:#fff;color:#222;font:28px/1 sans-serif;cursor:pointer}
.chouran-intake fieldset{padding:0;margin:0 0 18px;border:0;min-width:0}.chouran-intake legend{display:block;width:100%;padding:0;margin:0 0 8px;font-size:1rem;font-weight:700;color:#222}
.chouran-intake label{font-weight:650;display:block;min-width:0}
.chouran-intake-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.chouran-intake-choices label,.chouran-intake-tiles label{position:relative;cursor:pointer}
.chouran-intake-choices input,.chouran-intake-tiles input{position:absolute;inset:0;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
.chouran-intake-choices label>span{display:flex;align-items:center;justify-content:center;min-height:44px;padding:7px 10px;border:1px solid #8c0f01;border-radius:9px;color:#8c0f01;background:#fff;text-align:center}
.chouran-intake-choices input:checked+span{background:#8c0f01;color:#fff}
.chouran-intake-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.chouran-intake-tiles label>span{display:flex;align-items:center;gap:8px;min-height:64px;height:100%;padding:9px;border:1px solid #d5d0cd;border-radius:10px;background:#fff;font-size:.88rem;font-weight:600;line-height:1.3}
.chouran-intake-tiles input:checked+span{border-color:#8c0f01;background:#fff4f2;color:#8c0f01}
.chouran-intake svg{width:24px;height:24px;flex-shrink:0}
.chouran-intake-choices input:focus-visible+span,.chouran-intake-tiles input:focus-visible+span{outline:3px solid #234e73;outline-offset:2px}
.chouran-intake-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.chouran-intake small{font-weight:400;font-size:.8rem;color:#665a55}
.chouran-intake input[type=text],.chouran-intake select,.chouran-intake textarea{display:block;width:100%;min-width:0;min-height:44px;margin-top:6px;padding:9px 11px;border:1px solid #bcb7b4;border-radius:9px;background:#fff;color:#222;font:inherit;font-weight:400;line-height:1.4}
.chouran-intake input[inputmode=numeric]{direction:ltr;text-align:start}
.chouran-intake textarea{resize:vertical;max-height:140px;min-height:62px}
.chouran-intake input:focus-visible,.chouran-intake select:focus-visible,.chouran-intake textarea:focus-visible,.chouran-intake a:focus-visible,.chouran-intake button:focus-visible{outline:3px solid #234e73;outline-offset:2px}
.chouran-intake-category{margin-bottom:18px}
.chouran-intake-help{font-size:.8rem;color:#625954;margin:6px 0;line-height:1.4}
.chouran-intake-ready{display:flex;align-items:center;gap:9px;border-radius:9px;background:#e2f4e6;color:#125326;padding:9px 12px;margin:14px 0 10px;font-size:.9rem;font-weight:650}
.chouran-intake-ready>span{font-size:1.4rem}
.chouran-intake-launch{display:flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:11px;border:1px solid #087d32;border-radius:11px;background:#087d32;color:#fff!important;text-decoration:none!important;font:inherit;font-weight:750;font-size:1.1rem;cursor:pointer;margin-top:12px}
.chouran-intake-launch[aria-disabled=true]{opacity:.65;cursor:pointer}.chouran-intake-launch:hover{background:#066b2a}
.chouran-intake-notice{font-size:.78rem;color:#625954;line-height:1.5;text-align:center;margin:10px 0 0}
@media(max-width:540px){.chouran-intake{padding:18px 16px;border-radius:22px;width:calc(100vw - 20px);max-height:94vh;max-height:94dvh}.chouran-intake h2{font-size:1.45rem}.chouran-intake-heading{margin-bottom:16px}.chouran-intake-tiles{grid-template-columns:1fr;gap:7px}.chouran-intake-tiles label>span{min-height:44px;padding:8px 10px}.chouran-intake-choices{gap:8px}.chouran-intake-two{gap:10px}.chouran-intake-logo{width:58px;height:58px}.chouran-intake fieldset{margin-bottom:16px}}

.chouran-intake-year{display:block;position:relative}.chouran-intake-year input{padding-inline-end:38px}.chouran-intake-year-toggle{position:absolute;inset-inline-end:2px;top:2px;width:38px;height:40px;border:0;border-radius:8px;background:#fff;color:#222;font:inherit;cursor:pointer}.chouran-intake-years{position:absolute;top:100%;inset-inline:0;z-index:5;max-height:176px;overflow:auto;border:1px solid #bcb7b4;border-radius:8px;background:#fff;box-shadow:0 6px 18px #0002}.chouran-intake-years button{display:block;width:100%;min-height:40px;border:0;background:#fff;color:#222;font:inherit;cursor:pointer}.chouran-intake-years button:hover,.chouran-intake-years button:focus{background:#fff4f2;color:#8c0f01}

.chouran-intake[dir=rtl] .chouran-intake-year input{padding-left:38px;padding-right:11px}.chouran-intake[dir=ltr] .chouran-intake-year input{padding-right:38px;padding-left:11px}

.chouran-intake input[type=date],.chouran-intake input[type=time]{display:block;width:100%;min-width:0;min-height:44px;margin-top:6px;padding:9px 11px;border:1px solid #bcb7b4;border-radius:9px;background:white;color:#222;font:inherit;direction:ltr}.chouran-intake-extra label+label,.chouran-intake-visit-preferred{margin-top:12px}.chouran-intake-error{font-size:.85rem;color:#a30e05;line-height:1.45;font-weight:500;margin:7px 0 0}.chouran-intake [aria-invalid=true]{border-color:#a30e05}.chouran-intake-preview{margin:18px 0 12px;padding:12px;border:1px solid #d9d2cf;border-radius:10px;background:#faf7f5}.chouran-intake-preview h3{font-size:1rem;line-height:1.5;color:#8c0f01;margin:0 0 9px}.chouran-intake-preview pre{white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;margin:0;font:inherit;font-weight:400;font-size:.92rem;line-height:1.8;text-align:start}
