.family-auth{max-width:510px;margin:35px auto;padding:30px}.family-auth h1{font-size:29px}.family-auth>p{line-height:1.9}.family-auth .primary{width:100%;min-height:48px}.family-tabs{display:flex;gap:4px;background:#eef2e6;padding:5px;border-radius:12px;margin:24px 0}.family-tabs button{flex:1;font-size:12px;padding:8px 5px}.family-tabs .selected{background:#285d4b;color:white}.error{color:#a44531;line-height:1.9;min-height:18px}label small{display:block;font-size:11px;color:#74806b}input,button{font-size:16px}input:disabled,button:disabled{cursor:wait}.family-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:32px 0}.family-heading p{line-height:1.9;color:#74806b}.family-home{white-space:nowrap}.family-link{display:grid;grid-template-columns:1.25fr 1fr;gap:35px;align-items:center}.family-link h2{margin-top:0}.family-link ol{padding-right:22px;line-height:2.3}.family-link form{max-width:400px}.family-link form button{width:100%}#parentLinkCode{letter-spacing:5px;text-align:center;font-size:24px}.family-section-title{display:flex;align-items:center;gap:15px;margin-top:25px}.family-section-title span{color:#74806b}.family-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:18px}.family-child h3{margin:0 0 10px;font-size:22px}.family-child .family-count{font-size:28px;color:#285d4b;margin:15px 0 5px}.family-child .bar{width:100%;height:8px}.family-child small{display:block;color:#74806b;line-height:2}.family-child .family-card-actions{display:flex;gap:10px;margin-top:20px;flex-wrap:wrap}.family-card-actions button:first-child{flex:1}.family-empty{text-align:center;padding:45px 20px;line-height:2}.family-dialog-top{display:flex;justify-content:space-between;align-items:start;gap:15px}.family-dialog-top>button{font-size:25px}.family-report-tools{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.family-report-tools label{margin:0}.family-report-tools input{width:auto}.family-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:24px 0}.family-summary>div{border-radius:12px;padding:15px;background:#edf3e6;line-height:2}.family-summary strong{display:block;font-size:25px;color:#285d4b}.family-parts{display:flex;gap:8px;flex-wrap:wrap}.family-parts span{padding:7px 12px;border-radius:20px;background:#f0f3e8;font-size:12px}.family-table{min-width:0;width:100%;font-size:13px}.family-table td,.family-table th{padding:12px 8px}.family-table .verse-list{line-height:2;font-size:12px;max-width:270px;overflow-wrap:anywhere}#parentChildDetail{width:min(1050px,95vw)}#parentChildDetail details{padding:12px 0;border-bottom:1px solid #dfe6da}#parentChildDetail summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:17px;font-weight:600}.family-item{padding:12px 0;border-bottom:1px solid #edf0e7;line-height:1.9}.family-item p{margin:6px 0}.family-item small{color:#74806b}.family-report-note{line-height:1.9;font-size:12px;color:#74806b}#parentRecoveryDialog,#parentSettingsDialog,#parentUnlinkDialog{max-width:510px}#parentRecoveryDialog p,#parentUnlinkDialog p{line-height:2}#recoveryValue{font-family:monospace;font-size:17px;letter-spacing:1px}#parentRecoveryDialog button{margin-bottom:10px}#closeParentRecovery{width:100%}.family-link-state{font-size:12px;color:#986e35}
@media(max-width:700px){main{padding:14px}header{gap:10px;flex-wrap:wrap}.family-auth{padding:24px 18px}.family-heading{display:block;margin-top:24px}.family-heading h1{font-size:26px}.family-link{display:block;padding:20px}.family-link form{max-width:none;margin-top:20px}.family-summary{grid-template-columns:1fr;gap:8px}.family-summary>div{padding:10px 14px}.family-summary strong{display:inline;margin-left:10px}.family-table td,.family-table th{font-size:12px;padding:10px 6px}.family-report-tools{gap:12px}.family-report-tools button{flex:1;min-width:150px}dialog{padding:18px}.family-child{padding:20px}.family-home{display:inline-block;padding:10px 0}#parentActions{gap:6px}#parentActions button{font-size:12px;padding-inline:9px}.family-dialog-top h2{font-size:22px}}
@media print{body{background:white;color:black}body>main,body>dialog:not(#parentChildDetail){display:none!important}#parentChildDetail{display:block!important;position:static!important;margin:0!important;width:100%!important;max-width:none!important;max-height:none!important;overflow:visible!important;border:0;padding:0}#parentChildDetail::backdrop{display:none}.family-dialog-top button,.family-report-tools{display:none!important}.family-summary{grid-template-columns:repeat(3,1fr)}.family-table{min-width:0!important}.family-table td,.family-table th{font-size:10px}.family-item,tr{break-inside:avoid}.family-table .verse-list{max-width:none}details{break-inside:auto}.table-wrap{overflow:visible}#parentChildDetail>h2{margin-top:25px}}

.family-heading h1,.family-child h3,.family-item,#parentChildTitle{overflow-wrap:anywhere;min-width:0}.family-dialog-top>button{flex:none}
