.family-view{direction:rtl}.family-loading{min-height:260px;display:grid;place-items:center;text-align:center}.family-spinner{width:28px;height:28px;border:3px solid rgba(18,63,167,.18);border-top-color:#123fa7;border-radius:50%;display:inline-block;animation:family-spin .8s linear infinite}@keyframes family-spin{to{transform:rotate(360deg)}}.family-hero,.family-panel{background:#fff;border:1px solid #e8ecf4;border-radius:18px;box-shadow:0 8px 24px rgba(23,44,84,.05)}.family-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px;margin-bottom:18px}.family-hero span{font-size:13px;color:#60708d}.family-hero h2{margin:4px 0 8px;font-size:26px;color:#17233d}.family-hero p{margin:0;line-height:1.8;color:#65718a;max-width:680px}.family-hero-icon{width:58px;height:58px;border-radius:16px;background:#eef4ff;display:grid;place-items:center;flex:0 0 auto}.family-hero-icon svg,.family-tab svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.family-panel{padding:20px;margin-bottom:16px}.family-panel h3{margin:0 0 8px;color:#1d2941;font-size:18px}.family-panel.add>p{margin:0 0 14px;color:#6e7890;font-size:14px;line-height:1.7}.family-search-row{display:grid;grid-template-columns:170px minmax(220px,1fr) auto;gap:10px}.family-search-row select,.family-search-row input{height:44px;border:1px solid #dbe2ef;border-radius:12px;background:#fff;padding:0 12px;font:inherit;color:#24314a;outline:none}.family-search-row select:focus,.family-search-row input:focus{border-color:#6b8ddd;box-shadow:0 0 0 3px rgba(18,63,167,.08)}.family-primary,.family-btn{border:0;border-radius:12px;font:inherit;font-weight:700;cursor:pointer}.family-primary{min-height:44px;padding:0 18px;background:#123fa7;color:#fff}.family-primary:disabled,.family-btn:disabled,.family-link:disabled{opacity:.55;cursor:default}.family-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.family-section-head h3{margin:0}.family-section-head>span{min-width:30px;height:30px;padding:0 8px;border-radius:999px;background:#eef4ff;color:#123fa7;display:grid;place-items:center;font-size:13px;font-weight:700}.family-list{display:grid;gap:10px}.family-member-card,.family-request-card{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #edf0f6;border-radius:14px;background:#fbfcfe}.family-member-card{justify-content:flex-start}.family-request-card{justify-content:space-between}.family-avatar{width:44px;height:44px;border-radius:13px;background:#eef4ff;color:#123fa7;display:grid;place-items:center;font-weight:800;font-size:18px;flex:0 0 auto}.family-member-copy,.family-request-card>div:first-child{display:flex;flex-direction:column;gap:3px;min-width:0}.family-member-copy{flex:1}.family-member-copy b,.family-request-card b{color:#202c43}.family-member-copy small,.family-request-card small{color:#7a8499}.family-member-copy span{font-size:12px;color:#2f8b57}.family-request-actions{display:flex;gap:8px}.family-btn{padding:9px 16px}.family-btn.accept{background:#e9f8ef;color:#247349}.family-btn.reject{background:#fff0f1;color:#b8444d}.family-link{background:transparent;border:0;color:#44618f;font:inherit;cursor:pointer;padding:7px 10px}.family-link.danger{color:#b8444d;margin-inline-start:auto}.family-empty{padding:24px;text-align:center;color:#7b8598;border:1px dashed #dfe5ef;border-radius:14px;background:#fbfcfe}.family-notice{padding:12px 14px;border-radius:12px;margin:0 0 16px;font-size:14px;line-height:1.6}.family-notice.success{background:#eaf8ef;color:#226d45;border:1px solid #ccebd8}.family-notice.error{background:#fff0f1;color:#a83e47;border:1px solid #f1d0d4}.family-tab{white-space:nowrap}@media(max-width:760px){.family-hero{padding:18px}.family-hero-icon{width:48px;height:48px}.family-hero h2{font-size:22px}.family-search-row{grid-template-columns:1fr}.family-search-row select,.family-search-row input,.family-primary{width:100%}.family-request-card{align-items:flex-start;flex-direction:column}.family-request-actions{width:100%}.family-request-actions .family-btn{flex:1}.family-member-card{align-items:flex-start}.family-link.danger{margin-inline-start:0}}