/* HINAN_H7_FAMILY5_PET_20261026 -- isolated nonproduction feature */
#hnFamilyOverlay[hidden]{display:none!important}
#hnFamilyOverlay{position:fixed;inset:0;z-index:2147483000;background:rgba(12,26,37,.62);display:flex;align-items:center;justify-content:center;padding:12px;box-sizing:border-box}
#hnFamilyOverlay,#hnFamilyOverlay *{box-sizing:border-box}
#hnFamilyDialog{position:relative;background:#fff;color:#182b36;border-radius:18px;width:min(640px,100%);max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain;padding:16px 18px 22px;box-shadow:0 15px 50px #10242a52;font-family:system-ui,"Yu Gothic",Meiryo,sans-serif;font-size:16px;line-height:1.5}
#hnFamilyDialog button,#hnFamilyDialog input,#hnFamilyDialog select,#hnFamilyDialog textarea{font:inherit;color:inherit}
#hnFamilyDialog button{cursor:pointer;min-height:44px;border:1px solid #b8cbd6;border-radius:11px;background:#fff;padding:9px 12px}
#hnFamilyDialog button:focus-visible,#hnFamilyDialog input:focus-visible,#hnFamilyDialog select:focus-visible,#hnFamilyDialog textarea:focus-visible{outline:3px solid #1e68ba;outline-offset:2px}
#hnFamilyDialog button.hn-primary{background:#0b5970;color:white;border-color:#0b5970;font-weight:700}
#hnFamilyDialog button.hn-danger{color:#8a1e1e;border-color:#c88787}
#hnFamilyDialog input,#hnFamilyDialog select,#hnFamilyDialog textarea{max-width:100%;width:100%;min-height:44px;border:1px solid #aabfc9;border-radius:10px;padding:8px;background:white}
#hnFamilyDialog textarea{min-height:122px;resize:vertical;white-space:pre-wrap}
#hnFamilyDialog .hn-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
#hnFamilyDialog h2{font-size:1.24rem;margin:0}#hnFamilyDialog h3{font-size:1.05rem;margin:12px 0}
#hnFamilyDialog .hn-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:12px 0}
#hnFamilyDialog .hn-tabs button[aria-selected="true"]{background:#edf5ff;color:#184d89;border-color:#3274c4;font-weight:700}
#hnFamilyDialog [hidden]{display:none!important}
#hnFamilyDialog .hn-note{font-size:.83rem;color:#50616f;margin:8px 0}
#hnFamilyDialog .hn-row{border:1px solid #d8e5ea;border-radius:12px;margin:8px 0;padding:10px}
#hnFamilyDialog .hn-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#hnFamilyDialog label{display:block;font-size:.89rem;font-weight:600;margin:5px 0}
#hnFamilyDialog label span{display:block;margin-bottom:3px}
#hnFamilyDialog .hn-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
#hnFamilyDialog .hn-message{font-size:.87rem;min-height:1.2em;margin-top:9px}
#hnFamilyDialog .hn-message[data-error="true"]{color:#9c2424;font-weight:700}
#hnFamilyDialog .hn-message[data-error="false"]{color:#176038}
#hnFamilyDialog .hn-status{font-weight:600}
#hnFamilyDialog .hn-check{display:flex;align-items:center;gap:7px}
#hnFamilyDialog .hn-check input{min-height:24px;width:24px;flex:none}
@media(max-width:540px){#hnFamilyDialog .hn-fields{grid-template-columns:1fr}#hnFamilyDialog{padding:12px;border-radius:13px;font-size:16px}#hnFamilyOverlay{padding:5px}#hnFamilyDialog .hn-tabs{gap:4px}#hnFamilyDialog .hn-tabs button{font-size:13px;padding:8px 4px}#hnFamilyDialog{max-height:calc(100dvh - 10px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))}}
